Polynomial-time draft-issuer bridge reduction witnesses for VOLE-ACT #
This module certifies the stateful draft-issuer simulation reduction
Cslib.Crypto.AnonymousToken.IssuerBridge.bridgeAdversary
(CslibFrontier/Crypto/Protocols/AnonymousToken/IssuerBridge.lean) in the uniform strict
oracle-PPT word calculus, closing the reduction-witness gap of bridgeAdversary (part of #7068)
without introducing any new hardness assumptions:
Cslib.Crypto.AnonymousToken.IssuerBridge.WordDraftAdversary,Cslib.Crypto.AnonymousToken.IssuerBridge.WordIssuerPolicy, andCslib.Crypto.AnonymousToken.IssuerBridge.WordIssuerPolicy.IsPPT: word-level draft-style extracted adversaries and stateful probabilistic policies with additive per-call state-growth bounds.Cslib.Crypto.AnonymousToken.IssuerBridge.bridgeAdversaryWordandCslib.Crypto.AnonymousToken.IssuerBridge.isOraclePPT_bridgeAdversaryWord: uniform strict oracle-PPT realization ofIssuerBridge.bridgeAdversary, using binary(V4)range checks (boundunderencNat), external reply prefix truncation at1 + sigBound n tgt.length, and a query-capped state invariant derived fromA.query_bounds(bounding agreed context lengths across subsequent.issuecalls without cappingbridgeAdversaryWorditself).Cslib.Crypto.AnonymousToken.IssuerBridge.eval_bridgeAdversaryWord_eqandCslib.Crypto.AnonymousToken.IssuerBridge.eval_extractedDraftConservationWordGame_eq: exactPMFlaw equalities linkingbridgeAdversaryWordtoIssuerBridge.bridgeAdversaryandextractedDraftConservationWordGametoConservation.extractedConservationWordGame.Cslib.Crypto.AnonymousToken.IssuerBridge.negligible_extractedDraftConservationWordGame: word-level draft-issuer credit conservation derived directly fromS.EUFCMAandCollisionResistant HviaConservation.negligible_extractedConservationWordGame.
Word encodings and total decoders #
Binary encoding of IssueAgreement (ticket and amount in encNat).
The tuple of the fields of encIssueAgreement.
Binary-refund encoding of SpendReply over bit-string signatures.
The tuple of the fields of encSpendReply.
Binary-amount encoding of server-side AgreedTicket over bit-string contexts.
The tuple of the fields of encAgreedTicket.
The tuple of the fields of encIssuerState.
Equivalence between DraftQuery and a nested sum for encoding and total decoding.
Word adversary, word issuer policy, and certified reduction program #
A word-level extracted draft-style VOLE-ACT adversary querying encoded DraftQuery words
and returning a target context bit string.
Interpret A : WordDraftAdversary as a typed DraftAdversary at (n, ck) using the total
decoder draftQueryDecoder.
Parameterized family of stateful draft issuer policies over bit-string words.
Policy at security parameter
nand commitment keyck.
Uniform strict PPT certificate for a WordIssuerPolicy, bundling additive per-call encoded
PolicyState growth bounded by policyGrowth. Because policyGrowth n w does not depend on
ck and the state-growth bounds quantify universally over ck, policies whose per-call state
growth depends on ck (such as copying ck into PolicyState) are excluded even if efficient.
Initial policy state sampler is uniform strict PPT.
- agreeIssue : Probability.IsPPTOn (Turing.MultiTapeTM.encPair encParamInput (Turing.MultiTapeTM.encPair (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits Turing.MultiTapeTM.encBits) encP)) (Turing.MultiTapeTM.encPair (Turing.MultiTapeTM.encOption Turing.MultiTapeTM.encNat) encP) fun (x : (ℕ × List Bool) × (List Bool × List Bool) × PolicyState) => match x with | ((n, ck), (ctx, hint), pst) => ((W.policy n ck).agreeIssue ctx hint).run pst
Initial-balance agreement is uniform strict PPT in
(n, ck, ctx, hint, pst). - chooseRefund : Probability.IsPPTOn (Turing.MultiTapeTM.encPair encParamInput (Turing.MultiTapeTM.encPair (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encNat Turing.MultiTapeTM.encBits))) encP)) (Turing.MultiTapeTM.encPair (Turing.MultiTapeTM.encOption Turing.MultiTapeTM.encNat) encP) fun (x : (ℕ × List Bool) × (List Bool × List Bool × ℕ × List Bool) × PolicyState) => match x with | ((n, ck), (ctx, nf, debit, cc), pst) => ((W.policy n ck).chooseRefund ctx nf debit cc).run pst
Spend-refund choice is uniform strict PPT in
(n, ck, ctx, nf, debit, cc, pst). - policyGrowth_polyBounded : Turing.MultiTapeTM.PolyBounded (fun (p : ℕ × List Bool) => (encParamInput p).length) fun (p : ℕ × List Bool) => policyGrowth p.1 p.2
Per-call encoded
PolicyStategrowth allowance is polynomially bounded. - agreeIssue_state_le (n : ℕ) (ck ctx hint : List Bool) (pst : PolicyState) (res : Option ℕ × PolicyState) : res ∈ (((W.policy n ck).agreeIssue ctx hint).run pst).eval.support → (encP res.2).length ≤ (encP pst).length + policyGrowth n ((Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits Turing.MultiTapeTM.encBits) (ctx, hint))
Every
.agreeIssueoutcome growsencP pstby at mostpolicyGrowth n (ctx, hint). - chooseRefund_state_le (n : ℕ) (ck ctx nf : List Bool) (debit : ℕ) (cc : List Bool) (pst : PolicyState) (res : Option ℕ × PolicyState) : res ∈ (((W.policy n ck).chooseRefund ctx nf debit cc).run pst).eval.support → (encP res.2).length ≤ (encP pst).length + policyGrowth n ((Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encNat Turing.MultiTapeTM.encBits))) (ctx, nf, debit, cc))
Every
.chooseRefundoutcome growsencP pstby at mostpolicyGrowth n (ctx, nf, debit, cc).
Stateful handler for bridgeAdversaryWord: executes policy state, ticket checks, (V4)
< bound n checks, and forwards accepted .issue / .spend requests to the external
Conservation word oracle with 1 + sigBound n tgt.length prefix truncation.
Uniform word realization of IssuerBridge.bridgeAdversary.
Polynomial-time and oracle-PPT certificates #
bridgeAdversaryWord is uniform strict oracle PPT whenever sigBound, com, tag,
policy, bound, and A are efficient.
Exact PMF law equalities and asymptotic word-level conservation theorem #
Exact simulation equality at bit-string word instances: running Conservation's extracted
conservation experiment on (bridgeAdversaryWord ... A).toTyped n ck produces the exact same
Boolean law as running it on IssuerBridge.bridgeAdversary ... (A.toTyped n ck), covering the
certified word program's single unforgeability/binding world whenever sigBound bounds S.sign
outputs.
Word-level extracted draft-style VOLE-ACT credit-conservation game: sample ck ← sampleList n
and execute extractedDraftConservationExperiment with wordNoteCom H n ck,
pairScheme S wordTag n, policy.policy n ck, bound n, and A.toTyped n ck.
Exact PMF law equality equating extractedDraftConservationWordGame with
Conservation.extractedConservationWordGame running bridgeAdversaryWord.
Word-level draft-issuer credit conservation in extractedDraftConservationWordGame, proved
directly from S.EUFCMA, CollisionResistant H, and the uniform strict PPT certificates for
H, policy, bound, and A, introducing no new hardness assumptions.