{"id":332,"date":"2007-08-23T19:16:15","date_gmt":"2007-08-23T09:16:15","guid":{"rendered":"http:\/\/www.somethinkodd.com\/oddthinking\/2007\/08\/23\/righting-a-theory-of-computation-wrong\/"},"modified":"2007-10-07T19:18:20","modified_gmt":"2007-10-07T09:18:20","slug":"righting-a-theory-of-computation-wrong","status":"publish","type":"post","link":"https:\/\/www.somethinkodd.com\/oddthinking\/2007\/08\/23\/righting-a-theory-of-computation-wrong\/","title":{"rendered":"Righting a Theory of Computation Wrong"},"content":{"rendered":"<p>As further evidence that I am a sad, sad nerd, I proffer a story from a long, long, long time ago, that I really should have let go by now.<\/p>\n<p>In my third year of university, I studied a subject called Theory Of Computation.<\/p>\n<p>The assessment was in two parts. <\/p>\n<p>The first was a &#8220;Take Home Exam&#8221; (I would have merely called it an assignment.)  After it had been submitted and marked, they gave our exams back to look at. A few of us compared our answers, and I was surprised to see that one close friend of mine had solved one of the more mathematical problems in a third of the space it had taken me.<\/p>\n<p>From memory, the problem had boiled down to this:<\/p>\n<blockquote><p>\nA set B is said to have the property R if for all elements e in B, e has the property <em>mumble, mumble, mumble<\/em>.<br \/>\nThe set S has the property R.<br \/>\nThe set SS is a subset of S, such that <em>blah blah blah<\/em><br \/>\nProve or disprove that SS has the property R.\n<\/p><\/blockquote>\n<p>From memory, her answer used the following argument:<\/p>\n<blockquote><p>\nS has the property R.<br \/>\nTherefore, for all e in S, e has the property <em>mumble, mumble, mumble<\/em>.<br \/>\nTherefore, for all e in any subset of S, e has that property.<br \/>\nTherefore, for all e in SS, e has that property.<br \/>\nTherefore, SS has the property R.\n<\/p><\/blockquote>\n<p>The marker ticked this logic, and she got full marks for the question.<\/p>\n<p>I don&#8217;t remember the exact conversation when I looked at this, but remembering my skills of tact and nuance, I suspect I said something supportive like &#8220;No! That&#8217;s all wrong!&#8221;<\/p>\n<p>That started a&#8230; err&#8230; spirited discussion amongst the group.<\/p>\n<p>I was told that SS did so have the property R and so the logic was right. I should have gently explained that an invalid syllogism doesn&#8217;t imply a false conclusion. Instead I got tongue-tied trying to explain that I knew SS had the property R; I had written up a full page proving it myself. <\/p>\n<p>I was accused of trying to get a friend&#8217;s assignment marked down. Nothing was further from the truth. I didn&#8217;t care about her extra mark; good luck to her. This wasn&#8217;t a personal attack; this was a bit of nerdy pedantry, about some interesting logical fallacies. I was unable to communicate this motive.<\/p>\n<p>Mainly, I was told that the logic was perfect. I argued that it actually depended on the mumbled bit. <\/p>\n<p>I actually went off and came up with some new, much simpler, definitions of the sets and the mumbled bits, and re-applied the logic line-by-line, side-by-side with the original proof &#8211; and showed it lead to a contradiction. I thought this would clearly demonstrate the logic itself was flawed. Another friend inspected it and declared my example to be invalid, but the original valid! It was the same damned logic! <\/p>\n<p>I was getting frustrated at how badly I was communicating this simple idea. At this point, something pierced my skull. My principled drive for logical purity was pissing off everyone involved. I bit my tongue, and let the matter drop.<\/p>\n<p>As I lay awake this morning, thinking about this story, I have realised I never did really let the matter drop! And that I finally have a chance to right this wrong without anyone involved getting hurt.<\/p>\n<p>Here we go.<\/p>\n<p>The key issue here is in the definition of the property &#8220;<em>mumble, mumble, mumble<\/em>&#8220;. If the property had been something simple like &#8220;e is positive&#8221; or &#8220;e is not an elephant&#8221;, it would have been fine. That is, if it could be represented as a a boolean function, f(e), then the logic would have held.<\/p>\n<p>But the actual definition was more complex. Let me restate it again, without any mumbling this time.<\/p>\n<blockquote><p>\nA set B is said to have the property R if for all elements e in B, -e is also an element of B.\n<\/p><\/blockquote>\n<p>Now this can&#8217;t be expressed as a simple function f(e). It must be expressed as f(e,B).<\/p>\n<p>So what?<\/p>\n<p>Well if we follow the original logic through, spelling out the definitions, we get a different result.<\/p>\n<blockquote><p>\nS has the property R.<br \/>\nTherefore, for all e in S, -e is in S.<br \/>\nTherefore, for all e in any subset of S, -e is in S.<br \/>\nTherefore, for all e in SS, -e is in <strong>S<\/strong>.<br \/>\nBUT! We still don&#8217;t know if -e is in <strong>SS<\/strong>, so we are stuck!\n<\/p><\/blockquote>\n<p>To prove the SS has the property R, required a page of working exploring the definition of &#8220;<em>blah blah blah<\/em>&#8221; in the original problem. You can&#8217;t take a shortcut, because the variable B leaked into the definition of the property of the element.<\/p>\n<p>See! I was right! Ahh that&#8217;s better. Now that the world finally realises this, perhaps I can finally let it rest.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As further evidence that I am a sad, sad nerd, I proffer a story from a long, long, long time ago, that I really should have let go by now.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"","footnotes":""},"categories":[23,24,28],"tags":[70],"class_list":["post-332","post","type-post","status-publish","format-standard","hentry","category-based-on-a-true-story","category-cathartic-rant","category-doubleplus-geek","tag-mathematics"],"_links":{"self":[{"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/posts\/332","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=332"}],"version-history":[{"count":0,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/posts\/332\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/categories?post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/tags?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}