MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch02.CompanionContinuation

theorem MindFormal.StateExperiment.companion_continuation_event {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) {Ht : NNReal} (B : OwnBox E Ht) (hHt : Ht ≤ E.horizon) (light : Fin N) (b : Fin n) (a : T) (γ : Fin N → ℝ) {H e0 dv Lv : ℝ} {h h' R z : ℝ → ℝ} (hH : 0 ≤ H) (htrain : H ≤ ↑Ht) (he0 : 0 ≤ e0) (hdv : 0 ≤ dv) (hLv : 0 ≤ Lv) (hh : ∀ (t : ℝ), HasDerivAt h (h' t) t) (hh' : Continuous h') (hR : IntervalIntegrable R MeasureTheory.volume 0 H) (hz : Continuous z) (hzEq : ∀ t ∈ Set.Icc 0 H, z t = ∫ (s : ℝ) in 0..t, E.mind.drift.η b * h s * (R s + (∑ j : Fin N, γ j ^ 2) * (h' s - h s / E.mind.drift.τ a) * z s)) (hstart : ∀ ω ∈ B.stream, ∀ (i : Fin N), |mindValue (↑(E.start.state ω)) i b a| ≤ e0) (hrow : ∀ t ∈ Set.Icc 0 H, ∀ (i : Fin N), ∑ j : Fin N, |E.mind.drift.η b * h t * (h' t - h t / E.mind.drift.τ a) * γ i * γ j| ≤ Lv) (trainingInputs : ℝ → Set (Fin N → ℝ)) (hTrainingInputs : ∀ ω ∈ B.stream, ∀ (hist : FiniteActionHistory (Fin N)), ChronologicalHistory hist → ∀ t ∈ Set.Icc 0 H, strictPastInput E.world.world t hist ω ∈ trainingInputs t) (hdefect : ∀ s0 ∈ B.starts, ∀ (s : MindState (Fin N) n T Λ), InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s → ∀ t ∈ Set.Icc 0 H, ∀ (u q : Fin N → ℝ), 0 ≤ u → u ∈ B.inputs → u ∈ trainingInputs t → (∀ (i : Fin N), q i ∈ {0, 1}) → ∀ (i : Fin N), |assembledDrift E.mind.drift u q s (Sum.inr (Sum.inr (Sum.inl (i, b, a)))) - E.mind.drift.η b * h t * γ i * (R t + (h' t - h t / E.mind.drift.τ a) * ∑ j : Fin N, γ j * mindValue s j b a)| ≤ dv) :
have Ev := (e0 + B.ϖv + H * dv) * Real.exp (Lv * H); z H = learnedFactor (E.mind.drift.η b) (E.mind.drift.τ a) h R H (∑ j : Fin N, γ j ^ 2) ∧ ∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ B.stream ∧ 1 - B.errorProbability ≤ E.ground.μ.real good ∧ ∀ ω ∈ good, E.own.data.toPhysicalNoiseData.Good ω ∧ (∀ t ∈ Set.Icc 0 ↑Ht, InCorridorBox (↑(E.start.state ω)) B.X B.Xr B.ρW B.ρv ((E.supportHistory ω).state t) ∧ ∀ (c : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver t.toNNReal c| < B.allowance c) ∧ (∀ t ∈ Set.Icc 0 H, ∀ (i : Fin N), |mindValue ((E.supportHistory ω).state t) i b a - γ i * z t| ≤ Ev) ∧ ∀ t ∈ Set.Icc H ↑Ht, ∀ (i : Fin N), |mindValue ((E.supportHistory ω).state t) i b a - γ i * z H| ≤ Ev + B.Kv * (t - H) + 2 * B.ϖv

Training and test use the very same own-noise run. The trained light value is identified with (16.2) within (16.4), and its subsequent complete III movement and innovation increments are added, without resetting state.