Finite lattice basis shortening step for GIVP from IncGDD #
This module formalizes the finite geometric shortening step, exact executable rational orthogonal target construction, Hadamard potential-drop iteration bound, and deterministic oracle-loop soundness underlying [MR07a], Lemma 5.10 (December 27, 2005 author's copy, §5.3, p. 24).
Given a full-rank family S of n = rank L linearly independent vectors in a lattice L, either
S already solves GIVP^φ_{8γ} (‖S‖ ≤ 8γ φ(L)), or (L, S, ‖S‖ / 8) is a valid instance of
IncGDD^φ_{γ, 8} (isSolution_givp_or_isValidInstance_incGDD). Selecting a longest vector S i*
(‖S i*‖ = ‖S‖) and a target t orthogonal to {S j : j ≠ i*} with
(1/2) ‖S‖ ≤ ‖t‖ ≤ (9/16) ‖S‖, any IncGDD^φ_{γ, 8} solution u ∈ L (‖u - t‖ ≤ (1/4) ‖S‖)
preserves linear independence, never increases ‖S‖, and shrinks sqNormProd S = ∏ j, ‖S j‖² by
at least (13/16)² (shortenStep_of_incGDD).
When L has integral inner products (∀ x ∈ L, ∀ y ∈ L, ∃ z : ℤ, ⟪x, y⟫ = z, as discharged for
integer-span lattices by Cslib.Algorithms.LatticeReduction.exists_int_inner_of_mem_span),
Hadamard's inequality via Cslib.Algorithms.LatticeReduction.one_le_gramPrefixDet bounds
sqNormProd S ≥ 1, so any chain of shortening steps starting from ‖S₀ i‖² ≤ B has length
strictly less than shortenRoundBound n B = 2 * n * (Nat.log 2 B + 1)
(shortenSteps_lt_bound). For rational families S : Fin (m + 1) → Fin (m + 1) → ℚ,
ratOrthoTarget computes a valid rational target without square roots using
Cslib.LinearAlgebra.ratKernelBasis and Nat.sqrt (ratOrthoTarget_spec).
Both a halting round-indexed oracle loop (shortenLoop, shortenLoop_isSolution_givp) and an
unconditional fixed-iteration guarded step (shortenGuardedStep, shortenGuardedStep_invariants,
shortenGuardedStep_of_incGDD, shortenGuardedIter_isSolution_givp) are provided for downstream
randomized PPT reductions. This module proves the finite deterministic/guarded shortening steps
only; probabilistic amplification, strict-PPT accounting, and the asymptotic GIVP/SIVP to
SIS reduction are separate work.
Main definitions #
Cslib.Crypto.MR07Shorten.sqNormProd: product of squared norms∏ j, ‖S j‖².Cslib.Crypto.MR07Shorten.shortenRoundBound: explicit round bound2 * n * (Nat.log 2 B + 1).Cslib.Crypto.MR07Shorten.sqNormRat,Cslib.Crypto.MR07Shorten.toEuclidean,Cslib.Crypto.MR07Shorten.maxSqNormIndex,Cslib.Crypto.MR07Shorten.ratOrthoScale,Cslib.Crypto.MR07Shorten.omitRowTable,Cslib.Crypto.MR07Shorten.ratOrthoTarget: executable irrational-free rational orthogonal target construction.Cslib.Crypto.MR07Shorten.ValidTargetOracle,Cslib.Crypto.MR07Shorten.shortenLoopFrom,Cslib.Crypto.MR07Shorten.shortenLoop,Cslib.Crypto.MR07Shorten.shortenGuardedStep: round-indexed oracle loop and unconditional guarded shortening step.
Main results #
Cslib.Crypto.MR07Shorten.shortenStep_norm_le,Cslib.Crypto.MR07Shorten.shortenStep_pi_norm_le,Cslib.Crypto.MR07Shorten.shortenStep_sqNormProd_le,Cslib.Crypto.MR07Shorten.shortenStep_linearIndependent,Cslib.Crypto.MR07Shorten.shortenStep_of_incGDD: one-round shortening invariants.Cslib.Crypto.MR07Shorten.isSolution_givp_or_isValidInstance_incGDD: dichotomy between solvingGIVP^φ_{8γ}and forming a validIncGDD^φ_{γ, 8}instance.Cslib.Crypto.MR07Shorten.one_le_sqNormProd,Cslib.Crypto.MR07Shorten.shortenSteps_lt_bound: Hadamard lower bound and finite iteration cap.Cslib.Crypto.MR07Shorten.ratOrthoTarget_spec: orthogonality and(1/2, 9/16]norm bounds forratOrthoTarget.Cslib.Crypto.MR07Shorten.shortenLoop_isSolution_givp,Cslib.Crypto.MR07Shorten.shortenGuardedStep_invariants,Cslib.Crypto.MR07Shorten.shortenGuardedStep_of_incGDD,Cslib.Crypto.MR07Shorten.shortenGuardedIter_isSolution_givp: finite deterministic and fixed-iteration guarded shortening loop soundness.
References #
- D. Micciancio and O. Regev, Worst-Case to Average-Case Reductions Based on Gaussian Measures, Lemma 5.10 (December 27, 2005 author's copy, §5.3, p. 24).
1. Abstract Euclidean One-Round Shortening Geometry #
Product of squared Euclidean norms of a family of vectors, used as the shortening potential.
The squared-norm product is nonnegative.
If every vector has squared norm at most B, then sqNormProd S ≤ B ^ n.
Strict potential drop: replacing a longest vector S i (‖S i‖ = ‖S‖) multiplies
sqNormProd S by at most (13 / 16) ^ 2.
Dichotomy: a full-rank family S in L either already solves GIVP^φ_{8γ} or forms a valid
IncGDD^φ_{γ, 8} instance at radius r = ‖S‖ / 8.
Replacing the longest vector S i* by any vector u within (1 / 4) * ‖S‖ of a target t
orthogonal to {S j : j ≠ i*} of norm ‖t‖ ≥ (1 / 2) * ‖S‖ preserves linear independence.
Bridge from IncGDD.IsSolution 8 L S t (‖S‖ / 8) u to the one-round shortening invariants.
2. Hadamard Potential Lower Bound & Finite Iteration Bound #
Hadamard lower bound for linearly independent families with integral Gram matrix,
proved via Cslib.Algorithms.LatticeReduction.one_le_gramPrefixDet.
Explicit polynomial iteration cap 2 * n * (Nat.log 2 B + 1) on shortening rounds.
In dimension zero, shortenRoundBound 0 B = 0.
Pure ℕ-exponent potential-drop bound: a chain of shortening steps starting from S₀ with
∀ i, ‖S₀ i‖ ^ 2 ≤ B has length strictly less than shortenRoundBound n B whenever 0 < n.
3. Exact Executable Rational Orthogonal Target (BareissElimination.ratKernelBasis) #
Embedding of Fin n → ℚ into EuclideanSpace ℝ (Fin n).
The vector selected by maxSqNormIndex S attains the Pi supremum norm ‖S‖.
Irrational-free rational scaling factor ρ = (Nat.sqrt (64 * p * d) + 1) / (16 * d) where
p / d = sqS / sqV, unconditionally satisfying
(1 / 4) * (sqS / sqV) < ρ ^ 2 ≤ (9 / 16) ^ 2 * (sqS / sqV).
Exact rational sandwich on (ratOrthoScale sqS sqV) ^ 2 for positive rational squared norms.
Executable rational orthogonal target t = ρ • v ∈ ℚ^{m+1} computed via ratKernelBasis on
omitRowTable S (maxSqNormIndex S) and scaled by ratOrthoScale.
Specification of ratOrthoTarget: for any linearly independent rational family
S : Fin (m + 1) → Fin (m + 1) → ℚ, t := toEuclidean (ratOrthoTarget S) is orthogonal to every
S j with j ≠ maxSqNormIndex S and satisfies (1 / 2) * ‖S‖ < ‖t‖ ≤ (9 / 16) * ‖S‖.
4. Finite Deterministic Oracle-Loop & Guarded-Step Reductions (MR07 Lemma 5.10) #
Predicate that stepTarget S = (i*, t) supplies a valid orthogonal shortening target for
any linearly independent family S in L.
Finite shortening loop starting at round index r with fuel rounds remaining.
At round r, queries oracles r on the current family S, target (stepTarget S).2, and radius
‖S‖ / 8; if the returned candidate u lies in L and satisfies ‖u - t‖ ≤ (1 / 4) * ‖S‖,
replaces S i by u and advances to round r + 1; otherwise halts and returns S.
Passing round-indexed oracles : ℕ → ... supports both deterministic single-oracle loops
(fun _ => oracle) and randomized independent-round reductions (where round r depends only on
the state reached after rounds 0, …, r - 1 and fresh randomness at round r).
Finite shortening loop starting from round 0 for at most fuel rounds.
Finite round-by-round soundness of the MR07 Lemma 5.10 shortening loop: starting from a
full-rank family S₀ in a lattice L with integral inner products (∀ x ∈ L, ∀ y ∈ L, ∃ z : ℤ, ⟪x, y⟫ = z) and ∀ j, ‖S₀ j‖ ^ 2 ≤ B, if for every round k < shortenRoundBound (finrank ℤ L) B the k-th oracle succeeds on the visited state S_k := shortenLoop ... k S₀
whenever S_k is a valid IncGDD^φ_{γ, 8} instance, then shortenLoop outputs a GIVP^φ_{8γ}
solution S_out with ‖S_out‖ ≤ ‖S₀‖.
Quantifying hOracle solely over the single visited state S_k at each round k supports
union-bounding per-round failure probability directly across independent coin tapes.
Unconditional guarded shortening step for fixed-iteration loops (IsPPTOn.iterateWith_spec):
replaces S i by u when u ∈ L, ‖u‖ < ‖S i‖, and Function.update S i u is linearly
independent, and otherwise leaves S unchanged.
Unconditional support invariants of shortenGuardedStep: holds for every candidate u : E.
On every valid IncGDD shortening candidate, shortenGuardedStep accepts and contracts
sqNormProd by at most (13 / 16) ^ 2.
Fixed-iteration guarded-loop soundness (tailored for IsPPTOn.iterateWith_spec):
any sequence seq stepping by shortenGuardedStep from S₀ preserves LinearIndependent,
membership in L, and ‖seq k‖ ≤ ‖S₀‖ unconditionally at every step, and reaches a
GIVP^φ_{8γ} solution by step K = shortenRoundBound (finrank ℤ L) B whenever every valid
IncGDD round k < K receives an IncGDD.IsSolution.