Amplified compact PCP-table extraction and bounded-prefix Kilian NP arguments #
CslibFrontier.Crypto.Computational.Kilian.Extraction proves the single-execution rewinding
bound (HashFamily.kilianTableExtraction): running kilianTableExtractor once yields a compact
PCP table whose expanded proof passes strictly more than (num / den) of the PCP coins with
probability at least Pr[P accepts] - 1 / (p n + 1) - ν n.
This module upgrades single-trial compact-table extraction and unframed KilianView verification
to high-confidence compact-table extraction and worst-case bounded-prefix verification:
- Polynomial-time compact-table acceptance check (
kilianTablePassesFrac): Tests whether a candidateKilianExtractedTable αpasses strictly more than(num / den)of all2 ^ V.coins ext.stmtPCP coins by evaluatingV.verdictviakilianPositionlookups inext.tablewithout materializing the exponential-length proofV.proofOfTable. This predicate is equivalent to theacceptCountcondition ofkilianExtractionFracGame(kilianTablePassesFrac_eq_true_iff) and runs in polynomial time (computableInPolyTime_kilianTablePassesFrac). - Amplified strict-PPT extractor (
kilianAmplifiedExtractor): Repeats independent(k, kilianTableExtractor)samplesR ntimes and returns the first candidate passingkilianTablePassesFrac V num den. It runs in uniform strict PPT (isPPT_kilianAmplifiedExtractor), certifieskilianTablePassesFracon everysome extit outputs (mem_support_kilianAmplifiedExtractor_passes), and amplifies extraction failure exponentially (failProbability_kilianAmplifiedExtractionGame). Whenever prover acceptance is at least(p n + 1)⁻¹ + (q n + 1)⁻¹ + ν n, the amplified extractor outputs a valid(num / den)-table with failure probability at most2⁻ⁿ(HashFamily.kilianAmplifiedTableExtraction,HashFamily.kilianRawAmplifiedExtraction). No NP witnesswis extracted; these are compact PCP-table extraction bounds toward full Barak–Goldreich weak proof of knowledge. - Unified NP succinct argument with bounded-prefix verification and table extraction:
For any
HashFamily HandR : NPRelation enc,exists_kilianSuccinctTableExtractionArgument_of_npRelationcombines the polynomial-time PCP witness compiler (Kilian.NP), honest completeness (structured and raw bounded-prefix), polylogarithmic succinct communication, worst-case bounded-prefix raw-tape verifier time and space polynomial inn + |enc x|for every arbitrary unboundedrawProver : List Bool, computational soundness for both structured and raw provers, and high-confidence amplified strict-PPT extraction of compact PCP tables passing> 1 / 2of PCP coins (from which∃ w, R.IsWitness ext.stmt wfollows non-constructively via PCP soundness without extracting an explicit NP witnessw).
Locators in [BG01] and [Kil92] are not re-verified against the primary PDFs
(locator not re-verified against primary PDF).
Main definitions #
Cslib.Crypto.kilianTablePassesFrac: polynomial-time verifier coin-fraction check on an extracted compact PCP table.Cslib.Crypto.kilianAmplifiedExtractor,Cslib.Crypto.kilianAmplifiedExtractionGame: amplified strict-PPT extractor returning the first compact table passingkilianTablePassesFrac.Cslib.Crypto.kilianRawAcceptGame: single-run prover acceptance underkilianVerifyRawBounded.
Main results #
Cslib.Crypto.kilianTablePassesFrac_eq_true_iff,Cslib.Crypto.computableInPolyTime_kilianTablePassesFrac.Cslib.Crypto.isPPT_kilianAmplifiedExtractor,Cslib.Crypto.failProbability_kilianAmplifiedExtractionGame.Cslib.Crypto.HashFamily.kilianAmplifiedTableExtraction,Cslib.Crypto.HashFamily.kilianRawAmplifiedExtraction.Cslib.Crypto.exists_kilianSuccinctTableExtractionArgument_of_npRelation.
References #
- J. Kilian, A note on efficient zero-knowledge proofs and arguments
- B. Barak, O. Goldreich, Universal Arguments and their Applications, Construction 3.4 and Lemma 3.5.
Polynomial-time fraction check on extracted compact tables #
Check whether an extracted compact table passes strictly more than num / den of all
2 ^ V.coins ext.stmt PCP random strings by looking up each queried address directly in
ext.table via kilianPosition (avoiding materialization of V.proofOfTable).
kilianTablePassesFrac holds iff V.proofOfTable ext.stmt ext.table passes strictly more than
num / den of the 2 ^ V.coins ext.stmt PCP random coins.
kilianTablePassesFrac is computable in polynomial time under V.PolyTime enc and
logarithmic randomness.
Amplified strict-PPT knowledge extractor #
Amplified strict-PPT table extractor for Kilian's protocol: runs R n independent trials
of (k ← BitString.sampleList n; kilianTableExtractor H V P T n k) and returns the first
extracted compact table passing kilianTablePassesFrac V num den.
Experiment measuring whether kilianAmplifiedExtractor returns some ext.
Every some ext emitted by kilianAmplifiedExtractor passes kilianTablePassesFrac V num den
with certainty.
Every some ext emitted by kilianAmplifiedExtractor inherits any first-stage statement
invariant satisfied on all n-bit hash keys by P.commit n k.
Uniform strict-PPT efficiency of kilianAmplifiedExtractor: for any polynomial-time hash,
polynomial-time O(log n)-coin PCP verifier V, uniform strict PPT prover P, and polynomial-time
budgets T and R, kilianAmplifiedExtractor runs in uniform strict PPT.
Exact failure amplification identity: running R n independent extractor trials shrinks
the failure probability (1 - Pr[extract]) to the (R n)-th power of the single-trial failure
probability of kilianExtractionFracGame.
High-confidence asymptotic extraction bounds #
Amplified strict-PPT compact-table extraction for Kilian's protocol: for any
collision-resistant HashFamily, polynomial-time O(log |enc x|)-coin PCP verifier V, uniform
strict PPT prover P, strict coin threshold num / den < 1, and polynomial slack indices
p, q : ℕ → ℕ, there are polynomial-time budgets T and R such that:
kilianAmplifiedExtractor H V P T R num denruns in uniform strict PPT;- every
some extemitted by it passeskilianTablePassesFrac V num den ext = true; and - whenever
Paccepts with probability at least(p n + 1)⁻¹ + (q n + 1)⁻¹ + ν n(for a negligible functionν), the amplified extractor fails with probability at most(1 / 2) ^ n. No NP witnesswis extracted here; the output is a compact PCP bit table.
Single-run acceptance game for a raw prover verified by the bounded-prefix verifier
kilianVerifyRawBounded.
Every run accepted by kilianVerifyRawBounded in kilianRawAcceptGame also makes
kilianAcceptGame accept for P.toKilianProver.
Amplified strict-PPT compact-table extraction from raw cheating provers: for any uniform
strict PPT raw prover P : KilianRawProver α verified by kilianVerifyRawBounded, decoding P
via P.toKilianProver yields a uniform strict PPT extractor outputting compact PCP tables passing
kilianTablePassesFrac V num den with failure probability at most 2⁻ⁿ whenever P passes
kilianVerifyRawBounded with probability at least (p n + 1)⁻¹ + (q n + 1)⁻¹ + ν n. No NP
witness w is extracted here.
Unified Kilian succinct argument with bounded-prefix verifier and table extraction #
Kilian succinct NP argument with worst-case bounded-prefix verifier and amplified
compact-table extraction: under any collision-resistant HashFamily H, every NP relation
R : NPRelation enc admits an O(log n)-coin constant-query PCP verifier V and polynomial-time
witness compiler compile giving:
- polynomial-time honest commitment and opening algorithms on NP witnesses
(x, w); - perfect completeness for both structured
kilianHonestGameand raw bounded-prefixkilianHonestRawBoundedGame; - polylogarithmic communication
O(n² · (log₂ |enc x| + 1)); - one fixed binary
MultiTapeTMcomputingkilianVerifyRawBoundedin worst-case time and space polynomial inn + |enc x|uniformly over all arbitrary unboundedrawProver : List Bool; - computational soundness against both structured (
KilianSound) and raw (KilianRawSound) uniform strict PPT cheating provers; and - high-confidence (
≤ 2⁻ⁿfailure) strict-PPT extraction of a compact PCP table passingkilianTablePassesFrac V 1 2(> 1 / 2of PCP coins) from any structured or raw uniform strict PPT prover with acceptance probability at least(p n + 1)⁻¹ + (q n + 1)⁻¹ + ν n. No NP witnesswis extracted constructively bykilianAmplifiedExtractor; the conclusion∃ w, R.IsWitness ext.stmt wis an existential PCP-soundness consequence ofext.stmt ∈ R.language.