Main derivation
S01 · definition
Before
\text{self-map and its iterates}After
T:X\to X,\ T^0=\mathrm{id}_X,\ T^{n+1}=T\circ T^nConditions: none
Rule: mko_orbit_defs · Uses: G1, G2, G3, G4
Leaf basis: mko_orbit_defs + def_intro
Fix the model and the definitions: state space X, self-map T, iterates T^n, orbit, fixed point, least period and preperiodic point. The MKO stresses two points: T^p(x)=x only makes p a return time, and the least period requires excluding smaller positive return times; and eventually entering a cycle does not make the starting point periodic. Every later step is checked against these two points.
S02 · implies
Before
x\in X
After
T(x)=(2x+1)\bmod 6\in X
Conditions: 6>0
Rule: division_algorithm · Uses: G1, G2, division_algorithm
Leaf basis: division_algorithm
Division algorithm: for the integer 2x+1 and the positive integer 6 there are unique q, r with 2x+1=6q+r and 0≤r<6. T(x)=r lies in {0,1,2,3,4,5}=X, so T really is a self-map of X and every iterate T^n is defined.
S03 · equivalent
Before
T(0),T(1),T(2),T(3),T(4),T(5)
After
1,\ 3,\ 5,\ 1,\ 3,\ 5
Conditions: none
Rule: numeric_evaluation · Uses: S02
Leaf basis: numeric_evaluation + division_algorithm
Compute the complete value table of T point by point, in two sub-steps: first 2x+1, then the remainder modulo 6.
S04 · equivalent
Before
T(X)=\{T(x)\mid x\in X\}After
T(X)=\{1,3,5\}Conditions: none
Rule: image_preimage_def · Uses: S03, image_preimage_def
Leaf basis: image_preimage_def + set_extensionality
The image is the set of all values T(x). The only values in the table S03 are 1, 3 and 5, and each occurs (T(0)=1, T(1)=3, T(2)=5). So T(X)={1,3,5}; none of 0, 2, 4 is the image of any state.
S05 · equivalent
Before
T(x)=x,\ x\in X
After
x=5
Conditions: x\in X
Rule: mod6_arith · Uses: S02, mod6_arith
Leaf basis: mod6_arith + divides_def + case_analysis
Decide all fixed points at once by congruence algebra, in three sub-steps. Conclusion: the only fixed point in X is 5.
S06 · equivalent
Before
T^2(x)=T(T(x))
After
T^2(x)=(4x+3)\bmod 6
Conditions: none
Rule: mod6_arith · Uses: S02, mod6_arith, composition_def
Leaf basis: mod6_arith + composition_def + distributive
T²(x)=T(T(x))≡2T(x)+1≡2(2x+1)+1=4x+3 (mod 6); the second congruence uses T(x)≡2x+1 and the compatibility of congruence with multiplication and addition. Since T²(x) lies in X, it is the remainder of 4x+3 on division by 6.
S07 · equivalent
Before
T^2(x)=x,\ x\in X
After
x\in\{1,3,5\}Conditions: x\in X
Rule: mod6_arith · Uses: S06, mod6_arith
Leaf basis: mod6_arith + divides_def + case_analysis
As in S05, decide every state with T²(x)=x, in three sub-steps. Conclusion: exactly 1, 3 and 5.
S08 · implies
Before
x\in\{1,3,5\}After
p(5)=1,\ p(1)=2,\ p(3)=2
Conditions: none
Rule: case_analysis · Uses: S03, S05, S07, G4
Leaf basis: case_analysis + def_unfold + numeric_evaluation
The least period requires excluding every smaller positive return time; here only 1 must be excluded. For 5: T(5)=5, so 1 is a positive return time and the least positive integer, hence p(5)=1; although T²(5)=5, the least period of 5 is not 2. For 1: T(1)=3≠1, so 1 is not a return time; T²(1)=1 (S07), so p(1)=2. For 3: T(3)=1≠3 and T²(3)=3, so p(3)=2. The points of least period exactly 2 are 1 and 3, forming the cycle 1→3→1.
S09 · implies
Before
p=\min\{n\geq 1\mid T^n(x)=x\}After
\forall n\geq 1:\ T^n(x)=x\iff p\mid n
Conditions: x\ \text{periodic}
Rule: L_return · Uses: G3, G4, iterate_law
Leaf basis: nat_induction + division_algorithm + contradiction + iterate_law
Prove Lemma L_return: for a point of least period p, the positive return times are exactly the multiples of p. This makes the MKO's warning precise: every return time is a multiple of p but need not equal p. The proof has four sub-steps: two for an induction, one division with remainder and one contradiction from minimality.
S10 · implies
Before
x=1,\ p(1)=2
After
T^n(1)=1\iff 2\mid n;\ T^4(1)=1,\ T^3(1)=3
Conditions: n\geq 1
Rule: L_return · Uses: S08, S09
Leaf basis: L_return + division_algorithm + numeric_evaluation
Apply L_return with x=1, p=2: the positive return times of 1 are exactly the even numbers 2, 4, 6 and so on. So T^4(1)=1, but 4 is only a return time and the least period is still 2. For odd n=2q+1, S09.3 gives T^n(1)=T^1(1)=3, for example T^3(1)=3 and T^7(1)=3. Likewise p(5)=1 divides every positive integer, so T^n(5)=5 for all n≥1, and T²(5)=5 does not make 5 a point of least period 2.
S11 · implies
Before
n\geq 1
After
T^n(x)\in T(X)=\{1,3,5\}Conditions: n\geq 1
Rule: L_image · Uses: S04, G3
Leaf basis: composition_def + image_preimage_def
Prove Lemma L_image: after at least one step, the orbit always stays in the image of T. With S04, T^n(x) belongs to {1,3,5} for every n≥1.
S12 · implies
Before
x\in\{0,2,4\}After
\forall n\geq 1:\ T^n(x)\neq x
Conditions: none
Rule: contradiction · Uses: S11, S04
Leaf basis: contradiction + set_operations_def
Let x∈{0,2,4}. If T^n(x)=x for some n≥1, S11 gives x∈{1,3,5}, but {0,2,4} and {1,3,5} are disjoint, a contradiction. So 0, 2 and 4 have no positive return time and are not periodic. This is a proof for every n, not the outcome of checking the first few steps.
S13 · implies
Before
T(0)=1,\ T(2)=5,\ T(4)=3
After
0,2,4\ \text{preperiodic, not periodic}Conditions: none
Rule: def_unfold · Uses: S03, S08, S12, G4
Leaf basis: def_unfold + and_intro_elim
After one step: T(0)=1 and T(4)=3 are points of least period 2, and T(2)=5 is the fixed point (S08). So the orbit of 0 is 0, 1, 3, 1, 3 and so on; that of 4 is 4, 3, 1, 3; that of 2 is 2, 5, 5. All three eventually enter a cycle, but by S12 none is periodic, so by G4 they are preperiodic. This is exactly the MKO's warning: when the cycle starts after the starting point, the starting point is not periodic.
S14 · implies
Before
X=\{0,1,2,3,4,5\}After
\mathrm{Fix}(T)=\{5\},\ \{x\mid p(x)=2\}=\{1,3\},\ \text{preperiodic}=\{0,2,4\}Conditions: none
Rule: and_intro_elim · Uses: S05, S08, S12, S13, G1
Leaf basis: and_intro_elim + set_operations_def
Summary: the only fixed point is 5 (S05); the points of least period 2 are 1 and 3 (S08); 0, 2 and 4 are preperiodic (S12, S13). The three sets are pairwise disjoint with union X, so this is a complete classification of X; X has exactly six states and none is missed.
Substeps and lemmas
S03.1 · equivalent
Before
2x+1\ \text{for}\ x=0,1,2,3,4,5After
1,\ 3,\ 5,\ 7,\ 9,\ 11
Conditions: none
Rule: numeric_evaluation · Uses: G2
Leaf basis: numeric_evaluation
Direct computation: 2·0+1=1, 2·1+1=3, 2·2+1=5, 2·3+1=7, 2·4+1=9, 2·5+1=11.
S03.2 · equivalent
Before
1,3,5,7,9,11\ \bmod 6
After
1,\ 3,\ 5,\ 1,\ 3,\ 5
Conditions: 6>0
Rule: division_algorithm · Uses: S03.1, division_algorithm
Leaf basis: division_algorithm + numeric_evaluation
1, 3 and 5 already lie between 0 and 5 and are their own remainders; 7=6·1+1, 9=6·1+3 and 11=6·1+5 give remainders 1, 3 and 5. So T(0)=1, T(1)=3, T(2)=5, T(3)=1, T(4)=3 and T(5)=5.
S05.1 · equivalent
Before
T(x)=x
After
2x+1\equiv x\pmod 6
Conditions: x\in X
Rule: mod6_arith · Uses: G2, mod6_arith
Leaf basis: mod6_arith
T(x) and x both lie in X, where two elements are equal exactly when they are congruent modulo 6; and T(x)≡2x+1 (mod 6). So T(x)=x is equivalent to 2x+1≡x (mod 6).
S05.2 · equivalent
Before
2x+1\equiv x\pmod 6
After
6\mid x+1
Conditions: none
Rule: divides_def · Uses: S05.1, mod6_arith, divides_def
Leaf basis: divides_def + mod6_arith + add_inverse
By definition, 2x+1≡x (mod 6) means 6∣(2x+1−x), and 2x+1−x=x+1.
S05.3 · equivalent
Before
6\mid x+1,\ x\in X
After
x=5
Conditions: 0\le x\le 5
Rule: case_analysis · Uses: S05.2, G1
Leaf basis: case_analysis + divides_def + numeric_evaluation
For x∈X, x+1 is one of 1, 2, 3, 4, 5, 6; the only multiple of 6 among them is 6, so x+1=6, that is x=5. Backwards: for x=5, x+1=6 and 6∣6.
S07.1 · equivalent
Before
4x+3\equiv x\pmod 6
After
6\mid 3(x+1)
Conditions: none
Rule: divides_def · Uses: S06, mod6_arith, divides_def
Leaf basis: divides_def + distributive + mod6_arith
As in S05.1, by S06 T²(x)=x is equivalent to 4x+3≡x (mod 6), that is 6∣(4x+3−x); and 4x+3−x=3x+3=3(x+1) by distributivity.
S07.2 · equivalent
Before
6\mid 3(x+1)
After
2\mid x+1
Conditions: 3\neq 0
Rule: divides_def · Uses: S07.1, divides_def
Leaf basis: divides_def + mul_inverse_nonzero + eq_congruence
6∣3(x+1) means 3(x+1)=6k=3·2k for some integer k; dividing both sides by 3 (3≠0) gives x+1=2k, that is 2∣x+1. Backwards: multiplying x+1=2k by 3 gives 3(x+1)=6k.
S07.3 · equivalent
Before
2\mid x+1,\ x\in X
After
x\in\{1,3,5\}Conditions: 0\le x\le 5
Rule: case_analysis · Uses: S07.2, G1
Leaf basis: case_analysis + divides_def
x+1 runs through 1 to 6; the even values are 2, 4 and 6, corresponding to x=1, 3 and 5.
S09.1 · induction_base
Before
q=0
After
T^{0\cdot p}(x)=T^0(x)=xConditions: none
Rule: nat_induction · Uses: G3
Leaf basis: nat_induction + def_unfold
To prove T^(qp)(x)=x for every natural number q. Base q=0: 0·p=0 and T^0 is the identity, so T^0(x)=x.
S09.2 · induction_step
Before
T^{qp}(x)=xAfter
T^{(q+1)p}(x)=xConditions: T^p(x)=x
Rule: iterate_law · Uses: S09.1, iterate_law, G4
Leaf basis: iterate_law + nat_induction + composition_def
Assume T^(qp)(x)=x. By the iterate law T^((q+1)p)=T^(p+qp)=T^p∘T^(qp), so T^((q+1)p)(x)=T^p(T^(qp)(x))=T^p(x)=x, the last equality because p is a return time. By induction, T^(qp)(x)=x for every q.
S09.3 · implies
Before
n=qp+r,\ 0\le r<p
After
T^n(x)=T^r(x)
Conditions: p\geq 1
Rule: division_algorithm · Uses: S09.2, division_algorithm, iterate_law
Leaf basis: division_algorithm + iterate_law + eq_replace
Divide the positive integer n with remainder: n=qp+r with 0≤r<p. By the iterate law T^n=T^(r+qp)=T^r∘T^(qp), and with T^(qp)(x)=x from S09.2, T^n(x)=T^r(T^(qp)(x))=T^r(x).
S09.4 · implies
Before
T^n(x)=x
After
r=0,\ p\mid n
Conditions: 0\le r<p
Rule: contradiction · Uses: S09.2, S09.3, G4
Leaf basis: contradiction + divides_def + and_intro_elim
⇒: if T^n(x)=x, S09.3 gives T^r(x)=x. If r≥1, r would be a positive return time smaller than p, contradicting the minimality of p; so r=0, n=qp and p∣n. ⇐: if p∣n, then n=qp and S09.2 gives T^n(x)=x. S09.1 to S09.4 together prove Lemma L_return.
S11.1 · implies
Before
T^n(x),\ n\geq 1
After
T^n(x)=T(T^{n-1}(x))\in T(X)Conditions: n-1\in\mathbb{N}
Rule: composition_def · Uses: G3, composition_def, image_preimage_def
Leaf basis: composition_def + image_preimage_def
For n≥1, n−1 is a natural number, and T^n=T∘T^(n−1) from G3 gives T^n(x)=T(y) with y=T^(n−1)(x)∈X. A value of T at a point of X belongs to T(X) by definition. This proves Lemma L_image.
Error controls and negative controls
A return time need not be the least period
One mistake named by the MKO is calling any return time the least period. T^4(1)=1, but already T²(1)=1, so the least period of 1 is 2 (S08, S10); T²(5)=5, but T(5)=5, so the least period of 5 is 1. L_return shows every return time is a multiple of p, and deciding the least period requires excluding every smaller positive integer.
Eventually entering a cycle does not make the starting point periodic
The orbit 0, 1, 3, 1, 3 of 0 cycles from step 1 on, but the cycle does not contain the start 0. S12 proves 0 never comes back: every T^n(0) with n≥1 lies in {1,3,5}. Calling a point periodic because its orbit eventually cycles is the other mistake the MKO names.
What the finite checks cover
N4, N5, N6, N8 and N11 are finite checks over all six states of X; X has exactly these six states, so they cover the whole state space of this system, and the conclusions of S05, S07 and S12 also have algebraic proofs. The checks say nothing about other moduli, other maps or infinite systems (MKO assumption a2).
- T^4(1)=1, so the least period of 1 is 4 →
reject — T²(1)=T(3)=1, so 2 is a smaller positive return time. - The orbit of 0 ends up cycling between 1 and 3, so 0 is periodic →
reject — 0∉T(X)={1,3,5}, so T^n(0)≠0 for every n≥1 (S12). - T²(5)=5, so 5 is a periodic point of least period 2 →
reject — T(5)=11 mod 6=5, so the least period is 1. - In a system on ℤ, the orbit of a point does not return in its first 200 steps, so the point is not periodic →
reject — Take T(x)=x+1 for 0≤x<200, T(200)=0 and T(x)=x otherwise: 0 does not return in the first 200 steps, but T^201(0)=0. A finite prefix proves no non-periodicity (MKO assumption a2).