Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of (1.6), p. 517 — |b_i|² = |b_i*|² + Σ μ_ij²|b_j*|² ≤ 2^{i−1}·|b_i*|²

Proved
LLLFactor.RedBasis.norm_sq_le_pow_gs

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

latticelattice-basis-reductionlllp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let b1,…,bnb_1,\ldots,b_nb1​,…,bn​ be a linearly independent, reduced family in Rn\mathbb R^nRn (n≥1n\ge1n≥1) with Gram–Schmidt vectors bi∗b_i^*bi∗​ and coefficients μij\mu_{ij}μij​. For 1≤i≤n1\le i\le n1≤i≤n,

∣bi∣2=∣bi∗∣2+∑j=1i−1μij2∣bj∗∣2and∣bi∣2≤2i−1 ∣bi∗∣2.|b_i|^2=|b_i^*|^2+\sum_{j=1}^{i-1}\mu_{ij}^2|b_j^*|^2\qquad\text{and}\qquad |b_i|^2\le 2^{i-1}\,|b_i^*|^2 .∣bi​∣2=∣bi∗​∣2+j=1∑i−1​μij2​∣bj∗​∣2and∣bi​∣2≤2i−1∣bi∗​∣2.

The identity follows from (1.2) and the orthogonality of the bj∗b_j^*bj∗​; the inequality uses (1.4) and the comparison ∣bj∗∣2≤2i−j∣bi∗∣2|b_j^*|^2\le 2^{i-j}|b_i^*|^2∣bj∗​∣2≤2i−j∣bi∗​∣2. In the proof of Proposition (1.6) this bound is the link between the lengths of the basis vectors and those of their orthogonalisations.

Formalization Note Both the identity and the final inequality of the page's chain are stated, as a conjunction; the intermediate lines are steps of the computation. Lean indexes the basis by {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, so the paper's bib_ibi​ is Lean's b ⟨i-1, _⟩; a paper exponent 2i−12^{i-1}2i−1 at index iii becomes 2 ^ (i : ℕ) at the Lean index. At Lean index 000 the bound reads ∣b1∣2≤20∣b1∗∣2|b_1|^2\le 2^0|b_1^*|^2∣b1​∣2≤20∣b1∗​∣2, at index 111 it reads ∣b2∣2≤21∣b2∗∣2|b_2|^2\le 2^1|b_2^*|^2∣b2​∣2≤21∣b2∗​∣2, as on the page. The sum over j<ij<ij<i is over Finset.Iio i.

Preamble
import Mathlib
import Definitions.Def_LLLFactor_RedBasis_Setting
Formal statement
namespace LLLFactor.RedBasis

theorem norm_sq_le_pow_gs {n : ℕ} (hn : 0 < n) (b : Fin n → Vec n)
  (hb : LinearIndependent ℝ b) (hred : IsReduced b) :
  ∀ i : Fin n,
    ‖b i‖ ^ 2 = ‖gs b i‖ ^ 2 + ∑ j ∈ Finset.Iio i, mu b i j ^ 2 * ‖gs b j‖ ^ 2 ∧
      ‖b i‖ ^ 2 ≤ (2 : ℝ) ^ (i : ℕ) * ‖gs b i‖ ^ 2 := by sorry
end LLLFactor.RedBasis
Source
Lenstra, Lenstra, Lovász, Factoring polynomials with rational coefficients, Math. Ann. 261 (1982), p. 517, proof of (1.6); DOI: https://doi.org/10.1007/BF01457454
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me