(2.16) Proposition, p. 528 — if t is the largest j with |b_j| < (p^{kl}/|f|^m)^{1/n}, then deg h₀ = m + 1 − t and h₀ = gcd(b₁, …, b_t)
ProvedLLLFactor.Factors.prop_2_16Let the notation and the hypotheses be as in Proposition (2.13): prime, , of degree , satisfying (2.1)–(2.4) with , the irreducible factor of of (2.5), an integer , a reduced basis for the lattice of (2.6), and
Assume in addition that there is an index with
and let be the largest such . Then
- ;
- (up to sign);
- (2.17) holds for all with .
This is the step that turns lattice basis reduction into a factoring algorithm: once is large enough, the short vectors of a reduced basis of cut out exactly the irreducible factor , recovered by a gcd computation.
Formalization Note is the paper's 1-based index, ; the paper's is Lean's b ⟨t - 1, _⟩, and "" is Lean's t ≤ j. " is the largest with (2.17)" is the pair of hypotheses: (2.17) holds at , and fails at every later index. "" is stated as: divides each of , and every common divisor of divides (a gcd in is determined up to the units ). Real powers as in (2.13).
import Mathlib import Definitions.Def_LLLFactor_Factors_Setting open Polynomial
namespace LLLFactor.Factors
theorem prop_2_16 {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))
(t : ℕ) (ht1 : 1 ≤ t) (htm : t ≤ m + 1)
(htJ : polyNorm (b ⟨t - 1, by omega⟩) <
((p : ℝ) ^ (k * h.natDegree) / polyNorm f ^ m) ^ ((1 : ℝ) / (f.natDegree : ℝ)))
(htmax : ∀ j : Fin (m + 1), t ≤ (j : ℕ) →
¬ polyNorm (b j) <
((p : ℝ) ^ (k * h.natDegree) / polyNorm f ^ m) ^ ((1 : ℝ) / (f.natDegree : ℝ))) :
h₀.natDegree = m + 1 - t ∧
((∀ j : Fin (m + 1), (j : ℕ) < t → h₀ ∣ b j) ∧
(∀ g : ℤ[X], (∀ j : Fin (m + 1), (j : ℕ) < t → g ∣ b j) → g ∣ h₀)) ∧
(∀ j : Fin (m + 1), (j : ℕ) < t →
polyNorm (b j) <
((p : ℝ) ^ (k * h.natDegree) / polyNorm f ^ m) ^ ((1 : ℝ) / (f.natDegree : ℝ))) := by sorry
end LLLFactor.Factors
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.