Micali's Computationally Sound Proofs in the Random Oracle Model #
Micali's construction ([Mic00]; [CY24], Construction 21.1.1) compiles a PCP
verifier V into a non-interactive argument in the random oracle model by applying the
Fiat–Shamir transformation to Kilian's interactive argument
(CslibFrontier/Crypto/Computational/Kilian.lean). It is built from the oracle-program Merkle
trees merkleRootProg, merklePathProg and merkleVerifyProg over MerkleHashSpec
(CslibFrontier.Crypto.Computational.MerkleTree.Prog), evaluated against deterministic oracles with
OracleComp.evalPure (CslibFrontier.Languages.Probabilistic.Oracle.EvalPure):
- Micali prover and verifier. Over the two-channel random oracle interface
MicaliSpec α := MerkleHashSpec ⊕ₒ MicaliFSSpec α(whereSum.inlqueries the Merkle hashf_MT : List Bool → List BoolandSum.inrqueries the Fiat–Shamir challenge oraclef_FS : α × List Bool → List (List Bool)), the provermicaliProve V x tablecommits to the compact PCP tablekilianTable V x tableunderf_MT, queriesρs ← f_FS (x, root)(including the statementxin the Fiat–Shamir query for adaptive soundness), and opens the queried positions underf_MTto produce aMicaliProof. The verifiermicaliVerify V x proofre-derivesρs ← f_FS (x, proof.root)and checks the Merkle openings and PCP verdicts underf_MT. - Perfect completeness. Under any deterministic oracle pair
(hTree, hFS)whose Fiat–Shamir challenges have lengthV.coins x,micaliVerifyaccepts the proof generated bymicaliProveon every table accepted byV.tableVerifier(micaliVerify_micaliProve_eq_true). Consequently, in the lazy random oracle experimentmicaliHonestGame V x table σ mwheref_MTsamples uniformσ-bit digests (BitString.uniformList σ) andf_FS (x, rt)sampleskilianChallenges V m x, the honest prover is accepted with probability one (micaliHonestGame_eq_pure_true).
As in [CY24], Construction 21.1.1 with salt lengths s_MT = s_FS = 0 (which are
zero-knowledge parameters not needed for completeness or soundness), no salts are included.
Source attribution note: Construction 21.1.1 is verified against [CY24], pp. 239–240; bibliographic metadata for [Mic00] is taken from Chiesa–Yogev's bibliography as the publisher text is not directly accessible in this environment, and no theorem numbers are cited from [Mic00].
Main definitions #
Cslib.Crypto.MicaliFSSpec,Cslib.Crypto.MicaliSpec,Cslib.Crypto.MicaliProof: oracle interfaces and non-interactive proof structure for Micali's construction.Cslib.Crypto.micaliProvePure,Cslib.Crypto.micaliVerifyPure,Cslib.Crypto.micaliProve,Cslib.Crypto.micaliVerify: pure andOracleCompMicali prover and verifier.Cslib.Crypto.micaliOracleDist,Cslib.Crypto.micaliHonestProg,Cslib.Crypto.micaliHonestGame: the lazy random-oracle distribution and honest completeness experiment.
Main results #
Cslib.Crypto.micaliVerifyPure_micaliProvePure_eq_true,Cslib.Crypto.micaliVerify_micaliProve_eq_true,Cslib.Crypto.micaliHonestGame_eq_pure_true: perfect completeness of Micali's non-interactive argument under deterministic oracles and in the random oracle model.
References #
Oracle specification for the Fiat–Shamir challenge oracle in Micali's construction:
queries (x, root) return a list of PCP random strings List (List Bool).
A non-interactive Micali proof consists of the Merkle root root of the committed compact PCP
table and the Kilian opening responses response for the Fiat–Shamir challenges derived from
(x, root).
Merkle root of the committed compact PCP table.
- response : KilianResponse
Opened bits and Merkle authentication paths for each Fiat–Shamir challenge repetition.
Instances For
Oracle-program Kilian commitment, opening and verification #
Oracle-program computation of the Kilian Merkle commitment root for table on x.
Oracle-program computation of the Kilian openings for a single random string ρ.
Oracle-program computation of the Kilian response for a list of random strings ρs.
Oracle-program verification of a single Kilian repetition against root on random
string ρ.
Oracle-program verification of all Kilian repetitions against root and challenges ρs.
Micali prover, verifier and perfect completeness #
Pure Micali prover given deterministic Merkle-tree (hTree) and Fiat–Shamir (hFS) hash
functions ([CY24], Construction 21.1.1).
Pure Micali verifier given deterministic Merkle-tree (hTree) and Fiat–Shamir (hFS) hash
functions ([CY24], Construction 21.1.1).
Combine a deterministic Merkle hash hTree and a deterministic Fiat–Shamir oracle hFS into
a deterministic oracle for MicaliSpec α.
Micali's non-interactive prover as an OracleComp program over MicaliSpec α: commits to the
compact PCP table under the Merkle hash oracle (Sum.inl), queries the Fiat–Shamir oracle
(Sum.inr) on (x, root) to obtain the challenge strings ρs, and opens the queried positions
under the Merkle hash oracle.
Micali's non-interactive verifier as an OracleComp program over MicaliSpec α: queries the
Fiat–Shamir oracle (Sum.inr) on (x, proof.root) to re-derive ρs, and verifies all openings
and PCP verdicts under the Merkle hash oracle (Sum.inl).
Perfect completeness of Micali's construction (pure oracle form): for any deterministic
Merkle oracle hTree whose digests all have one length and any Fiat–Shamir oracle hFS, if
V.tableVerifier accepts (x, table) and every challenge string returned by hFS on
(x, root) has V.coins x bits, then micaliVerifyPure accepts the proof produced by
micaliProvePure.
Perfect completeness of Micali's construction (OracleComp simulation form): under any
deterministic oracle (hTree, hFS) whose Merkle digests all have one length and whose
Fiat–Shamir challenges have length V.coins x, running micaliProve followed by micaliVerify
returns true on every table accepted by V.tableVerifier.
The Micali random-oracle experiment #
Per-query distribution of the Micali random oracle with σ-bit Merkle digests and m PCP
repetitions: Merkle queries (Sum.inl) draw uniformly from {0, 1}^σ (BitString.uniformList σ),
and Fiat–Shamir queries (Sum.inr (x, rt)) draw m independent V.coins x-bit challenge strings
(ProbComp.eval (kilianChallenges V m x)).
The honest Micali execution as an oracle program: the honest prover generates a proof for
(x, table) and the verifier checks it against the same oracle.
The honest Micali ROM experiment with σ-bit Merkle digests and m PCP repetitions: runs
micaliHonestProg V x table against a shared lazy random oracle
RandomOracle.answer (micaliOracleDist V σ m) starting from an empty cache.
Perfect completeness of Micali's construction in the random oracle model: if
V.tableVerifier (x, table) = true, then for every digest length σ and repetition count m,
the honest Micali ROM experiment accepts with probability 1.