Orbits of a self-map on a finite type #
The quantitative facts every fixed-point iteration in this library rests on,
stated for a bare self-map f : α → α with no logic in sight:
- once an orbit plateaus it is constant
(
DescriptiveComplexity.iterate_eq_of_isFixedPt); - an orbit on a finite type repeats within
Nat.card αsteps (DescriptiveComplexity.exists_iterate_eq_of_finite), so if it ever reaches a fixed point, theNat.card α-th iterate already is one (DescriptiveComplexity.isFixedPt_iterate_card_iff) – the pigeonhole behind the partial fixed-point semantics; - an inflationary map on the subsets of a finite type reaches a fixed point
within
Nat.card Xsteps – the height of the subset lattice, not its size (DescriptiveComplexity.isFixedPt_iterate_card_of_subset), via the plateau of any monotone chain of subsets (DescriptiveComplexity.exists_succ_eq_of_monotone_subset, with the dualDescriptiveComplexity.exists_succ_eq_of_antitone_subsetfor descending refinement chains).
Consumers: the stages of DescriptiveComplexity.derivesIn
(DescriptiveComplexity.FixedPoint), the inflationary and partial iterations of
DescriptiveComplexity.StepDef (DescriptiveComplexity.FixedPointStep), and any
future exponential iteration (SO(LFP), SO(PFP)). Everything is stated over an
arbitrary starting point, so ascending chains from ⊥ and descending chains
from ⊤ are both instances.
Constancy from a plateau #
Once an orbit reaches a fixed point, it stays there: the orbit is constant from any index whose value is a fixed point.
Dependency graph
Pigeonhole: repeats and eventual periodicity #
An orbit on a finite type repeats within Nat.card α steps.
Dependency graph
If an orbit on a finite type ever reaches a fixed point, the
Nat.card α-th iterate already is one. This is what bounds the partial
fixed-point iteration: convergence, if it happens at all, happens within the
number of states.
Dependency graph
Monotone chains of subsets plateau within the cardinality #
The bound here is Nat.card X – the height of the subset lattice – rather
than the 2 ^ Nat.card X states a bare pigeonhole would give.
A monotone chain of subsets of a finite type plateaus within Nat.card X
steps.
Dependency graph
An antitone chain of subsets of a finite type plateaus within Nat.card X
steps: the dual of DescriptiveComplexity.exists_succ_eq_of_monotone_subset,
for descending refinement chains.
Dependency graph
An inflationary map on the subsets of a finite type reaches a fixed
point within Nat.card X steps, from any starting point: the chain of
iterates can only grow Nat.card X many times.