MindFormal v1.0.0One Mind

MindFormal.Run.A1067NativeFlowKernel.Search

The native search is the first closed-guard hit and the priority selection (02.12, P3-61 C.3). A native search on a continuous state path, from a release in [0, ∞), with no carried pulse, records its event at exactly the first hit of the largest guard at or after the release, and the label it records is the priority selection at the hit; it defers exactly when there is no hit by H. Two paths agreeing up to the first hit of one have the same first hit.

theorem MindFormal.A1067NativeFlowKernel.IccExtend_eq {V : Type u_1} [NormedAddCommGroup V] [NormedSpace ℝ V] [LocallyCompactSpace V] {H : NNReal} (z : C(↑(HorizonTime ↑H), V)) {t : ℝ} (ht : t ∈ Set.Icc 0 ↑H) :
Set.IccExtend ⋯ (⇑z) t = z ⟨t, ht⟩
theorem MindFormal.A1067NativeFlowKernel.evalAt_eq {V : Type u_1} [NormedAddCommGroup V] [NormedSpace ℝ V] [LocallyCompactSpace V] {H : NNReal} (z : C(↑(HorizonTime ↑H), V)) {t : ℝ} (ht : t ∈ Set.Icc 0 ↑H) :
evalAt ⋯ z t = z ⟨t, ht⟩
theorem MindFormal.A1067NativeFlowKernel.hitSet_gmax_iff {V : Type u_1} [NormedAddCommGroup V] [NormedSpace ℝ V] [LocallyCompactSpace V] {N : ℕ} [NeZero N] {G : V → Fin N → ℝ} {H : NNReal} (z : C(↑(HorizonTime ↑H), V)) (b t : ℝ) :
t ∈ hitSet (gmax G) z b ↔ ∃ (ht : t ∈ Set.Icc 0 ↑H), b ≤ t ∧ ∃ (i : Fin N), 0 ≤ G (z ⟨t, ht⟩) i
theorem MindFormal.A1067NativeFlowKernel.search_event_some {V : Type u_1} [NormedAddCommGroup V] [NormedSpace ℝ V] [LocallyCompactSpace V] {N : ℕ} [NeZero N] {G S : V → Fin N → ℝ} {H : NNReal} (z : C(↑(HorizonTime ↑H), V)) {b : ℝ} {r : NNReal} (hr : r = 0) (s : NativeSearch (residualGuard r fun (t : ℝ) => G (Set.IccExtend ⋯ (⇑z) t)) (fun (t : ℝ) => S (Set.IccExtend ⋯ (⇑z) t)) b ↑H) {a : ℝ} {i : Fin N} (he : s.event = some (a, i)) :
hitTime (gmax G) ↑H (z, b) = a ∧ PrioritySelected G S (evalAt ⋯ z a) i

A recorded native event is the first hit, with the priority selection at it.

theorem MindFormal.A1067NativeFlowKernel.search_event_none {V : Type u_1} [NormedAddCommGroup V] [NormedSpace ℝ V] [LocallyCompactSpace V] {N : ℕ} [NeZero N] {G S : V → Fin N → ℝ} {H : NNReal} (z : C(↑(HorizonTime ↑H), V)) {b : ℝ} {r : NNReal} (hr : r = 0) (s : NativeSearch (residualGuard r fun (t : ℝ) => G (Set.IccExtend ⋯ (⇑z) t)) (fun (t : ℝ) => S (Set.IccExtend ⋯ (⇑z) t)) b ↑H) (he : s.event = none) :
hitTime (gmax G) ↑H (z, b) = ↑H + 1

A deferred native search has no hit by H.

theorem MindFormal.A1067NativeFlowKernel.hitTime_of_lt {V : Type u_1} [NormedAddCommGroup V] [NormedSpace ℝ V] [LocallyCompactSpace V] {H : NNReal} {g : V → ℝ} (P : C(↑(HorizonTime ↑H), V)) {b : ℝ} (hb : ↑H < b) :
hitTime g ↑H (P, b) = ↑H + 1

No hit at or after a release past H.

theorem MindFormal.A1067NativeFlowKernel.hitTime_congr {V : Type u_1} [NormedAddCommGroup V] [NormedSpace ℝ V] [LocallyCompactSpace V] {H : NNReal} {g : V → ℝ} (hg : Continuous g) {P Q : C(↑(HorizonTime ↑H), V)} {b : ℝ} (hPQ : ∀ (t : ↑(HorizonTime ↑H)), ↑t ≤ hitTime g ↑H (Q, b) → P t = Q t) :
hitTime g ↑H (P, b) = hitTime g ↑H (Q, b)

Paths agreeing up to the first hit of one have the same first hit.