Skip to content

57. The well-foundedness canon: the engine reaches classical termination

← 56. The Collatz first cause · Table of contents

The engine is one prohibition: no infinite strictly descending chain on a well-founded carrier (no_perpetual_engine_of_wellFounded), and it transfers along any rank into a well-founded order (no_perpetual_engine_of_rank, 01). Every front so far has been a corollary of that one theorem. Here we turn it on the place where it is most at home — the classical termination canon, results whose whole content is there is no infinite descent. Each becomes a green instance reusing machinery already in mathlib; none adds an axiom, and the taint does not move.

The hydra dies

The Kirby–Paris hydra: cut off a head, and it grows finitely many new ones lower down; does the battle always end? Here the answer is a two-line corollary.

Theorem 57.1 (hydra_no_perpetual_engine, 🟢). The hydra battle carries no perpetual engine: for any well-founded r, the cut-relation Relation.CutExpand r admits no infinite descending sequence.

Why this is true. A hydra cut is exactly one Relation.CutExpand step — remove a head a, add finitely many a' with r a' a. Mathlib proves WellFounded r → WellFounded (CutExpand r) (WellFounded.cutExpand); feed that to no_perpetual_engine_of_wellFounded. The hydra dies because its state descends on a well-founded order — the engine, verbatim.

The ω-worm: a transfinite rank

Until now every rank was a natural number. But the engine transfers along a rank into any well-founded order, and ordinals are the archetype. Here is the first transfinite instance, and it captures the deepest trick in the canon.

Theorem 57.2 (omega_worm_no_perpetual_engine, 🟢). Read a state as (a, b) — a big register a, a small register b. A step lowers a by one and lets b jump to ANY value whatsoever. The process still terminates — it carries no perpetual engine — under the ORDINAL rank ω·a + b.

Why this is true. Even though b may explode arbitrarily, the ordinal strictly drops: ω·a + k < ω·(a+1) + b' for every k, because k < ω. So no_perpetual_engine_of_rank with codomain Ordinal (not ) closes it — the first transfinite rank in the programme. This is precisely the mechanism behind Goodstein's theorem and the hydra: the natural-number value grows without bound while the ordinal rank falls, and falling ordinals cannot fall forever. Full weak Goodstein — the base-b digits read as an ordinal below ω^ω — is the natural extension of this same rank, and we record it as the next step (not yet formalized here).

Markov descent: a green wall and a red gate

Theorem 57.3 (markov_no_perpetual_engine, 🟢). The Markov tree of triples x²+y²+z²=3xyz reduces to its root: no infinite chain of Vieta jumps z ↦ 3xy−z, because the height x+y+z is a strictly decreasing ℕ-rank (markov_vieta_lt).

Why this is true. From an ordered non-root triple x ≤ y ≤ z with y < z, the Vieta jump replaces z by z' = 3xy − z, and z' ≤ y < z — because y lies between the two roots of t² − 3xy·t + (x²+y²), so the top strictly falls and with it the height. Vieta closure (isMarkov_vieta) keeps the new triple Markov; the height, a natural number, cannot descend forever.

This is a mask: the termination/finiteness half is green, but it says nothing about the Frobenius uniqueness conjecture — that every Markov number is the largest coordinate of a unique triple, open since 1913. Uniqueness is injectivity of the max-label, orthogonal to well-foundedness; the hammer has no purchase on it. Green wall, honest red gate — the same shape as the millennium fronts.

The reversibility dividing line

The engine has a flip side, and the canon names it. Where a strict descent never returns, a reversible system always does.

Theorem 57.4 (poincare_dividing_line, 🟢). Two halves on a measure space. (i) Every well-founded relation forbids the perpetual engine — a descending chain, hence any return. (ii) A conservative map (for instance a finite-measure measure-preserving, reversible one) satisfies Poincaré recurrence: almost every point of a set returns to it infinitely often.

Why this is true. The first half is the engine (no_perpetual_engine_of_wellFounded); the second is mathlib's Conservative.ae_mem_imp_frequently_image_mem. Together they are the exact contraries universal_engine_dividing_line names on ℝ, now on a dynamical system: strict descent on a well-founded carrier never returns; measure-preserving reversibility always does. This closes the reversibility axis the quantum reading opened (ch. 50): closed, unitary, reversible evolution recurs; our irreversible descent cannot.

The continuum realizes the engine — and that is exactly why it cannot be pressed

One last sharpening closes the loop with universal_engine_dividing_line: the engine is realized on ℝ (perpetualEngine_on_real, the descent (1/2)ⁿ → 0) and forbidden on the well-founded ℕ (no_perpetual_engine_on_nat). It is tempting to invert an arithmetic ladder into (0,1) and use the continuum's infinite subdivision to force an arithmetic infinitude for free. It cannot be done, and here is exactly why.

Theorem 57.5 (strictAnti_meets_nat_finitely, 🟢). A strictly decreasing real sequence bounded below takes natural-number values only finitely often.

Why this is true. Its integer values would be an infinite strictly-decreasing set of naturals inside a bounded interval — impossible (well-foundedness of ℕ). So the ℝ-engine descends forever through the gaps — the witness (1/2)ⁿ is an integer only at n = 0 — and is structurally blind to the ℕ-skeleton. This is no_perpetual_engine_on_nat in analytic dress: the reason the realized ℝ-engine carries no arithmetic.

Theorem 57.6 (twinCenters_accumulate_at_zero_iff_infinite, 🟢). Zero is a limit point of the inverted twin centres {1/m} (over twin centres m) if and only if there are infinitely many twin centres.

Why this is true. Infinitely many centres give arbitrarily large m, so 1/m enters every neighbourhood of 0; finitely many give a finite, closed set with no accumulation. Both directions are proved with no number theory — over the opaque predicate — so the theorem is axiom-clean and, above all, it imports no proof. The inversion m ↦ 1/m is a biconditional relabelling: "the twins crowd the first cause 0" is the same statement as the twin conjecture, dressed in ℝ-topology, carrying exactly its content and no more.

So an observer on a large twin centre, looking down the inverted ladder toward 0 — the grave of zero, the first cause — sees the twins crowd the origin iff they are infinite; and certifying that crowding would complete an infinite descent of the ℕ-skeleton, the forbidden engine. The continuum gives the engine for free precisely because it carries no integer points. Brun sharpens this against the temptation: the twin reciprocals converge (Brun's constant), so their crowding at 0 is the thinnest, most continuum-invisible signal there is — and convergence is agnostic about cardinality; the one reciprocal phenomenon that does force an infinitude, the divergence ∑1/p = ∞, is exactly the one the twins fail. This is a strengthening of the observation, never a step toward the conjecture.

Note (what is proved, what is deferred, what does not fit).

  1. The ω-worm (57.2) is the transfinite-rank mechanism of Goodstein and the hydra, not the full weak Goodstein theorem; the base-b digit ordinal is the natural next step, deferred.
  2. Deferred green: full weak Goodstein (via Nat.digits and the ordinal Cantor normal form), Newman's lemma (termination ⇒ confluence, absent from mathlib as an abstract result), the Higman/Dickson well-quasi-order instances.
  3. Documented non-fits — the hammer explicitly does not reach these: aliquot sequences (Catalan–Dickson), which have no well-founded order and whose boundedness is expected false; Erdős–Straus 4/n = 1/a+1/b+1/c, a covering obstruction, not a descent; the 15-puzzle and parity games, a conserved invariant orthogonal to a decreasing rank; stability of matter, KAM, sphere packing — genuine analysis with no discrete well-founded carrier in the Lean.
  4. The Gödel placement is sharpened in the Coda (50): this lane is exactly where "not a Gödelian phenomenon" must be read precisely — well-foundedness, not self-reference.

Place in the greater arc

The seven masks read hard analytic objects as shadows of the prohibition; here the prohibition meets the objects that are the prohibition, stated plainly. The hydra, the worm, the Markov tree are termination theorems, and termination is well-foundedness, and well-foundedness is the engine. The only new mathematics is the framing — and the one transfinite rank, which shows the engine was never bound to the number line: it works wherever a descent can be measured by an ordinal that cannot fall forever.


← 56. The Collatz first cause · Table of contents