fbpx
Wikipedia

MU puzzle

The MU puzzle is a puzzle stated by Douglas Hofstadter and found in Gödel, Escher, Bach involving a simple formal system called "MIU". Hofstadter's motivation is to contrast reasoning within a formal system (i.e., deriving theorems) against reasoning about the formal system itself. MIU is an example of a Post canonical system and can be reformulated as a string rewriting system.

The puzzle edit

Suppose there are the symbols M, I, and U which can be combined to produce strings of symbols. The MU puzzle asks one to start with the "axiomatic" string MI and transform it into the string MU using in each step one of the following transformation rules:[1][2]

Nr.           Formal rule[note 1] Informal explanation Example
1. xI xIU Add a U to the end of any string ending in I MI to MIU
2. Mx Mxx Double the string after the M MIU to MIUIU
3. xIIIy xUy Replace any III with a U MUIIIU to MUUU
4. xUUy xy Remove any UU MUUU to MU

Solution edit

The puzzle cannot be solved: it is impossible to change the string MI into MU by repeatedly applying the given rules. In other words, MU is not a theorem of the MIU formal system. To prove this, one must step "outside" the formal system itself.

In order to prove assertions like this, it is often beneficial to look for an invariant; that is, some quantity or property that doesn't change while applying the rules.

In this case, one can look at the total number of I in a string. Only the second and third rules change this number. In particular, rule two will double it while rule three will reduce it by 3. Now, the invariant property is that the number of I is not divisible by 3:

  • In the beginning, the number of Is is 1 which is not divisible by 3.
  • Doubling a number that is not divisible by 3 does not make it divisible by 3.
  • Subtracting 3 from a number that is not divisible by 3 does not make it divisible by 3 either.

Thus, the goal of MU with zero I cannot be achieved because 0 is divisible by 3.

In the language of modular arithmetic, the number n of I obeys the congruence

 

where a counts how often the second rule is applied.

A decidable criterion for derivability edit

More generally, an arbitrarily given string x can be derived from MI by the above four rules if, and only if, x respects the three following properties:

  1. x is only composed with one M and any number of I and U,
  2. x begins with M, and
  3. the number of I in x is not divisible by 3.

Proof edit

Only if: No rule moves the M, changes the number of M, or introduces any character out of M, I, U. Therefore, every x derived from MI respects properties 1 and 2. As shown before, it also respects property 3.

If: If x respects properties 1 to 3, let   and   be the number of I and U in x, respectively, and let  . By property 3, the number   cannot be divisible by 3, hence,   cannot be, either. That is,  . Let   such that   and  .[note 2] Beginning from the axiom MI, applying the second rule   times obtains MIII...I with   I. Since   is divisible by 3, by construction of  , applying the third rule   times will obtain MIII...IU...U, with exactly   I, followed by some number of U. The U count can always be made even, by applying the first rule once, if necessary. Applying the fourth rule sufficiently often, all U can then be deleted, thus obtaining MIII...I with   I. Applying the third rule to reduce triplets of I into a U in the right spots will obtain x. Altogether, x has been derived from MI.

Example edit

To illustrate the construction in the If part of the proof, the string MIIUII, which respects properties 1 to 3, leads to  ,  ,  ,  ; it can be hence derived as follows:

MI 2 MII 2 MIIII 2 MIIIIIIII 2 MIIIIIIIIIIIIIIII 3 MIIIIIIIUIIIIII 3 MIIIIIIIUUIII 1 MIIIIIIIUUIIIU 3 MIIIIIIIUUUU 4 MIIIIIIIUU 4 MIIIIIII 3 MIIUII.

Arithmetization edit

Chapter XIX of Gödel, Escher, Bach gives a mapping of the MIU system to arithmetic, as follows. First, every MIU-string can be translated to an integer by mapping the letters M, I, and U to the numbers 3, 1, and 0, respectively. (For example, the string MIUIU would be mapped to 31010.)

Second, the single axiom of the MIU system, namely the string MI, becomes the number 31.

Third, the four formal rules given above become the following:

Nr.           Formal rule[note 3] Example  
1. k × 10 + 1  →  10 × (k × 10 + 1)           31  →  310  (k = 3)
2. 3 × 10m + n  →  10m × (3 × 10m + n) + n 310  →  31010  (m = 2, n = 10)
3. k × 10m+3 + 111 × 10m + n  →  k × 10m + 1 + n 3111011  →  30011  (k = 3, m = 3, n = 11)
4. k × 10m+2 + n  →  k × 10m + n 30011  →  311  (k = 3, m = 2, n = 11)

(NB: The rendering of the first rule above differs superficially from that in the book, where it is written as "[i]f we have made 10m + 1, then we can make 10 × (10m + 1)". Here, however, the variable m was reserved for use in exponents of 10 only, and therefore it was replaced by k in the first rule. Also, in this rendering, the arrangement of factors in this rule was made consistent with that of the other three rules.)

Relationship to logic edit

The MIU system illustrates several important concepts in logic by means of analogy.

It can be interpreted as an analogy for a formal system — an encapsulation of mathematical and logical concepts using symbols. The MI string is akin to a single axiom, and the four transformation rules are akin to rules of inference.

The MU string and the impossibility of its derivation is then analogous to a statement of mathematical logic which cannot be proven or disproven by the formal system.

It also demonstrates the contrast between interpretation on the "syntactic" level of symbols and on the "semantic" level of meanings. On the syntactic level, there is no knowledge of the MU puzzle's insolubility. The system does not refer to anything: it is simply a game involving meaningless strings. Working within the system, an algorithm could successively generate every valid string of symbols in an attempt to generate MU, and though it would never succeed, it would search forever, never deducing that the quest was futile. For a human player, however, after a number of attempts, one soon begins to suspect that the puzzle may be impossible. One then "jumps out of the system" and starts to reason about the system, rather than working within it. Eventually, one realises that the system is in some way about divisibility by three. This is the "semantic" level of the system — a level of meaning that the system naturally attains. On this level, the MU puzzle can be seen to be impossible.

The inability of the MIU system to express or deduce facts about itself, such as the inability to derive MU, is a consequence of its simplicity. However, more complex formal systems, such as systems of mathematical logic, may possess this ability. This is the key idea behind Godel's Incompleteness Theorem.

Pedagogical uses edit

In her textbook, Discrete Mathematics with Applications, Susanna S. Epp uses the MU puzzle to introduce the concept of recursive definitions, and begins the relevant chapter with a quote from GEB.[3]

See also edit

Notes edit

  1. ^ Here, x and y are variables, standing for strings of symbols. A rule may be applied only to the whole string, not to an arbitrary substring.
  2. ^ Such an   always exists, since the powers of 2 alternatingly evaluate to 1 and 2, modulo 3.
  3. ^ Here, k and m stand for arbitrary natural numbers, and n is any natural number smaller than 10m. Each rule of the form "x → y" should be read as "if we have made x we can make y." As the Example column illustrates, a rule may be applied only to an entire MIU-number, not to an arbitrary part of its decimal representation.

References edit

  1. ^ Justin Curry / Curran Kelleher (2007). Gödel, Escher, Bach: A Mental Space Odyssey. MIT OpenCourseWare.
  2. ^ Hofstadter, Douglas R. (1999) [1979], Gödel, Escher, Bach: An Eternal Golden Braid, Basic Books, ISBN 0-465-02656-7 Here: Chapter I.
  3. ^ Discrete Mathematics with Applications, Third Edition, Brooks/Cole, 2004. Chapter 8.4, "General Recursive Definitions," p. 501.

External links edit

  • . Archived from the original on 4 March 2016. Retrieved 29 November 2016. An online interface for producing derivations in the MIU System.
  • . Archived from the original on 14 May 2018. Retrieved 13 May 2018. An online JavaScript implementation of the MIU production system.

puzzle, puzzle, stated, douglas, hofstadter, found, gödel, escher, bach, involving, simple, formal, system, called, hofstadter, motivation, contrast, reasoning, within, formal, system, deriving, theorems, against, reasoning, about, formal, system, itself, exam. The MU puzzle is a puzzle stated by Douglas Hofstadter and found in Godel Escher Bach involving a simple formal system called MIU Hofstadter s motivation is to contrast reasoning within a formal system i e deriving theorems against reasoning about the formal system itself MIU is an example of a Post canonical system and can be reformulated as a string rewriting system Contents 1 The puzzle 2 Solution 2 1 A decidable criterion for derivability 2 1 1 Proof 2 1 2 Example 3 Arithmetization 4 Relationship to logic 5 Pedagogical uses 6 See also 7 Notes 8 References 9 External linksThe puzzle editSuppose there are the symbols M I and U which can be combined to produce strings of symbols The MU puzzle asks one to start with the axiomatic string MI and transform it into the string MU using in each step one of the following transformation rules 1 2 Nr Formal rule note 1 Informal explanation Example1 xI xIU Add a U to the end of any string ending in I MI to MIU2 Mx Mxx Double the string after the M MIU to MIUIU3 xIIIy xUy Replace any III with a U MUIIIU to MUUU4 xUUy xy Remove any UU MUUU to MUSolution editThe puzzle cannot be solved it is impossible to change the string MI into MU by repeatedly applying the given rules In other words MU is not a theorem of the MIU formal system To prove this one must step outside the formal system itself In order to prove assertions like this it is often beneficial to look for an invariant that is some quantity or property that doesn t change while applying the rules In this case one can look at the total number of I in a string Only the second and third rules change this number In particular rule two will double it while rule three will reduce it by 3 Now the invariant property is that the number of I is not divisible by 3 In the beginning the number of Is is 1 which is not divisible by 3 Doubling a number that is not divisible by 3 does not make it divisible by 3 Subtracting 3 from a number that is not divisible by 3 does not make it divisible by 3 either Thus the goal of MU with zero I cannot be achieved because 0 is divisible by 3 In the language of modular arithmetic the number n of I obeys the congruence n 2a 0 mod3 displaystyle n equiv 2 a not equiv 0 pmod 3 nbsp where a counts how often the second rule is applied A decidable criterion for derivability edit More generally an arbitrarily given string x can be derived from MI by the above four rules if and only if x respects the three following properties x is only composed with one M and any number of I and U x begins with M and the number of I in x is not divisible by 3 Proof edit Only if No rule moves the M changes the number of M or introduces any character out of M I U Therefore every x derived from MI respects properties 1 and 2 As shown before it also respects property 3 If If x respects properties 1 to 3 let NI displaystyle N I nbsp and NU displaystyle N U nbsp be the number of I and U in x respectively and let N NI 3NU displaystyle N N I 3N U nbsp By property 3 the number NI displaystyle N I nbsp cannot be divisible by 3 hence N displaystyle N nbsp cannot be either That is N 1 or N 2 mod3 displaystyle N equiv 1 text or N equiv 2 pmod 3 nbsp Let n N displaystyle n in mathbb N nbsp such that 2n gt N displaystyle 2 n gt N nbsp and 2n N mod3 displaystyle 2 n equiv N pmod 3 nbsp note 2 Beginning from the axiom MI applying the second rule n displaystyle n nbsp times obtains MIII I with 2n displaystyle 2 n nbsp I Since 2n N displaystyle 2 n N nbsp is divisible by 3 by construction of n displaystyle n nbsp applying the third rule 2n N3 displaystyle frac 2 n N 3 nbsp times will obtain MIII IU U with exactly N displaystyle N nbsp I followed by some number of U The U count can always be made even by applying the first rule once if necessary Applying the fourth rule sufficiently often all U can then be deleted thus obtaining MIII I with NI 3NU displaystyle N I 3N U nbsp I Applying the third rule to reduce triplets of I into a U in the right spots will obtain x Altogether x has been derived from MI Example edit To illustrate the construction in the If part of the proof the string MIIUII which respects properties 1 to 3 leads to NI 4 displaystyle N I 4 nbsp NU 1 displaystyle N U 1 nbsp N 7 displaystyle N 7 nbsp n 4 displaystyle n 4 nbsp it can be hence derived as follows MI 2 MII 2 MIIII 2 MIIIIIIII 2 MIIIIIIIIIIIIIIII 3 MIIIIIIIUIIIIII 3 MIIIIIIIUUIII 1 MIIIIIIIUUIIIU 3 MIIIIIIIUUUU 4 MIIIIIIIUU 4 MIIIIIII 3 MIIUII Arithmetization editChapter XIX of Godel Escher Bach gives a mapping of the MIU system to arithmetic as follows First every MIU string can be translated to an integer by mapping the letters M I and U to the numbers 3 1 and 0 respectively For example the string MIUIU would be mapped to 31010 Second the single axiom of the MIU system namely the string MI becomes the number 31 Third the four formal rules given above become the following Nr Formal rule note 3 Example 1 k 10 1 10 k 10 1 31 310 k 3 2 3 10m n 10m 3 10m n n 310 31010 m 2 n 10 3 k 10m 3 111 10m n k 10m 1 n 3111011 30011 k 3 m 3 n 11 4 k 10m 2 n k 10m n 30011 311 k 3 m 2 n 11 NB The rendering of the first rule above differs superficially from that in the book where it is written as i f we have made 10m 1 then we can make 10 10m 1 Here however the variable m was reserved for use in exponents of 10 only and therefore it was replaced by k in the first rule Also in this rendering the arrangement of factors in this rule was made consistent with that of the other three rules Relationship to logic editThis section needs additional citations for verification Please help improve this article by adding citations to reliable sources in this section Unsourced material may be challenged and removed July 2013 Learn how and when to remove this template message The MIU system illustrates several important concepts in logic by means of analogy It can be interpreted as an analogy for a formal system an encapsulation of mathematical and logical concepts using symbols The MI string is akin to a single axiom and the four transformation rules are akin to rules of inference The MU string and the impossibility of its derivation is then analogous to a statement of mathematical logic which cannot be proven or disproven by the formal system It also demonstrates the contrast between interpretation on the syntactic level of symbols and on the semantic level of meanings On the syntactic level there is no knowledge of the MU puzzle s insolubility The system does not refer to anything it is simply a game involving meaningless strings Working within the system an algorithm could successively generate every valid string of symbols in an attempt to generate MU and though it would never succeed it would search forever never deducing that the quest was futile For a human player however after a number of attempts one soon begins to suspect that the puzzle may be impossible One then jumps out of the system and starts to reason about the system rather than working within it Eventually one realises that the system is in some way about divisibility by three This is the semantic level of the system a level of meaning that the system naturally attains On this level the MU puzzle can be seen to be impossible The inability of the MIU system to express or deduce facts about itself such as the inability to derive MU is a consequence of its simplicity However more complex formal systems such as systems of mathematical logic may possess this ability This is the key idea behind Godel s Incompleteness Theorem Pedagogical uses editIn her textbook Discrete Mathematics with Applications Susanna S Epp uses the MU puzzle to introduce the concept of recursive definitions and begins the relevant chapter with a quote from GEB 3 See also editInvariant mathematics Unrestricted grammarNotes edit Here x and y are variables standing for strings of symbols A rule may be applied only to the whole string not to an arbitrary substring Such an n displaystyle n nbsp always exists since the powers of 2 alternatingly evaluate to 1 and 2 modulo 3 Here k and m stand for arbitrary natural numbers and n is any natural number smaller than 10m Each rule of the form x y should be read as if we have made x we can make y As the Example column illustrates a rule may be applied only to an entire MIU number not to an arbitrary part of its decimal representation References edit Justin Curry Curran Kelleher 2007 Godel Escher Bach A Mental Space Odyssey MIT OpenCourseWare Hofstadter Douglas R 1999 1979 Godel Escher Bach An Eternal Golden Braid Basic Books ISBN 0 465 02656 7 Here Chapter I Discrete Mathematics with Applications Third Edition Brooks Cole 2004 Chapter 8 4 General Recursive Definitions p 501 External links edit Hofstadter s MIU System Archived from the original on 4 March 2016 Retrieved 29 November 2016 An online interface for producing derivations in the MIU System MU Puzzle Archived from the original on 14 May 2018 Retrieved 13 May 2018 An online JavaScript implementation of the MIU production system Retrieved from https en wikipedia org w index php title MU puzzle amp oldid 1185545164, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.