Sequential composition of bounded probabilistic iteration #
Library infrastructure (no cited result): splits OracleComp.iterate (a + b) step initial into
a prefix of a iterations followed by b iterations.
Main results #
Cslib.OracleComp.iterate_add: runninga + biterations equals runningaiterations and continuing withbiterations.
theorem Cslib.OracleComp.iterate_add {ι : Type u} {spec : OracleSpec ι} {State : Type v} (a b : ℕ) (step : State → OracleComp spec State) (initial : State) :
Library infrastructure (no cited result): running a + b iterations of step equals running
a iterations and continuing from the resulting state for b iterations.