Notes

Chapter 12: The Principle of Computational Equivalence

Section 9: Implications for Mathematics and Its Foundations


Universal Diophantine equation

The equation is built up from ones whose solutions are set up to be integers that satisfy particular relations. So for example the equation a2 + b2 0 has solutions that are exactly those integers that satisfy the relation a 0 b 0. Similarly, assuming as in the rest of this note that all variables are non-negative, b a + c + 1 has solutions that are exactly those integers that satisfy a < b, with c having some allowed value. From various number-theoretical results many relations can readily be encoded as integer equations:

(a 0 b 0) a b 0

(a 0 b 0) a + b 0

a < b b a + c + 1

a Mod[b, c] (b a + c d a < c)

a Quotient[b, c] (b a c + d d < c)

a Binomial[b, c] With[{n = 2b + 1}, (n + 1)b nc(a + d n) + e e < nc a < n]

a b! a Quotient[cb, Binomial[c, b]]

a GCD[b, c] (b c > 0 a d b a e c a + c f b g)

a Floor[b/c] (a c + d b d < c)

PrimeQ[a] (GCD[(a - 1)!, a] 1 a > 1)

a BitAnd[c, d] b BitOr[c, d] (σ[c, a] σ[d, a] σ[b, c] σ[b, d] a + b c + d)/. σ[x_, y_] Mod[Binomial[x, y], 2] 1

where the last encoding uses the result on page 608. (Note that any variable a can be forced to be non-negative by including an equation a w2 + x2 + y2 + z2, as on page 910.)

Given an integer a for which IntegerDigits[a, 2] gives the cell values for a cellular automaton, a single step of evolution according say to rule 30 is given by

BitXor[a, 2 BitOr[a, 2a]]

where (see page 871)

BitXor[x, y] BitOr[x, y] - BitAnd[x, y]

and a is assumed to be padded with 0's at each end. The corresponding form for rule 110 is

BitXor[BitAnd[a, 2a, 4a], BitOr[2a, 4a]]

The final equation is then obtained from

{1 + x4 + x12 2(1 + x3) (x1 + 2 x3), x2 + x13 2x1, 1 + x5 + x14 2x1, 2x3 x5 + 2x1 + 2 x3 x6 + 2x1 + x3 x15 + x16 x4, 1 + x15 + x17 2x3, 1 + x16 + x18 2x3, 21 + x3 (1 + x1 + 2 x3) (-1 + x2) - x10 + x11 2 x4, x7 BitAnd[x6, 2 x6] x8 BitOr[x6, 2 x6], x9 BitAnd[x6, 2 x7] x19 BitOr[x6, 2 x7], x10 BitAnd[x9, 2 x8] x11 BitOr[x9, 2 x8]}

where x1 through x4 have the meanings indicated in the main text, and satisfy xi 0. Non-overlapping subsidiary variables are introduced for BitOr and BitAnd, yielding a total of 79 variables.

Note that it is potentially somewhat easier to construct Diophantine equations to emulate register machines—or arithmetic systems from page 673—than to emulate cellular automata, but exactly the same basic methods can be used.

In the universal equation in the main text variables appear in exponents. One can reduce such an exponential equation to a pure polynomial equation by encoding powers using integer equations. The simplest known way of doing this (see note below) involves a degree 8 equation with 60 variables:

a bc α[d, 4 + b e, 1 + z] α[f, e, 1 + z] a Quotient[d, f] α[g, 4 + b, 1 + z] e 16 g(1 + z)

λ[a_, b_, c_] := Module[{x}, 2 a + x1 c (Mod[b - a, c] 0 Mod[b + a, c] 0)]

α[a_, b_, c_] := Module[{x}, x12 - b x1 x2 + x22 1 x32 - b x3 x4 + x42 1 1 + x4 + x5 x3 Mod[x3, x12] 0 2x4 + x7 b x3 Mod[-b + x8, x7] 0 Mod[-2 + x8, x1] 0 x8 - x11 3 x122 - x8 x12 x13 + x132 1 1 + 2 a + x14 x1 λ[a, x12, x7] λ[c, x12, x1]]

(This roughly uses the idea that solutions to Pell equations grow exponentially, so that for example x2 2y2 + 1 has solutions With[{u = 3 + 2 2}, (un + u-n)/2].) From this representation of Power the universal equation can be converted to a purely polynomial equation with 2154 variables—which when expanded has 1683150 terms, total degree 16 (average per term 6.8), maximum coefficient 17827424 and LeafCount 16540206.

Note that the existence of universal Diophantine equations implies that any problem of mathematics—even, say, the Riemann Hypothesis—can in principle be formulated as a question about the existence of solutions to a Diophantine equation. It also means that given any specific enumeration of polynomials, there must be some universal polynomial u which if fed the enumeration number of a polynomial p, together with an encoding of the values of its variables, will yield the corresponding value of p as a solution to u 0.



Image Source Notebooks:

From Stephen Wolfram: A New Kind of Science [citation]