Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

MU puzzle

From Wikipedia, the free encyclopedia
Puzzle in Douglas Hofstadter's book "Gödel, Escher, Bach"

TheMU puzzle is a puzzle stated byDouglas Hofstadter and found inGö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 aPost canonical system and can be reformulated as astring rewriting system.

The puzzle

[edit]

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

Nr.          Formal rule[note 1]Informal explanationExample
1.xIxIUAdd aU to the end of any string ending inIMItoMIU
2.MxMxxDouble the string after theMMIUtoMIUIU
3.xIIIyxUyReplace anyIII with aUMUIIIUtoMUUU
4.xUUyxyRemove anyUUMUUUtoMU

Solution

[edit]

The puzzle cannot be solved: it is impossible to change the stringMI intoMU 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 aninvariant; that is, some quantity or property that doesn't change while applying the rules.

In this case, one can look at the total number ofI 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, theinvariant property is that, in any string produced when starting withMI, the number ofI is notdivisible by 3:

  • In the beginning, the number ofIs 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 ofMU with zeroI cannot be achieved because 0is divisible by 3.

In the language ofmodular arithmetic, the numbern ofI obeys the congruence

n2a0(mod3).{\displaystyle n\equiv 2^{a}\not \equiv 0{\pmod {3}}.\,}

wherea counts how often the second rule is applied.

A decidable criterion for derivability

[edit]

More generally, an arbitrarily given stringx can be derived fromMI by theabove four rulesif, and only if,x respects the three following properties:

  1. x is only composed with oneM and any number ofI andU,
  2. x begins withM, and
  3. the number ofI inx is not divisible by 3.

Proof

[edit]

Only if: No rule moves theM, changes the number ofM, or introduces any character out ofM,I,U. Therefore, everyx derived fromMI respects properties 1 and 2. As shownbefore, it also respects property 3.

If: Ifx respects properties 1 to 3, letNI{\displaystyle N_{I}} andNU{\displaystyle N_{U}} be the number ofI andU inx, respectively, and letN=NI+3NU{\displaystyle N=N_{I}+3N_{U}}.By property 3, the numberNI{\displaystyle N_{I}} cannot be divisible by 3, hence,N{\displaystyle N} cannot be, either. That is,N1 or N2(mod3){\displaystyle N\equiv 1{\text{ or }}N\equiv 2{\pmod {3}}}. LetnN{\displaystyle n\in \mathbb {N} } such that2n>N{\displaystyle 2^{n}>N} and2nN(mod3){\displaystyle 2^{n}\equiv N{\pmod {3}}}.[note 2] Beginning from the axiomMI, applying the second rulen{\displaystyle n} times obtainsMIII...I with2n{\displaystyle 2^{n}}I. Since2nN{\displaystyle 2^{n}-N} is divisible by 3, by construction ofn{\displaystyle n}, applying the third rule2nN3{\displaystyle {\frac {2^{n}-N}{3}}} times will obtainMIII...IU...U, with exactlyN{\displaystyle N}I, followed by some number ofU. TheU count can always be made even, by applying the first rule once, if necessary. Applying the fourth rule sufficiently often, allU can then be deleted, thus obtainingMIII...I withNI+3NU{\displaystyle N_{I}+3N_{U}}I. Applying the third rule to reduce triplets ofI into aU in the right spots will obtainx. Altogether,x has been derived fromMI.

Example

[edit]

To illustrate the construction in theIf part of the proof, the stringMIIUII, which respects properties 1 to 3, leads toNI=4{\displaystyle N_{I}=4},NU=1{\displaystyle N_{U}=1},N=7{\displaystyle N=7},n=4{\displaystyle n=4}; it can be hence derived as follows:

MI2MII2MIIII2MIIIIIIII2MIIIIIIIIIIIIIIII3MIIIIIIIUIIIIII3MIIIIIIIUUIII1MIIIIIIIUUIIIU3MIIIIIIIUUUU4MIIIIIIIUU4MIIIIIII3MIIUII.

Arithmetization

[edit]

Chapter XIX ofGö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 lettersM,I, andU to the numbers 3, 1, and 0, respectively. (For example, the stringMIUIU would be mapped to 31010.)

Second, the single axiom of the MIU system, namely the stringMI, 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) +n310 → 31010 (m = 2,n = 10)
3.k × 10m+3 + 111 × 10m +n → k × 10m + 1 +n3111011 → 30011 (k = 3,m = 3,n = 11)
4.k × 10m+2 +n → k × 10m +n30011 → 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 variablem was reserved for use in exponents of 10 only, and therefore it was replaced byk 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]
This sectionneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources in this section. Unsourced material may be challenged and removed.(July 2013) (Learn how and when to remove this message)

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

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

The MU string and the impossibility of its derivation is then analogous to a statement of mathematical logic which cannot beproven 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 notrefer 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 reasonabout the system, rather than working within it. Eventually, one realises that the system is in some wayabout 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 behindGödel's Incompleteness Theorem.

Pedagogical uses

[edit]

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

See also

[edit]

Notes

[edit]
  1. ^Here,x andy are variables, standing for strings of symbols. A rule may be applied only to the whole string, not to an arbitrary substring.
  2. ^Such ann{\displaystyle n} always exists, since the powers of 2 alternatingly evaluate to 1 and 2, modulo 3.
  3. ^Here,k andm stand for arbitrary natural numbers, andn is any natural number smaller than 10m. Each rule of the form "x → y" should be read as "if we have madex we can makey." 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-7Here: Chapter I.
  3. ^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 fromthe original on 4 March 2016. Retrieved29 November 2016. An online interface for producing derivations in the MIU System.
  • "MU Puzzle". Archived fromthe original on 14 May 2018. Retrieved13 May 2018. An online JavaScript implementation of the MIU production system.
Books
Douglas Hofstadter
Concepts and
projects
Related
  • 1 Edited by Hofstadter andDaniel C. Dennett
  • 2 By Hofstadter and the Fluid Analogies Research Group
Retrieved from "https://en.wikipedia.org/w/index.php?title=MU_puzzle&oldid=1264683413"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp