MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch12.LeadConfidence.Certificate

theorem MindFormal.LeadConfidence.own_coefficient_certificate {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] [DecidableEq J] (E : StateExperiment Ω N n T Λ J) {H : NNReal} (hH : H ≤ E.horizon) (fav riv : Fin N) (j : J) (υ : ℝ) {a X Xr W v : ℝ} (hax : a ≤ X) (hxr : X ≤ Xr) (F : WriterIndex N n T → ℝ) (b V : InnovationIndex N n T → ℝ) (hF : ∀ (c : WriterIndex N n T), 0 ≤ F c) (hb : ∀ (c : InnovationIndex N n T), 0 ≤ b c) (hV : ∀ (c : InnovationIndex N n T), 0 ≤ V c) (hpos : ∀ (c : InnovationIndex N n T), V c ≠ 0 → 0 < b c) (cap : Set Ω) (hcapm : MeasurableSet cap) {ε : ℝ} (hcap : 1 - ε ≤ E.ground.μ.real cap) (read : ∀ ω ∈ cap, ∀ t ∈ Set.Icc 0 ↑H, ∀ i ∈ {fav, riv}, 0 ≤ ((E.supportHistory ω).reads.guards false) ((E.supportHistory ω).realPath t) i ↔ a ≤ mindActivity ((E.supportHistory ω).state t) i) (start : ∀ ω ∈ cap, ∀ i ∈ {fav, riv}, mindActivity ((E.supportHistory ω).state 0) i < a) (rstart : ∀ ω ∈ cap, ∀ (i : Fin N) (l : Λ), mindTrace ((E.supportHistory ω).state 0) i l ≤ Xr) (xcap : ∀ ω ∈ cap, ∀ i ∉ {fav, riv}, max (mindActivity ((E.supportHistory ω).state 0) i) (1 - E.mind.activity.g) + 2 * b (Sum.inr i) ≤ X) (coeff : ∀ ω ∈ cap, ∀ t ≤ H, ∀ (s : MindState (Fin N) n T Λ), InCorridorBox 0 X Xr W v s → ∀ (c : WriterIndex N n T), |assembledDrift (E.supportHistory ω).data ((E.supportHistory ω).input ↑t) ((E.supportHistory ω).pulse ↑t) s (writerCoord c)| ≤ F c) (close : ∀ ω ∈ cap, ∀ (c : WriterIndex N n T), |(E.supportHistory ω).state 0 (writerCoord c)| + F c * ↑H + b (Sum.inl c) < writerCap W v c) (Zbar dZ : Fin N → ℝ) (hbar : ∀ (i : Fin N), 0 ≤ Zbar i) (supports : ∀ ω ∈ cap, ∀ t ≤ H, ∀ (s : MindState (Fin N) n T Λ), InCorridorBox 0 X Xr W v s → ∀ (i : Fin N), |assembledInputs (E.supportHistory ω).data ((E.supportHistory ω).input ↑t) ((E.supportHistory ω).pulse ↑t) s i - Zbar i| ≤ dZ i) (budget : ∀ ω ∈ cap, ∀ (c : InnovationIndex N n T), Transactions.comparisonBracket E (Transactions.coordinateRead (innovationCoord c)) (fun (k : J) => ItoFiltration.constRow E.horizon (contrastLoading fav riv j υ c k)) (fun (ω : Ω) => min ((E.supportHistory ω).hitTime false 0) (writerExit E.supportHistory writerCoord (writerCap W v) ω)) H ω ≤ ENNReal.ofReal (V c)) :
∃ (good : Set Ω), MeasurableSet good ∧ good ⊆ cap ∧ 1 - min 1 (ε + ∑ c : InnovationIndex N n T, Transactions.bracketPrice (b c) (V c)) ≤ E.ground.μ.real good ∧ ∀ ω ∈ good, ∀ t ≤ ItoFiltration.stopTime ((E.supportHistory ω).hitTime false 0) H, InCorridorBox 0 X Xr W v ((E.supportHistory ω).state ↑t) ∧ (∀ (i : Fin N), |(E.supportHistory ω).target i ↑t - normalizedTarget E.mind.activity.σ E.mind.activity.g Zbar i| ≤ comparisonTargetError E.mind.activity.σ Zbar dZ i) ∧ ∀ (c : InnovationIndex N n T), |(E.supportHistory ω).driver t (innovationCoord c) - ∑ k : J, contrastLoading fav riv j υ c k * (BrownianFiltration.continuousSources E.ground.brownian ω k) t| ≤ b c

OC1.13: the stopped bracket event closes the actual full writer box. The supports are bounded on the coefficient box, and fraction subtraction then gives the target error on the actual run. No closure or path error is an assumption. The original own loading may depend on the whole state.