MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch06.ResponsiveConsequences.Envelopes

theorem MindFormal.ResponsiveConsequences.box_coordinate_tail {Ω : 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) {H : NNReal} (hH : H ≤ E.horizon) (hpos : 0 < H) (B : OwnBox E H) (c : CoordinateIndex (Fin N) n T Λ) {d : ℝ} (hd : 0 < d) (hload : B.loading c ≠ 0) :
∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ B.stream ∧ 1 - B.errorProbability ≤ E.ground.μ.real good ∧ (∀ ω ∈ good, E.own.data.toPhysicalNoiseData.Good ω ∧ ∀ t ∈ Set.Icc 0 ↑H, InCorridorBox (↑(E.start.state ω)) B.X B.Xr B.ρW B.ρv ((E.supportHistory ω).state t) ∧ ∀ (k : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver t.toNNReal k| < B.allowance k) ∧ E.ground.μ.real {ω : Ω | ω ∈ good ∧ ∃ t ∈ Set.Icc 0 ↑H, d ≤ |(E.supportHistory ω).driver t.toNNReal c|} ≤ 2 * Real.exp (-d ^ 2 / (2 * (B.loading c ^ 2 * ↑H)))

SR10: the complete coefficient box closes on the original responsive history. The additional coordinate allowance is local to that same box.

theorem MindFormal.ResponsiveConsequences.box_target_comparison {Ω : 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) {H : NNReal} (B : OwnBox E H) {good : Set Ω} (hs : good ⊆ B.stream) (hg : ∀ ω ∈ good, E.own.data.toPhysicalNoiseData.Good ω ∧ ∀ t ∈ Set.Icc 0 ↑H, InCorridorBox (↑(E.start.state ω)) B.X B.Xr B.ρW B.ρv ((E.supportHistory ω).state t)) (i : Fin N) (lo hi : ℝ → ℝ) (x0 : ℝ) (start : ∀ s0 ∈ B.starts, mindActivity (↑s0) i = x0) (hint : ∀ t ∈ Set.Icc 0 ↑H, IntervalIntegrable lo MeasureTheory.volume 0 t ∧ IntervalIntegrable hi MeasureTheory.volume 0 t) (bounds : ∀ t ∈ Set.Icc 0 ↑H, ∀ s0 ∈ B.starts, ∀ (s : MindState (Fin N) n T Λ), PhysicalMindState s → InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s → ∀ (u q : Fin N → ℝ), 0 ≤ u → u ∈ B.inputs → (∀ (j : Fin N), q j ∈ {0, 1}) → lo t ≤ normalizedTarget E.mind.drift.activity.σ E.mind.drift.activity.g (assembledInputs E.mind.drift u q s) i ∧ normalizedTarget E.mind.drift.activity.σ E.mind.drift.activity.g (assembledInputs E.mind.drift u q s) i ≤ hi t) (ω : Ω) :
ω ∈ good → ∀ t ∈ Set.Icc 0 ↑H, expConv E.mind.drift.activity.ν x0 lo t ≤ (E.supportHistory ω).targetConv i t ∧ (E.supportHistory ω).targetConv i t ≤ expConv E.mind.drift.activity.ν x0 hi t

Deterministic target envelopes are tested on complete coefficients and every available input/native mode, not on a branch selected in advance.