MU puzzle
   HOME

TheInfoList



OR:

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 (ie., deriving theorems) against reasoning about the formal system itself. MIU is an example of a
Post canonical system A Post canonical system, also known as a Post production system, as created by Emil Post, is a string-manipulation system that starts with finitely-many strings and repeatedly transforms them by applying a finite set j of specified rules of a cert ...
and can be reformulated as a string rewriting system.


The puzzle

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


Solution

The puzzle cannot be solved: it is impossible to change the string into 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 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 is not
divisible In mathematics, a divisor of an integer n, also called a factor of n, is an integer m that may be multiplied by some integer to produce n. In this case, one also says that n is a multiple of m. An integer n is divisible or evenly divisible by ...
by 3: * In the beginning, the number of s 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 with zero cannot be achieved because 0 ''is'' divisible by 3. In the language of
modular arithmetic In mathematics, modular arithmetic is a system of arithmetic for integers, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to modular arithmetic was developed by Carl Friedrich Gauss in his boo ...
, the number ''n'' of obeys the congruence :n \equiv 2^a \not\equiv 0 \pmod 3.\, where ''a'' counts how often the second rule is applied.


A decidable criterion for derivability

More generally, an arbitrarily given string ''x'' can be derived from by the above four rules
if, and only if In logic and related fields such as mathematics and philosophy, "if and only if" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false. The connective is bicon ...
, ''x'' respects the three following properties: # ''x'' is only composed with one and any number of and , # ''x'' begins with , and # the number of in ''x'' is not divisible by 3.


Proof

Only if: No rule moves the , changes the number of , or introduces any character out of , , . Therefore, every ''x'' derived from respects properties 1 and 2. As shown
before Before is the opposite of after, and may refer to: * ''Before'' (Gold Panda EP), 2009 * ''Before'' (James Blake EP), 2020 * "Before" (song), a 1996 song by the Pet Shop Boys * "Before", a song by the Empire of the Sun from ''Two Vines'' * "Befo ...
, it also respects property 3. If: If ''x'' respects properties 1 to 3, let N_ and N_ be the number of and in ''x'', respectively, and let N = N_ + 3N_. By property 3, the number N_ cannot be divisible by 3, hence, N cannot be, either. That is, N \equiv 1 \text N \equiv 2 \pmod 3. Let n \in \N such that 2^n > N and 2^n \equiv N \pmod 3.Such an n always exists, since the powers of 2 alternatingly evaluate to 1 and 2, modulo 3. Beginning from the axiom , applying the second rule n times obtains ... with 2^n . Since 2^n - N is divisible by 3, by construction of n, applying the third rule \frac times will obtain ......, with exactly N , followed by some number of . The count can always be made even, by applying the first rule once, if necessary. Applying the fourth rule sufficiently often, all can then be deleted, thus obtaining ... with N_ + 3N_ . Applying the third rule to reduce triplets of into a in the right spots will obtain ''x''. Altogether, ''x'' has been derived from .


Example

To illustrate the construction in the ''If'' part of the proof, the string , which respects properties 1 to 3, leads to N_I=4, N_U=1, N=7, n=4; it can be hence derived as follows: : \stackrel \stackrel \stackrel \stackrel \stackrel \stackrel \stackrel \stackrel \stackrel \stackrel \stackrel .


Arithmetization

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 , , and to the numbers 3, 1, and 0, respectively. (For example, the string would be mapped to 31010.) Second, the single axiom of the MIU system, namely the string , becomes the number 31. Third, the four formal rules given above become the following: : (NB: The rendering of the first rule above differs superficially from that in the book, where it is written as " we have made 10''m'' + 1, then we can make 10 × (10''m'' + 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

The MIU system illustrates several important concepts in logic by means of analogy. It can be interpreted as an analogy for a
formal system A formal system is an abstract structure used for inferring theorems from axioms according to a set of rules. These rules, which are used for carrying out the inference of theorems from axioms, are the logical calculus of the formal system. A form ...
— 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 In the philosophy of logic, a rule of inference, inference rule or transformation rule is a logical form consisting of a function which takes premises, analyzes their syntax, and returns a conclusion (or conclusions). For example, the rule of ...
. The MU string and the impossibility of its derivation is then analogous to a statement of mathematical logic which cannot be
proven Proven is a rural village in the Belgian province of West Flanders, and a "deelgemeente" of the municipality Poperinge. The village has about 1400 inhabitants. The church and parish of Proven are named after Saint Victor. The Saint Victor Churc ...
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

In her textbook, ''Discrete Mathematics with Applications'',
Susanna S. Epp Susanna Samuels Epp (born 1943) is an author, mathematician, and professor. Her interests include discrete mathematics, mathematical logic, cognitive psychology, and mathematics education, and she has written numerous articles, publications, and ...
uses the MU puzzle to introduce the concept of
recursive definition In mathematics and computer science, a recursive definition, or inductive definition, is used to define the elements in a set in terms of other elements in the set ( Aczel 1977:740ff). Some examples of recursively-definable objects include facto ...
s, and begins the relevant chapter with a quote from ''GEB''.''Discrete Mathematics with Applications'', Third Edition, Brooks/Cole, 2004. Chapter 8.4, "General Recursive Definitions," p. 501.


See also

*
Invariant (mathematics) In mathematics, an invariant is a property of a mathematical object (or a class of mathematical objects) which remains unchanged after operations or transformations of a certain type are applied to the objects. The particular class of objects ...
*
Unrestricted grammar In automata theory, the class of unrestricted grammars (also called semi-Thue, type-0 or phrase structure grammars) is the most general class of grammars in the Chomsky hierarchy. No restrictions are made on the productions of an unrestricted gram ...


Notes


References


External links

* An online interface for producing derivations in the MIU System. * An online JavaScript implementation of the MIU production system. {{DEFAULTSORT:Mu Puzzle Logic puzzles Unsolvable puzzles Independence results Formal languages 1979 introductions