MindFormal v1.0.0One Mind

MindFormal.Example.LeadConfidence.RestComparison

theorem MindFormal.LeadConfidence.rest_native_lead {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (H : NNReal) (fav riv : Fin N) {a b q : ℝ} (hq : 0 < q) (hqa : q < a) (hb : 0 ≤ b) (hba : b < a) (hH : passageTime G.data.activity.ν a 0 q ≤ ↑H) (read : ∀ t ∈ Set.Icc 0 ↑H, ∀ i ∈ {fav, riv}, 0 ≤ (G.reads.guards false) (G.realPath t) i ↔ q ≤ mindActivity (G.state t) i) (start : mindActivity (G.state 0) fav = 0 ∧ mindActivity (G.state 0) riv = 0) (held : ∀ t ∈ Set.Icc 0 ↑H, G.target fav t = a ∧ G.target riv t = b ∧ G.driver t.toNNReal (Sum.inr (Sum.inl fav)) = 0 ∧ G.driver t.toNNReal (Sum.inr (Sum.inl riv)) = 0 ∧ ∀ i ∉ {fav, riv}, (G.reads.guards false) (G.realPath t) i < 0) :
∃ r ∈ Set.Icc 0 ↑H, ((G.native (↑H) false).search 0).event = some (r, fav) ∧ r = passageTime G.data.activity.ν a 0 q ∧ mindActivity (G.state r) fav - mindActivity (G.state r) riv = q * (1 - b / a)

OC1.6 is restricted to the named zero-innovation, held-target reference. Its finite native event and the rival's value at that event are derived.