Literal finite-window native searches of a supplied history. The added guard carries the entering release; it never resets an ongoing clock.
noncomputable def
MindFormal.GivenHistoryRecords.nativePath
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
(t : ℝ)
:
PhysicalState (N a) (n a) (V a) (Λ a)
Equations
- MindFormal.GivenHistoryRecords.nativePath r H a ω t = (ContinuousMap.IccExtend ⋯ (MindFormal.retractPath (MindFormal.processPath ⋯ H ω))) t
Instances For
noncomputable def
MindFormal.GivenHistoryRecords.score
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
(t : ℝ)
(i : Fin (N a))
:
Equations
- MindFormal.GivenHistoryRecords.score r H a ω t i = ((r.member a).reads.scores false) (MindFormal.GivenHistoryRecords.nativePath r H a ω t) i
Instances For
noncomputable def
MindFormal.GivenHistoryRecords.guard
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
(t : ℝ)
(i : Fin (N a))
:
Equations
- MindFormal.GivenHistoryRecords.guard r H a ω t i = ((r.member a).reads.guards false) (MindFormal.GivenHistoryRecords.nativePath r H a ω t) i
Instances For
noncomputable def
MindFormal.GivenHistoryRecords.schedule
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
:
NativeSchedule
(residualGuard (r.release a ω false) fun (t : ℝ) =>
((r.member a).reads.guards false) ((ContinuousMap.IccExtend ⋯ (retractPath (processPath ⋯ H ω))) t))
(fun (t : ℝ) => ((r.member a).reads.scores false) ((ContinuousMap.IccExtend ⋯ (retractPath (processPath ⋯ H ω))) t))
(↑H) ((r.member a).pause false)
Equations
- MindFormal.GivenHistoryRecords.schedule r H a ω = MindFormal.GroupsWorld.carriedPathSchedule (r.member a).reads (r.member a).pause ⋯ (r.release a ω) ⋯ (MindFormal.processPath ⋯ H ω) false
Instances For
noncomputable def
MindFormal.GivenHistoryRecords.release
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
(k : ℕ)
:
Equations
- MindFormal.GivenHistoryRecords.release r H a ω k = max ((MindFormal.GivenHistoryRecords.schedule r H a ω).release k) ↑(r.release a ω false)
Instances For
noncomputable def
MindFormal.GivenHistoryRecords.search
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
(k : ℕ)
:
NativeSearch (guard r H a ω) (score r H a ω) (release r H a ω k) ↑H
Equations
- MindFormal.GivenHistoryRecords.search r H a ω k = MindFormal.NativeSearch.fromResidual (r.release a ω false) ((MindFormal.GivenHistoryRecords.schedule r H a ω).search k) ⋯
Instances For
theorem
MindFormal.GivenHistoryRecords.guard_eq
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
(t : ℝ)
(j : Fin (N a))
:
theorem
MindFormal.GivenHistoryRecords.initial_release
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
:
theorem
MindFormal.GivenHistoryRecords.next_release
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
{k : ℕ}
{t : ℝ}
{i : Fin (N a)}
(he : (search r H a ω k).event = some (t, i))
:
theorem
MindFormal.GivenHistoryRecords.record_slot
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
(k : ℕ)
:
theorem
MindFormal.GivenHistoryRecords.windows
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
{K : ℕ}
(label : Fin K → Fin (N a))
(center radius phase : Fin K → ℝ)
(_hr : ∀ (q : Fin K), 0 ≤ radius q)
(hH : ∀ (q : Fin K), center q + radius q ≤ ↑H)
(hout : ∀ (q : Fin K), (r.member a).reads.outputs (label q) = true)
(before :
∀ (q : Fin K) (t : ℝ),
phase q ≤ t →
t < center q - radius q →
∀ (j : Fin (N a)), (r.member a).reads.outputs j = true → score r H a ω t j < (r.member a).reads.actionBar)
(winner : ∀ (q : Fin K), (r.member a).reads.actionBar ≤ score r H a ω (center q + radius q) (label q))
(rivals :
∀ (q : Fin K),
∀ t ∈ Set.Icc (center q - radius q) (center q + radius q),
∀ (j : Fin (N a)),
j ≠ label q →
(r.member a).reads.outputs j = true →
(r.member a).reads.actionBar ≤ score r H a ω t j →
score r H a ω t j ≤ score r H a ω t (label q) ∧ (score r H a ω t j = score r H a ω t (label q) → label q ≤ j))
(initial :
∀ (h : 0 < K), phase ⟨0, h⟩ ≤ ↑(r.release a ω false) ∧ ↑(r.release a ω false) ≤ center ⟨0, h⟩ + radius ⟨0, h⟩)
(next :
∀ (q : Fin K) (h : ↑q + 1 < K),
phase ⟨↑q + 1, h⟩ ≤ center q - radius q + (r.member a).pause false ∧ center q + radius q + (r.member a).pause false ≤ center ⟨↑q + 1, h⟩ + radius ⟨↑q + 1, h⟩)
(q : Fin K)
:
Complete score windows imply the actual native winners and times. The first certificate bounds the actual entering release on both sides.
theorem
MindFormal.GivenHistoryRecords.absent
{Ω : Type u_1}
{A : Type u_2}
{J : Type u_3}
[mΩ : MeasurableSpace Ω]
[Fintype A]
{N n : A → ℕ}
{V : A → Type u_4}
{Λ : A → Type u_5}
[(a : A) → Fintype (V a)]
[(a : A) → Fintype (Λ a)]
{μ : MeasureTheory.Measure Ω}
{ℱ : MeasureTheory.Filtration NNReal mΩ}
(r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J)
(H : NNReal)
(a : A)
(ω : Ω)
(i : Fin (N a))
(upper : ∀ t ∈ Set.Icc 0 ↑H, score r H a ω t i < (r.member a).reads.actionBar)
(k : ℕ)
(t : ℝ)
: