MindFormal v1.0.0One Mind

MindFormal.Example.LeadConfidence.ActivityCaps

theorem MindFormal.LeadConfidence.decision_activity_trace_bounds {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (H U : NNReal) (hstop : ↑U ≤ ((G.native (↑H) false).search 0).event.elim (↑H) Prod.fst) (fav riv : Fin N) {a X Xr : ℝ} (hax : a ≤ X) (hxr : X ≤ Xr) (read : ∀ t ∈ Set.Icc 0 ↑H, ∀ i ∈ {fav, riv}, 0 ≤ (G.reads.guards false) (G.realPath t) i ↔ a ≤ mindActivity (G.state t) i) (start : ∀ i ∈ {fav, riv}, mindActivity (G.state 0) i < a) (rstart : ∀ (i : Fin N) (l : Λ), mindTrace (G.state 0) i l ≤ Xr) (b : Fin N → ℝ) (noise : ∀ t ≤ U, ∀ i ∉ {fav, riv}, |G.driver t (Sum.inr (Sum.inl i))| ≤ b i) (cap : ∀ i ∉ {fav, riv}, max (mindActivity (G.state 0) i) (1 - G.data.activity.g) + 2 * b i ≤ X) (t : ℝ) :
t ∈ Set.Icc 0 ↑U → (∀ (i : Fin N), mindActivity (G.state t) i ∈ Set.Icc 0 X) ∧ ∀ (i : Fin N) (l : Λ), mindTrace (G.state t) i l ∈ Set.Icc 0 Xr

The source activity and D4 trace box before the actual first slot. Only nonanswer innovations pay a full excursion; the large common answer noise is retained and controlled by native prequalification instead.