Proof of (1.11) and (1.13): last nonzero coordinate
ProvedLLLFactor.RedBasis.norm_sq_ge_gs_of_lastlatticelattice-basis-reductionlllp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be linearly independent vectors in () with Gram–Schmidt vectors , and let with integers . If is the largest index with , then
Indeed, writing , the coefficient equals the integer , so . This is the step of the proof of Proposition (1.11) that the proof of (1.12) reuses as (1.13): a nonzero lattice vector is at least as long as the Gram–Schmidt vector at its last nonzero coordinate.
Formalization Note " is the largest index with " is stated as and for every . Lean indexes the basis by , so the paper's is Lean's b ⟨i-1, _⟩; a paper exponent at index becomes 2 ^ (i : ℕ) at the Lean index. Reducedness is not used by this step and is not assumed.
Preamble
import Mathlib import Definitions.Def_LLLFactor_RedBasis_Setting
Formal statement
namespace LLLFactor.RedBasis
theorem norm_sq_ge_gs_of_last {n : ℕ} (hn : 0 < n) (b : Fin n → Vec n)
(hb : LinearIndependent ℝ b) (r : Fin n → ℤ) (i : Fin n)
(hri : r i ≠ 0) (hlast : ∀ l, i < l → r l = 0) :
‖gs b i‖ ^ 2 ≤ ‖∑ l : Fin n, ((r l : ℤ) : ℝ) • b l‖ ^ 2 := by sorry
end LLLFactor.RedBasis
Source
Lenstra, Lenstra, Lovász, Factoring polynomials with rational coefficients, Math. Ann. 261 (1982), p. 518, proof of (1.11), reused at (1.13); DOI: https://doi.org/10.1007/BF01457454
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.