MindFormal v1.0.0One Mind

MindFormal.Run.FrozenRun

structure MindFormal.LiveData (Ω : 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)

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 run, Tube, NativeSearch, passage bound or behavioral conclusion. Output local Lipschitz regularity supplies the computed score allowance.

Instances For
    structure MindFormal.LiveBodyData (Ω : Type u_1) [MeasurableSpace Ω] (N n : ℕ) (T : Type u_2) (Λ : Type u_3) (J : Type u_4) [Fintype T] [Fintype Λ] [Fintype J] extends MindFormal.LiveData Ω N n T Λ J (MindFormal.constantCase Ω (MindFormal.CoordinateIndex (Fin N) n T Λ) J) :
    Type (max (max (max u_1 u_2) u_3) u_4)

    02.15--02.19, 03.7--03.19: the frozen-reference bundle for constant noise, the one built case, with the matrix rows of the trace coordinates zero.

    Instances For
      instance MindFormal.instIsProbabilityMeasureμData {Ω : 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 : LiveData Ω N n T Λ J 𝒩) :
      instance MindFormal.instIsProbabilityMeasureμToPhysicalNoiseDataData {Ω : 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 : LiveData Ω N n T Λ J 𝒩) :
      noncomputable def MindFormal.LiveData.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 : LiveData Ω N n T Λ J 𝒩) (z : Ω) :

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

      Equations
      Instances For
        noncomputable def MindFormal.LiveData.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 : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (z : Ω) :

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

        Equations
        Instances For
          def MindFormal.LiveData.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 : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (i : Fin N) (L U : ℝ) :
          Set Ω

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

          Equations
          Instances For
            def MindFormal.LiveData.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 : LiveData Ω N n T Λ J 𝒩) :
            Set Ω

            02.20: the common measurable corridor is constructed from primitive data.

            Equations
            Instances For
              noncomputable def MindFormal.LiveData.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 : LiveData Ω N n T Λ J 𝒩) :

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

              Equations
              Instances For
                noncomputable def MindFormal.LiveData.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 : LiveData Ω N n T Λ J 𝒩) (i : Fin N) (t : ℝ) :

                02.20: reference output evaluated on the verified reference path.

                Equations
                Instances For
                  theorem MindFormal.live_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 : LiveData Ω 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)

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

                  theorem MindFormal.live_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 : LiveData Ω 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

                  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; LiveData construct them.

                  theorem MindFormal.live_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 : LiveData Ω N n T Λ J 𝒩) :

                  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 LiveData.

                  structure MindFormal.LiveWindowMargins {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (i : Fin N) (L U : ℝ) :

                  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.LiveWindowCalibration {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (i : Fin N) (L U : ℝ) :

                    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.live_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 : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (i : Fin N) {L U : ℝ} (m : LiveWindowMargins C i L U) (hrelease : ∀ z ∈ C.good, m.phase ≤ (C.schedule z).release k ∧ (C.schedule z).release k ≤ U) :
                      C.good ⊆ C.act k i L U

                      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.live_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 : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (i : Fin N) {L U : ℝ} (m : LiveWindowMargins C i L U) (hrelease : ∀ z ∈ C.good, m.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)

                      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 LiveData, its reference score margins, and the actual release bound through the horizon; no Tube, Run, Native or probability premise occurs.

                      noncomputable def MindFormal.LiveData.latency {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (z : Ω) :

                      02.19 F9, 03.15 S3, 03.18 FR11: uncensored actual global action time. The zero value on permanent absence is used only with an explicit almost-sure completion hypothesis in every unrestricted-mean theorem below.

                      Equations
                      Instances For
                        theorem MindFormal.live_latency_nonneg {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (z : Ω) :
                        0 ≤ C.latency k z

                        02.19 F9, 03.15 S3, 03.18 FR11: the uncensored global latency is nonnegative, including its absence default. This follows from the actual global native event and does not assume a latency sign or a solved record.

                        theorem MindFormal.live_act_latency {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (i : Fin N) (L U : ℝ) {z : Ω} (hz : z ∈ C.act k i L U) :

                        02.19 F8--F9, 03.15 S2--S3: an observed finite slot is the same timed global event, and hence the uncensored latency lies in the observed interval. No completion or identification assumption is needed on this event.

                        theorem MindFormal.live_act_global_label {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (i : Fin N) {L U : ℝ} {z : Ω} (hz : z ∈ C.act k i L U) :

                        02.19, 03.15: a certified finite native record also identifies the uncensored global label. This proves the link needed for a lab error count that retains actions after H instead of counting a timeout as an error.

                        theorem MindFormal.live_first_window {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (i : Fin N) {L U : ℝ} (m : LiveWindowMargins C i L U) (hphase : m.phase = 0) :
                        C.good ⊆ C.act 0 i L U ∧ 1 - C.control.failure ≤ C.data.μ.real (C.act 0 i L U)

                        02.15, 02.18, 03.12, 03.19: a first action uses the proved initial native release zero. With source reference margins whose phase is zero, the constructed first label and time have probability at least 1-failure.

                        theorem MindFormal.live_release_window {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (k : ℕ) (i : Fin N) {L U r : ℝ} (m : LiveWindowCalibration C k i L U) (hr : ∀ z ∈ C.good, r ≤ (C.schedule z).release k) :
                        C.good ⊆ C.act k i (max L r) U

                        02.19 F8, 03.15 S2, 03.18 FR10: the lower endpoint is the maximum of the score crossing lower bound and the actual native release lower bound. Only the reference margins and release bounds are supplied; the recorded time, label and the maximum bound are consequences of native attainment.

                        theorem MindFormal.live_two_windows {Ω : 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 : LiveData Ω N n T Λ J 𝒩) (i j : Fin N) {L₁ U₁ L₂ U₂ : ℝ} (m₁ : LiveWindowMargins C i L₁ U₁) (m₂ : LiveWindowMargins C j L₂ U₂) (hphase : m₁.phase = 0) (hp : m₂.phase ≤ L₁ + C.data.pause false) (hu : U₁ + C.data.pause false ≤ U₂) :
                        C.good ⊆ C.act 0 i L₁ U₁ ∩ C.act 1 j (max L₂ (L₁ + C.data.pause false)) U₂

                        02.17 (17.1): the second action is searched using the actual first action plus the native pause. Two reference score windows, phase zero for the first, and phase/release headroom for the second imply both observed records and the stronger max(first-lower+pause,second-lower) lower bound. The native release relation and absence of a forced second record are proved.