MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch08.SignalWindows

Complete prediction and the three finite calibrated signal windows of VI4. The application supplies local coefficient bounds, not an actual signal sign. The existing StateLearning corridor supplies the one event on the mind's own noise.

noncomputable def MindFormal.SignalWindows.prediction {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (s : MindState (Fin N) n T Λ) (a : T) (b : Fin n) :

VI4.1: complete effective prediction, including D4's presence velocity.

Equations
Instances For
    theorem MindFormal.SignalWindows.residual_eq {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype Λ] (d : MindDriftData (Fin N) n T Λ) (u : Fin N → ℝ) (s : MindState (Fin N) n T Λ) (a : T) (b : Fin n) :
    assembledResidual d u s a b = d.reward u b - prediction d s a b
    noncomputable def MindFormal.SignalWindows.firing {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (C : StateLearning Ω N n T Λ J) (a : T) (b : Fin n) (calibration : Ω → ℝ → ℝ) (R0 g : ℝ) (z : Ω) (t : ℝ) :

    The declared phasic firing calibration, in surprise units before gain.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.SignalWindows.error {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (C : StateLearning Ω N n T Λ J) (hC : C.Contained) (hu : C.control.εu = 0) (a : T) (b : Fin n) (window : Ω → Set ℝ) (within : ∀ (z : Ω), window z ⊆ Set.Icc 0 ↑C.horizon) {LQ dK dread : ℝ} (hLQ : 0 ≤ LQ) (local_bound : ∀ z ∈ C.run.good, ∀ t ∈ window z, ∀ (s : MindState (Fin N) n T Λ), PhysicalMindState s → ‖s - C.run.refState z t‖ ≤ C.run.control.error → |prediction C.run.data.toPhysicalNoiseData.data s a b - prediction C.run.data.toPhysicalNoiseData.data (C.run.refState z t) a b| ≤ LQ * ‖s - C.run.refState z t‖) (delivery : ∀ z ∈ C.run.good, ∀ t ∈ window z, |C.run.data.toPhysicalNoiseData.data.reward ((C.run.data.toPhysicalNoiseData.globalData z).input t) b - C.run.data.toPhysicalNoiseData.data.reward ((C.reference z).input t) b| ≤ dK) (calibration : Ω → ℝ → ℝ) (calibration_bound : ∀ z ∈ C.run.good, ∀ t ∈ window z, |calibration z t| ≤ dread) :

      The complete read error is LQ times the computed full-state corridor error, plus delivery mismatch and calibration error. Local bounds are tested at every physical state in the corridor, and the actual input is the returned native input.

      theorem MindFormal.SignalWindows.positive {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {C : StateLearning Ω N n T Λ J} {a : T} {b : Fin n} {window : Ω → Set ℝ} {calibration : Ω → ℝ → ℝ} {E R0 g : ℝ} (herror : ∀ z ∈ C.run.good, ∀ t ∈ window z, |assembledResidual C.run.data.toPhysicalNoiseData.data ((C.run.data.toPhysicalNoiseData.globalData z).input t) ((C.run.data.toPhysicalNoiseData.globalData z).state t) a b + calibration z t - C.run.refSurprise z a b t| ≤ E) (baseline : 0 ≤ R0) (gain : 0 < g) (margin : ∀ z ∈ C.run.good, ∀ t ∈ window z, E < C.run.refSurprise z a b t) (z : Ω) :

      VI4.4 cue window: the complete reference burst exceeds the complete read error. Positive calibration transfers its strict sign and nonnegative range.

      theorem MindFormal.SignalWindows.small {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {C : StateLearning Ω N n T Λ J} {a : T} {b : Fin n} {window : Ω → Set ℝ} {calibration : Ω → ℝ → ℝ} {E R0 g a0 : ℝ} (herror : ∀ z ∈ C.run.good, ∀ t ∈ window z, |assembledResidual C.run.data.toPhysicalNoiseData.data ((C.run.data.toPhysicalNoiseData.globalData z).input t) ((C.run.data.toPhysicalNoiseData.globalData z).state t) a b + calibration z t - C.run.refSurprise z a b t| ≤ E) (gain : 0 < g) (range : g * a0 ≤ R0) (margin : ∀ z ∈ C.run.good, ∀ t ∈ window z, |C.run.refSurprise z a b t| + E < a0) (z : Ω) :

      VI4.4 delivered window: small complete surprise transfers to a finite recording tolerance. The baseline range test also proves a nonnegative firing rate.

      theorem MindFormal.SignalWindows.negative {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {C : StateLearning Ω N n T Λ J} {a : T} {b : Fin n} {window : Ω → Set ℝ} {calibration : Ω → ℝ → ℝ} {E R0 g : ℝ} (herror : ∀ z ∈ C.run.good, ∀ t ∈ window z, |assembledResidual C.run.data.toPhysicalNoiseData.data ((C.run.data.toPhysicalNoiseData.globalData z).input t) ((C.run.data.toPhysicalNoiseData.globalData z).state t) a b + calibration z t - C.run.refSurprise z a b t| ≤ E) (gain : 0 < g) (omission : ∀ z ∈ C.run.good, ∀ t ∈ window z, C.run.data.toPhysicalNoiseData.data.reward ((C.reference z).input t) b = 0) (margin : ∀ z ∈ C.run.good, ∀ t ∈ window z, E < prediction C.run.data.toPhysicalNoiseData.data (C.run.refState z t) a b) (range : ∀ z ∈ C.run.good, ∀ t ∈ window z, 0 ≤ R0 + g * (C.run.refSurprise z a b t - E)) (z : Ω) :

      VI4.4 omission window: actual delivery is zero; prediction exceeds the state/read error. A lower firing-range margin proves a nonnegative dip.