Lean verification of polynomial transport
Recorded 4 November 2026 · Komorebi P.
The polynomial transport companion constructs the concrete coordinate map, residue operators, Fourier average, and transported product used in the roots-of-unity and falling-factorial example. The earlier reader companion supplied generic additive transport. This extension supplies the actual finite polynomial objects and proves their compatibility.
What is now formalized
The project contains 66 named theorem declarations and 10 definitions across six modules. These counts include supporting lemmas, explicit witnesses, and one restatement of the classical Stirling identity already present in the earlier reader companion. The retained generic transport module and the positive controls are audited separately.
| Module | Theorem declarations | Definitions | Formal scope |
|---|---|---|---|
| PolynomialPackets | 15 | 2 | Finite polynomial coefficient masks over a semiring, linearity, projector laws, reconstruction, refinement and coefficient extension. |
| FallingFactorial | 12 | 3 | The actual rational falling-factorial basis equivalence, its inverse on powers, constants, degree preservation and nonmultiplicativity. |
| FallingPackets | 15 | 2 | The concrete conjugated projectors, their finite formulas and laws, and complete input/output block reconstruction. |
| RootsOfUnity | 7 | 1 | The actual complex polynomial substitution average, its coefficient formula, the canonical exponential root and rational coefficient compatibility. |
| FourierBridge | 2 | 0 | The equality connecting the rational falling-coordinate projector to complex Fourier averaging. |
| FallingProduct | 15 | 2 | Transported multiplication, its algebraic laws, basis-degree addition and exact cyclic packet convolution. |
The claim map gives every declaration's exact signature, coefficient domain, reading-page correspondence and pinned source dependencies. Counts describe declarations, rather than independent mathematical discoveries or complete coverage of every section on the page.
The coordinate map has the required direction
The constructed linear equivalence is
Lean represents both carriers as \(\mathbb Q[X]\). Their two roles are fixed by the actual equivalence and its inverse. The construction uses bases with finitely supported coordinates. It preserves degree, including the zero polynomial's degree convention, and fixes every rational constant.
The inverse-power formula is proved for every natural \(n\):
In particular, \(\Phi(z^2)=x^2-x\), while \(\Phi^{-1}(x^2)=z^2+z\). The map is linear and has an actual inverse. It does not preserve ordinary polynomial multiplication.
Fourier averaging and falling packets agree
For a positive modulus \(N\), a canonical residue \(0\le r<N\), and a primitive complex \(N\)-th root \(\zeta\), the companion proves the polynomial identity
The right side uses actual polynomial substitution. The proof uses the negative integer exponent directly and compares every coefficient. It applies to arbitrary finite polynomials, with no degree cutoff. Positive composite moduli and \(N=1\) are included. A separate theorem supplies the canonical root \(e^{2\pi i/N}\).
On rational polynomials, the actual falling-factorial projector is
Its coefficients are selected in the falling basis. This gives
Both packets reconstruct \(x^2\). The displayed fifth-degree example is also checked exactly: the three packets of \(x^5\) at \(x=4\) are \(600,244,180\).
Let \(\iota\) extend rational coefficients to complex coefficients. The named connecting theorem proves
Thus the two formulas agree on their correctly typed coordinate descriptions. The comparison occurs in \(\mathbb C[z]\) after the rational coordinate map has been applied.
Idempotence, orthogonality, reconstruction, and divisible-modulus refinement are proved for the actual \(Q_r^{(N)}\). Refinement uses the filtered-address form: sum the fine packets whose addresses have the requested coarse residue.
Multiplication follows the same coordinate change
The product from Section 9 is constructed as
The companion proves associativity, commutativity, the unit and rational bilinearity, together with
For every positive modulus, the complete packet product is the exact cyclic convolution
The supporting coefficient-packet convolution is proved over every semiring before transport to the rational falling-factorial coordinates.
Evidence and remaining scope
The recorded replay binds the sources, verification program and compiler logs by SHA-256. It includes a fresh build, exact declaration and axiom audits, project kernel replay, 18 named positive-control theorems, and eight deliberate rejection controls. The controls cover the direction of \(\Phi\), the displayed packet values, Fourier normalization and sign, invalid primitivity, zero-modulus reconstruction, ordinary-projector reuse, ordinary-product reuse and an unfinished proof.
The internal statement review records its source hashes and checks the correspondence between the Lean statements and the reading claims. The Mathlib dependency record identifies the exact upstream results and hypotheses. The replay instructions use the pinned Lean 4.34.0-rc2 toolchain. The Reader Lean companions workflow reruns the project on relevant changes.
The formalized falling-factorial equivalence is over \(\mathbb Q\). The complex averaging theorem supplies a realization of the cyclotomic expression in \(\mathbb C[X]\). The explicit signed-first-Stirling matrix entries, cyclic permutation trace formula, arithmetic-progression reindexing of refinement, constructive Newton interpolation, concrete difference and translation operators, rational spectral-projector formula, characteristic-three arguments, and infinite-series identities remain outside this companion. The transported-product theorem does not yet establish the page's \(\Delta\)-derivation rule.