MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch08.A730ValueChoice.SignalRace

13.15.9: the surprise as a read of the actual state and the actual input, and the native race order, carried on VH1.8's one finite event.

noncomputable def MindFormal.A730ValueChoice.effectivePrediction {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] (d : MindDriftData C n T Λ) (s : MindState C n T Λ) (a : T) (b : Fin n) :

VH2.1's effective predicted primary rate 𝒬_τ = Π/τ − Σ_j ċ_j v_j: a read of the state alone.

Equations
Instances For
    theorem MindFormal.A730ValueChoice.residual_eq_delivery_sub {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] (d : MindDriftData C n T Λ) (u : C → ℝ) (s : MindState C n T Λ) (a : T) (b : Fin n) :

    The exact signal is the delivery minus the effective prediction.

    In One Mind, clause 9 of result 8.2: What a history teaches a mind to expect, and what it leads the mind to act on · all its clauses in Lean
    theorem MindFormal.A730ValueChoice.result_13_15_9_L730 {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (S : StateLearning Ω N n T Λ J) (hC : S.Contained) (hεu : S.control.εu = 0) :
    MeasurableSet S.run.good ∧ 1 - S.run.control.failure ≤ S.run.data.μ.real S.run.good ∧ (∀ᵐ (z : Ω) ∂S.run.data.μ, z ∈ S.run.good → S.experiment.OnOwnNoise z S.horizon) ∧ ∀ z ∈ S.run.good, (∀ t ∈ Set.Icc 0 ↑S.horizon, ∀ (u ū : Fin N → ℝ) (a : T) (b : Fin n) (K : Set (MindState (Fin N) n T Λ)) (L : NNReal), LipschitzOnWith L (fun (s : MindState (Fin N) n T Λ) => effectivePrediction S.experiment.mind.drift s a b) K → Metric.closedBall ((ContinuousMap.IccExtend ⋯ (S.reference z).path) t) S.run.control.error ⊆ K → assembledResidual S.experiment.mind.drift u ((S.run.data.toPhysicalNoiseData.globalData z).state t) a b = S.experiment.mind.drift.reward u b - effectivePrediction S.experiment.mind.drift ((S.run.data.toPhysicalNoiseData.globalData z).state t) a b ∧ |assembledResidual S.experiment.mind.drift u ((S.run.data.toPhysicalNoiseData.globalData z).state t) a b - assembledResidual S.experiment.mind.drift ū ((ContinuousMap.IccExtend ⋯ (S.reference z).path) t) a b| ≤ |S.experiment.mind.drift.reward u b - S.experiment.mind.drift.reward ū b| + ↑L * S.run.control.error ∧ (|S.experiment.mind.drift.reward u b - S.experiment.mind.drift.reward ū b| + ↑L * S.run.control.error < assembledResidual S.experiment.mind.drift ū ((ContinuousMap.IccExtend ⋯ (S.reference z).path) t) a b → 0 < assembledResidual S.experiment.mind.drift u ((S.run.data.toPhysicalNoiseData.globalData z).state t) a b) ∧ (assembledResidual S.experiment.mind.drift ū ((ContinuousMap.IccExtend ⋯ (S.reference z).path) t) a b < -(|S.experiment.mind.drift.reward u b - S.experiment.mind.drift.reward ū b| + ↑L * S.run.control.error) → assembledResidual S.experiment.mind.drift u ((S.run.data.toPhysicalNoiseData.globalData z).state t) a b < 0)) ∧ (∀ (ι : Type) [Finite ι] (O : ι → MindState (Fin N) n T Λ → ℝ) (L : NNReal) (w : ι) (ω tm H : ℝ), (∀ (k : ι), LipschitzWith L (O k)) → 0 < tm → tm ≤ H → H ≤ ↑S.horizon → (∀ (k : ι), ∀ t ∈ Set.Ico 0 tm, O k ((ContinuousMap.IccExtend ⋯ (S.reference z).path) t) + ↑L * S.run.control.error < ω) → ω + ↑L * S.run.control.error ≤ O w ((ContinuousMap.IccExtend ⋯ (S.reference z).path) H) → (∀ (k : ι), k ≠ w → (∀ t ∈ Set.Icc tm H, O k ((ContinuousMap.IccExtend ⋯ (S.reference z).path) t) + 2 * (↑L * S.run.control.error) < O w ((ContinuousMap.IccExtend ⋯ (S.reference z).path) t)) ∨ ∀ t ∈ Set.Icc 0 H, O k ((ContinuousMap.IccExtend ⋯ (S.reference z).path) t) + ↑L * S.run.control.error < ω) → ∃ ts ∈ Set.Icc tm H, ω ≤ O w ((S.run.data.toPhysicalNoiseData.globalData z).state ts) ∧ (∀ s ∈ Set.Ico 0 ts, ∀ (k : ι), O k ((S.run.data.toPhysicalNoiseData.globalData z).state s) < ω) ∧ ∀ (k : ι), k ≠ w → O k ((S.run.data.toPhysicalNoiseData.globalData z).state ts) < ω) ∧ ∀ t ∈ Set.Icc 0 ↑S.horizon, ∀ (Oi Oj : MindState (Fin N) n T Λ → ℝ) (L : NNReal), LipschitzWith L Oi → LipschitzWith L Oj → 2 * (↑L * S.run.control.error) < Oi ((ContinuousMap.IccExtend ⋯ (S.reference z).path) t) - Oj ((ContinuousMap.IccExtend ⋯ (S.reference z).path) t) → Oj ((S.run.data.toPhysicalNoiseData.globalData z).state t) < Oi ((S.run.data.toPhysicalNoiseData.globalData z).state t)

    13.15.9 (VH2.4 with VH1.8's (H11)). On the learning application on the mind's own noise (its truncation containing the corridor, the input known within its bound), one event of mass at least 1 − ε_H, on which the run is on its own noise through H, carries both transfers at every time of [0, H], with E the full-state error. Signal: the actual surprise at any actual input u is its delivery minus the effective prediction read from the actual state; for every enclosure K containing the closed E-ball about the reference state on which that prediction is L-Lipschitz, it differs from the reference surprise at the reference input ū by at most the delivery mismatch plus LE, so a reference signal beyond that margin keeps its strict sign. Race: for any finite family of L-Lipschitz score reads, if every reference score is below ω by LE before t₋, the intended one exceeds ω by LE at H, and every other either trails it by more than 2LE on [t₋, H] or stays below ω by LE throughout, then the actual run's first qualification time lies in [t₋, H] and only the intended output qualifies there, whatever V's priority; and a reference score lead above 2LE at any time is an actual lead.