Polynomial-time reduction witnesses for VOLE-ACT-MQ credit conservation #
This module certifies the reduction components of
Cslib.Crypto.AnonymousToken.ACTMQ (CslibFrontier/Crypto/Protocols/AnonymousToken/ACTMQ.lean) in
the uniform strict-PPT / oracle-PPT word calculus (tracked under #7068):
Cslib.Crypto.AnonymousToken.ACTMQ.rangeBoundedAdversaryWord(ACTMQ.rangeBoundedAdversary): enforces(V4)range checksrequestInRange (bound n)with binaryencNatbounds and truncated oracle repliesList.take (replyBound n (keys.length + req.2.length) + 1).Cslib.Crypto.AnonymousToken.ACTMQ.clawReductionWord(ACTMQ.clawReduction): uniform strict oracle-PPT structured-target one-more claw reduction outputting encodedWordClawClaimlists.Cslib.Crypto.AnonymousToken.ACTMQ.gCollisionReductionWord(ACTMQ.gCollisionReduction) andCslib.Crypto.AnonymousToken.ACTMQ.gCollisionFinderWord: uniform strict-PPTG-collision extractor targetingCollisionResistantFor.Cslib.Crypto.AnonymousToken.ACTMQ.WordActMQOps.actNoteForgerWord: uniform strict oracle-PPT ACT-MQ instantiation ofConservation.noteForgerwithisOraclePPTOn_actNoteForgerWordandWordActMQOps.eval_runExtracted_actNoteForgerWord_eq.
As in PolyTime and RandomTargetPolyTime, word-level adversaries emit arbitrary bit strings
processed by total decoders (WordClawAdversary.toTyped via wordPairDecoder,
wordClawClaimListDecoder, and decMsg; toActTyped via Conservation.wordRequestDecoder and
Decoder.pair decMsg decTail), rather than rejecting non-codeword syntax under a PartialDecoder.
Combining the novel word-level assumption WordStructuredClawUnforgeable with standard
setup-parameterized CollisionResistantFor (CollisionResistant.lean, [BonehShoup2023]
Section 8.1.1) via WordActMQOps.actMQConservationWordGame_succProbability_le yields asymptotic
(V4) range-bounded VOLE-ACT-MQ credit conservation in
negligible_actMQConservationWordGame_of_wordStructuredClawUnforgeable (built over
ACTMQ.actMQConservation_succProbability_le while preserving finite-field Set.InjOn support
without global Function.Injective).
Encodings, total decoders, and word claw game #
Encode a WordClawClaim with bit-string fields (same layout as
encPair encBits (encPair encBits encBits)).
Encode a list of word-level claw claims.
Total decoder for encWordClawClaimList, parsing any bit string via Decoder.list.
Lift a WordSignatureScheme at parameter n along encT : Target → List Bool to a typed
Signature.Scheme signing encoded targets.
Any targetScheme lifted from a WordSignatureScheme satisfies Signature.Scheme.Correct.
A word-level adversary in the structured-target one-more claw game: given
encWordPair (spk, paramWord), queries encWordPair (mWord, opening) and returns an encoded
encWordClawClaimList.
Interpret a word-level claw adversary as a typed ACTMQ.ClawAdversary at (n, paramWord) by
processing every query through wordPairDecoder and decM and every output through
wordClawClaimListDecoder and decM (total decoding rather than rejecting non-codewords under
a PartialDecoder).
Word-level structured-target one-more claw game under parameter setup setup, target encoding
encPair (encMsg d) (encTail d), and total decoders decMsg d and wordClawClaimListDecoder.
Word-level structured-target one-more claw-freeness (novel to this library; closest sources
[BFM+25], Appendix A, Definition 12, p. 38, and [ZPS26], #proof-status and
#mq-zero-opening-forgery). Differs from Definition 12 in six respects:
- the oracle answers only structured
(m, r)queries onJ d m rrather than arbitrary targets (a weaker adversary); - the budget counts distinct
J-targets queried (queriedTargets.dedup.length < claims.length), stronger under randomized signers and required byclawReduction; - output distinctness requires pairwise distinct
J-targets (claimTargets.Nodup); - adversaries run in the uniform strict oracle-PPT class
IsOraclePPT encBitsover public inputsencWordPair (spk, encParam d)rather than non-uniform PPT; - queries and claim lists are processed by the total decoders
wordPairDecoder,wordClawClaimListDecoder, anddecMsg drather than rejecting non-codewords under aPartialDecoder; and setup : ℕ → PMF Paramis an arbitraryPMF Paramfamily rather than an efficiently samplable parameter generator.
Plausibility: in any accepting ACTMQ.clawAccept run, claimTargets are pairwise distinct and
satisfy queriedTargets.dedup.length < claims.length = claimTargets.length, so at least one
verified claim target was never queried to the signing oracle (an ordinary EUF-CMA forgery). Hence
WordStructuredClawUnforgeable follows from EUF-CMA of S on encoded targets whenever setup
is efficiently samplable and J is word-computable; it is stated separately because raw MQ
trapdoor signers (such as UOV without hashing/salting) are not EUF-CMA on raw targets.
No implication to or from [BFM+25] Definition 12 is established here. It is falsified
on the word-level game by echo signing
(AnonymousTokenACTMQPolyTime.not_wordStructuredClawUnforgeable_echoSigScheme); for the typed
clawExperiment (without a running-time certificate), ACTMQ.zeroOpeningClawAttack constructs an
attack whenever F 0 = 0, the verifier accepts homogeneously quadratic-rescaled signatures, and two
scalars with distinct squares exist.
Map the commitment field (issue.commitment / spend.changeCommitment) of a conservation
request.
Interpret a Conservation.WordExtractedAdversary with typed (Message × Tail) commitments at
(n, paramWord) by processing requests through Conservation.wordRequestDecoder and
Decoder.pair decM decT (total decoding rather than rejecting non-codewords under a
PartialDecoder).
Reduction 1: rangeBoundedAdversaryWord #
Uniform word-level realization of ACTMQ.rangeBoundedAdversary: decodes each Request word
via Conservation.wordRequestDecoder, checks requestInRange (bound n) against binary bound n,
returns encOption encBits none immediately when out of range, and otherwise forwards the query
with reply truncation replyBound n (keys.length + req.2.length) + 1.
rangeBoundedAdversaryWord is uniform strict oracle PPT whenever replyBound (unary), binary
bound (encNat), and A are polynomial-time.
Reduction 2: clawReductionWord #
Uniform word-level realization of ACTMQ.clawReduction: executes B against the claw oracle
and prepends the final output token as a WordClawClaim when it verifies on an unlogged J-target,
returning encWordClawClaimList [] otherwise.
clawReductionWord is uniform strict oracle PPT whenever sigBound, targetWord, embedWord,
and B are efficient.
At every (n, paramWord), (clawReductionWord ... B).toTyped decM n paramWord has the exact
PMF law of ACTMQ.clawReduction inside ACTMQ.runClaw on targetScheme S (encPair encM encT) n
and WordExtractedForgerOf.toTyped D (B.atKey paramWord) n.
Exact clawExperiment PMF law equality between clawReductionWord and ACTMQ.clawReduction.
Reduction 3: gCollisionReductionWord and CollisionResistantFor bridge #
Uniform word-level realization of ACTMQ.gCollisionReduction: runs bindingReductionWord on
targetWord and extracts the opening pair (w.first.opening, w.second.opening).
gCollisionReductionWord is uniform strict PPT in (n, paramWord) whenever targetWord
and B are efficient.
Exact PMF law equality between gCollisionReductionWord and ACTMQ.gCollisionReduction on
targetScheme S encT n.
Exact gCollisionExperiment PMF law equality for gCollisionReductionWord.
Parameterized CollisionFinderFor adapter built from gCollisionReductionWord by mapping
none to ([], []).
gCollisionFinderWord is uniform strict PPT in (n, encParam d).
Section 5: Word-level ACT-MQ primitives, actNoteForgerWord, and conservation #
Word-level computational implementation of VOLE-ACT-MQ cryptographic primitives
(F, G, encodeState, refundEmbed) relative to parameter encoding encParam, message decoders
decMsg, and tail decoders decTail.
Word-level canonicalizer
w ↦ encMsg d ((decMsg d).decode w).Word-level canonicalizer
w ↦ encTail d ((decTail d).decode w).Word-level addition
(w₁, w₂) ↦ encMsg d ((decMsg d).decode w₁ + (decMsg d).decode w₂).Word-level public map
F:(paramWord, r) ↦ encMsg d (F d r).Word-level binding hash
G:(paramWord, r) ↦ encTail d (G d r).Word-level state encoder
(paramWord, nf, ctx, t) ↦ encMsg d (encodeState d nf ctx t).Word-level refund encoder
(paramWord, x) ↦ encMsg d (refundEmbed d x).- canonMsgWord_polyTime : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : List Bool × List Bool) => self.canonMsgWord p.1 p.2) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits Turing.MultiTapeTM.encBits) Turing.MultiTapeTM.encBits
- canonTailWord_polyTime : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : List Bool × List Bool) => self.canonTailWord p.1 p.2) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits Turing.MultiTapeTM.encBits) Turing.MultiTapeTM.encBits
- addMsgWord_polyTime : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : List Bool × List Bool × List Bool) => self.addMsgWord p.1 p.2.1 p.2.2) encWordTriple Turing.MultiTapeTM.encBits
- fWord_polyTime : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : List Bool × List Bool) => self.fWord p.1 p.2) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits Turing.MultiTapeTM.encBits) Turing.MultiTapeTM.encBits
- gWord_polyTime : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : List Bool × List Bool) => self.gWord p.1 p.2) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits Turing.MultiTapeTM.encBits) Turing.MultiTapeTM.encBits
- encodeStateWord_polyTime : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : List Bool × Conservation.ComInput) => self.encodeStateWord p.1 p.2.nullifier p.2.context p.2.credit) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits Conservation.encComInput) Turing.MultiTapeTM.encBits
- refundEmbedWord_polyTime : Turing.MultiTapeTM.ComputableInPolyTime (fun (p : List Bool × ℕ) => self.refundEmbedWord p.1 p.2) (Turing.MultiTapeTM.encPair Turing.MultiTapeTM.encBits Turing.MultiTapeTM.encNat) Turing.MultiTapeTM.encBits
- canonMsgWord_eq (d : Param) (w : List Bool) : self.canonMsgWord (encParam d) w = (encMsg d) ((decMsg d).decode w)
- canonTailWord_eq (d : Param) (w : List Bool) : self.canonTailWord (encParam d) w = (encTail d) ((decTail d).decode w)
- encodeStateWord_eq (d : Param) (nf ctx : List Bool) (t : ℕ) : self.encodeStateWord (encParam d) nf ctx t = (encMsg d) (encodeState d nf ctx t)
- refundEmbedWord_eq (d : Param) (x : ℕ) : self.refundEmbedWord (encParam d) x = (encMsg d) (refundEmbed d x)
Word-level realization of ACTMQ.actCom.
Word-level realization of ACTMQ.actEmbed.
Word-level realization of UOV.structuredTarget F G.
Word-level Conservation.acceptRequest check for VOLE-ACT-MQ over WordActMQOps and S.
Word-level semantic note-forgery reduction corresponding to Conservation.noteForger on
VOLE-ACT-MQ: instantiates Conservation.noteForgerWordOf with actNoteForgerHandlerWord.
actNoteForgerWord is uniform strict oracle PPT whenever sigBound, ops, and A are
efficient.
Exact runExtracted PMF law equality between actNoteForgerWord and
Conservation.noteForger on targetScheme at (actCom, actTag).
Under clawExperiment, running clawReductionWord on ops.actNoteForgerWord and
rangeBoundedAdversaryWord matches ACTMQ.clawReduction on Conservation.noteForger and
ACTMQ.rangeBoundedAdversary.
Under collisionExperiment (CollisionResistantFor), running gCollisionFinderWord on
ops.actNoteForgerWord and rangeBoundedAdversaryWord matches ACTMQ.gCollisionExperiment on
ACTMQ.gCollisionReduction applied to Conservation.noteForger and rangeBoundedAdversary.
Word-level (V4) range-bounded extracted credit-conservation game for VOLE-ACT-MQ over
parameter setup setup, range bound bound, domain maps (F, G, encodeState, refundEmbed),
and word signature scheme S.
Concrete single-parameter advantage reduction from actMQConservationWordGame to
clawWordGame and collisionGameFor.
Asymptotic credit conservation for VOLE-ACT-MQ in the extracted model (#7068): assuming
WordStructuredClawUnforgeable on UOV.structuredTarget F G, CollisionResistantFor on G,
efficient encParam, binary-encoded range bound bound, efficient domain ops ops, and
(V4)-range injectivity hembed on supported setup parameters, every oracle-PPT adversary A has
negligible winning probability in actMQConservationWordGame. Because
WordStructuredClawUnforgeable fails when zero-opening rescaling applies, this bound is
informative only for (F, G, S) instantiations where zero-opening rescaling is blocked.