MindFormal v1.0.0One Mind

MindFormal.Tools.A617Judgment.EpisodeGridFinite

Finite counting reconstructions recover the chronological order once no two retained atoms occupy the same time bin.

theorem MindFormal.A617Judgment.Episodes.Clock.fold_counts_zero {I : Type u_1} (L : List (I → I)) (s : I) (c : (I → I) → ℕ) (hc : ∀ m ∈ L, c m = 0) :
List.foldl (fun (state : I) (mark : I → I) => mark^[c mark] state) s L = s
theorem MindFormal.A617Judgment.Episodes.Clock.fold_counts_single {I : Type u_1} [Fintype I] [DecidableEq I] (L : List (I → I)) (hL : L.Nodup) (m : I → I) (hm : m ∈ L) (s : I) :
List.foldl (fun (state : I) (mark : I → I) => mark^[if mark = m then 1 else 0] state) s L = m s
theorem MindFormal.A617Judgment.Episodes.Clock.sweep_zero {I : Type u_1} [Fintype I] [DecidableEq I] (s : I) :
sweep (fun (x : I → I) => 0) s = s
theorem MindFormal.A617Judgment.Episodes.Clock.sweep_single {I : Type u_1} [Fintype I] [DecidableEq I] (m : I → I) (s : I) :
sweep (fun (mark : I → I) => if mark = m then 1 else 0) s = m s
theorem MindFormal.A617Judgment.Episodes.Clock.gridFold_congr {I : Type u_1} [Fintype I] [DecidableEq I] (c d : ℕ → (I → I) → ℕ) (initial : I) (n : ℕ) (hcd : ∀ k < n, c k = d k) :
gridFold c initial n = gridFold d initial n
def MindFormal.A617Judgment.Episodes.Clock.eventCounts {I : Type u_1} [Fintype I] [DecidableEq I] (events : List (ℕ × (I → I))) (k : ℕ) (m : I → I) :
Equations
Instances For
    theorem MindFormal.A617Judgment.Episodes.Clock.eventCounts_append {I : Type u_1} [Fintype I] [DecidableEq I] (a b : List (ℕ × (I → I))) (k : ℕ) (m : I → I) :
    eventCounts (a ++ b) k m = eventCounts a k m + eventCounts b k m
    theorem MindFormal.A617Judgment.Episodes.Clock.eventCounts_zero {I : Type u_1} [Fintype I] [DecidableEq I] (events : List (ℕ × (I → I))) (k : ℕ) (hc : ∀ e ∈ events, e.1 ≠ k) :
    eventCounts events k = fun (x : I → I) => 0
    def MindFormal.A617Judgment.Episodes.Clock.evolveLabels {I : Type u_1} (initial : I) (events : List (ℕ × (I → I))) :
    I
    Equations
    Instances For
      theorem MindFormal.A617Judgment.Episodes.Clock.gridFold_events {I : Type u_1} [Fintype I] [DecidableEq I] (initial : I) (n : ℕ) (events : List (ℕ × (I → I))) (horder : List.Pairwise (fun (e f : ℕ × (I → I)) => e.1 < f.1) events) (hbelow : ∀ e ∈ events, e.1 < n) :
      gridFold (eventCounts events) initial n = evolveLabels initial events