Documentation

CslibFrontier.Languages.Probabilistic.QueryCount.Iterate

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 #

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) :
IsCostBounded cost (OracleComp.iterate count step initial) (count * c)

Library infrastructure (no cited result): count iterations of a step whose calls each cost at most c are cost-bounded by count * c.