Exact fourth-root normalization of a Gaussian integer of norm 2^r
ProvedIntMul.GaussianNormalization.normalized_fourth_rootalgebragaussian-integersinteger-multiplicationquadratic-gauss-sums
Let be a Gaussian integer with Gaussian norm , where is a nonnegative integer. Then
Thus the normalized value is an exact fourth root of unity. This supplies the scalar normalization step in the complex binary residual transform used by the integer-multiplication κ construction. In that application a separate character-orthogonality argument establishes the required norm of the quadratic Gauss sum. The present theorem is the unconditional Gaussian-integer arithmetic step; it does not assert the correctness or time bound of a multiplication machine.
Preamble
import Mathlib.NumberTheory.Zsqrtd.GaussianInt import Mathlib.Algebra.Group.Int.Even import Mathlib.Tactic
Formal statement
theorem IntMul.GaussianNormalization.normalized_fourth_root
(r : ℕ) (z : GaussianInt) (hz : z.norm = (2 : ℤ) ^ r) :
((z : ℂ) * ((1 - Complex.I) / 2) ^ r) ^ 4 = 1 := by sorrySource
CrocSwap/integer-mult-bounds, commit 3b6b66891c0ac888521cf591fe306c6286601d4f, notes/endpoint-gauge-complex.tex, subsection “A normal form for every nondegenerate binary residual”, assertion that S_q b^r is a fourth root of unity. https://github.com/CrocSwap/integer-mult-bounds/blob/3b6b66891c0ac888521cf591fe306c6286601d4f/notes/endpoint-gauge-complex.tex . This is an alternative arithmetic proof of the scalar step using divisibility by 1+i, rather than quadratic-form block classification.