Negligible soundness for zero-knowledge proof systems #
Cslib.Crypto.ZKProof enc A soundness (CslibFrontier.Crypto.Computational.ZeroKnowledge) carries
a soundness bound soundness : ℕ → ENNReal indexed by the security parameter. The single-session
GMW systems have soundness := fun _ => 1 / 3, and sequential repetition
(CslibFrontier.Crypto.Computational.ZeroKnowledge.Amplification) amplifies this to
fun n => (1 / 3) ^ (k n). This module states when such a bound is negligible.
ZKProof.NegligibleSoundnessasserts thatsoundness n ≠ ⊤for allnandfun n => (soundness n).toNNRealisNegligible. Requiring finiteness rules out the degeneratesoundness n = ⊤case whereENNReal.toNNReal ⊤ = 0, and implies that against every family of cheating provers on false instances, the real-valued acceptance probability is negligible (ZKProof.NegligibleSoundness.acceptProb_toNNReal_negligible) and thatA ∈ IP enc(ZKProof.NegligibleSoundness.mem_IP).Cslib.Crypto.negligible_pow_of_lt_oneandCslib.Crypto.negligible_one_third_powestablish that(1 / 3) ^ (k n)is negligible whenever∀ n, n ≤ k n.
Main definitions #
Cslib.Crypto.ZKProof.NegligibleSoundness: finiteness and negligible decay ofsoundness.
Main results #
Cslib.Crypto.ZKProof.NegligibleSoundness.acceptProb_toNNReal_negligible: negligible acceptance probability on false-instance and cheating-prover families.Cslib.Crypto.ZKProof.NegligibleSoundness.mem_IP: anyZKProofwith negligible soundness placesA ∈ IP enc.Cslib.Crypto.negligible_pow_of_lt_one,Cslib.Crypto.negligible_one_third_pow,Cslib.Crypto.ZKProof.negligibleSoundness_one_third_pow: geometric soundness decay under repetition countn ≤ k n.Cslib.Crypto.one_third_pow_succ_le:(1 / 3) ^ (n + 1) ≤ 1 / 3, for weakening an amplified system to the single-session bound withZKProof.mono.
Negligible soundness for a ZKProof: the soundness bound is finite at every security
parameter (∀ n, soundness n ≠ ⊤, ruling out the degenerate ENNReal.toNNReal ⊤ = 0 case) and
its nonnegative real value fun n => (soundness n).toNNReal is Negligible.
This notion is novel to this library. It strengthens the soundness condition of
[Gol98], Definition 4.2.6, p. 136, with a negligible soundness bound: through
ZKProof.sound, soundness n bounds the acceptance probability of every prover on every false
instance at parameter n, uniformly in the instance, where the source's bound s(|x|) is a
function of the input length. For a verifier that ignores n, a bound negligible in n forces
soundness error 0, so such a verifier with soundness error 2^(-|x|) meets the source's
condition with a negligible bound but not this one. As in the source, the provers have no resource
bound.
Relation to standard assumptions. Running the verifier at n = |x| gives the source's soundness
condition with the negligible bound s(m) = soundness m.
Why it is plausible. Sequential repetition gives it: ZKProof.negligibleSoundness_one_third_pow
proves it for soundness (1/3)^(k n) with n ≤ k n, and OneWay.exists_generableZKProof_of_mem_NP
and the library's Goldreich–Micali–Wigderson theorem NonuniformOneWay.exists_zkProof_of_mem_NP
build proof systems with it for every language in NP.
Under NegligibleSoundness, any family of false instances a : ℕ → α (∀ n, a n ∉ A) and
any family of computationally unbounded stateful provers P : ℕ → Prover Unit have negligible
acceptance probability.
A pointwise smaller soundness bound preserves NegligibleSoundness.
Any ZKProof with negligible soundness places A ∈ IP enc.
The amplified soundness bound fun n => ((1 / 3 : ENNReal) ^ k n).toNNReal is negligible
whenever ∀ n, n ≤ k n.