Generalized independent vectors and guaranteed distance decoding #
The lattice problems used in the worst-case to average-case reductions of [MR07a]
(§2, p. 7; §5.2, p. 19), stated for a ℤ-submodule L of a real normed space in the same
single-lattice predicate style as CslibFrontier/Crypto/Computational/Lattice/ShortestVector.lean:
GIVP^φ_γ([MR07a], Definition 2.6, §2, p. 7): given a latticeL, findn = rank Llinearly independent vectors ofL, each of norm at mostγ · φ(L)(Cslib.Crypto.GIVP.IsSolution).SIVP_γinCslibFrontier/Crypto/Computational/Lattice/ShortestVector.leanis the specializationφ(L) = λ_n(L).GDD^φ_γ([MR07a], Definition 2.7, §2, p. 7): given a latticeLand a target pointt, find a lattice pointx ∈ Lwithin distanceγ · φ(L)oft(Cslib.Crypto.GDD.IsSolution).IncGDD^φ_{γ, g}([MR07a], Definition 5.6, §5.2, p. 19): given a latticeL, a setSofn = rank Llinearly independent vectors ofL, a target pointt, and a radiusr > γ · φ(L)(Cslib.Crypto.IncGDD.IsValidInstance), findx ∈ Lsatisfying‖x - t‖ ≤ ‖S‖ / g + r(Cslib.Crypto.IncGDD.IsSolution), where‖S‖is Mathlib's canonicalPisupremum norm (max_i ‖S i‖in positive rank,0in rank0).
These are predicates on a single lattice (and target/radius). They fix no encoding of lattices or targets and no running-time bound, so they state what an algorithm must output rather than that it is efficient.
Main definitions #
Cslib.Crypto.GDD.IsSolution: solutions ofGDD^φ_γ([MR07a], Definition 2.7).Cslib.Crypto.GIVP.IsSolution: solutions ofGIVP^φ_γ([MR07a], Definition 2.6).Cslib.Crypto.IncGDD.IsValidInstance: valid(L, S, r)instances ofIncGDD^φ_{γ, g}([MR07a], Definition 5.6).Cslib.Crypto.IncGDD.IsSolution: solutions ofIncGDD^φ_{γ, g}([MR07a], Definition 5.6).
Main results #
Cslib.Crypto.GDD.IsSolution.mono: monotonicity ofGDD^φ_γsolutions inγ.Cslib.Crypto.GIVP.IsSolution.mono: monotonicity ofGIVP^φ_γsolutions inγ.Cslib.Crypto.GIVP.IsSolution.of_param_le: transferringGIVP^φ_γsolutions across a parameter comparisonφ L ≤ c · ψ L.
References #
x solves guaranteed distance decoding GDD^φ_γ on (L, t): x lies in L and satisfies
‖x - t‖ ≤ γ · φ(L) ([MR07a], Definition 2.7, §2, p. 7).
- mem : x ∈ L
The solution is a vector of
L. The solution is within distance
γ · φ(L)of the targett.
Enlarging the approximation factor γ preserves GDD^φ_γ solutions when 0 ≤ φ L.
v solves the generalized independent vectors problem GIVP^φ_γ on L: its n = rank L
vectors are linearly independent over ℝ, lie in L, and each have norm at most γ · φ(L)
([MR07a], Definition 2.6, §2, p. 7). The family is indexed by Fin (finrank ℤ L),
so a solver cannot return fewer vectors than the rank; for a full-rank lattice n is the dimension
of the space (ZLattice.rank). For a discrete lattice in a finite-dimensional space finrank ℤ L
is its rank; on a ℤ-submodule that is not finitely generated finrank ℤ L is the junk value 0,
so the predicate is meant for discrete lattices.
- linearIndependent : LinearIndependent ℝ v
The vectors are linearly independent over
ℝ. Every vector lies in
L.Every vector has norm at most
γ · φ(L).
Enlarging the approximation factor γ preserves GIVP^φ_γ solutions when 0 ≤ φ L.
Comparing lattice parameters φ L ≤ c · ψ L transfers any GIVP^φ_γ solution (for γ ≥ 0)
to a GIVP^ψ_{γ · c} solution.
Validity of the (L, S, r) inputs of incremental guaranteed distance decoding
IncGDD^φ_{γ, g} ([MR07a], Definition 5.6, §5.2, p. 19): S is a family of
n = rank L linearly independent vectors of L, and the target radius satisfies r > γ · φ(L).
Any target t : E pairs with (L, S, r) to form an IncGDD instance.
- linearIndependent : LinearIndependent ℝ S
The full-rank set
Sis linearly independent overℝ. Every vector of
Slies inL.The radius strictly exceeds
γ · φ(L).
x solves incremental guaranteed distance decoding IncGDD^φ_{γ, g} on (L, S, t, r):
x ∈ L and ‖x - t‖ ≤ ‖S‖ / g + r ([MR07a], Definition 5.6, §5.2, p. 19). Here
‖S‖ is Mathlib's canonical Pi supremum norm (Pi.norm_def), which equals max_i ‖S i‖ in
positive rank and 0 in rank 0.
- mem : x ∈ L
The solution is a vector of
L. The solution is within distance
‖S‖ / g + rof the targett.