Documentation

CslibFrontier.Crypto.Protocols.AnonymousToken.ROBridgePolyTime.Conservation

Strict-PPT ROM Bridge for AnonymousToken.Conservation #

Realizes the straight-line AnonymousToken.Conservation VOLEitH conservation extraction reduction (extractedAdversaryWordOfROM) in word-level strict oracle PPT (isOraclePPT_extractedAdversaryWordOfROM), proves exact PMF equivalence with ROBridge.extractedAdversaryOfROM (eval_runWith_romConsToExtracted_eq), and derives the conditional single-repetition bound romUnextractedConservationWordGame_succProbability_le_negligible_add_of_soundnessError (not the cited end-to-end VOLE-ACT security theorem: as accept_le_of_soundnessError shows, at constant d, any statement with a non-witness in the image of decWit is accepted with probability at most 2 ^ d * ε_rel n for every prover; multi-repetition soundness remains open under #7068).

Section 4: AnonymousToken.Conservation ROM bridge #

theorem Cslib.Crypto.AnonymousToken.encROMIssueStatement_mk_budget {γ : Type} {encIn : γ ↪ List Bool} {budget : γ → ℕ} {x0 : γ → List Bool} {x1 : γ → ℕ} {x2 : γ → List Bool} (h0 : Turing.MultiTapeTM.ComputableInSpace x0 encIn Turing.MultiTapeTM.encBits budget) (h1 : Turing.MultiTapeTM.ComputableInSpace x1 encIn Turing.MultiTapeTM.encNat budget) (h2 : Turing.MultiTapeTM.ComputableInSpace x2 encIn Turing.MultiTapeTM.encBits budget) :
Turing.MultiTapeTM.ComputableInSpace (fun (x : γ) => { ctx := x0 x, amount := x1 x, commitment := x2 x }) encIn encROMIssueStatement budget
theorem Cslib.Crypto.AnonymousToken.encROMIssueStatement_amount_budget {γ✝ : Type} {encIn✝ : γ✝ ↪ List Bool} {S✝ : γ✝ → ℕ} {g✝ : γ✝ → ROMIssueStatement (List Bool) (List Bool)} :
theorem Cslib.Crypto.AnonymousToken.encROMIssueStatement_mk_inO {γ : Type} {encIn : γ ↪ List Bool} {x0 : γ → List Bool} {T0 S0 x1 T1 S1 : γ → ℕ} {x2 : γ → List Bool} {T2 S2 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInO x0 encIn Turing.MultiTapeTM.encBits T0 S0) (h1 : Turing.MultiTapeTM.ComputableInO x1 encIn Turing.MultiTapeTM.encNat T1 S1) (h2 : Turing.MultiTapeTM.ComputableInO x2 encIn Turing.MultiTapeTM.encBits T2 S2) :
Turing.MultiTapeTM.ComputableInO (fun (x : γ) => { ctx := x0 x, amount := x1 x, commitment := x2 x }) encIn encROMIssueStatement (fun (x : γ) => T0 x + (T1 x + T2 x)) fun (x : γ) => S0 x + (S1 x + S2 x)
theorem Cslib.Crypto.AnonymousToken.encROMIssueStatement_ctx_budget {γ✝ : Type} {encIn✝ : γ✝ ↪ List Bool} {S✝ : γ✝ → ℕ} {g✝ : γ✝ → ROMIssueStatement (List Bool) (List Bool)} :

Binary encoding of a public ROM issuance statement.

theorem Cslib.Crypto.AnonymousToken.encROMSpendStatement_ctx_budget {γ✝ : Type} {encIn✝ : γ✝ ↪ List Bool} {S✝ : γ✝ → ℕ} {g✝ : γ✝ → ROMSpendStatement (List Bool) (List Bool) (List Bool)} :
theorem Cslib.Crypto.AnonymousToken.encROMSpendStatement_mk_deg :
Turing.MultiTapeTM.ComputableInDegree (fun (p : List Bool × List Bool × ℕ × ℕ × List Bool) => { ctx := p.1, nullifier := p.2.1, debit := p.2.2.1, refund := p.2.2.2.1, changeCommitment := p.2.2.2.2 }) encROMSpendStatementFields encROMSpendStatement 1 1
theorem Cslib.Crypto.AnonymousToken.encROMSpendStatement_debit_budget {γ✝ : Type} {encIn✝ : γ✝ ↪ List Bool} {S✝ : γ✝ → ℕ} {g✝ : γ✝ → ROMSpendStatement (List Bool) (List Bool) (List Bool)} :
theorem Cslib.Crypto.AnonymousToken.encROMSpendStatement_mk_budget {γ : Type} {encIn : γ ↪ List Bool} {budget : γ → ℕ} {x0 x1 : γ → List Bool} {x2 x3 : γ → ℕ} {x4 : γ → List Bool} (h0 : Turing.MultiTapeTM.ComputableInSpace x0 encIn Turing.MultiTapeTM.encBits budget) (h1 : Turing.MultiTapeTM.ComputableInSpace x1 encIn Turing.MultiTapeTM.encBits budget) (h2 : Turing.MultiTapeTM.ComputableInSpace x2 encIn Turing.MultiTapeTM.encNat budget) (h3 : Turing.MultiTapeTM.ComputableInSpace x3 encIn Turing.MultiTapeTM.encNat budget) (h4 : Turing.MultiTapeTM.ComputableInSpace x4 encIn Turing.MultiTapeTM.encBits budget) :
Turing.MultiTapeTM.ComputableInSpace (fun (x : γ) => { ctx := x0 x, nullifier := x1 x, debit := x2 x, refund := x3 x, changeCommitment := x4 x }) encIn encROMSpendStatement budget
theorem Cslib.Crypto.AnonymousToken.encROMSpendStatement_mk_inO {γ : Type} {encIn : γ ↪ List Bool} {x0 : γ → List Bool} {T0 S0 : γ → ℕ} {x1 : γ → List Bool} {T1 S1 x2 T2 S2 x3 T3 S3 : γ → ℕ} {x4 : γ → List Bool} {T4 S4 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInO x0 encIn Turing.MultiTapeTM.encBits T0 S0) (h1 : Turing.MultiTapeTM.ComputableInO x1 encIn Turing.MultiTapeTM.encBits T1 S1) (h2 : Turing.MultiTapeTM.ComputableInO x2 encIn Turing.MultiTapeTM.encNat T2 S2) (h3 : Turing.MultiTapeTM.ComputableInO x3 encIn Turing.MultiTapeTM.encNat T3 S3) (h4 : Turing.MultiTapeTM.ComputableInO x4 encIn Turing.MultiTapeTM.encBits T4 S4) :
Turing.MultiTapeTM.ComputableInO (fun (x : γ) => { ctx := x0 x, nullifier := x1 x, debit := x2 x, refund := x3 x, changeCommitment := x4 x }) encIn encROMSpendStatement (fun (x : γ) => T0 x + (T1 x + (T2 x + (T3 x + T4 x)))) fun (x : γ) => S0 x + (S1 x + (S2 x + (S3 x + S4 x)))
theorem Cslib.Crypto.AnonymousToken.encROMIssueWitness_mk_budget {γ : Type} {encIn : γ ↪ List Bool} {budget : γ → ℕ} {x0 x1 : γ → List Bool} (h0 : Turing.MultiTapeTM.ComputableInSpace x0 encIn Turing.MultiTapeTM.encBits budget) (h1 : Turing.MultiTapeTM.ComputableInSpace x1 encIn Turing.MultiTapeTM.encBits budget) :
Turing.MultiTapeTM.ComputableInSpace (fun (x : γ) => { nullifier := x0 x, opening := x1 x }) encIn encROMIssueWitness budget
theorem Cslib.Crypto.AnonymousToken.encROMIssueWitness_opening_budget {γ✝ : Type} {encIn✝ : γ✝ ↪ List Bool} {S✝ : γ✝ → ℕ} {g✝ : γ✝ → ROMIssueWitness (List Bool) (List Bool)} :
theorem Cslib.Crypto.AnonymousToken.encROMIssueWitness_mk_inO {γ : Type} {encIn : γ ↪ List Bool} {x0 : γ → List Bool} {T0 S0 : γ → ℕ} {x1 : γ → List Bool} {T1 S1 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInO x0 encIn Turing.MultiTapeTM.encBits T0 S0) (h1 : Turing.MultiTapeTM.ComputableInO x1 encIn Turing.MultiTapeTM.encBits T1 S1) :
Turing.MultiTapeTM.ComputableInO (fun (x : γ) => { nullifier := x0 x, opening := x1 x }) encIn encROMIssueWitness (fun (x : γ) => T0 x + T1 x) fun (x : γ) => S0 x + S1 x

Binary encoding of a secret ROM issuance witness.

theorem Cslib.Crypto.AnonymousToken.encROMIssueWitness_nullifier_budget {γ✝ : Type} {encIn✝ : γ✝ ↪ List Bool} {S✝ : γ✝ → ℕ} {g✝ : γ✝ → ROMIssueWitness (List Bool) (List Bool)} :
theorem Cslib.Crypto.AnonymousToken.encROMSpendWitness_mk_budget {γ : Type} {encIn : γ ↪ List Bool} {budget x0 : γ → ℕ} {x1 : γ → List Bool} {x2 : γ → ℕ} {x3 x4 : γ → List Bool} {x5 : γ → ℕ} {x6 : γ → List Bool} (h0 : Turing.MultiTapeTM.ComputableInSpace x0 encIn Turing.MultiTapeTM.encNat budget) (h1 : Turing.MultiTapeTM.ComputableInSpace x1 encIn Turing.MultiTapeTM.encBits budget) (h2 : Turing.MultiTapeTM.ComputableInSpace x2 encIn Turing.MultiTapeTM.encNat budget) (h3 : Turing.MultiTapeTM.ComputableInSpace x3 encIn Turing.MultiTapeTM.encBits budget) (h4 : Turing.MultiTapeTM.ComputableInSpace x4 encIn Turing.MultiTapeTM.encBits budget) (h5 : Turing.MultiTapeTM.ComputableInSpace x5 encIn Turing.MultiTapeTM.encNat budget) (h6 : Turing.MultiTapeTM.ComputableInSpace x6 encIn Turing.MultiTapeTM.encBits budget) :
Turing.MultiTapeTM.ComputableInSpace (fun (x : γ) => { oldCredit := x0 x, oldOpening := x1 x, oldRefund := x2 x, signature := x3 x, newNullifier := x4 x, newCredit := x5 x, newOpening := x6 x }) encIn encROMSpendWitness budget
theorem Cslib.Crypto.AnonymousToken.encROMSpendWitness_mk_deg :
Turing.MultiTapeTM.ComputableInDegree (fun (p : ℕ × List Bool × ℕ × List Bool × List Bool × ℕ × List Bool) => { oldCredit := p.1, oldOpening := p.2.1, oldRefund := p.2.2.1, signature := p.2.2.2.1, newNullifier := p.2.2.2.2.1, newCredit := p.2.2.2.2.2.1, newOpening := p.2.2.2.2.2.2 }) encROMSpendWitnessFields encROMSpendWitness 1 1
theorem Cslib.Crypto.AnonymousToken.encROMSpendWitness_mk_polyTime {γ : Type} {encIn : γ ↪ List Bool} {x0 : γ → ℕ} {x1 : γ → List Bool} {x2 : γ → ℕ} {x3 x4 : γ → List Bool} {x5 : γ → ℕ} {x6 : γ → List Bool} (h0 : Turing.MultiTapeTM.ComputableInPolyTime x0 encIn Turing.MultiTapeTM.encNat) (h1 : Turing.MultiTapeTM.ComputableInPolyTime x1 encIn Turing.MultiTapeTM.encBits) (h2 : Turing.MultiTapeTM.ComputableInPolyTime x2 encIn Turing.MultiTapeTM.encNat) (h3 : Turing.MultiTapeTM.ComputableInPolyTime x3 encIn Turing.MultiTapeTM.encBits) (h4 : Turing.MultiTapeTM.ComputableInPolyTime x4 encIn Turing.MultiTapeTM.encBits) (h5 : Turing.MultiTapeTM.ComputableInPolyTime x5 encIn Turing.MultiTapeTM.encNat) (h6 : Turing.MultiTapeTM.ComputableInPolyTime x6 encIn Turing.MultiTapeTM.encBits) :
Turing.MultiTapeTM.ComputableInPolyTime (fun (x : γ) => { oldCredit := x0 x, oldOpening := x1 x, oldRefund := x2 x, signature := x3 x, newNullifier := x4 x, newCredit := x5 x, newOpening := x6 x }) encIn encROMSpendWitness
theorem Cslib.Crypto.AnonymousToken.encROMSpendWitness_mk_inO {γ : Type} {encIn : γ ↪ List Bool} {x0 T0 S0 : γ → ℕ} {x1 : γ → List Bool} {T1 S1 x2 T2 S2 : γ → ℕ} {x3 : γ → List Bool} {T3 S3 : γ → ℕ} {x4 : γ → List Bool} {T4 S4 x5 T5 S5 : γ → ℕ} {x6 : γ → List Bool} {T6 S6 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInO x0 encIn Turing.MultiTapeTM.encNat T0 S0) (h1 : Turing.MultiTapeTM.ComputableInO x1 encIn Turing.MultiTapeTM.encBits T1 S1) (h2 : Turing.MultiTapeTM.ComputableInO x2 encIn Turing.MultiTapeTM.encNat T2 S2) (h3 : Turing.MultiTapeTM.ComputableInO x3 encIn Turing.MultiTapeTM.encBits T3 S3) (h4 : Turing.MultiTapeTM.ComputableInO x4 encIn Turing.MultiTapeTM.encBits T4 S4) (h5 : Turing.MultiTapeTM.ComputableInO x5 encIn Turing.MultiTapeTM.encNat T5 S5) (h6 : Turing.MultiTapeTM.ComputableInO x6 encIn Turing.MultiTapeTM.encBits T6 S6) :
Turing.MultiTapeTM.ComputableInO (fun (x : γ) => { oldCredit := x0 x, oldOpening := x1 x, oldRefund := x2 x, signature := x3 x, newNullifier := x4 x, newCredit := x5 x, newOpening := x6 x }) encIn encROMSpendWitness (fun (x : γ) => T0 x + (T1 x + (T2 x + (T3 x + (T4 x + (T5 x + T6 x)))))) fun (x : γ) => S0 x + (S1 x + (S2 x + (S3 x + (S4 x + (S5 x + S6 x)))))

Equivalence between ROMConservationQuery and the tagged sum of issue/spend statements.

@[reducible, inline]

Tagged sum encoding of ROMConservationQuery on bit strings.

Equivalence between ROMConservationWitness and the tagged sum of issue/spend witnesses.

@[reducible, inline]

Tagged sum encoding of ROMConservationWitness on bit strings.

theorem Cslib.Crypto.AnonymousToken.encWordROMConservationStmt_mk_inO {γ : Type} {encIn : γ ↪ List Bool} {x0 : γ → List Bool} {T0 S0 : γ → ℕ} {x1 : γ → ROMConservationQuery (List Bool) (List Bool) (List Bool)} {T1 S1 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInO x0 encIn Turing.MultiTapeTM.encBits T0 S0) (h1 : Turing.MultiTapeTM.ComputableInO x1 encIn encWordROMConservationQuery T1 S1) :
Turing.MultiTapeTM.ComputableInO (fun (x : γ) => { publicKey := x0 x, query := x1 x }) encIn encWordROMConservationStmt (fun (x : γ) => T0 x + T1 x) fun (x : γ) => S0 x + S1 x

Binary encoding of ROMConservationStmt pairing a public key and a conservation query.

Word-encoded client request for the unextracted ROM conservation game, pairing a public query with an arbitrary-length WordVOLEITHProof.

theorem Cslib.Crypto.AnonymousToken.encWordROMConservationRequest_mk_inO {γ : Type} {encIn : γ ↪ List Bool} {x0 : γ → ROMConservationQuery (List Bool) (List Bool) (List Bool)} {T0 S0 : γ → ℕ} {x1 : γ → WordVOLEITHProof} {T1 S1 : γ → ℕ} (h0 : Turing.MultiTapeTM.ComputableInO x0 encIn encWordROMConservationQuery T0 S0) (h1 : Turing.MultiTapeTM.ComputableInO x1 encIn encWordVOLEITHProof T1 S1) :
Turing.MultiTapeTM.ComputableInO (fun (x : γ) => { query := x0 x, proof := x1 x }) encIn encWordROMConservationRequest (fun (x : γ) => T0 x + T1 x) fun (x : γ) => S0 x + S1 x

Canonical encoded ROMConservationStmt associated with issuer key pk and query q.

Target commitment committed/certified by a public ROMConservationQuery.

Target refund balance signed upon accepting a public ROMConservationQuery.

Target refund associated with an extracted Conservation.Request.

Convert (query, witness) directly into an extracted Conservation.Request, agreeing with romConservationToExtractedRequest on every proof.

Decode bit-string witnesses from rowLen n-bit VOLE rows via a total bit-word decoder.

@[reducible, inline]

Uniform word-level unextracted ROM credit-conservation adversary.

Fix the commitment-key component ck of a word-level conservation adversary.

noncomputable def Cslib.Crypto.AnonymousToken.romConsAdversaryToTypedBounded (d : ℕ) (sdLen comLen rowLen chalLen pkBound : ℕ → ℕ) (A : WordROMConservationAdversary) (n : ℕ) (ck pk : List Bool) :
ProbOracleComp (ROMConservationSpec (List Bool) (List Bool) (List Bool) d (sdLen n) (comLen n) (rowLen n) (List Bool) (List Bool) (List Bool) (List Bool) (BitString (chalLen n)) (List Bool)) (List Bool)

Length-gated wrapper around romConsAdversaryToTyped that outputs [] (making zero queries) when pk.length > pkBound n, giving uniform query bounds across all public keys pk.

noncomputable def Cslib.Crypto.AnonymousToken.extractedAdversaryWordOfROM (d : ℕ) (sdLen comLen rowLen chalLen : ℕ → ℕ) (expand decWit : ℕ → List Bool → List Bool) (chalToIdx : ℕ → List Bool → Fin (2 ^ d)) (checkRel : ℕ → List Bool → List Bool → (Fin d → List Bool) → List Bool → List Bool → List Bool → Bool) (sigBound : ℕ → ℕ → ℕ) (A : WordROMConservationAdversary) :

Word-level straight-line extracted Conservation.WordExtractedAdversary compiled from a WordROMConservationAdversary.

theorem Cslib.Crypto.AnonymousToken.isOraclePPT_extractedAdversaryWordOfROM (d : ℕ) (sdLen comLen rowLen chalLen : ℕ → ℕ) (hsdLen : Turing.MultiTapeTM.ComputableInPolyTime sdLen Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encUnary) (hcomLen : Turing.MultiTapeTM.ComputableInPolyTime comLen Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encUnary) (hrowLen : Turing.MultiTapeTM.ComputableInPolyTime rowLen Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encUnary) (hchalLen : Turing.MultiTapeTM.ComputableInPolyTime chalLen Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encUnary) (expand decWit : ℕ → List Bool → List Bool) (hexpand : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : ℕ × List Bool) => expand p.1 p.2) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encBits) Turing.MultiTapeTM.encBits) (hdecWit : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : ℕ × List Bool) => decWit p.1 p.2) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encBits) Turing.MultiTapeTM.encBits) (chalToIdx : ℕ → List Bool → Fin (2 ^ d)) (hchalToIdx : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : ℕ × List Bool) => chalToIdx p.1 p.2) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encBits) (Turing.MultiTapeTM.encFinEnum (Fin (2 ^ d)))) (checkRel : ℕ → List Bool → List Bool → (Fin d → List Bool) → List Bool → List Bool → List Bool → Bool) (hcheckRel : Turing.MultiTapeTM.ComputableInPolyTime (fun (x : (ℕ × List Bool) × List Bool × (Fin d → List Bool) × List Bool × List Bool × List Bool) => match x with | ((n, ck), stmt, cols, uVec, preMsg, chal) => checkRel n ck stmt cols uVec preMsg chal) (Turing.MultiTapeTM.encPair encParamInput (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits (Turing.MultiTapeTM.encPair (encWordCols d) encVOLECheckTail))) Turing.MultiTapeTM.encBool) (sigBound : ℕ → ℕ → ℕ) (hsigBound : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : ℕ × ℕ) => sigBound p.1 p.2) encNatPair Turing.MultiTapeTM.encUnary) (A : WordROMConservationAdversary) (hA : Probability.IsOraclePPT Turing.MultiTapeTM.encBits A) :
Probability.IsOraclePPT Turing.MultiTapeTM.encBits (extractedAdversaryWordOfROM d sdLen comLen rowLen chalLen expand decWit chalToIdx checkRel sigBound A)

Straight-line extraction of any efficient WordROMConservationAdversary preserves IsOraclePPT into Conservation.WordExtractedAdversary.

noncomputable def Cslib.Crypto.AnonymousToken.romUnextractedConservationHandlerWord (d : ℕ) (sdLen comLen rowLen chalLen : ℕ → ℕ) (expand : ℕ → List Bool → List Bool) (chalToIdx : ℕ → List Bool → Fin (2 ^ d)) (checkRel : ℕ → List Bool → List Bool → (Fin d → List Bool) → List Bool → List Bool → List Bool → Bool) (S : WordSignatureScheme) (n : ℕ) (ck : List Bool) (keys : List Bool × List Bool) (op : ROMWordOp × List Bool) :

Word-level random-oracle and signing handler for the unextracted anonymous-token conservation experiment.

noncomputable def Cslib.Crypto.AnonymousToken.runROMUnextractedConservationWord (d : ℕ) (sdLen comLen rowLen chalLen : ℕ → ℕ) (expand : ℕ → List Bool → List Bool) (chalToIdx : ℕ → List Bool → Fin (2 ^ d)) (checkRel : ℕ → List Bool → List Bool → (Fin d → List Bool) → List Bool → List Bool → List Bool → Bool) (S : WordSignatureScheme) (A : WordROMConservationAdversary) (n : ℕ) (ck : List Bool) :

Execute a word-level conservation adversary A against romUnextractedConservationHandlerWord at commitment key ck and security parameter n.

noncomputable def Cslib.Crypto.AnonymousToken.romUnextractedConservationWordGame (d : ℕ) (sdLen comLen rowLen chalLen : ℕ → ℕ) (expand : ℕ → List Bool → List Bool) (chalToIdx : ℕ → List Bool → Fin (2 ^ d)) (checkRel : ℕ → List Bool → List Bool → (Fin d → List Bool) → List Bool → List Bool → List Bool → Bool) (S : WordSignatureScheme) (A : WordROMConservationAdversary) (n : ℕ) :

Word-level unextracted anonymous-token conservation game in the random oracle model: samples commitment key ck ← BitString.sampleList n, runs runROMUnextractedConservationWord, and checks romConservationAccept.

theorem Cslib.Crypto.AnonymousToken.romUnextractedConservationWordGame_succProbability_le_negligible_add_of_soundnessError (S : WordSignatureScheme) (hS : S.EUFCMA) (H : List Bool → List Bool → List Bool) (hH : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : List Bool × List Bool) => H p.1 p.2) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits Turing.MultiTapeTM.encBits) Turing.MultiTapeTM.encBits) (hHCR : CollisionResistant H) (d : ℕ) (sdLen comLen rowLen chalLen : ℕ → ℕ) (hsdLen : Turing.MultiTapeTM.ComputableInPolyTime sdLen Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encUnary) (hcomLen : Turing.MultiTapeTM.ComputableInPolyTime comLen Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encUnary) (hrowLen : Turing.MultiTapeTM.ComputableInPolyTime rowLen Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encUnary) (hchalLen : Turing.MultiTapeTM.ComputableInPolyTime chalLen Turing.MultiTapeTM.encUnary Turing.MultiTapeTM.encUnary) (hcomNeg : Negligible fun (n : ℕ) => (2 ^ comLen n)⁻¹) (expand decWit : ℕ → List Bool → List Bool) (hexpand : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : ℕ × List Bool) => expand p.1 p.2) encParamInput Turing.MultiTapeTM.encBits) (hdecWit : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : ℕ × List Bool) => decWit p.1 p.2) encParamInput Turing.MultiTapeTM.encBits) (chalToIdx : ℕ → List Bool → Fin (2 ^ d)) (hchalToIdx : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : ℕ × List Bool) => chalToIdx p.1 p.2) encParamInput (Turing.MultiTapeTM.encFinEnum (Fin (2 ^ d)))) (checkRel : ℕ → List Bool → List Bool → (Fin d → List Bool) → List Bool → List Bool → List Bool → Bool) (hcheckRel : Turing.MultiTapeTM.ComputableInPolyTime (fun (x : (ℕ × List Bool) × List Bool × (Fin d → List Bool) × List Bool × List Bool × List Bool) => match x with | ((n, ck), stmt, cols, uVec, preMsg, chal) => checkRel n ck stmt cols uVec preMsg chal) (Turing.MultiTapeTM.encPair encParamInput (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits (Turing.MultiTapeTM.encPair (encWordCols d) encVOLECheckTail))) Turing.MultiTapeTM.encBool) {ε_rel : ℕ → NNReal} (hSound : ∀ (n : ℕ) (ck : List Bool), Protocols.VOLE.VOLEITHSoundnessError (wordConsDecWitBit rowLen decWit n) (wordChalToIdxBit d chalLen chalToIdx n) (romConservationRel (Conservation.wordNoteCom H n ck) Prod.mk (Conservation.pairScheme S Conservation.wordTag n)) (wordVOLECheckRelBit d rowLen chalLen (⇑encWordROMConservationStmt) checkRel n ck) (ε_rel n)) (A : WordROMConservationAdversary) (hA : Probability.IsOraclePPT Turing.MultiTapeTM.encBits A) (m Q_leaf Q_FS : ℕ → ℕ) (hmPoly : PolynomiallyBounded m) (hQleafPoly : PolynomiallyBounded Q_leaf) (hQFSPoly : PolynomiallyBounded Q_FS) (hm : ∀ (n : ℕ) (pk ck : List Bool), OracleComp.IsCostBounded (Sum.elim (fun (x : ℕ) => 0) (romWordOpCost ROMWordOp.sign)) (A n (encWordPair (pk, ck))) (m n)) (hleaf : ∀ (n : ℕ) (pk ck : List Bool), OracleComp.IsCostBounded (Sum.elim (fun (x : ℕ) => 0) (romWordOpCost ROMWordOp.leaf)) (A n (encWordPair (pk, ck))) (Q_leaf n)) (hfs : ∀ (n : ℕ) (pk ck : List Bool), OracleComp.IsCostBounded (Sum.elim (fun (x : ℕ) => 0) (romWordOpCost ROMWordOp.fs)) (A n (encWordPair (pk, ck))) (Q_FS n)) :
∃ (neg : ℕ → NNReal), Negligible neg ∧ ∀ (n : ℕ), Game.succProbability (romUnextractedConservationWordGame d sdLen comLen rowLen chalLen expand chalToIdx checkRel S A n).eval ≤ neg n + ↑(Q_FS n + m n) * ε_rel n

Conditional single-repetition transfer bound (not the cited end-to-end VOLE-ACT security theorem): if S is EUF-CMA, H is collision resistant and poly-time, the VOLE parameters are poly-time with negligible 2 ^ (-comLen n), the single-repetition check has VOLEITHSoundnessError ε_rel, and the IsOraclePPT word-level ROM adversary A makes at most m n signing queries, Q_leaf n leaf queries, and Q_FS n Fiat–Shamir queries (each polynomially bounded), then romUnextractedConservationWordGame advantage is bounded by neg n + ((Q_FS n + m n : ℕ) : ℝ≥0) * ε_rel n for a negligible function neg. The bound is informative when ((Q_FS n + m n : ℕ) : ℝ≥0) * ε_rel n < 1; as accept_le_of_soundnessError shows, at constant depth d, any statement with a non-witness in the image of decWit is accepted with probability at most 2 ^ d * ε_rel n for every prover. Multi-repetition soundness remains open under #7068.