LLL-reduced bases and the approximation to the shortest vector #
A family b : Fin n → E in a real inner product space has Gram–Schmidt vectors
b*ᵢ = gramSchmidt ℝ b i and coefficients μᵢⱼ = gramSchmidtCoeff ℝ b i j. Following
[LLL82], (1.4)–(1.5), with the constant 3/4 replaced by a parameter δ as
allowed by the remark after their (1.5), b is δ-reduced
(Cslib.Algorithms.LatticeReduction.IsReduced δ b) when
- it is size reduced:
|μᵢⱼ| ≤ 1/2forj < i(Cslib.Algorithms.LatticeReduction.IsSizeReduced); - the exchange condition
δ ‖b*ᵢ‖² ≤ ‖b*ᵢ₊₁ + μᵢ₊₁,ᵢ b*ᵢ‖²holds for everyi(Cslib.Algorithms.LatticeReduction.ExchangeCondAt).
For 1/4 < δ, consecutive Gram–Schmidt lengths then satisfy ‖b*ᵢ‖² ≤ 4/(4δ-1) · ‖b*ᵢ₊₁‖²
(norm_sq_gramSchmidt_le_of_exchangeCondAt), the first step of the proof of Proposition (1.6).
Chaining these steps and using that every nonzero lattice vector is at least as long as some b*ᵢ
gives Proposition (1.11): for b : Fin (n + 1) → E and every nonzero x in the integer span of
b, ‖b₀‖² ≤ (4/(4δ-1))ⁿ ‖x‖² (Cslib.Algorithms.LatticeReduction.IsReduced.norm_sq_le).
For δ = 3/4 this is ‖b₀‖ ≤ 2^{n/2} ‖x‖
(Cslib.Algorithms.LatticeReduction.IsReduced.norm_le_sqrt_two_pow_mul), i.e. b₀ approximates
the shortest nonzero lattice vector within a factor 2^{(d-1)/2} in dimension d = n + 1.
The statements hold in an arbitrary real inner product space and do not assume that b is
linearly independent. The source works with b a basis of a lattice in ℝⁿ.
Main definitions #
Cslib.Algorithms.LatticeReduction.IsSizeReduced: condition (1.4).Cslib.Algorithms.LatticeReduction.ExchangeCondAt: condition (1.5) with parameterδ.Cslib.Algorithms.LatticeReduction.IsReduced:δ-reduced bases.
Main results #
Cslib.Algorithms.LatticeReduction.IsReduced.norm_sq_le: Proposition (1.11) for a generalδ ∈ (1/4, 1].Cslib.Algorithms.LatticeReduction.IsReduced.norm_le_sqrt_two_pow_mul: the caseδ = 3/4.
References #
Size reduction, condition (1.4) of [LLL82]: |μᵢⱼ| ≤ 1/2 for j < i.
The exchange condition (1.5) of [LLL82] with parameter δ in place of
3/4, at indices i and j: δ ‖b*ᵢ‖² ≤ ‖b*ⱼ + μⱼᵢ b*ᵢ‖². It is used at j = i + 1.
A δ-reduced family ([LLL82], (1.4)–(1.5)): size reduced, with the
exchange condition at every pair of consecutive indices.
- sizeReduced : IsSizeReduced b
Condition (1.4).
Condition (1.5) at every pair of consecutive indices.
Pythagoras for the vector b*ⱼ + μ b*ᵢ with i < j.
The first step of the proof of (1.6) in [LLL82], for δ > 1/4: size
reduction and the exchange condition give ‖b*ᵢ‖² ≤ 4/(4δ-1) · ‖b*ⱼ‖².
Iterating the previous step: ‖b*ⱼ‖² ≤ (4/(4δ-1))ᵏ ‖b*ⱼ₊ₖ‖² in a δ-reduced family.
Proposition (1.11) of [LLL82] for a parameter δ ∈ (1/4, 1] in place of
3/4 (the remark after their (1.5) allows 1/4 < δ < 1, and the remark after (1.6) replaces the
powers of 2 by powers of 4/(4δ-1)): if b : Fin (n + 1) → E is δ-reduced, then
‖b₀‖² ≤ (4/(4δ-1))ⁿ ‖x‖² for every nonzero x in the integer span of b.
Proposition (1.11) of [LLL82], δ = 3/4: the first vector of a reduced
family b : Fin (n + 1) → E satisfies ‖b₀‖ ≤ (√2)ⁿ ‖x‖ for every nonzero x in the integer
span of b.