Fuel Monotonicity, Truncation Bounds, and Pull-to-Push Bridge for UC Execution #
This module proves fuel-monotonicity, truncation-error, and halting-stability properties for the
single-token push runtime in CslibFrontier/Crypto/Protocols/UC/PushExecution.lean, together with
a 3-node pull-to-push execution bridge from Cslib.Crypto.Protocols.UC.exec to PushSystem
(call-bounded, fixed 3-node set, non-PPT scheduler step; #6043 remains open).
Main definitions #
Cslib.Crypto.Protocols.UC.Push.UCMsg: messages exchanged between environment, adversary, and corruption-routed protocol in the 3-node push embedding ofUC.exec.Cslib.Crypto.Protocols.UC.Push.ucPushSystem: explicit 3-nodePushSystem(0= environment,1= adversary,2=corruptRouter C (π κ C)) realizing sequentialUC.exec.
Main results #
Cslib.Crypto.Protocols.UC.Push.eval_pushRun_some_mono,Cslib.Crypto.Protocols.UC.Push.support_pushRun_some_mono,Cslib.Crypto.Protocols.UC.Push.eval_pushRun_none_antitone: fuel monotonicity of halted output probabilities and supports, and antitonicity of the timeout probabilitynone.Cslib.Crypto.Protocols.UC.Push.eval_pushRun_some_le_add_none,Cslib.Crypto.Protocols.UC.Push.abs_toReal_pushExec_sub_le: two-fuel truncation error bound relating thepushExecdifference to the earlier timeout probabilityPr[pushRun = none].Cslib.Crypto.Protocols.UC.Push.eval_pushRun_eq_of_none_eq_zero,Cslib.Crypto.Protocols.UC.Push.eval_pushExec_eq_of_none_eq_zero: halting stability once all reachable traces terminate withinfuel₀steps.Cslib.Crypto.Protocols.UC.Push.eval_pushRun_ucPushSystem,Cslib.Crypto.Protocols.UC.Push.eval_pushExec_ucPushSystem,Cslib.Crypto.Protocols.UC.Push.eval_pushExec_ucPushSystem_of_polyBounded: exact output distribution equality betweenucPushSystemandUC.execwhenfuelexceeds the query bound.
Fuel Monotonicity, Truncation Bounds, and Halting Stability #
Fuel monotonicity for pushRun: once the initial node can halt with some b, increasing the
step budget never decreases the probability of some b.
Support monotonicity for pushRun: any concrete outcome some b in the support at fuel₁
remains in the support at every fuel₂ ≥ fuel₁.
Antitonicity of timeout probability: the probability that pushRun returns none never
increases when additional fuel is supplied.
Two-fuel upper bound on some b: extra fuel can shift at most the earlier timeout mass
eval (pushRun S κ z fuel₁) none into some b.
Two-fuel truncation error bound for pushExec: when fuel₁ ≤ fuel₂, the difference in
acceptance probability is at most the probability that pushRun has not halted at fuel₁
steps. (By Game.coe_advantage, the left-hand side equals (Game.advantage _ _ : ℝ).)
Halting stability for pushRun: if the timeout probability at fuel₀ is zero, then the
entire output distribution is invariant for all fuel ≥ fuel₀.
Halting stability for pushExec: if the timeout probability at fuel₀ is zero, then the
output distribution of pushExec is invariant for all fuel ≥ fuel₀.
Pull-to-Push Bridge for UC.exec #
Messages exchanged in the 3-node push simulation of UC.exec:
0(environmentZ) sendspartyQueryto2(corruptRouter C π) andadvQueryto1(A);1(adversaryA) sendsnetQueryto2andadvReplyback to0;2(routed protocolcorruptRouter C π) sendspartyReplyback to0andnetReplyback to1.
- partyQuery {n : ℕ} {In Out NetQ NetR AdvQ AdvR : Type} (i : Fin n) (x : In) : UCMsg n In Out NetQ NetR AdvQ AdvR
- partyReply {n : ℕ} {In Out NetQ NetR AdvQ AdvR : Type} (o : Option Out) : UCMsg n In Out NetQ NetR AdvQ AdvR
- advQuery {n : ℕ} {In Out NetQ NetR AdvQ AdvR : Type} (q : AdvQ) : UCMsg n In Out NetQ NetR AdvQ AdvR
- advReply {n : ℕ} {In Out NetQ NetR AdvQ AdvR : Type} (r : AdvR) : UCMsg n In Out NetQ NetR AdvQ AdvR
- netQuery {n : ℕ} {In Out NetQ NetR AdvQ AdvR : Type} (q : RoutedNetQ n In NetQ) : UCMsg n In Out NetQ NetR AdvQ AdvR
- netReply {n : ℕ} {In Out NetQ NetR AdvQ AdvR : Type} (r : RoutedNetR Out NetR) : UCMsg n In Out NetQ NetR AdvQ AdvR
Library construction (no cited definition): explicit 3-node PushSystem embedding a
sequential UC.exec execution (0 = environment Z, 1 = adversary A, 2 = routed protocol
corruptRouter C (π κ C)), with all writes allowed. Call-bounded, fixed 3-node set, non-PPT
scheduler step (#6043 remains open).
Pull-to-push bridge for pushRun: when Z κ z makes at most bZ external queries,
each activation of A κ C makes at most tA calls, and fuel ≥ 2 * bZ * (tA + 1) + 1, the
3-node push execution ucPushSystem has the exact same output distribution as UC.exec
(wrapped in some). Call-bounded, fixed 3-node set, non-PPT scheduler step (#6043 remains
open).
Pull-to-push bridge for pushExec: under the same query bounds and fuel threshold
2 * bZ * (tA + 1) + 1 ≤ fuel, pushExec (ucPushSystem π A C Z) has the exact same Boolean
output distribution as UC.exec.
Pull-to-push bridge specialized to Environment.PolyBounded and Adversary.PolyBounded:
for any fuel ≥ 2 * (pZ.eval κ) * (pA.eval κ + 1) + 1, pushExec (ucPushSystem π A C Z)
matches UC.exec.