MindFormal v1.0.0One Mind

MindFormal.Run.NativeHeldFocus

02.12, 02.20 paragraph 4: native focus held along a reference. When the reference holds one focus mode throughout, no content or one content selected from the start, and the native focus guards at every state within the corridor's error of the reference admit exactly that mode, the actual run's own native pulse equals the reference's mode on the corridor's event. The proof is an induction over the native releases: on each prefix where the pulses already agree the corridor holds with no focus mismatch, so at the next release the actual state is close enough for IV to select as the reference does (02.20's inductive agreement of native events at strict margins). The focus mismatch is then zero, derived rather than supplied.

def MindFormal.heldMode {N : ℕ} (e : Option (Fin N)) :
Fin N → ℝ

02.12, IV: the focus mode holding one content, or none.

Equations
Instances For
    theorem MindFormal.native_schedule_held {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (S : NativeSchedule guard score H pause) (j : Fin N) (step : ∀ (m : ℕ), ↑m * pause ≤ H → (∀ k < m, (S.search k).event = some (↑k * pause, j)) → 0 ≤ guard (↑m * pause) j ∧ ∀ (i : Fin N), i ≠ j → guard (↑m * pause) i < 0) (m : ℕ) :
    ↑m * pause ≤ H → (S.search m).event = some (↑m * pause, j)

    02.12, IV: a native schedule whose guards at each release mp ≤ H admit j and no other content, whenever the earlier releases selected j at once, selects j at every such release, at the release itself.

    theorem MindFormal.native_schedule_held_pulse {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (S : NativeSchedule guard score H pause) (j : Fin N) {m : ℕ} (hm : ∀ k < m, (S.search k).event = some (↑k * pause, j)) {t : ℝ} (ht0 : 0 ≤ t) (htm : t < ↑m * pause) :

    02.12, IV: while the releases before mp have each selected j at once, the native pulse is j's alone at every time of [0, mp).

    theorem MindFormal.native_schedule_quiet {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (S : NativeSchedule guard score H pause) (step : ∀ t ∈ Set.Icc 0 H, (∀ (m : ℕ) (s : ℝ) (i : Fin N), (S.search m).event = some (s, i) → t ≤ s) → ∀ (i : Fin N), guard t i < 0) (m : ℕ) :

    02.12, IV: a native schedule whose guards are all negative at each time t of [0,H] before which no search has selected has no event at all.

    theorem MindFormal.native_schedule_quiet_pulse {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (S : NativeSchedule guard score H pause) (hS : ∀ (m : ℕ), (S.search m).event = none) (t : ℝ) :

    02.12, IV: with no native event the pulse is zero.

    def MindFormal.LearningReference.prefix {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) (a : NNReal) (ha : a ≤ H) :

    02.20: a verified continuing reference restricted to the prefix [0,a] of its horizon.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.LearningReference.prefix_IccExtend {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {d : MindDriftData (Fin N) n T Λ} {H : NNReal} (R : LearningReference d H) {a : NNReal} (ha : a ≤ H) {t : ℝ} (ht : t ∈ Set.Icc 0 ↑a) :

      02.20: the restricted reference's path is the reference's on the prefix.

      theorem MindFormal.learningCorridorError_mono {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (hd : PhysicalCoefficientRegularity d) {H H' U B C d0 dw Δu Δq : ℝ} (hHH : H ≤ H') (hd0 : 0 ≤ d0) (hdw : 0 ≤ dw) (hΔu : 0 ≤ Δu) (hΔq : 0 ≤ Δq) :
      learningCorridorError d hd H U B C d0 dw Δu Δq ≤ learningCorridorError d hd H' U B C d0 dw Δu Δq

      02.20 paragraph 4: the corridor's error grows with the horizon.

      theorem MindFormal.physicalGlobal_prefix_corridor {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {H : NNReal} (R : LearningReference G.data H) {a : NNReal} (ha : a ≤ H) {U B C d0 dw Δu Δq : ℝ} (hU : 0 ≤ U) (hB : 0 ≤ B) (hC : 0 ≤ C) (hd0 : 0 ≤ d0) (hdw : 0 ≤ dw) (hΔu : 0 ≤ Δu) (hΔq : 0 ≤ Δq) (href : ∀ (t : ↑(HorizonTime ↑H)), ‖R.path t‖ ≤ B) (hinput : ∀ t ∈ Set.Icc 0 ↑a, ‖G.input t‖ ≤ U) (hrefinput : ∀ t ∈ Set.Icc 0 ↑H, ‖R.input t‖ ≤ U) (hstart : ‖↑G.start - ↑R.start‖ ≤ d0) (hdriver : ∀ t ≤ a, ‖G.driver t‖ ≤ dw) (hinput_error : ∀ t ∈ Set.Icc 0 ↑a, ∫ (s : ℝ) in 0..t, ‖G.input s - R.input s‖ ≤ Δu) (hfocus_error : ∀ t ∈ Set.Icc 0 ↑a, ∫ (s : ℝ) in 0..t, ‖G.pulse s - R.mode s‖ ≤ Δq) (hclose : learningCorridorError G.data ⋯ (↑H) U B C d0 dw Δu Δq < C) (t : ℝ) :
      t ∈ Set.Icc 0 ↑a → ‖G.state t - (ContinuousMap.IccExtend ⋯ R.path) t‖ ≤ learningCorridorError G.data ⋯ (↑H) U B C d0 dw Δu Δq

      02.20 paragraph 4, THE CORRIDOR ON A PREFIX, one actual realization: the corridor's bound at horizon H holds at every time of [0,a], a ≤ H, when the noise driver, the inputs and their mismatch, and the focus mismatch are controlled on [0,a] only.

      structure MindFormal.LearningHeldControl {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) {H : NNReal} (R : Ω → LearningReference S.data H) :
      Type (max u_3 u_4)

      02.20 paragraph 4: quantitative controls of the corridor for a reference that holds one focus mode throughout: the Lipschitz corridor's controls with no focus allowance, the held mode (no content, or one content), and the native margins: at every time of [0,H] and every physical state within the corridor's error of the reference, a content's focus guard is nonnegative exactly when it is the held content.

      Instances For
        noncomputable def MindFormal.LearningHeldControl.error {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {S : PhysicalNoiseData Ω N n T Λ J 𝒩} {H : NNReal} {R : Ω → LearningReference S.data H} (P : LearningHeldControl S R) :

        02.20 paragraph 4: the held corridor's computed full-state allowance.

        Equations
        Instances For
          def MindFormal.LearningHeldControl.failure {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} {S : PhysicalNoiseData Ω N n T Λ J 𝒩} {H : NNReal} {R : Ω → LearningReference S.data H} (P : LearningHeldControl S R) :

          02.20 RP6/RP10: the held corridor's failure allowance, as the corridor's.

          Equations
          Instances For
            theorem MindFormal.physical_learning_held_event {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) [MeasureTheory.IsProbabilityMeasure S.μ] {H : NNReal} (R : Ω → LearningReference S.data H) (P : LearningHeldControl S R) :
            ∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ P.world ∧ 1 - P.failure ≤ S.μ.real good ∧ ∀ z ∈ good, ∀ t ∈ Set.Icc 0 ↑H, ‖(S.globalData z).state t - (ContinuousMap.IccExtend ⋯ (R z).path) t‖ ≤ P.error ∧ (S.globalData z).pulse t = heldMode P.held

            02.20 RP9--RP10 paragraph 4, THE HELD CORRIDOR'S EVENT, actual run, for any case of noise: one measurable event, inside the control's world, of mass at least 1-failure on which the actual run's own native focus pulse is the reference's held mode at every time of [0,H], and every actual state stays within the corridor's error of the reference. The native pulse is derived, release by release, from the margins; no focus allowance is supplied.