MindFormal v1.0.0One Mind

MindFormal.Run.PendingRead

theorem MindFormal.PhysicalGlobalData.pending_read {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (endTime p H : NNReal) (k : ℕ) {dr : MindDriftData (Fin N) n T Λ} (R : LearningReference dr H) (lo hi : ↑(HorizonTime ↑H)) (C : Set (Fin N)) (a : Fin N) {e room Lg Lf : ℝ} (hLg : 0 ≤ Lg) (hLf : 0 ≤ Lf) (hrelease : ↑p ≤ (G.native (↑endTime) false).release k ∧ (G.native (↑endTime) false).release k ≤ ↑p + ↑lo) (hlh : lo ≤ hi) (hend : ↑p + ↑hi ≤ ↑endTime) (hcompare : ∀ (t : ↑(HorizonTime ↑H)), ↑(↑p + ↑t).toNNReal ≤ G.hitTime false k → ‖G.state (↑p + ↑t) - R.path t‖ ≤ e ∧ ‖G.state (↑p + ↑t) - R.path t‖ < room) (hguard : ∀ (t : ↑(HorizonTime ↑H)) (z : PhysicalState N n T Λ), ‖↑z - R.path t‖ ≤ room → ∀ (i : Fin N), |(G.reads.guards false) z i - (G.reads.guards false) (R.realPath ↑t) i| ≤ Lg * ‖↑z - R.path t‖) (hscore : ∀ (t : ↑(HorizonTime ↑H)) (z : PhysicalState N n T Λ), ‖↑z - R.path t‖ ≤ room → ∀ (i : Fin N), |(G.reads.scores false) z i - (G.reads.scores false) (R.realPath ↑t) i| ≤ Lf * ‖↑z - R.path t‖) (hbefore : ∀ (t : ↑(HorizonTime ↑H)), (G.native (↑endTime) false).release k ≤ ↑p + ↑t → t < lo → ∀ (i : Fin N), (G.reads.guards false) (R.realPath ↑t) i < -(Lg * e)) (hready : Lg * e ≤ (G.reads.guards false) (R.realPath ↑hi) a) (houtside : ∀ t ∈ Set.Icc lo hi, ∀ i ∉ C, -(Lg * e) ≤ (G.reads.guards false) (R.realPath ↑t) i → ∃ (w : Fin N), Lg * e ≤ (G.reads.guards false) (R.realPath ↑t) w ∧ (G.reads.scores false) (R.realPath ↑t) i + 2 * (Lf * e) < (G.reads.scores false) (R.realPath ↑t) w) :
∃ t ∈ Set.Icc lo hi, ∃ i ∈ C, ((G.native (↑endTime) false).search k).event = some (↑p + ↑t, i) ∧ ‖G.state (↑p + ↑t) - R.path t‖ ≤ e

Complete guard and ranking margins are transported from a full physical reference only while the original next act is pending. Qualified releases and arbitrary accepted label sets use the native maximum rule. The attained full-state enclosure is retained for the next returned phase.