A simulating handler as one simple oracle #
A reduction often answers its adversary's queries with a stateful handler that draws private coins
and calls an outer oracle. Run against that oracle, the handler is a single stateful oracle on the
joint state (Cslib.ProbOracleComp.runWith_run_interpret). When a simpler oracle, on a state that
represents both the handler's state and the outer oracle's, answers each query as one call of the
handler does, the whole run is the simple oracle's run with its final state represented.
Main results #
Cslib.ProbOracleComp.runWith_run_interpret_map: a handler run against its outer oracle is a simple oracle's run, when they agree on each call.
A stateful handler that draws private coins and calls an outer oracle, run against that oracle,
is a run of a simple oracle whose state s represents the handler's state rep₂ s and the outer
oracle's state repE s, when each call of the simple oracle maps to one call of the handler.