Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(2.7) Proposition, p. 527 — if b ∈ L and p^{kl} > |f|^m·|b|ⁿ, then h₀ divides b; in particular gcd(f, b) ≠ 1

Proved
LLLFactor.Factors.prop_2_7

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

irreducible-factorlatticep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1polynomial-factorization

Assume the setting of Sect. 2 (ppp prime, k≥1k\ge1k≥1, deg⁡f=n>0\deg f=n>0degf=n>0, hhh satisfying (2.1)–(2.4), l=deg⁡hl=\deg hl=degh), an integer m≥lm\ge lm≥l, the lattice LLL of (2.6), and h0h_0h0​ as in (2.5). Let b∈Lb\in Lb∈L satisfy

(2.8)pkl>∣f∣m⋅∣b∣n.\text{(2.8)}\qquad p^{kl}>|f|^m\cdot|b|^n.(2.8)pkl>∣f∣m⋅∣b∣n.

Then bbb is divisible by h0h_0h0​ in Z[X]\mathbb Z[X]Z[X], and in particular gcd⁡(f,b)≠1\gcd(f,b)\neq1gcd(f,b)=1: fff and bbb have a common divisor in Z[X]\mathbb Z[X]Z[X] that is not a unit.

This is the bridge from short lattice vectors to factors: any element of LLL that is short enough must share the factor h0h_0h0​ with fff.

Formalization Note "gcd⁡(f,b)≠1\gcd(f,b)\ne1gcd(f,b)=1" is stated as the existence of a common divisor of fff and bbb that is not a unit of Z[X]\mathbb Z[X]Z[X] (the units are ±1\pm1±1), which avoids choosing a normalisation of the gcd. The standing assumptions are bundled in IsSetting p k f h.

Preamble
import Mathlib
import Definitions.Def_LLLFactor_Factors_Setting

open Polynomial
Formal statement
namespace LLLFactor.Factors

theorem prop_2_7 {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 : ℤ[X]) (hbL : b ∈ latticeL p k h m)
    (h28 : polyNorm f ^ m * polyNorm b ^ f.natDegree < (p : ℝ) ^ (k * h.natDegree)) :
    h₀ ∣ b ∧ ∃ d : ℤ[X], d ∣ f ∧ d ∣ b ∧ ¬ IsUnit d := by sorry

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