Pythagoras Numbers of Ternary Forms
Determine the Pythagoras number py(3,2d) of real ternary forms of degree 2d, i.e. the least number of squares needed to represent every sum of squares. This resolves the Blekherman–Dunbar–Sinn conjecture that py(3,2d)=d+1 for all d≥2. The paper also asks for the Pythagoras number of a specific smooth four-fold in P^2×P^3.
The proof combines three ingredients. A binary index lemma is proved via a graded matrix Fejér–Riesz factorization. A Tor/Hilbert-function calculation is carried out for codimension-three Gorenstein ideals. These feed into the boundary-index geometry of the sum-of-squares map. Finite computations are checked by Python scripts, and both main theorems are formalized in Lean 4 using Mathlib.
Every ternary sum of squares of degree 2d is a sum of d+1 squares, giving py(3,2d)=d+1 for all d≥2. For the model four-fold, py(X)=7. The Lean formalizations PNTF.py_eq and PNTF.Fourfold.model_fourfold are checked by the kernel using only standard axioms.
