Documentation

ErgodicTheory.DrivenColumns

Driven columns: finite systems fed by an eventually periodic input #

A finite-valued sequence driven by an eventually periodic input is itself eventually periodic (Endrullis, Hendriks and Klop 2011), by a pigeonhole-and-propagate argument independent of any particular system. EventuallyPeriodic is defined here. The driven interior, the window form and the column of rule 90, stated for a local rule on all configurations of the line, are in ErgodicTheory/LocalRuleColumns.lean.

Main results #

def DrivenColumns.EventuallyPeriodic {α : Type u_1} (f : ℕ → α) :

Eventual periodicity of a ℕ-indexed sequence: a period P that holds from some point N on. Absent from Mathlib (Function.Periodic is the exact-periodicity form) and minted here.

Equations
Instances For

    The engine #

    theorem DrivenColumns.eventuallyPeriodic_of_driven {α : Type u_1} {ι : Type u_2} [Finite α] (g : α → ι → α) {u : ℕ → ι} {a : ℕ → α} (hu : EventuallyPeriodic u) (hstep : ∃ (N : ℕ), ∀ (t : ℕ), N ≤ t → a (t + 1) = g (a t) (u t)) :

    The engine: a finite-valued sequence driven by an eventually periodic input is itself eventually periodic. The values a (N₁ + j * P), N₁ past both hstep's own threshold and the input's, range over the finite type α, so two of them coincide at some j < j'; propagating that coincidence forward one step at a time through hstep and the input's own periodicity extends it to every later stage, at period (j' - j) * P.

    theorem DrivenColumns.eventuallyPeriodic_comp {α : Type u_1} {β : Type u_2} {f : ℕ → α} (hf : EventuallyPeriodic f) (φ : α → β) :

    Post-composition: an eventually periodic sequence stays eventually periodic under any further map.

    theorem DrivenColumns.eventuallyPeriodic_pair {α : Type u_1} {β : Type u_2} {f : ℕ → α} {g : ℕ → β} (hf : EventuallyPeriodic f) (hg : EventuallyPeriodic g) :
    EventuallyPeriodic fun (t : ℕ) => (f t, g t)

    Pairing: two eventually periodic sequences pair into one, at the product of their periods and the later of their thresholds.

    The smallest instance meeting eventuallyPeriodic_of_driven's two hypotheses, with the driven sequence itself not constant: a period-two input and its running XOR.

    Equations
    Instances For

      Axiom audit #

      Every public theorem above is #print axioms-clean on the standard triple, and the guards below make that build-enforced.