Query-cost bounds for bounded probabilistic iteration #
Library infrastructure (no cited result): lifts a uniform per-step OracleComp.IsCostBounded
budget c to an additive budget count * c for OracleComp.iterate count step initial.
Main results #
Cslib.OracleComp.IsCostBounded.iterate:countiterations of steps bounded bycare cost-bounded bycount * c.
theorem Cslib.OracleComp.IsCostBounded.iterate {ι : Type u} {spec : OracleSpec ι} {State : Type v} {cost : ι → ℕ} {step : State → OracleComp spec State} {c : ℕ} (hstep : ∀ (s : State), IsCostBounded cost (step s) c) (count : ℕ) (initial : State) :
Library infrastructure (no cited result): count iterations of a step whose calls each cost
at most c are cost-bounded by count * c.