Priority cancellation runs #
Blum's speedup theorem uses a priority construction, as do many diagonal constructions in
abstract complexity theory. Stage by stage, a run cancels indices. At stage y it cancels the
least index i in [u, y] that is eligible at y and has not been cancelled before. An
override predicate can suppress a stage, in which case nothing is cancelled there.
This file defines the run canc E ov u y for an arbitrary eligibility predicate E i y and
override ov y, and proves the facts the speedup construction needs:
canc_eq_some,canc_eq_none: the specification of a stage.computable_canc: the run is computable wheneverEandovare.canc_congr: the run up to stagexdepends only onE i yforu ≤ i ≤ y ≤ x.eventually_not_eligible: in a run without overrides, an index that is never cancelled is eligible at only finitely many stages.canc_override: a run started atuwith overrides exactly at the stages where the run from0cancels an index belowucancels the same indices≥ uas the run from0.
Main definitions #
Cslib.BlumComplexity.Cancellation.canc: the index cancelled at a stage, if any.
References #
Bounded search #
The priority run #
The run is computable, uniformly in a parameter, whenever the eligibility predicate and the override are.
Starting at u, with an override exactly at the stages where the run from 0 cancels an
index below u, reproduces the cancellations ≥ u of the run from 0.