Documentation

CslibFrontier.Foundations.Combinatorics.FunctionalGraph.PeriodicPts

Periodic points: perturbation and monotone quantities #

Two facts about the periodic points (Function.periodicPts) of an endomap f of an arbitrary type, complementing the finite-orbit API of CslibFrontier.Foundations.Combinatorics.FunctionalGraph and CslibFrontier.Foundations.Combinatorics.FunctionalGraph.Cycle:

The first is used for top trading cycles, where one agent's misreport changes the pointer map at that agent only, and the second for budget balance of competitive housing allocations.

Main results #

theorem Cslib.FunctionalGraph.iterate_eq_of_forall_lt {α : Type u} {f g : α → α} {x : α} {m : ℕ} (h : ∀ j < m, f (f^[j] x) = g (f^[j] x)) :
f^[m] x = g^[m] x

If g agrees with f at the first m points of the orbit of x under f, then the m-th iterates of f and g agree at x.

If g agrees with f at every periodic point of f, then every periodic point of f is a periodic point of g.

theorem Cslib.FunctionalGraph.apply_le_of_mem_periodicPts {α : Type u} {f : α → α} {β : Type v} [Preorder β] {s : Set α} (hs : Set.MapsTo f s s) {q : α → β} (hq : ∀ y ∈ s, q y ≤ q (f y)) {x : α} (hx : x ∈ Function.periodicPts f) (hxs : x ∈ s) :
q (f x) ≤ q x

A quantity q that never decreases along f on an f-invariant set s does not increase in one step from a periodic point in s; hence it is constant on every cycle of f inside s.