MindFormal v1.0.0One Mind

MindFormal.Run.LearningRun

structure MindFormal.LearningRun (Ω : 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) :
Type (max (max (max (max u_1 u_2) u_3) u_4) u_5)

04.20, 05.14; 02.15--02.19, 03.7--03.19: primitive data for any case of noise, a verified reference and the already specified corridor controls. This bundle contains no solved ACTUAL run, Tube, NativeSearch, passage bound or behavioral conclusion; its deterministic reference equation is verified. Output local Lipschitz regularity supplies the computed score allowance.

Instances For
    instance MindFormal.instIsProbabilityMeasureμData_1 {Ω : 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 𝒩) :
    instance MindFormal.LearningRun.physicalProbability {Ω : 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 𝒩) :
    noncomputable def MindFormal.LearningRun.schedule {Ω : 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 𝒩) (z : Ω) :

    04.20, 05.14; 02.12: the actual constructed native action schedule, with its own clocks.

    Equations
    Instances For
      noncomputable def MindFormal.LearningRun.record {Ω : 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 𝒩) (k : ℕ) (z : Ω) :

      04.20, 05.14; 02.12: an actual finite action-history slot, including its absence marker.

      Equations
      Instances For
        def MindFormal.LearningRun.act {Ω : 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 𝒩) (k : ℕ) (i : Fin N) (L U : ℝ) :
        Set Ω

        04.20, 05.14; 02.15--02.19: observation of label i in native slot k within [L,U].

        Equations
        Instances For
          def MindFormal.LearningRun.good {Ω : 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 𝒩) :
          Set Ω

          04.20, 05.14; 02.20: the common measurable corridor is constructed from primitive data.

          Equations
          Instances For
            noncomputable def MindFormal.LearningRun.error {Ω : 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 𝒩) :

            04.20, 05.14; 02.20: the computed native output error, not a freely supplied tolerance.

            Equations
            Instances For
              noncomputable def MindFormal.LearningRun.score {Ω : 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 𝒩) (z : Ω) (i : Fin N) (t : ℝ) :

              04.20, 05.14; 02.20: reference output evaluated on the verified reference path.

              Equations
              Instances For
                theorem MindFormal.learningRun_record_eq {Ω : 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 𝒩) (k : ℕ) (z : Ω) :
                C.record k z = ((C.schedule z).search k).event.elim (emptyActionSlot (Fin N)) fun (p : ℝ × Fin N) => (p.1, Sum.inl p.2)

                04.20, 05.14; 02.12, 03.7: the observed record is exactly the constructed native event, including the empty branch. Primitive LearningRun suffice; no slot or identification of event records is assumed.

                theorem MindFormal.learningRun_record_measurable {Ω : 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 𝒩) (k : ℕ) :

                04.20, 05.14; 02.12, 03.7: each actual action slot is measurable from primitive data. This composes the proved native-history adaptation with coordinate evaluation; measurability of any solved path, report time or event is not a hypothesis.

                theorem MindFormal.learningRun_act_iff {Ω : 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 𝒩) (k : ℕ) (i : Fin N) (L U : ℝ) (z : Ω) :
                z ∈ C.act k i L U ↔ ∃ (t : ℝ), ((C.schedule z).search k).event = some (t, i) ∧ t ∈ Set.Icc L U

                04.20, 05.14; 02.15--02.19, 03.7: the actual label/window observation is equivalent to an attained native event with that time and label. No externally supplied schedule or forced event is used; LearningRun construct them.

                theorem MindFormal.learningRun_good_spec {Ω : 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 𝒩) :

                04.20, 05.14; 02.20, all body uses: primitive data/reference/control imply the same measurable good event and its failure allowance. No probability conclusion is provided as a premise of LearningRun.

                structure MindFormal.LearningWindowMargins {Ω : 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 𝒩) (z : Ω) (i : Fin N) (L U : ℝ) :

                04.20, 05.14; 02.15 step 3, 02.19 F8, 03.15 S2, 03.18 FR10, 03.19 OC13: the entry's reference score margins on a native search window. From phase until L all outputs are below threshold minus computed error; i reaches threshold plus error at U; every rival stays below threshold minus error through U. Release bounds are separate because the clock is the actual native clock.

                Instances For
                  structure MindFormal.LearningWindowCalibration {Ω : 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 𝒩) (k : ℕ) (i : Fin N) (L U : ℝ) :
                  Type u_1

                  04.20, 05.14; 02.15 step 3, 02.18 (18.2), 02.19 F8: reference score margins and the entry's actual remaining-release bounds. The native schedule itself is constructed from C; this contains no observed label or probability premise.

                  Instances For
                    theorem MindFormal.learningRun_window_at {Ω : 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 𝒩) (z : Ω) (hz : z ∈ C.good) (k : ℕ) (i : Fin N) {L U : ℝ} (m : LearningWindowMargins C z i L U) (hrelease : m.phase ≤ (C.schedule z).release k ∧ (C.schedule z).release k ≤ U) :
                    z ∈ C.act k i L U

                    04.20, 05.14; 02.15 step 3, 02.19 F8, 03.15 S2, 03.18 FR10: on the constructed good event, the specified reference margins and actual release<=U derive the next native label i and its time in [L,U]. k is the actual slot, not a supplied search. This theorem does not certify a training protocol or later score calibration; those remain row-specific hypotheses where needed.

                    theorem MindFormal.learningRun_window_on_good {Ω : 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 𝒩) (k : ℕ) (i : Fin N) {L U : ℝ} (m : (z : Ω) → z ∈ C.good → LearningWindowMargins C z i L U) (hrelease : ∀ (z : Ω) (hz : z ∈ C.good), (m z hz).phase ≤ (C.schedule z).release k ∧ (C.schedule z).release k ≤ U) :
                    C.good ⊆ C.act k i L U

                    04.20, 05.14; 02.15 step 3, 02.19 F8, 03.15 S2, 03.18 FR10: on the constructed good event, the specified reference margins and actual release<=U derive the next native label i and its time in [L,U]. k is the actual slot, not a supplied search. This theorem does not certify a training protocol or later score calibration; those remain row-specific hypotheses where needed.

                    theorem MindFormal.learningRun_window_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 𝒩) (k : ℕ) (i : Fin N) {L U : ℝ} (m : (z : Ω) → z ∈ C.good → LearningWindowMargins C z i L U) (hrelease : ∀ (z : Ω) (hz : z ∈ C.good), (m z hz).phase ≤ (C.schedule z).release k ∧ (C.schedule z).release k ≤ U) :
                    1 - C.control.failure ≤ C.data.μ.real (C.act k i L U)

                    04.20, 05.14; 02.15 step 3, 02.19 F8, 03.15 S2, 03.18 FR10: the constructed native label/time-window event has probability at least 1-failure. Hypotheses are primitive LearningRun, its reference score margins, and the actual release bound through the horizon; no Tube, Run, Native or probability premise occurs.