MindFormal v1.0.0One Mind

MindFormal.Run.CompletedPresentation

structure MindFormal.CompletedPresentation {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} (X : Type u_6) [MeasurableSpace X] :
Type (max (max (max (max (max (max 1 u_1) u_2) u_3) u_4) u_5) u_6)

Primitive data for a native completed model in a common retained coordinate space. Every coordinate is retained through an equivalence. The kernel, mark law and conditional rows are derived below, not fields. The sampling is a finite measurable entering-state menu, including idle. Changing this datum changes equations, world, returns, clocks and sampling.

Instances For
    @[reducible, inline]
    noncomputable abbrev MindFormal.CompletedPresentation.program {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} {X : Type u_6} [MeasurableSpace X] (M : CompletedPresentation X) :
    Equations
    Instances For
      @[reducible, inline]
      abbrev MindFormal.CompletedPresentation.Record {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} {X : Type u_6} [MeasurableSpace X] (M : CompletedPresentation X) :
      Type (max (max u_2 u_3) u_4)
      Equations
      Instances For
        noncomputable def MindFormal.CompletedPresentation.kernel {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} {X : Type u_6} [MeasurableSpace X] (M : CompletedPresentation X) :

        Native completed state kernel transported by all-state coordinates.

        Equations
        Instances For
          instance MindFormal.CompletedPresentation.kernel_markov {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} {X : Type u_6} [MeasurableSpace X] (M : CompletedPresentation X) :
          noncomputable def MindFormal.CompletedPresentation.markedLaw {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} {X : Type u_6} [MeasurableSpace X] (M : CompletedPresentation X) {R : Type u_7} [Fintype R] [MeasurableSpace R] [MeasurableSingletonClass R] (π : MeasureTheory.Measure X) [MeasureTheory.IsProbabilityMeasure π] (mark : M.Record → R) (hm : Measurable mark) :

          The finite law read from the native completed records.

          Equations
          Instances For
            noncomputable def MindFormal.CompletedPresentation.row {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} {X : Type u_6} [MeasurableSpace X] (M : CompletedPresentation X) {R : Type u_7} (mark : M.Record → R) (ok : R → Bool) :
            X → ℝ

            Conditional native mark probability in common coordinates.

            Equations
            Instances For
              theorem MindFormal.CompletedPresentation.row_measurable {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} {X : Type u_6} [MeasurableSpace X] (M : CompletedPresentation X) {R : Type u_7} [MeasurableSpace R] [MeasurableSingletonClass R] [Finite R] (mark : M.Record → R) (hm : Measurable mark) (ok : R → Bool) :
              Measurable (M.row mark ok)
              theorem MindFormal.CompletedPresentation.row_bound {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} {X : Type u_6} [MeasurableSpace X] (M : CompletedPresentation X) {R : Type u_7} (mark : M.Record → R) (ok : R → Bool) (x : X) :
              ‖M.row mark ok x‖ ≤ 1
              theorem MindFormal.CompletedPresentation.accepted_eq_integral {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} {X : Type u_6} [MeasurableSpace X] (M : CompletedPresentation X) {R : Type u_7} [Fintype R] [MeasurableSpace R] [MeasurableSingletonClass R] (π : MeasureTheory.Measure X) [MeasureTheory.IsProbabilityMeasure π] (mark : M.Record → R) (hm : Measurable mark) (ok : R → Bool) :
              (M.markedLaw π mark hm).accepted ok = ∫ (x : X), M.row mark ok x ∂π

              Native accepted mass in common full-state coordinates.

              theorem MindFormal.CompletedPresentation.price_eq_ratio {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] [Nonempty A] {N n : A → ℕ} {T : A → Type u_3} {Λ : A → Type u_4} [(a : A) → Fintype (T a)] [(a : A) → Fintype (Λ a)] {J : Type u_5} [Fintype J] {G : EquationGround Ω J} {X : Type u_6} [MeasurableSpace X] (M : CompletedPresentation X) {R : Type u_7} [Fintype R] [MeasurableSpace R] [MeasurableSingletonClass R] (π : MeasureTheory.Measure X) [MeasureTheory.IsProbabilityMeasure π] (mark : M.Record → R) (hm : Measurable mark) (ok : R → Bool) {C : Type u_8} [DecidableEq C] (read : R → C) (c : C) :
              (M.markedLaw π mark hm).price ok read c = KernelPoisson.freeRatio π (M.row mark fun (r : R) => ok r && decide (read r = c)) (M.row mark ok)

              Native finite-mark normalization in common full-state coordinates.