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, in any string produced when starting with , the number of is not
divisible 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, 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,
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, it also respects property 3.
If: If
x respects properties 1 to 3, let N_{I} and N_{U} be the number of and in
x, respectively, and let N = N_{I} + 3N_{U}. By property 3, the number N_{I} cannot be divisible by 3, hence, N cannot be, either. That is, N \equiv 1 \text{ or } N \equiv 2 \pmod 3. Let n \in \N such that 2^n > N and 2^n \equiv N \pmod 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{2^n - N}{3} 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_{I} + 3N_{U} . 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: : . ==Arithmetization==