MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch14.SuffixTests

Continuation-closed, unnormalized discrete tests. There is no division by a prefix probability and no assumed independence of suffix functions.

def MindFormal.SuffixTests.suffix {A C : Type u} (p : C → List A → ℝ) (c : C) (w : List A) :
List A → ℝ
Equations
Instances For
    def MindFormal.SuffixTests.space {A C : Type u} (p : C → List A → ℝ) :
    Equations
    Instances For
      def MindFormal.SuffixTests.shift {A : Type u} (b : A) :
      (List A → ℝ) →ₗ[ℝ] List A → ℝ
      Equations
      Instances For
        theorem MindFormal.SuffixTests.shift_suffix {A C : Type u} (p : C → List A → ℝ) (c : C) (w : List A) (b : A) :
        (shift b) (suffix p c w) = suffix p c (w ++ [b])
        theorem MindFormal.SuffixTests.relation_shift {A C : Type u} (p : C → List A → ℝ) {ι : Type u_1} (s : Finset ι) (a : ι → ℝ) (c : ι → C) (w : ι → List A) (zero : ∀ (z : List A), ∑ i ∈ s, a i * suffix p (c i) (w i) z = 0) (b : A) (z : List A) :
        ∑ i ∈ s, a i * suffix p (c i) (w i ++ [b]) z = 0
        theorem MindFormal.SuffixTests.shift_mem {A C : Type u} (p : C → List A → ℝ) (b : A) {f : List A → ℝ} (hf : f ∈ space p) :
        (shift b) f ∈ space p
        def MindFormal.SuffixTests.step {A C : Type u} (p : C → List A → ℝ) (b : A) :
        ↥(space p) →ₗ[ℝ] ↥(space p)
        Equations
        Instances For
          def MindFormal.SuffixTests.run {A V : Type u} [AddCommGroup V] [Module ℝ V] (op : A → V →ₗ[ℝ] V) (w : List A) (x : V) :
          V
          Equations
          Instances For
            theorem MindFormal.SuffixTests.run_append {A V : Type u} [AddCommGroup V] [Module ℝ V] (op : A → V →ₗ[ℝ] V) (w z : List A) (x : V) :
            run op (w ++ z) x = run op z (run op w x)
            def MindFormal.SuffixTests.response {A V : Type u} [AddCommGroup V] [Module ℝ V] (op : A → V →ₗ[ℝ] V) (out : V →ₗ[ℝ] ℝ) :
            Equations
            Instances For
              def MindFormal.SuffixTests.reachable {A C V : Type u} [AddCommGroup V] [Module ℝ V] (start : C → V) (op : A → V →ₗ[ℝ] V) :
              Equations
              Instances For
                theorem MindFormal.SuffixTests.response_prefix {A C V : Type u} [AddCommGroup V] [Module ℝ V] (p : C → List A → ℝ) (start : C → V) (op : A → V →ₗ[ℝ] V) (out : V →ₗ[ℝ] ℝ) (represents : ∀ (c : C) (w : List A), out (run op w (start c)) = p c w) (c : C) (w : List A) :
                (response op out) (run op w (start c)) = suffix p c w
                theorem MindFormal.SuffixTests.image_reachable {A C V : Type u} [AddCommGroup V] [Module ℝ V] (p : C → List A → ℝ) (start : C → V) (op : A → V →ₗ[ℝ] V) (out : V →ₗ[ℝ] ℝ) (represents : ∀ (c : C) (w : List A), out (run op w (start c)) = p c w) :
                Submodule.map (response op out) (reachable start op) = space p
                theorem MindFormal.SuffixTests.minimal_rank {A C V : Type u} [AddCommGroup V] [Module ℝ V] (p : C → List A → ℝ) (start : C → V) (op : A → V →ₗ[ℝ] V) (out : V →ₗ[ℝ] ℝ) (represents : ∀ (c : C) (w : List A), out (run op w (start c)) = p c w) :
                def MindFormal.SuffixTests.initial {A C : Type u} (p : C → List A → ℝ) (c : C) :
                ↥(space p)
                Equations
                Instances For
                  def MindFormal.SuffixTests.read {A C : Type u} (p : C → List A → ℝ) :
                  Equations
                  Instances For
                    theorem MindFormal.SuffixTests.canonical_prefix {A C : Type u} (p : C → List A → ℝ) (c : C) (w : List A) :
                    ↑(run (step p) w (initial p c)) = suffix p c w
                    theorem MindFormal.SuffixTests.canonical {A C : Type u} (p : C → List A → ℝ) :
                    (∀ (c : C) (w : List A), (read p) (run (step p) w (initial p c)) = p c w) ∧ Nonempty (Module.Basis ↑(Module.Basis.ofVectorSpaceIndex ℝ ↥(space p)) ℝ ↥(space p))