Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(2.13) Proposition, p. 528 — for a reduced basis of L and p^{kl} > 2^{mn/2}C(2m,m)^{n/2}|f|^{m+n}: deg h₀ ≤ m ⇔ |b₁| < (p^{kl}/|f|^m)^{1/n}

Proved
LLLFactor.Factors.prop_2_13

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

lattice-basis-reductionlllp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1polynomial-factorization

Let p,k,f,n,h,lp,k,f,n,h,lp,k,f,n,h,l be as in the setting of Sect. 2, h0h_0h0​ as in (2.5), and m≥lm\ge lm≥l, LLL as in (2.6). Suppose that b1,b2,…,bm+1b_1,b_2,\dots,b_{m+1}b1​,b2​,…,bm+1​ is a reduced basis for LLL (see (1.4) and (1.5)), and that

(2.14)pkl>2mn/2(2mm)n/2∣f∣m+n.\text{(2.14)}\qquad p^{kl}>2^{mn/2}\binom{2m}{m}^{n/2}|f|^{m+n}.(2.14)pkl>2mn/2(m2m​)n/2∣f∣m+n.

Then deg⁡h0≤m\deg h_0\le mdegh0​≤m if and only if

(2.15)∣b1∣<(pkl/∣f∣m)1/n.\text{(2.15)}\qquad |b_1|<\big(p^{kl}/|f|^m\big)^{1/n}.(2.15)∣b1​∣<(pkl/∣f∣m)1/n.

So the first vector of a reduced basis decides whether the irreducible factor h0h_0h0​ has degree at most mmm; this is the test the factoring algorithm runs for increasing mmm.

Formalization Note The paper's b1b_1b1​ is Lean's b 0. The powers 2mn/22^{mn/2}2mn/2, (2mm)n/2\binom{2m}{m}^{n/2}(m2m​)n/2 and (⋅)1/n(\cdot)^{1/n}(⋅)1/n are real powers with real exponents; pklp^{kl}pkl and ∣f∣m+n|f|^{m+n}∣f∣m+n are natural-number powers.

Preamble
import Mathlib
import Definitions.Def_LLLFactor_Factors_Setting

open Polynomial
Formal statement
namespace LLLFactor.Factors

theorem prop_2_13 {p k : ℕ} (f h : ℤ[X]) (hS : IsSetting p k f h)
    (m : ℕ) (hm : h.natDegree ≤ m) (h₀ : ℤ[X]) (hh₀ : IsH0 p f h h₀)
    (b : Fin (m + 1) → ℤ[X]) (hb : IsReducedBasisOfL p k h m b)
    (h214 : (2 : ℝ) ^ ((m : ℝ) * (f.natDegree : ℝ) / 2) *
        ((Nat.choose (2 * m) m : ℕ) : ℝ) ^ ((f.natDegree : ℝ) / 2) *
        polyNorm f ^ (m + f.natDegree) < (p : ℝ) ^ (k * h.natDegree)) :
    h₀.natDegree ≤ m ↔
      polyNorm (b ⟨0, Nat.succ_pos m⟩) <
        ((p : ℝ) ^ (k * h.natDegree) / polyNorm f ^ m) ^ ((1 : ℝ) / (f.natDegree : ℝ)) := by sorry

end LLLFactor.Factors
Source
Lenstra, Lenstra, Lovász, Factoring polynomials with rational coefficients, Math. Ann. 261 (1982), p. 528, (2.13) Proposition
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