Malicious-issuer unlinkability for VOLE-ACT #
This module formalizes malicious-issuer unlinkability for VOLE-ACT ([VOLEACT2026], Protocol
Specification / Initial Issuance #issuance and Spending #spending) in the finite query-bounded
model (#7068), including:
- Protocol model (
OpeningCommitment,validStatement,multiProofZKRealGame/SimGame): explicit statement/witness relations enforcing(V1)(S.verify pk (tag c x) s),(V2)(c' = Com(nf', ctx, t', r')),(V3)(t' = t + x - d), and(V4)range checks (t, x, t', d < bound, with0 < T < boundat issuance andoldRefund = 0on newly issued tokens, aligning with the(V1)–(V4)checks ofAnonymousToken.ConservationandAnonymousToken.IssuerBridgewhile keeping this client-side statement-witness relation separate from extracted issuer accounting). - Adaptive malicious-issuer unlinkability (
unlinkabilityExperiment) and balance-partitioning attacks: an adversary chooses arbitrary(pk, ctx, T₀, T₁), interacts with both clients during issuance andpreRoundsadaptive pre-challenge spends, and then interacts with challenge threadb : BoolforchallengeSpendsrounds. BothbalancePartitionInitAdversary(T₀ ≠ T₁) andbalancePartitionRefundAdversary(T₀ = T₁, distinct pre-challenge refundsx'₀ ≠ x'₁) breakunguardedUnlinkabilityExperimentwithGame.advantage = 1, while the cross-branch non-abort guard inunlinkabilityExperimentcollapses both attacks toGame.advantage = 0. - Black-box adaptive unlinkability reduction (
unlinkabilityExperiment_advantage_le): constructing explicit query-bounded ZK distinguisherzkDistinguisher(≤ 2 + preRounds + challengeSpendsqueries) andTwoStagehiding reductionunlinkHidingReduction, provingAdv^unlink ≤ 2 * Adv^ZK + 2 * (2 + preRounds + challengeSpends) * Adv^hide(original to this library;[VOLEACT2026]#proof-statusleaves the unlinkability proof open). Here the leading factor of2arises fromGame.advantage_le_two_mul_uniform_bool_xorin the library's[0, 1]two-world advantage convention, and all2 + preRounds + challengeSpendsemitted commitments (reducing to2 + challengeSpendswhenpreRounds = 0) are replaced sequentially becausechoosePrechooses client branches adaptively.
Non-black-box G8 → G8.5 CRT witness-reuse decoupling lives in
CslibFrontier.Crypto.Protocols.AnonymousToken.CRTDecoupling. As in CRTHazard.lean and
CRTDecoupling.lean, all games and reductions here are finite query-bounded constructions
(#7068); asymptotic polynomial-time certificates are outside this module's scope.
Main definitions #
OpeningCommitment,OpeningCommitment.toScheme: deterministic-evaluation opening commitment.CommitMsg,CommitMsg.bumpBal,IssueStmt,IssueWit,SpendStmt,SpendWit,ProofStatement,ProofWitness,validStatement,ProverSystem,multiProofZKRealGame,multiProofZKSimGame.UnlinkAdversary,unlinkabilityExperiment,unguardedUnlinkabilityExperiment.balancePartitionInitAdversary,balancePartitionRefundAdversary.zkDistinguisher,unlinkHidingReduction.
Main results #
OpeningCommitment.toScheme_correct,CommitMsg.bumpBal_ne.balancePartitionInit_unguarded_advantage_eq_one,balancePartitionInit_guarded_advantage_eq_zero,balancePartitionRefund_unguarded_advantage_eq_one,balancePartitionRefund_guarded_advantage_eq_zero.zkDistinguisher_isQueryBounded,unlinkabilityExperiment_advantage_le.
References #
- VOLE-ACT, Protocol Specification / Initial Issuance (
#issuance), Spending (#spending), and Proof Status (#proof-status).
A commitment scheme whose evaluation algorithm eval ck m r is a deterministic function of
the commitment key, message, and sampled opening randomness r ← openSample.
Package an OpeningCommitment as a Commitment.Scheme.
Every honest opening emitted by Com.toScheme.commit passes Com.toScheme.verify.
Distinct message obtained by incrementing the note balance by 1, used in binding
reductions where two distinct messages must be committed to check collisions.
CommitMsg.bumpBal is always distinct from the original message.
Public statement for a VOLE-ACT spend proof ([ZPS26], #spending).
Secret witness for spending (t, r, x, s, nf', t', r') ([ZPS26], #spending).
Combined proof statement for either initial issuance or spending.
- issue {PK C Context Nullifier : Type} (st : IssueStmt C Context) : ProofStatement PK C Context Nullifier
Initial issuance statement.
- spend {PK C Context Nullifier : Type} (st : SpendStmt PK C Context Nullifier) : ProofStatement PK C Context Nullifier
Spend statement.
Combined proof witness for either initial issuance or spending.
- issue {O Sig Nullifier : Type} (w : IssueWit Nullifier O) : ProofWitness O Sig Nullifier
Initial issuance witness.
- spend {O Sig Nullifier : Type} (w : SpendWit O Sig Nullifier) : ProofWitness O Sig Nullifier
Spend witness.
Query passed to the multi-instance ZK proof oracle.
- stmt : ProofStatement PK C Context Nullifier
Public proof statement.
- wit : ProofWitness O Sig Nullifier
Prover's private witness.
Oracle specification returning some π on valid statements and none otherwise.
Boolean statement-witness relation enforcing (V1)–(V4) and issuance range 0 < T < bound
([ZPS26], #issuance and #spending).
Prover and simulator pair for the VOLE-ACT issuance/spend ZK proof system.
- prove : CommitKey → ProofStatement PK C Context Nullifier → ProofWitness O Sig Nullifier → ProbComp Proof
Real prover algorithm taking commitment key, statement, and witness.
- simulate : CommitKey → ProofStatement PK C Context Nullifier → ProbComp Proof
Zero-knowledge simulator taking only commitment key and public statement.
Real multi-instance ZK oracle returning none when validStatement = false and running
sys.prove otherwise.
Simulated multi-instance ZK oracle returning none when validStatement = false and running
sys.simulate on the statement alone otherwise.
Real multi-instance ZK distinguishing game.
Simulated multi-instance ZK distinguishing game.
Client note state maintained across issuance and spends.
Adversary response finalizing both client issuances with (s₀, s₁).
- s0 : Sig
Signature on client
0's initial token commitment. - s1 : Sig
Signature on client
1's initial token commitment. - st : State
Updated adversary state.
Adversary response finalizing a spend with refund x' and signature s'.
- refund : ℕ
Refund amount
x'chosen by the issuer. - sig : Sig
Signature
s'onTag(c', x'). - st : State
Updated adversary state.
Adaptive malicious-issuer unlinkability adversary choosing (pk, ctx, T₀, T₁), signing
both client issuances, issuing preRounds adaptive pre-challenge spends on chosen clients,
executing challengeSpends adaptive challenge-thread spends, and guessing the challenge bit.
- init : CommitKey → ProbComp (InitOutput PK Context State)
Setup choice
(pk, ctx, T₀, T₁)given commitment keyck. FinalizeIssue response given
(c₀, π₀)and(c₁, π₁).Select client (
false=0,true=1) and debit for pre-challenge roundi.FinalizeSpend response in pre-challenge round
ion(nf, d, c', π').Choose debit for challenge spend round
j.- finalizeChallenge : Fin challengeSpends → State → Nullifier → ℕ → C → Proof → ProbComp (SpendResp Sig State)
FinalizeSpend response in challenge spend round
jon(nf, d, c', π'). Final challenge-bit guess
b' : Bool.
Minimal simulator note state tracking only (nf, bal, ref), without commitment openings or
signatures (used by simulator hybrids and TwoStage hiding reductions).
Resumable continuation point right before commitment slot idx is evaluated into cStar.
- issue0 {PK Context C Nullifier Proof State : Type} {preRounds challengeSpends : ℕ} (b : Bool) (pk : PK) (ctx : Context) (t0 t1 : ℕ) (st : State) (nf0 : Nullifier) : SimContinuation PK Context C Nullifier Proof State preRounds challengeSpends
Paused immediately before client
0initial issuance commitment. - issue1 {PK Context C Nullifier Proof State : Type} {preRounds challengeSpends : ℕ} (b : Bool) (pk : PK) (ctx : Context) (t0 t1 : ℕ) (st : State) (nf0 : Nullifier) (c0 : C) (pi0 : Proof) (nf1 : Nullifier) : SimContinuation PK Context C Nullifier Proof State preRounds challengeSpends
Paused immediately before client
1initial issuance commitment. - pre {PK Context C Nullifier Proof State : Type} {preRounds challengeSpends : ℕ} (b : Bool) (pk : PK) (ctx : Context) (note0 note1 : SimNote Nullifier) (cClient : Bool) (d : ℕ) (st : State) (nfPrime : Nullifier) (tPrime i : ℕ) (hi : i < preRounds) : SimContinuation PK Context C Nullifier Proof State preRounds challengeSpends
Paused immediately before pre-challenge spend
icommitment. - chal {PK Context C Nullifier Proof State : Type} {preRounds challengeSpends : ℕ} (pk : PK) (ctx : Context) (noteAct : SimNote Nullifier) (balOther refOther : ℕ) (st : State) (d : ℕ) (nfPrime : Nullifier) (tPrime j : ℕ) (hj : j < challengeSpends) : SimContinuation PK Context C Nullifier Proof State preRounds challengeSpends
Paused immediately before challenge-phase spend
jcommitment. - done {PK Context C Nullifier Proof State : Type} {preRounds challengeSpends : ℕ} (res : Bool) : SimContinuation PK Context C Nullifier Proof State preRounds challengeSpends
Execution already terminated with final output
res.
Challenge-spend loop inside ProbOracleComp (ProofSpec ...) Bool.
Adaptive pre-challenge spend loop inside ProbOracleComp (ProofSpec ...) Bool, transitioning
into challengeLoopOracle once all preRounds complete.
Oracle-based adaptive unlinkability program queried against ProofOracle.
Guarded adaptive malicious-issuer unlinkability experiment (guardBoth = true, cross-branch
non-abort check enforced).
Unguarded adaptive malicious-issuer unlinkability experiment (guardBoth = false, active-branch
abort check only, exposing balance-partitioning attacks).
Negative balance-partitioning adversary with distinct initial balances T₀ = 2, T₁ = 1
and preRounds = 0: requests challenge debit d = 2, succeeding only when b = false.
Without the cross-branch non-abort guard, balancePartitionInitAdversary achieves
unlinkability advantage 1 whenever bound ≥ 3 and mkSig produces valid signatures under
pk.
With the cross-branch non-abort guard enabled, balancePartitionInitAdversary aborts
identically in both worlds and achieves unlinkability advantage 0.
Negative balance-partitioning adversary with equal initial balances T₀ = T₁ = 2 and
preRounds = 2: pre-spend 0 gives client 0 refund 2 (bal + ref = 3), pre-spend 1 gives
client 1 refund 0 (bal + ref = 1), and challenge spend requests debit 2.
Even when T₀ = T₁, omitting the cross-branch non-abort guard lets
balancePartitionRefundAdversary achieve advantage 1 whenever bound ≥ 5.
With the cross-branch non-abort guard enabled, balancePartitionRefundAdversary also aborts
identically in both worlds and achieves unlinkability advantage 0.
Explicit multi-instance ZK distinguisher for the adaptive unlinkability reduction (concrete
query-bounded step, #7068): draws a uniform challenge bit b ← Bool, runs unlinkOracleProgram
on b, and tests whether the adversary's output equals b (giving the factor of 2 via
Game.advantage_le_two_mul_uniform_bool_xor).
zkDistinguisher makes at most 2 + preRounds + challengeSpends calls to ProofOracle.
Private state preserved across the two stages of unlinkHidingReduction.
- ck : CommitKey
Commitment key
ck. - dummyNf : Nullifier
Sampled dummy nullifier used across dummy-message commitment slots.
- b : Bool
Sampled challenge bit
b. Sampled commitment hybrid slot
hop.- cont : SimContinuation PK Context C Nullifier Proof State preRounds challengeSpends
Continuation frozen immediately before commitment slot
hop.
Explicit TwoStage commitment-hiding reduction for the adaptive unlinkability reduction
(concrete query-bounded step, #7068): samples dummyNf ← nfGen, uniform challenge bit
b ← Bool, and random commitment hybrid slot hop ← Fin (2 + preRounds + challengeSpends), runs
the simulator up to hop, submits (msgReal, msgDummy) to Com.toScheme, and tests whether the
resumed adversary guesses b.
Adaptive malicious-issuer unlinkability reduction step (#7068), original to this library as
a finite query-bounded bound for [VOLEACT2026] (#issuance and #spending; [VOLEACT2026]
#proof-status leaves unlinkability open): for any adaptive adversary adv against
unlinkabilityExperiment,
Adv^unlink ≤ 2 * Adv^ZK + 2 * (2 + preRounds + challengeSpends) * Adv^hide
via zkDistinguisher and unlinkHidingReduction.
When preRounds = 0, the hiding factor specializes directly to 2 * (2 + challengeSpends).
The leading factor of 2 converts the [0, 1] two-world Game.advantage into [0, 1/2]
bit-guessing bias via Game.advantage_le_two_mul_uniform_bool_xor, and replacing all
2 + preRounds + challengeSpends emitted commitments sequentially via
Game.advantage_hybrid_average avoids guessing which pre-challenge spend terminates each client's
branch under adaptive choosePre (asymptotic certificates remain open under #7068).