Ligero interleaved proximity and evaluation soundness against arbitrary provers #
CslibFrontier.Crypto.Protocols.PolynomialCommitment.Basic formalizes single-column consistency of
the Ligero matrix-code check (LigeroMatrixIOP.columnReduction_sound) only for the honest claim
v = ligeroRowComb r U, leaving cheating prover responses v ≠ ligeroRowComb r U and proximity of
M to an interleaved code unbounded. This module closes both gaps by connecting LigeroMatrixIOP's
generator-matrix operations (ligeroRowComb, ligeroColumnCheck, ligeroEval, ligeroEvalCheck)
to Cslib.Code.interleavedLinear and Cslib.Code.reedSolomon as a step toward #643 and #5968
(after [AHIV17] and [BSCI+23]; locator
for [AHIV17] not re-verified against primary PDF):
- Generator-matrix codes and Reed–Solomon Vandermonde bridge (
codeOfGenerator,reedSolomonGenerator,codeOfGenerator_reedSolomonGenerator,vecMul_reedSolomonGenerator_injective): the row-space code of thek × nVandermonde matrixreedSolomonGenerator α kequalsCslib.Code.reedSolomon α kwithout duplicating the Reed–Solomon code definition, and encodingv ↦ v ᵥ* reedSolomonGenerator α kis injective wheneverαis injective andk ≤ n. - Ligero interleaved proximity reduction (
ligeroProximityReduction): on inputM : Matrix (Fin m) (Fin n) F, the verifier samples a uniform row-combination vectorr : Fin m → F, receives a purported pre-encoded combinationv : Fin l → Ffrom the prover, samplesqindependent uniform column indicesQ : Fin q → Fin n, and checksligeroColumnCheck G M r v (Q t)for allt : Fin q(reading only theqqueried columns ofM,ligeroProximityReduction_outputOn_congr). Honest encodingsM = U * Gare accepted with error0(ligeroProximityReduction_complete). Against every prover strategy, any matrixMwhose column-indexed transposeFunction.swap Mhas column-Hamming distance> efrominterleavedLinear (Fin m) (codeOfGenerator G)is rejected except with round-by-round and plain-model soundness error:(e + 1) / |F| + ((n - (e + 1)) / n) ^ qfor any linear code satisfying3 * (e : ℕ∞) < minDist (codeOfGenerator G)(ligeroProximityReduction_rbrSound_of_three_mul_lt_minDist,ligeroProximityReduction_sound_of_three_mul_lt_minDist);n / |F| + ((n - (e + 1)) / n) ^ qforreedSolomonGenerator α kacross the full unique-decoding radius2 * e + k ≤ n(ligeroProximityReduction_reedSolomon_rbrSound,ligeroProximityReduction_reedSolomon_sound).
- Cheating-prover linear-evaluation soundness under unique decoding
(
toOuterMeasure_ligeroEvalCheck_false_le): when2 * (e : ℕ∞) < minDist (codeOfGenerator G), encoding· ᵥ* Gis injective,hammingDist (Function.swap M) (Function.swap (U * G)) ≤ e, and a claimed linear evaluation is false (ligeroEval U b c ≠ w), every prover vectorv : Fin l → Fpassesquniform column checksligeroEvalCheck G M b c w v (Q t)with probability at most((n - (e + 1)) / n) ^ q.
Prover-committed column oracles with straight-line witness extraction, quadratic constraint checks,
zero-knowledge row masking, and BCS random-oracle compilation remain open under #643.
Main definitions #
Cslib.Crypto.Protocols.codeOfGenerator: linear codeSubmodule F (Fin n → F)generated by the rows ofG : Matrix (Fin l) (Fin n) F.Cslib.Crypto.Protocols.reedSolomonGenerator:k × nVandermonde generator matrix forCslib.Code.reedSolomon α k.Cslib.Crypto.Protocols.ligeroCodewordRel,Cslib.Crypto.Protocols.ligeroProximityLang,Cslib.Crypto.Protocols.ligeroProximitySpec,Cslib.Crypto.Protocols.ligeroProximityReduction: completeness relation, interleavede-proximity language, round specification, and public-coin interactive proximity reduction for Ligero matrices.
Main results #
Cslib.Crypto.Protocols.codeOfGenerator_reedSolomonGenerator,Cslib.Crypto.Protocols.vecMul_reedSolomonGenerator_injective: exact equality withCslib.Code.reedSolomon α kand injectivity of Vandermonde encoding.Cslib.Crypto.Protocols.ligeroProximityReduction_outputOn_congr: verifier decision depends onMonly at theqqueried columns.Cslib.Crypto.Protocols.ligeroProximityReduction_complete: perfect completeness (error0) for honestly encoded matricesM = U * G.Cslib.Crypto.Protocols.toOuterMeasure_ligeroColumnCheck_all_le:quniform column checks accept with probability at most((n - (e + 1)) / n) ^ qwhenevere < hammingDist (r ᵥ* M) (v ᵥ* G).Cslib.Crypto.Protocols.ligeroProximityReduction_rbrSound_of_three_mul_lt_minDist,Cslib.Crypto.Protocols.ligeroProximityReduction_sound_of_three_mul_lt_minDist: round-by-round and plain-model soundness against arbitrary provers for any linear code withind / 3.Cslib.Crypto.Protocols.ligeroProximityReduction_reedSolomon_rbrSound,Cslib.Crypto.Protocols.ligeroProximityReduction_reedSolomon_sound: round-by-round and plain-model soundness against arbitrary provers for Reed–Solomon codes up to2 * e + k ≤ n.Cslib.Crypto.Protocols.toOuterMeasure_ligeroEvalCheck_false_le: cheating-prover column-query soundness ofligeroEvalCheckfor false linear evaluations one-close matrices within the unique-decoding radius.
References #
Generator-matrix codes and Vandermonde Reed–Solomon bridge #
Membership in codeOfGenerator G means being of the form v ᵥ* G.
Every vector v : Fin l → F encodes to a codeword v ᵥ* G ∈ codeOfGenerator G.
Vandermonde generator bridge: the row-space code of reedSolomonGenerator α k is
Cslib.Code.reedSolomon α k.
Encoding v ↦ v ᵥ* reedSolomonGenerator α k is injective when α is injective and k ≤ n.
Column-query soundness and the Ligero interleaved proximity reduction #
Column-query escape bound: if r ᵥ* M and v ᵥ* G disagree on strictly more than e
columns (e < hammingDist (r ᵥ* M) (v ᵥ* G)), then q independent uniform column queries
Q : Fin q → Fin n all pass ligeroColumnCheck G M r v (Q t) with probability at most
((n - (e + 1)) / n) ^ q.
Interleaved e-proximity language for G: m × n matrices M whose column-indexed transpose
Function.swap M lies within column-Hamming distance e of
interleavedLinear (Fin m) (codeOfGenerator G).
Every honestly encoded matrix M = U * G belongs to ligeroProximityLang m G e for all e.
Ligero interleaved proximity reduction: tests proximity of M : Matrix (Fin m) (Fin n) F
to interleavedLinear (Fin m) (codeOfGenerator G) by checking q uniformly sampled columns of a
random row linear combination r ᵥ* M against v ᵥ* G.
Query locality: the verifier's output depends on M only through the q queried columns
Q t (t : Fin q).
Step toward #643 and #5968 after [AHIV17] (locator not
re-verified against primary PDF; round-by-round soundness of ligeroProximityReduction within
d / 3 against all prover strategies): when 3 * (e : ℕ∞) < minDist (codeOfGenerator G), the
row-combination round has escape error at most (e + 1) / |F| and the q-column query round has
escape error at most ((n - (e + 1)) / n) ^ q.
Plain-model soundness of the Ligero proximity reduction within d / 3 against every
(unbounded, adaptive) prover strategy.
Round-by-round soundness of the Reed–Solomon Ligero proximity reduction across the full
unique-decoding radius (2 * e + k ≤ n, derived via
[BenSassonCarmonIshaiKoppartySaraf2020, Theorem 1.6 / eq. (1.2)]): the row-combination round has
escape error at most n / |F| and the q-column query round has escape error at most
((n - (e + 1)) / n) ^ q.
Plain-model soundness of the Reed–Solomon Ligero proximity reduction across the full
unique-decoding radius (2 * e + k ≤ n) against every prover strategy.
Cheating-prover soundness of ligeroEvalCheck under unique decoding #
Cheating-prover linear-evaluation soundness: suppose 2 * (e : ℕ∞) < minDist (codeOfGenerator G), encoding · ᵥ* G is injective, and Function.swap M lies within
column-Hamming distance e of Function.swap (U * G). If a claimed bilinear evaluation is false
(ligeroEval U b c ≠ w), then every prover response v : Fin l → F (not only the honest
ligeroRowComb b U) passes q uniform column checks ligeroEvalCheck G M b c w v (Q t) with
probability at most ((n - (e + 1)) / n) ^ q.