feat: The Kilian transformation#450
Draft
BoltonBailey wants to merge 7 commits into
Draft
Conversation
…ion to it Introduce ChallengeVerifyProtocol, a monad-generic commit–challenge–response protocol abstraction (completeness, special soundness, HVZK, unique responses), built on the MonadLiftT-based EvalDist API. The Kilian transformation now targets this structure instead of SigmaProtocol, so the PR is self-contained and does not depend on the SigmaProtocol monad-generalization PR. The transformation body remains a documented TODO. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Restructure PCP so the verifier's coins are an explicit challenge: add a Coins type and sampleCoins field, and change Verifier to Stmt → Coins → OracleComp (PCP.spec Symbol length) Bool so that, given coins, the verifier is deterministic modulo proof-position queries. runVerifier/correctness/soundness updated to sample coins. KilianTransformation now builds a succinct ChallengeVerifyProtocol from a PCP: the prover Merkle-commits to its proof string; the challenge is the verifier's coins; respond simulates the verifier to learn exactly which positions it reads and opens only those (a partial dependent opening map); verify replays the verifier, answering each query from its opening while checking the Merkle path, rejecting any unopened or mis-authenticated position. Standard-model (CRH) formulation with a pure hashFn, so verify is deterministic. ChallengeVerifyProtocol's extractor is a parameter of the soundness definitions rather than a structure field. Security properties are deferred. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🤖 PR SummaryKilian TransformationFormalization of the Kilian '92 transformation (PCPs to SNARGs), including a formal definition of PCPs and a proof of perfect completeness. Cryptographic Abstractions
Library Extensions
Statistics
Lean Declarations ✏️ **Added:** 41 declaration(s)
📋 **Additional Analysis**Style and Header Violations
📄 **Per-File Summaries**
Last updated: 2026-06-29 00:27 UTC. |
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces the Kilian '92 transformation to derive a SNARG from a PCP.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com