The Motzkin Polynomial Is Not a Sum of Three Squares: Cassels-Ellison-Pfister in Lean 4 via Picard-Fuchs (Step R1.H1 of Pfister's n + 2 Bound)
Result: Proves that the Motzkin polynomial M(x, y) = 1 + x^2 y^4 + x^4 y^2 - 3 x^2 y^2 is not a sum of three squares in R(x, y) (MvRatFunc (Fin 2) R): exactly the classical Cassels-Ellison-Pfister theorem, a known result. Instead of the original Mordell-Weil argument, a Gram determinant and descent produce a section of a quadratic twist of an elliptic curve over R(s), a formally verified Picard-Fuchs identity turns it into a nonzero constant, and a Wronskian estimate on the negative real axis yields the contradiction. The Pythagoras number p(K) of a field K is the least m such that every sum of squares in K is a sum of m squares. Pfister (1967) proved p(R(X_1, ..., X_n)) <= 2^n, and Cassels, Ellison and Pfister (1971) proved p(R(x, y)) = 4 by showing that the Motzkin polynomial is not a sum of three squares in R(x, y); with Cassels' 1964 theorem this gives p(R(X_1, ..., X_n)) >= n + 2 for n >= 2. PR #42928 proves the Cassels-Ellison-Pfister theorem in 3,889 lines of Lean 4, accepted by the Left to Solve Lean checker as step R1.H1 of mvanhorn's reduction of that lower bound (luciusacarr proved step R1.H2; Genbox closed the root). A denominator descent (adapted from luciusacarr's R1.H2 proof) and a Gram determinant produce a point on an elliptic curve over R(x); even/odd descent and doubling give a section on a quadratic twist over R(s); a Picard-Fuchs operator applied along the section yields a nonzero constant (Manin's construction); and a Wronskian argument on the compactified negative real axis gives a contradiction. Credits: Mathematics: J. W. S. Cassels, W. J. Ellison and A. Pfister (1971); Cassels (1964); Pfister (1967, 1995). Reduction R1 of the root on Left to Solve: mvanhorn ('Credit: @mvanhorn' in the reduction file). Step R1.H2: luciusacarr (PR #10556). Root closed by Genbox (PR #48193), a single file containing the reduction and both steps; most of the R1.H1 proof from PR #42928 appears in it verbatim. Adapted Lean code, per the file header: 'The denominator descent and common denominator construction adapt the R1.H2 proof by @luciusacarr.' Lean proof produced with AI coding agents operated by the author (t3-code, model gpt-6.2-astra, as recorded in the PR body); the PR body lists no other contributors.
Authors
- Ali Uyar
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24765165
- Primary Topic
- Algebraic Geometry and Number Theory
- Type
- article
- Field-Weighted Citation Impact
- 0.00