Single-Token Push Execution for UC Interactive Machines #
This file defines the fuel-bounded single-token push runtime over a PushSystem of m reactive
nodes, iterating step S via OracleComp.iterate against the parallel composition
SSP.parFin (S.node κ) of the system's nodes.
The operational model follows the single-token activation model of [Can20a], §3.1.2 (JACM pp. 28:23–28:24) and §3.3.2, "Deleting ITIs" (JACM p. 28:33), with the following library conventions:
- All
mnodes are fixed in advance and initialized eagerly viaSSP.parFin. fuelcounts scheduler steps (including steps whose target is already ints.halted, which make no network query and return control toS.initial), not node activations or running time.pushRunreturnsOption Bool, yieldingnoneif the initial node has not halted withinfuelsteps;pushExecreadsnoneasfalse.
A three-node, query-bounded, sufficient-fuel pull-to-push bridge proving output-distribution
equality with CslibFrontier.Crypto.Protocols.UC.Execution lives in
CslibFrontier.Crypto.Protocols.UC.PushProperties (Push.eval_pushExec_ucPushSystem); arbitrary
push systems, converse simulation, timing, and computational running-time bounds (rather than
scheduler steps and oracle call counts) remain open under #6043.
Main definitions #
step: one scheduler step of a push system (together with its@[simp]branch equationsstep_of_output_isSome,step_of_mem_halted, andstep_of_not_mem_halted).pushRun: fuel-bounded push execution viaOracleComp.iterate fuel (step S), returningOption Bool.pushExec: fuel-bounded push execution returningBool(fuel exhaustion read asfalse).
Main results #
runFrom_iterate_step_succ_of_not_mem_halted,runFrom_iterate_step_succ_of_mem_halted,runFrom_iterate_step_of_output_isSome: three-branch operational unfolding ofOracleComp.iterate _ (step S)againstSSP.parFin, withrunFrom_iterate_step_succ_of_handle_eq_purefor deterministic handler steps.isQueryBounded_step,isQueryBounded_iterate_step,isQueryBounded_pushRun: query-count budgets for single steps,fuel-step runs, and closed push executions of bounded reactive nodes (call-count budgets only; computational polynomial time is open in#6043).eval_pushRun,eval_pushRun_of_init_pure,eval_pushRun_zero: output distribution ofpushRun, specialization to deterministic node initializers, and zero-fuel base case.
References #
- R. Canetti, Universally Composable Security, §3.1.2 (JACM pp. 28:23–28:24) and §3.3.2, "Deleting ITIs" (JACM p. 28:33).
Library construction (no cited definition): one scheduler step of a push system S from state
ts, in this library's push reading of [Can20a], §3.1.2 (JACM pp. 28:23–28:24) and §3.3.2,
"Deleting ITIs" (JACM p. 28:33). A finished run (ts.output.isSome) is left unchanged with no
network query. A halted target performs no operation and the initial node is activated next with
.resume (§3.3.2, "Deleting ITIs", of [Can20a], JACM p. 28:33), costing one unit of fuel and
making no network query (a library convention). Otherwise ts.target is activated with
ts.delivery (one query to the network, ending the activation at its outcome) and TokenState.next
applies its outcome.
Library infrastructure (no cited result): a finished run performs no network query and leaves the scheduler state unchanged.
Library infrastructure (no cited result): activating a halted non-initial node makes no
network query and returns control to the initial node with .resume.
Library infrastructure (no cited result): activating a running, non-halted node queries the
network once and applies TokenState.next.
Library construction (no cited definition): the single-token execution of a push system, in
this library's push reading of [Can20a], §3.1.2 (JACM pp. 28:23–28:24) and §3.3.2, "Deleting
ITIs" (JACM p. 28:33), narrower in having a fixed node set initialized eagerly, nodes addressed by
index, every write forced and sender-revealing, a control function over the allowed-write log, and
an activation that ends without a write returning control to the initial node (a library
convention). The result is the initial node's output bit, or none if it has not halted within
fuel steps (a library convention, where fuel counts scheduler steps rather than running time).
A three-node, query-bounded, sufficient-fuel pull-to-push bridge proving Boolean
output-distribution equality with CslibFrontier.Crypto.Protocols.UC.Execution is proved in
CslibFrontier.Crypto.Protocols.UC.PushProperties (Push.eval_pushExec_ucPushSystem); arbitrary
push systems, converse simulation, timing, and computational running-time bounds remain open under
#6043.
Library construction (no cited definition): the output bit of a push execution, in this
library's push reading of [Can20a], §3.1.2 (JACM pp. 28:23–28:24) and §3.3.2, "Deleting ITIs"
(JACM p. 28:33), narrower as in pushRun and with fuel exhaustion read as false (a library
convention).
Library infrastructure (no cited result): one scheduler step makes at most one network query (zero when the run has finished or the target is halted).
Library infrastructure (no cited result): a run of fuel scheduler steps makes at most
fuel network queries (activating nodes at most fuel times).
Library infrastructure (no cited result): when every node of S at security parameter κ has
per-activation call budget t, a fuel-step push run makes at most m * t + fuel * (m * t + 1)
coin draws (toward #6043; call-count budgets only, while computational polynomial-time UC
execution is open in #6043).
Library infrastructure (no cited result): one active scheduler step against SSP.parFin
runs ts.target's handler on ts.delivery, updates ts.target's state slot, and continues with
ts.next S.
Library infrastructure (no cited result): when ts.target's handler on ts.delivery
deterministically returns (out, v), one active scheduler step against SSP.parFin continues
with ts.next S out from the state s' obtained by writing v into ts.target's slot.
Library infrastructure (no cited result): one scheduler step on a halted target against
SSP.parFin makes no node activation and returns control to S.initial with .resume.
Library infrastructure (no cited result): once ts.output.isSome, any remaining scheduler
steps against SSP.parFin perform no node activation and return (ts, s) unchanged.
Library infrastructure (no cited result): the output distribution of pushRun binds the
joint initial-state distribution (SSP.parFin (S.node κ)).init.eval into the closed fuel-step
execution from that joint state. Unlike Cslib.Crypto.Protocols.SSP.eval_run, which translates a
run into an OracleComp.interpret over PMF handlers for state-simulation proofs, this lemma
keeps the Machine.closeProgram/Machine.runFrom form so callers can step
OracleComp.iterate _ (step S) directly via runFrom_iterate_step_succ_of_not_mem_halted,
runFrom_iterate_step_succ_of_mem_halted, and runFrom_iterate_step_of_output_isSome before
closing.
Library infrastructure (no cited result): when every node of S at security parameter κ
initializes deterministically to s₀ j, pushRun runs directly from the joint state s₀.
Library infrastructure (no cited result): a zero-fuel push run evaluates to PMF.pure none
(node initial states are sampled and discarded).