Rewinding compact PCP-table extraction for Kilian's protocol #
This module constructs an explicit, uniform strict probabilistic polynomial-time rewinding
extractor kilianTableExtractor for Kilian's succinct interactive argument over any
O(log |enc x|)-coin PCP verifier V (CslibFrontier.Crypto.Computational.Kilian) and keyed
hash H, paired with a strict-PPT Merkle position-binding reduction
kilianExtractorBindingAdversary (CslibFrontier.Crypto.Computational.MerkleTree.Extract).
Given security parameter n, key k, and prover P : KilianProver α:
kilianTableExtractorrunsP.commit n konce to obtaincm = { stmt, root, state }.- Enumerating every
ρ₀ ∈ BitString.enumList (V.coins cm.stmt)(of polynomial size2 ^ runder the logarithmic coin bound) and every repetition sloti < n,kilianCollectRunsrewindsP.answer n cm.stateT ntimes with slotifixed toρ₀and independent uniform challenges in the remainingn - 1slots. kilianExtractTableFromRunsinvokesmerkleExtractVectoron the verified openings from all accepted transcripts to assemble a compact bit tabletableof length(V.queryTable cm.stmt).length.
Honest scope ([BG01], Construction 3.4 and Lemma 3.5) #
- Compact PCP-table extraction (a step toward Barak–Goldreich weak proof of knowledge):
Barak and Goldreich prove weak proof of knowledge against non-uniform provers with an implicit
reverse-sampling oracle for superpolynomial PCPs. Here adversaries and extractors are uniform
strict PPT (
KilianProver.IsPPT,IsPPT), and the extracted object is an explicit compact PCP tabletablefor theO(log |enc x|)-coin verifier. No NP witnesswis extracted bykilianTableExtractor. - Rational coin-acceptance fractions
< 1vs. exact 100%V.tableVerifier: for any rational fractionnum / den < 1and any noticeable inverse-polynomial slack1 / (p n + 1),HashFamily.kilianTableExtractionshows thatkilianTableExtractorruns in strict PPT and extracts(x, table)whose expanded proofV.proofOfTable x tablepasses strictly more than(num / den) * 2 ^ V.coins xcoins up to(num / den) ^ n + 1 / (p n + 1) + negl nloss. Exact 100% agreement (V.tableVerifier (x, table) = true) is not claimed: a cheating prover with acceptance probability1 - o(1)can silently abort whenever a single designated rare coinρ₀appears in itsnchallenges (Pr[abort] ≤ n / 2^r = o(1)), hidingρ₀'s witness bit from any black-box rewinder. - Membership corollary (
kilianExtract_mem_of_isPCP,HashFamily.kilianTableExtraction_npRelation): at threshold1 / 2, every extracted table accepted on> (2 ^ V.coins x) / 2coins certifiesext.stmt ∈ LwhenVis a PCP verifier with soundness error≤ 1 / 2; for anNPRelation,∃ w, R.IsWitness ext.stmt wfollows existentially fromext.stmt ∈ R.languagewithout extracting an explicit NP witnessw.
Locators in [BG01] are not re-verified against the primary PDF in this checkout
(locator not re-verified against primary PDF).
Main definitions #
Cslib.Crypto.KilianChallengeRun,Cslib.Crypto.encKilianChallengeRun: a challenge tuple paired with the prover's response, and its framed encoding.Cslib.Crypto.KilianExtractedTable,Cslib.Crypto.encKilianExtractedTable: the committed statement, Merkle root, and extracted compact table, and its framed encoding.Cslib.Crypto.kilianAcceptGame,Cslib.Crypto.kilianExtractionFracGame: single-run prover acceptance and strict-fraction table-extraction experiments.Cslib.Crypto.kilianRunsToOpenings,Cslib.Crypto.kilianExtractTableFromRuns,Cslib.Crypto.kilianRunsBindingOutput: deterministic transcript extraction and conflict detection.Cslib.Crypto.kilianPlantedRun,Cslib.Crypto.kilianCollectRuns,Cslib.Crypto.kilianTableExtractor,Cslib.Crypto.kilianExtractorBindingAdversary: the rewinding table extractor and its paired Merkle position-binding adversary.
Main results #
Cslib.Crypto.length_kilianExtractTableFromRuns,Cslib.Crypto.accepts_kilianExtractTableFromRuns_or_breaksBinding: eitherkilianRunsBindingOutputbreaks position binding, or every accepted transcript agrees withV.proofOfTable x table.Cslib.Crypto.isPPT_kilianTableExtractor,Cslib.Crypto.isPPT_kilianExtractorBindingAdversary: uniform strict PPT efficiency.Cslib.Crypto.succProbability_kilianAcceptGame_le_extracted: exact finite-parameter rewinding extraction bound for any thresholdnum / denand per-coin attempt countT n.Cslib.Crypto.HashFamily.kilianTableExtraction,Cslib.Crypto.kilianExtract_mem_of_isPCP,Cslib.Crypto.HashFamily.kilianTableExtraction_npRelation: rewinding compact PCP-table extraction bounds underHashFamilyand existentialNPmembership consequences (without extracting an explicit NP witnessw).
References #
- B. Barak, O. Goldreich, Universal Arguments and their Applications, Construction 3.4 and Lemma 3.5.
- J. Kilian, A note on efficient zero-knowledge proofs and arguments.
Transcript structures and deterministic table extraction #
One verifier challenge tuple paired with the prover's opening response.
The verifier's random challenge strings for the repetition.
- response : KilianResponse
The prover's response to
challenges.
Instances For
The tuple of the fields of encKilianChallengeRun.
Encoding of a KilianChallengeRun: framed challenges followed by the prover response.
The output of rewinding extraction: the chosen statement, committed Merkle root, and reconstructed compact PCP bit table.
- stmt : α
The statement output by the prover's first stage.
The Merkle root committed by the prover's first stage.
The extracted compact table indexed by
V.queryTable stmt.
Instances For
Encoding of KilianExtractedTable: the statement, Merkle root, and compact table.
Single-run prover acceptance game (without checking stmt ∉ L): sample a uniform n-bit
hash key, commit with P.commit, sample n PCP challenges, run P.answer, and verify.
Collect all verified Merkle openings from accepted KilianChallengeRuns, converted to
MerkleIndexedOpenings below (V.queryTable x).length.
Reconstruct a compact PCP table from runs by collecting verified openings from accepted
runs via merkleExtractVector.
Extract a MerkleBindingOutput from any conflicting pair of verified openings in runs.
Deterministic transcript-extraction dichotomy: for any list of runs, either
kilianRunsBindingOutput breaks merkleBreaksBinding, or every accepted run's valid-length
challenges accept the proof V.proofOfTable x (kilianExtractTableFromRuns ...).
Rewinding table extractor and strict-PPT certificates #
Run P.answer once on n challenges with coordinate i fixed to ρ₀ and the other n - 1
coordinates sampled independently from BitString.sampleList (V.coins cm.stmt).
Rewind P.answer across all V.coins cm.stmt-bit PCP coins ρ₀, all n slots
i ∈ List.range n, and T n fresh trials per (ρ₀, i).
Uniform strict-PPT rewinding table extractor for Kilian's protocol: commits once with
P.commit, collects rewound transcripts via kilianCollectRuns, and reconstructs a compact PCP
table via kilianExtractTableFromRuns.
Binding adversary paired with kilianTableExtractor: executes the identical rewinding
collection and emits any conflicting pair of accepted openings found in the transcripts.
Strict-fraction table-extraction experiment: runs kilianTableExtractor and returns true
iff the expanded proof V.proofOfTable ext.stmt ext.table passes strictly more than num / den
fraction of all 2 ^ V.coins ext.stmt PCP coins.
Uniform strict-PPT efficiency of kilianTableExtractor: when H, V, P, and the
rewind count T are polynomial-time / strict PPT (and V uses O(log |enc x|) coins),
kilianTableExtractor is uniform strict PPT.
Uniform strict-PPT efficiency of kilianExtractorBindingAdversary: the conflict-emitting
binding adversary paired with kilianTableExtractor is uniform strict PPT under the same
hypotheses.
Exact finite-parameter rewinding extraction bound #
Exact finite-parameter rewinding extraction bound for Kilian's protocol: for any rational
threshold num / den (0 < den), per-coin attempt budget T n, per-instance acceptance threshold
θ ∈ (0, 1], and coin-space bound 2 ^ V.coins cm.stmt ≤ M, the prover's single-run acceptance
probability is bounded by (num / den) ^ n + n * θ + M * (1 - θ) ^ T n plus the binding error of
kilianExtractorBindingAdversary and the probability that kilianTableExtractor extracts a compact
table whose expanded proof accepts strictly more than a num / den fraction of PCP coins.
Asymptotic weak knowledge extraction and NP witness consequence #
Rewinding compact PCP-table extraction theorem for Kilian's protocol under any
collision-resistant HashFamily and O(log |enc x|)-coin PCP verifier V (a step toward
[BG01], Construction 3.4 and Lemma 3.5, uniform strict-PPT compact-table counterpart;
locator not re-verified against primary PDF): for any prover P : KilianProver α, any strict
rational acceptance threshold num / den < 1, and any polynomial inverse slack (p n + 1)⁻¹, there
exists a polynomial-time attempt budget T such that kilianTableExtractor H V P T runs in uniform
strict PPT and succeeds in extracting a compact PCP table passing
> (num / den) * 2 ^ V.coins ext.stmt coins with probability at least
Pr[P accepts] - 1 / (p n + 1) - ν n for negligible ν. No NP witness w is extracted.
PCP soundness witness consequence for extracted compact tables: whenever V is a PCP
verifier for L with soundness error ≤ 1 / 2 and an extracted KilianExtractedTable satisfies
the strict half-coin acceptance predicate (1 * 2 ^ V.coins ext.stmt < 2 * acceptCount ...), the
committed statement belongs to L.
Rewinding compact PCP-table extraction for arbitrary NP relations: under a collision-
resistant HashFamily, every R : NPRelation enc admits a polynomial-time O(log n)-coin PCP
verifier V and witness compiler compile (from the PCP completeness bridge) such that every
uniform strict PPT prover's acceptance probability is upper-bounded by the 1 / 2-coin table
extraction probability up to arbitrary inverse-polynomial slack and negligible cryptographic error.
No NP witness w is extracted constructively by kilianTableExtractor; the existential guarantee
∃ w, R.IsWitness ext.stmt w is a non-constructive PCP-soundness consequence of
ext.stmt ∈ R.language via kilianExtract_mem_of_isPCP.