MindFormal v1.0.0One Mind

MindFormal.Tools.A617Judgment.EpisodeMatrix

The exact two-stage episode generator and occupancy of NC1. No target conditional frequency, acquired bank, or success event is included in the data. Positive occupancies follow from the primitive presentation table.

structure MindFormal.A617Judgment.Episodes.Table (E : Type u_3) (H : Type u_4) [Fintype E] [Fintype H] :
Type (max u_3 u_4)
  • π : E → ℝ
  • P : E → H → ℝ
  • a : ℝ
  • b : ℝ
  • π_pos (e : E) : 0 < self.π e
  • π_sum : ∑ e : E, self.π e = 1
  • P_nonneg (e : E) (h : H) : 0 ≤ self.P e h
  • P_sum (e : E) : ∑ h : H, self.P e h = 1
  • a_pos : 0 < self.a
  • b_pos : 0 < self.b
  • coverage (h : H) : 0 < ∑ e : E, self.π e * self.P e h
Instances For
    def MindFormal.A617Judgment.Episodes.Table.marginal {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] (T : Table E H) (h : H) :
    Equations
    Instances For
      theorem MindFormal.A617Judgment.Episodes.Table.marginal_pos {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] (T : Table E H) (h : H) :
      0 < T.marginal h
      theorem MindFormal.A617Judgment.Episodes.Table.marginal_sum {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] (T : Table E H) :
      ∑ h : H, T.marginal h = 1
      def MindFormal.A617Judgment.Episodes.Table.Q {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] [DecidableEq E] [DecidableEq H] (T : Table E H) :
      Matrix (E ⊕ H) (E ⊕ H) ℝ
      Equations
      Instances For
        Equations
        Instances For
          def MindFormal.A617Judgment.Episodes.Table.weight {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] (T : Table E H) :
          E ⊕ H → ℝ
          Equations
          Instances For
            noncomputable def MindFormal.A617Judgment.Episodes.Table.occupancy {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] (T : Table E H) :
            E ⊕ H → ℝ
            Equations
            Instances For
              theorem MindFormal.A617Judgment.Episodes.Table.weight_sum {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] (T : Table E H) :
              ∑ i : E ⊕ H, T.weight i = T.a + T.b
              theorem MindFormal.A617Judgment.Episodes.Table.occupancy_pos {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] (T : Table E H) (i : E ⊕ H) :
              0 < T.occupancy i
              theorem MindFormal.A617Judgment.Episodes.Table.occupancy_sum {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] (T : Table E H) :
              ∑ i : E ⊕ H, T.occupancy i = 1
              theorem MindFormal.A617Judgment.Episodes.Table.exists_successor {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] (T : Table E H) (e : E) :
              ∃ (h : H), 0 < T.P e h
              theorem MindFormal.A617Judgment.Episodes.Table.exists_predecessor {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] (T : Table E H) (h : H) :
              ∃ (e : E), 0 < T.P e h
              theorem MindFormal.A617Judgment.Episodes.Table.reach_evidence {E : Type u_1} {H : Type u_2} [Fintype E] [Fintype H] [DecidableEq E] [DecidableEq H] (T : Table E H) (i : E ⊕ H) (e : E) :
              Relation.ReflTransGen (fun (a b : E ⊕ H) => 0 < T.generator.Q a b) i (Sum.inl e)