{"id":1306,"date":"2010-07-07T05:55:27","date_gmt":"2010-07-06T19:55:27","guid":{"rendered":"http:\/\/www.somethinkodd.com\/oddthinking\/?p=1306"},"modified":"2010-07-11T14:39:08","modified_gmt":"2010-07-11T04:39:08","slug":"lamport-on-buridans-principle","status":"publish","type":"post","link":"https:\/\/www.somethinkodd.com\/oddthinking\/2010\/07\/07\/lamport-on-buridans-principle\/","title":{"rendered":"Lamport on Buridan&#8217;s Principle"},"content":{"rendered":"<div class=\"aside\">My &#8220;Blog Articles To Do&#8221; pile is full of these blog ideas that started simple, but then grew to add another item, and then another item, until they became too long to write in one or two sessions, I got bored of the topic, and they died on the vine. Here I present a number of connected ideas, deliberately stilted, so I can get to the real point faster.<\/div>\n<p>When Chaos Theory was making the news in the late 80&#8217;s, I was left confused. <\/p>\n<p>Poor science reporting was part of the problem. I remember TV special leaving me bewildered about the connections between the different aspects, until I watched it a second time and noticed the segue along the lines of &#8220;Talking about non-linear systems&#8230;&#8221; The two topics it introduced in one section were completely unrelated; trying to link them in my mind was giving me headaches.<\/p>\n<p>Once you got past the &#8220;really good patterns that you could put on a t-shirt&#8221; (to quote Terry Pratchett), and the desperate attempts to make them at all relevant, what was really there? <\/p>\n<p>Some surprising result about periodic doubling? Nice, but what predictions can you make with this? How is it going to change the world as much as they claimed.<\/p>\n<p>The realisation that in some systems tiny changes in input could lead to big changes in output? Whoopee. That&#8217;s news? No, it is pretty bloody obvious, as anyone who has tried putting a ping-pong ball in the clown&#8217;s mouth at a fairground should know.<\/p>\n<hr \/>\n<p><a href=\"http:\/\/www.lamport.org\/\">Leslie Lamport<\/a> is a living legend of Computer Science. I&#8217;ve read Distributed Computing papers by him. I&#8217;ve used <a href=\"http:\/\/www.latex-project.org\/\">his software<\/a>. I&#8217;ve quoted his aphorism: &#8220;A distributed system is one in which the failure of a computer you didn&#8217;t even know existed can render your own computer unusable.&#8221;<\/p>\n<p>He&#8217;s a man who has had a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Leslie_Lamport\" title=\"Wikipedia definition of Leslie_Lamport\" class=\"wikipedia\">great impact on Computer Science<\/a>.<\/p>\n<hr \/>\n<p>One way to make a successful fad is to take an old idea that people should already know (but perhaps is too boring for them to learn about,) add an irrelevant piece of (preferably proprietary) junk, bundle it with a ribbon (and perhaps some terminology and the claim that it is revolutionary), and Bob&#8217;s your aunt&#8217;s de facto.<\/p>\n<p>Weight-loss supplements (to be consumed with a balanced diet and regular exercise) are one example.<\/p>\n<p>Agile development (to be consumed with high-quality unit-testing, peer-review, iterative development, good communication with an interested customer and small teams sitting near each other) is another.<\/p>\n<hr \/>\n<p>One day, an Economy student explained to me the different theories about what drove stockmarket fluctuations. If I recall correctly, he explained that people thought that either (a) there was a hugely complicated function taking lots of inputs that no-one could completely fathom, or (b) there was randomness or (c) some combination of the two.<\/p>\n<p>When I suggested that there was, of course, another option: a relatively simple repeated function which was sensitive to small fluctuations in a large number of inputs, he looked at me strangely, and patiently explained that that could not be the case, because of the complexity of the output.<\/p>\n<p>Suddenly, I wondered if Chaos Theory was like these other fads. The ideas may seem old and obvious if you have the background, but to many people they may seem new. Maybe the excitement about Chaos Theory was a whole lot of people understanding the &#8220;old and obvious&#8221; at the same time?<\/p>\n<hr \/>\n<p>I remember seeing a cartoon of a donkey in an early book for children about computers. The donkey was stuck between two stacks of hay, and couldn&#8217;t choose between them. I didn&#8217;t get it at the time.<\/p>\n<p>Today, I learnt the donkey was <a href=\"http:\/\/en.wikipedia.org\/wiki\/Buridan%27s_ass\" title=\"Wikipedia definition of Buridan%27s_ass\" class=\"wikipedia\">Buridan&#8217;s Ass<\/a>, which is an illustration of a paradox in philosophy. Apparently, the idea goes back a few thousand years &#8211; the idea being if the donkey was placed exactly halfway between two identical haystacks, it would be unable to choose between them, and remain where it was, starving to death.<\/p>\n<p>Apparently, this &#8220;paradox&#8221; is useful in discussing free will, but also in discussing electronics &#8211; particularly when trying to make analog circuits act digital, and finding that they are &#8220;meta-stable&#8221; and don&#8217;t damp down into one state quickly enough.<\/p>\n<hr \/>\n<p>Leslie Lamport wrote <a href=\"http:\/\/research.microsoft.com\/en-us\/um\/people\/lamport\/pubs\/buridan.pdf\">an article about Buridan&#8217;s Principle<\/a>.<\/p>\n<p>In it, he discusses some of the real implications of the rule to software development, but I don&#8217;t want to discuss that.<\/p>\n<p>In the first section, he formalises the principle, and shows that the assumptions that lead to the unexpected result that there is always some position between the haystacks where the ass cannot choose (within a given period of time) which stack to head towards.<\/p>\n<p>He defines A<sub>t<\/sub>(x) as the position of the ass at time, t, given it was initially placed at position, x, between the two stacks. He then explains:<\/p>\n<blockquote><p>The ass is a physical mechanism subject to the laws of physics. Any such mechanism is continuous, so A<sub>t<\/sub>(x) is a continuous function of x.<\/p><\/blockquote>\n<div class=\"aside\">Unsurprisingly, given Lamport&#8217;s background, his paper&#8217;s typography handles such mathematical expressions far more beautifully than WordPress.<\/div>\n<p>Lamport explains:<\/p>\n<blockquote><p>When first told of Buridan\u00e2\u20ac\u2122s Principle, people usually find it unbelievable and propose mechanisms to circumvent it.<\/p><\/blockquote>\n<p>He examines some of these mechanisms, such as adding noise or quantum effects to try to break these physical implications, and make the function discontinuous. <\/p>\n<p>However, I guess I am one of the people who find this paradox unbelievable, and I, too, am immodest enough to propose a mechanism. But I am happy to continue to work in the physics of a classical universe.<\/p>\n<p>[<strong>Update<\/strong>: Andrew, in the comments, gives me some insight into why my following argument is bogus, and that Lamport was right all along. You&#8217;ll find my apology to Lamport in the comments too.]<\/p>\n<p>I do so by rejecting the claim that physical mechanisms must exhibit continuity in all directions. I submit that physics requires A<sub>t<\/sub>(x) to be a continuous function of <em>time (t)<\/em> &#8211; that is, after being placed, the ass may not be seen to teleport between any two positions.  However, I do not believe that physics requires A<sub>t<\/sub>(x) to be continuous in x.<\/p>\n<p>If you move the animal slightly to the right before revealing the haystacks, and replay the scenario, its position at time t may be completely different (and discontinuous) from where it would have been in the animal had been left in the original starting position.<\/p>\n<p>In effect, I am claiming &#8220;fractals&#8221; are a legitimate answer here to the paradox. More accurately, I am denying that physics requires the location of an object to be continuous when comparing different timelines branching at slightly different starting conditions.<\/p>\n<hr \/>\n<p>A small part of me is thinking I sound like a crackpot to be taking on a well-known computer scientist (and PhD in Mathematics) talking about a subject he has written a paper about, while I just heard about it today, and I am doing so by waving my hands and saying &#8220;Chaos Theory&#8221;, &#8220;Butterflies flapping their wings can cause storms&#8221; and &#8220;Watch what happens when I move my ass discontinuously!&#8221;<\/p>\n<div class=\"aside\">Especially because last week, I smirked at a Fields Medalist for wild inaccuracies in his maths. He was dabbling with a mathematical model of the likelihoods of some sports results. It is an area I have been <a href=\"https:\/\/www.somethinkodd.com\/oddthinking\/2010\/03\/30\/julians-job-status-faq-2\/\">studying for a while<\/a>, and his model contained the logical equivalent of assuming that &#8220;race-horse are perfect spheres running inside a vacuum&#8221;.<\/div>\n<p>Furthermore, I have made no effort to see if Lamport has changed his views in the intervening two decades (apart from noting that I am referring to an updated version of the paper) or seeing whether other people have weighed in in the meantime. I feel a little guilty about that laziness. Sorry.<\/p>\n<p>Nonetheless, I stand by my crackpottery: I think that Lamport is wrong in justifying the use of an uncomfortable assumption with a physical claim.<\/p>\n<p>(Nothing here invalidates the use of Buridan&#8217;s Ass as an analogy for challenging explanations of free will or for real-live effects in electrical circuits.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In which Julian attacks weight-loss supplements, Agile development, TV show segues, Chaos Theory and Economics, just so build up enough momentum to attack a much-beloved (by him!) computer science legend about something he wrote over 20 years ago.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"","footnotes":""},"categories":[24,31,29,21,34],"tags":[],"class_list":["post-1306","post","type-post","status-publish","format-standard","hentry","category-cathartic-rant","category-geek","category-influencing-others","category-observation","category-software-development"],"_links":{"self":[{"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/posts\/1306","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/comments?post=1306"}],"version-history":[{"count":13,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/posts\/1306\/revisions"}],"predecessor-version":[{"id":1318,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/posts\/1306\/revisions\/1318"}],"wp:attachment":[{"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/media?parent=1306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/categories?post=1306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/tags?post=1306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}