One-child normal form for the actual inverse-Gram Hamming-weight residual
ProvedIntMul.BinaryPhase.residual_inverse_gram_normal_formbinary-quadratic-formsinteger-multiplicationmatrix-algebratensor-transforms
Let be a binary matrix whose Gram matrix is nonsingular, and let its columns be indexed by a finite set . Define the actual residual phase by . Then
factors as
for binary linear address isomorphisms , with and all values of having fourth power one. Here has diagonal entry and off-diagonal entry . This is the matrix-and-Hamming-weight form stated in the construction notes, including nonsingular alternating Gram forms. The proof establishes the polar identity from the matrix formula rather than assuming it. It is an exact transform identity; fixed-tape implementation and its time accounting remain separate.
Preamble
import Definitions.Def_IntMul_BinaryQuadraticPhase import Theorems.Thm_IntMul_BinaryPhase_residual_normal_form import Mathlib.LinearAlgebra.Matrix.BilinearForm import Mathlib.LinearAlgebra.Matrix.NonsingularInverse import Mathlib.Tactic open scoped BigOperators Matrix open IntMul.BinaryPhase
Formal statement
theorem IntMul.BinaryPhase.residual_inverse_gram_normal_form
{m r : Type*} [Fintype m] [Fintype r] [DecidableEq r] (A : Matrix m r (ZMod 2))
(hG : IsUnit (Aᵀ * A).det) :
∃ (eL eR : (r → ZMod 2) ≃ₗ[ZMod 2] (r → ZMod 2))
(ε : ℂ) (dL dR : (r → ZMod 2) → ℂ),
ε ^ 4 = 1 ∧ (∀ x, dL x ^ 4 = 1) ∧ (∀ y, dR y ^ 4 = 1) ∧
∀ x y,
(∑ z : r → ZMod 2,
(phase (quadraticWeight (A *ᵥ ((Aᵀ * A)⁻¹ *ᵥ z))) : ℂ) *
sign (z ⬝ᵥ (x + y))) / (2 : ℂ) ^ Fintype.card r =
ε * dL x * tensorKernel (eL x) (eR y) * dR y := by sorrySource
CrocSwap/integer-mult-bounds, commit 3b6b66891c0ac888521cf591fe306c6286601d4f, notes/endpoint-gauge-complex.tex, subsection “A normal form for every nondegenerate binary residual”. https://github.com/CrocSwap/integer-mult-bounds/blob/3b6b66891c0ac888521cf591fe306c6286601d4f/notes/endpoint-gauge-complex.tex