Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

23.1 Pythagoras, “All Is Number,” and the Four-Tier Escape of Number

If we compress this monograph back into the foundational seed of mathematical civilization, we find that the entire architecture was already latent twenty-five centuries ago in the twin mottoes of the Pythagorean school: the Pythagorean Theorem () and “All Is Number” ( / wànwù jiē shù). Viewed through Clifford geometric algebra and a formal proof kernel, these two ancient principles unfold as a three-act geometric drama.

23.1.1 Act I: The True Face of the Pythagorean Theorem—1D Segments Cannot Add, 2D Areas Conserve

Why can two orthogonal legs of a right triangle never add linearly as one-dimensional lengths (), yet become strictly additive the moment we square them ()?

In the Clifford geometric algebra , a single line of algebra reveals the mechanism. Treat the orthogonal legs as vectors satisfying , so the hypotenuse vector is . Squaring via the geometric product yields

Because , the symmetric inner-product part vanishes, reducing the cross term to the sum of two exterior bivectors of opposite chirality (oriented area elements):

The clockwise and counterclockwise bivector areas cancel identically, leaving only the scalar sum of squares:

In other words, one-dimensional projected segments are locked to incompatible axes and cannot be added across a turn; only when we ascend to two-dimensional squares (areas/norms) do opposite directional chiralities cancel in the antisymmetric exterior product, allowing orthogonal components to merge into a conserved total!

Normalizing the hypotenuse to unit radius transforms the Pythagorean theorem into the mother conservation law governing all ten parts of this book:

  1. Quantum Mechanics (Parts I–III): The particle-like inner-product projection and the wave-like exterior bivector gate area obey —Born’s probability conservation (born_probability_skeleton) and the inner-product parallelogram/Pythagorean norm laws (inner_product_norm_parallelogram_law and complementary_context_probability_pythagoras) are simply the Pythagorean theorem on the unit circle;
  2. Special Relativity (Part V, Chapter 17): In Minkowski spacetime, the proper-time rate and the normalized spatial speed obey (the orthogonal rearrangement of , corresponding to hyperbolic Bogoliubov norm conservation bogoliubov_norm_conservation)—a photon experiences zero proper time for the purely geometric reason that its unit Pythagorean hypotenuse is projected entirely onto the spatial axis ;
  3. Diophantine Number Theory and Spinor Algebra (Sections 23.3–23.5 of this chapter): The unit quaternion sphere norm , the Eisenstein quadratic norm form identity (Qform_eq_eisNorm), and the golden-integer Pell norm identity (pell_form_eq_four_mul_norm) express the higher-dimensional Pythagorean theorem across orthogonal and quadratic lattices.

23.1.2 Act II: Hippasus’s Crack and the Indestructible Pell Remainder

Yet this very Pythagorean theorem shattered the original static rational sphere of the early Pythagoreans.

Take the simplest isosceles right triangle: , sitting along the symmetric bisector between two orthogonal axes—the exact angle at which the Bell–CHSH inequality attains Tsirelson’s quantum bound in Part IV (Chapter 13). The Pythagorean theorem gives , so .

Under the early Pythagorean dogma that “all is a ratio of whole numbers,” there should exist positive integers with , or . Placed inside the prime orthogonal coordinate lattice of Part VI (Chapter 22), the fundamental theorem of arithmetic renders an immediate verdict: each prime spans an independent orthogonal axis in ; along the axis, the -adic valuation is always even, whereas is always odd. Because an even integer can never equal an odd integer, has no nonzero integer solution!

Since no ratio of whole numbers ever reaches , all the integer grid can still do is count in the verbal sense of shǔ: approach step by step and write down how far off each step remains. Strip off the integer part of and what is left, , is the amount by which the diagonal exceeds the unit side; read as a slope, it is the “silver slope” defined below. Line up its multiples against the integer marks: misses by ; misses by ; misses by ; misses by . Try in turn and keep only the multiples that come closer to an integer than every multiple before them: you get exactly (checked by script for ). Each is twice its predecessor plus the one before that, and the integers they approach, , are the same sequence shifted back by one. At every step the error changes sign and shrinks by a factor of : smaller and smaller, but never zero. The frozen definitions and theorems below turn this counting machine into exact statements.

Definition 23.1 (Pell Numbers, Companion Pell Numbers, and the Silver Slope)

The Pell numbers and the companion Pell numbers obey the same second-order recurrence with different initial values:

The silver slope is the real number .

Thus and .

Lemma 23.2 (First-Order Cross Recurrence and Coprimality of Pell and Companion Pell Numbers)LEAN ✓

For every natural number ,

and and are coprime: .

Proof

Both recurrences are proved together by induction on . For , and . The inductive step unfolds and by definition and substitutes the induction hypothesis; both sides become the same linear combination of and , and linear arithmetic (omega) closes the goal. Coprimality is again an induction on : ; in the inductive step the recurrence just proved writes the pair as , and subtracting the first number from the second, then from the first, leaves the gcd unchanged, so the goal falls back to . This is the Euclidean algorithm run one step backwards. The full proof is checked by the Lean kernel.

Theorem 23.3 (The Pell Remainder of the Silver Slope: Exact Error, Determinant, and Phase Mass)LEAN ✓

For every natural number :

  1. in , ;
  2. in , ;
  3. in , .
Proof

All three use only two facts: the recurrence , and the quadratic relation , which follows from . For item 1, Lean first proves the two-step recurrence , unfolding the recurrence and simplifying with and . Strong induction on then finishes: for , ; for , ; after that, every two steps multiply the error by and leave the sign unchanged. Item 2 is an induction on : for , ; in the inductive step, substituting the recurrence for and shows by ring arithmetic that the new determinant is exactly the negative of the old one, so the sign flips at every step. Item 3 is also an induction on : for , ; after substituting , the inductive step differs from the previous one by , so the left side falls back to the previous value . The full proof is checked by the Lean kernel.

From the error to the unit remainder (a manual derivation). By Lemma 23.2, , so item 1 is the error of itself: . Likewise , so the bracket in item 3 is . Multiplying the two:

With this is the unit Pell remainder for : , , , …, . The narrow side measures how far the lattice point sits off the line ; it changes sign and shrinks by a factor of at each step. The wide side (item 3, using ) grows by a factor of at each step. Their product is always : the error cannot vanish, because multiplied by a finite wide side it must still give . Without items 1 and 3, item 2 together with Lemma 23.2 leads to the same conclusion: substituting and gives , and this route covers as well ().

The error never vanishes, but is it the smallest possible? The next theorem says yes: until the next Pell number, no multiple comes closer to an integer.

Theorem 23.4 (Best-Approximation Lower Bound for the Silver Slope)LEAN ✓

Let be natural numbers with . Then for every integer , in ,

Proof

The core is an integer-lattice lemma that knows nothing about (unimodular_opposite_error_bound): let be real numbers and let the integer pairs and satisfy , , , and have errors of opposite signs, and ; then for every integer . The reason is that an integer matrix of determinant is invertible over the integers: with integers and , and the errors combine with the same coefficients, . Since , forces , and forces . In both cases and never have opposite signs, so they cannot cancel, and ; hence the absolute value is at least . For the silver slope, take the neighbouring pairs and : item 1 of Theorem 23.3 gives the opposite errors and , and item 2 gives the determinant . For odd the lemma applies directly; for even the determinant is , and Lean negates , the second entries of both pairs, and before applying it, then restores the original quantity with . The positivity comes from together with the oddness of (companion_odd). The full proof is checked by the Lean kernel.

(A manual derivation.) Because and runs over all integers as does, Theorem 23.4 says: for , the distance from to the nearest integer is at least . By the error formula, and attain this bound exactly (and , so this is admissible); hence no denominator in this range approximates better than , and the first denominator that does better is the next Pell number , whose error is .

Example 23.5 (Counting Out the First Six Steps)

Let be the minimum of over and , found by a script that runs through every . Decimals are rounded to the digits shown:

The error column alternates in sign, and its absolute value shrinks by a factor of from row to row; the fourth column takes only the values ; the last column equals the absolute error, and in these six rows the minimum is attained only at (the uniqueness is an observation from the enumeration; the two theorems guarantee only that the minimum equals and is attained at ). For , for instance, only are allowed, at distances , , and , and the smallest is exactly . The row can also be checked in integers: the determinant is , and the phase-mass bracket times is exactly .

0.01 −0.01 0.1 −0.1 1 −1 sk+1​ −sk+1​ 1/1 3/2 7/5 17/12 41/29 99/70 k Q² − 2P² 0 −1 1 +1 2 −1 3 +1 4 −1 5 +1 error (log scale)

The error changes sign and shrinks by the factor at every step, yet never reaches zero; stays . The stems are the errors of the third column above, cyan and upwards when positive, magenta and downwards when negative. The vertical axis is logarithmic in the size of the error, so shrinking by is one equal step, and every stem ends on the dashed envelope (part 1 of Theorem 23.3). Each stem carries its convergent ; the bottom row is the fourth column, .

Remark 23.6 ( and the Continued-Fraction Convergents of (Literature result, not formalized in this book))

Literature result, not formalized in this book. Classical continued-fraction theory gives

whose convergents are ; counting from , the -th convergent is exactly . Lagrange’s theorem from the general theory adds that every best approximation of the second kind of an irrational number (a fraction with for every other fraction whose denominator does not exceed ) is a convergent. The pinned Lean library proves Lemma 23.2, Theorem 23.3 and Theorem 23.4 from the recurrence alone and does not match with Mathlib’s continued-fraction expansion (the source file states that this identification is unproved). The identification “ are the continued-fraction convergents of ” and the general theory of best approximation therefore remain literature results; the unit remainder and the best-approximation lower bound above do not depend on them.

The determinant of Theorem 23.3 has exactly the shape of the Fibonacci–Cassini identity of Chapter 35 §35.7, and its unit remainder foreshadows the golden-integer Pell identity proved in §23.4 below (pell_form_eq_four_mul_norm): any attempt to stitch a orthogonal area rotation onto a one-dimensional integer grid leaves an irreducible unit arithmetic seam. What Hippasus uncovered was not the failure of mathematics, but the first seam of a larger sphere breaking through the static rational sphere.

Always one cell off. The convergents hug the line ever more closely; the two bands on the right are the cell counts and , and in the magnifier they are always one cell apart.

23.1.3 Act III: Reclaiming “All Is Number”—From the Verb shǔ to the Four-Tier Escape

If rational numbers cannot even hold the hypotenuse of a unit square, was Pythagoras wrong to proclaim that “All Is Number”?

Quite the opposite! Just as Chapter 1 revealed that the classical Chinese term liàng / liáng unites the verb liáng (the active operation of pairwise measurement) and the noun liàng (the truncated scalar reading), the classical term shù / shǔ in wànwù jiē shù (“All Is Number”) unites two distinct dimensions:

  • The 3rd-tone verb shǔ (to count / to compare / to iterate): the active operator of recursive counting, pairwise comparison, orthogonal squaring, cyclotomic halving, and self-referential feedback;
  • The 4th-tone noun shù (a number / a coordinate mark): the static coordinate notch left on a ruler after the operator is truncated at a fixed stage.

When “number” is reduced to a static noun (shù), every number system is inevitably punctured by the next geometric operation; when “number” is restored to its generative verb (shǔ), each fracture of an old sphere becomes the engine that constructs the next enclosing sphere. From integers to the self-referential fixed point, the history of number is a Four-Tier Escape of Enclosing Spheres:

Remark 23.7 (Four-Tier Escape of Enclosing Spheres (Includes Literature Result, Not Formalized in This Book))

Literature result, not formalized in this book (for the classical continued-fraction, , and cosine-fixed-point transcendence properties summarized below; golden-ratio fixed-point uniqueness is formally verified by golden_fixed_point_unique, and algebraic independence is marked OPEN in Conjecture 24.13).

Sphere TierNumber Domain & Landmark ConstantsGenerative Geometric / Algebraic Operator (Verb shǔ)Internal Closure Law (Noun shù)The Crack & Remainder Forcing Escape to the Next Sphere
Tier 1 SphereIntegers & Rationals
(ratio marks )
collinear Euclidean algorithm and linear addition/subtractionFinite commensurable closure on a 1D rational ruler: orthogonal Pythagorean squaring triggers a -adic parity clash (for the Pell remainder, see Theorem 23.3; for the continued-fraction identification, Remark 23.6)
Tier 2 SphereAlgebraic Numbers
(diagonal , golden ratio )
Finite-dimensional orthogonal Pythagorean area conservation and polynomial root extractionFinite algebraic polyhedral closure: , (golden_fixed_point_unique)Infinite -gon cyclotomic halving limit (for classical arc-transcendence literature notes, see Remark 24.12)
Tier 3 SphereElementary Transcendental Constants
(circle constant , natural base )
Infinite Pythagorean half-angle iteration and exponential map Static unit-circle and spherical period closure: , Arc input and chord projection remain split across the operator (for nonzero algebraic residuals, see Remark 24.12)
Tier 4 SphereSelf-Referential Cosine Fixed Point
(Dottie constant )
Self-referential feedback equating the Pythagorean leg projection with the arc angle itselfOperator-coordinate unification: (the real-axis projection of )Classical transcendence literature in Remark 24.12; algebraic-independence frontier with in open conjecture Conjecture 24.13 (OPEN)

Seen through this four-tier table, Pythagoras and the overarching thesis of this book converge into a single arc:

  • In the Tier 1 Sphere, we measure back and forth along a single line and mistake rational ratios for the whole universe;
  • The Pythagorean theorem erects an orthogonal axis and uses area conservation to propel us into the Tier 2 Sphere of algebraic polyhedra;
  • Applying the Pythagorean theorem infinitely many times to inscribed -gons bends polygonal chords into circular arcs, crystallizing and closing the static Tier 3 Sphere;
  • Finally, when we stop separating the measuring operator from the measured angle as “ruler” versus “reading” and ask what happens when the ruler’s projected output equals its own opening angle (), the fixed point emerges and carries us into the Tier 4 Sphere—where the counting verb shǔ () and the counted noun shù () become one!
Tier 1 ℤ, ℚ 0 1 2 m/n Tier 2 √2, φ √2 1 1 Tier 3 π, e π Tier 4 θ* ≈ 0.739 θ* cos θ

Four tiers: each is broken open by the next operation. Tier 1 is the cyan rational points on the number line; the magenta diagonal of the unit square breaks it and opens tier 2; the cyan octagon hugging the magenta circle stands for the inscribed polygons whose limit gives tier 3 its ; the cyan curve meets the dashed line at the magenta point , tier 4. The constants on the steps are the four rows of Remark 23.7; the transcendence statements behind them are literature results, not formalized in this book.