MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch05.Availability

def MindFormal.LearningRun.holds {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (items : Finset (Fin N)) (a b : ℝ) (z : Ω) :

05.10, 05.26: actual awareness holding throughout the specified interval, for all items in the tested finite set. Endpoint equality counts.

Equations
Instances For
    def MindFormal.HoldingMargins {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (items : Finset (Fin N)) (a b : ℝ) (prepared : Set Ω) :

    05.10, 05.26: prepared-reference holding classification with error clearance. A failure has an explicit item and time below alpha-E; success has all tested items above alpha+E throughout the interval.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.learningRun_holding_agreement {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (items : Finset (Fin N)) {a b : ℝ} (window : Set.Icc a b ⊆ Set.Icc 0 ↑C.horizon) (prepared : Set Ω) (hm : HoldingMargins C items a b prepared) (z : Ω) :
      z ∈ C.good → (C.holds items a b z ↔ z ∈ prepared)

      05.10, 05.26: the computed full-state error transfers prepared holding to the actual constructed path, in both directions. This requires the entire interval within the horizon and the explicit strict failure witness.

      theorem MindFormal.learningRun_holding_probability {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (C : LearningRun Ω N n T Λ J 𝒩) (items : Finset (Fin N)) {a b : ℝ} (window : Set.Icc a b ⊆ Set.Icc 0 ↑C.horizon) (prepared : Set Ω) (hm : HoldingMargins C items a b prepared) :
      |C.data.μ.real {z : Ω | C.holds items a b z} - C.data.μ.real prepared| ≤ C.control.failure

      05.10: prepared holding probability transfers to actual interval holding within the derived failure allowance; preparation and corridor may be dependent. No invariant-region construction is included in this lemma.

      def MindFormal.correctCount {N m : ℕ} (truth : Fin m → Fin N) (v : Fin m → Fin N ⊕ Unit) :

      05.14, 05.16: finite correct-label score, with each designated trial counted once. The truth labels are prepared task answers, never observed labels.

      Equations
      Instances For
        theorem MindFormal.correctCount_bounds {N m : ℕ} (truth : Fin m → Fin N) (v : Fin m → Fin N ⊕ Unit) :
        correctCount truth v ∈ Set.Icc 0 ↑m

        05.14, 05.16: the declared correct-trial count lies in [0,m] for every label vector, including absent reports. This is a global scoring bound, independent of any stochastic corridor or distributional assumption.

        noncomputable def MindFormal.placedCount {N m p : ℕ} (piece : Fin p → Fin N) (v : Fin m → Fin N ⊕ Unit) :

        05.16: distinct correctly placed pieces, each counted at most once even if its report label repeats. Piece-to-motor coding must be injective.

        Equations
        Instances For
          theorem MindFormal.placedCount_bounds {N m p : ℕ} (piece : Fin p → Fin N) (v : Fin m → Fin N ⊕ Unit) :
          placedCount piece v ∈ Set.Icc 0 ↑p

          05.16: distinct-placement scoring is globally bounded by the finite piece set, including every unsuccessful or incomplete actual trial. This proves the adverse-count bound used by the separate integrable mean theorem.