MindFormal v1.0.0One Mind

MindFormal.Run.A761WidthSharpness.Records

Native records of any given continuation, read from its own path. The first slot is searched from the entering release; at that release the eligible content of largest score wins, ties going to the earlier content in the instance's order; a slot whose next release finds every guard negative through the horizon is empty, and so is every later slot. With a single recorded focus event the mode read by the run is the entering pulse together with that event's pulse.

theorem MindFormal.A761WidthSharpness.nativeRelease_zero {Ω : 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} {c : Bool} :
r.nativeRelease H ω a c 0 = ↑(r.release a ω c)
theorem MindFormal.A761WidthSharpness.nativeRelease_next {Ω : 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} {c : Bool} {k : ℕ} {t : ℝ} {i : Fin (N a)} (he : (r.nativeSearch H ω a c k).event = some (t, i)) :
r.nativeRelease H ω a c (k + 1) = t + (r.member a).pause c
theorem MindFormal.A761WidthSharpness.slot_of_none {Ω : 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} {c : Bool} {k : ℕ} (he : (r.nativeSearch H ω a c k).event = none) :
↑↑(r.records H ω a c) k = emptyActionSlot (Fin (N a))
theorem MindFormal.A761WidthSharpness.none_of_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} {c : Bool} {k : ℕ} (hk : ↑↑(r.records H ω a c) k = emptyActionSlot (Fin (N a))) :
(r.nativeSearch H ω a c k).event = none
theorem MindFormal.A761WidthSharpness.some_of_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} {c : Bool} {k : ℕ} {t : ℝ} {w : Fin (N a)} (hk : ↑↑(r.records H ω a c) k = (t, Sum.inl w)) :
(r.nativeSearch H ω a c k).event = some (t, w)
theorem MindFormal.A761WidthSharpness.slot_empty_succ {Ω : 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} {c : Bool} {k : ℕ} (hk : ↑↑(r.records H ω a c) k = emptyActionSlot (Fin (N a))) :
↑↑(r.records H ω a c) (k + 1) = emptyActionSlot (Fin (N a))

Deferral through the horizon is permanent.

theorem MindFormal.A761WidthSharpness.slot_empty_from {Ω : 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} {c : Bool} {k : ℕ} (hk : ↑↑(r.records H ω a c) k = emptyActionSlot (Fin (N a))) (j : ℕ) :
k ≤ j → ↑↑(r.records H ω a c) j = emptyActionSlot (Fin (N a))
theorem MindFormal.A761WidthSharpness.slot_winner {Ω : 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} {c : Bool} (w : Fin (N a)) (hrel : ↑(r.release a ω c) ≤ ↑H) (hq : 0 ≤ r.nativeGuard H ω a c (↑(r.release a ω c)) w) (hdom : ∀ (j : Fin (N a)), 0 ≤ r.nativeGuard H ω a c (↑(r.release a ω c)) j → r.nativeScore H ω a c (↑(r.release a ω c)) j ≤ r.nativeScore H ω a c (↑(r.release a ω c)) w ∧ (r.nativeScore H ω a c (↑(r.release a ω c)) j = r.nativeScore H ω a c (↑(r.release a ω c)) w → w ≤ j)) :
↑↑(r.records H ω a c) 0 = (↑(r.release a ω c), Sum.inl w)

At the entering release, the eligible content of largest score wins the first slot, a tie going to the content earlier in the instance's order.

theorem MindFormal.A761WidthSharpness.slot_next_empty {Ω : 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} {c : Bool} {k : ℕ} {t₀ : ℝ} {w : Fin (N a)} (hk : ↑↑(r.records H ω a c) k = (t₀, Sum.inl w)) (hquiet : ∀ t ∈ Set.Icc (t₀ + (r.member a).pause c) ↑H, ∀ (j : Fin (N a)), r.nativeGuard H ω a c t j < 0) :
↑↑(r.records H ω a c) (k + 1) = emptyActionSlot (Fin (N a))

After a recorded event, the next slot is empty when every guard is negative from that event's release through the horizon (in particular when that release is after the horizon).

theorem MindFormal.A761WidthSharpness.historyPulse_single {C : Type u_6} [DecidableEq C] (pause : ℝ) (h : FiniteActionHistory C) {t₀ : ℝ} {w : C} (h0 : ↑h 0 = (t₀, Sum.inl w)) (hrest : ∀ (k : ℕ), 1 ≤ k → ↑h k = emptyActionSlot C) (t : ℝ) (i : C) :
historyPulse pause h t i = if i = w ∧ t₀ ≤ t ∧ t < t₀ + pause then 1 else 0

A history with one event, at t₀ on w, gives w's pulse on [t₀, t₀ + pause).

theorem MindFormal.A761WidthSharpness.historyPulse_empty {C : Type u_6} (pause : ℝ) (h : FiniteActionHistory C) (hrest : ∀ (k : ℕ), ↑h k = emptyActionSlot C) (t : ℝ) (i : C) :
historyPulse pause h t i = 0

An empty history gives no pulse.

theorem MindFormal.A761WidthSharpness.rawMode_single {Ω : 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₀ : ℝ} {w : Fin (N a)} (h0 : ↑↑(r.records H ω a true) 0 = (t₀, Sum.inl w)) (h1 : ↑↑(r.records H ω a true) 1 = emptyActionSlot (Fin (N a))) {t : NNReal} (ht : t ≤ H) (i : Fin (N a)) :
r.rawMode t ω a i = max (if ↑t < ↑(r.pulseRemaining a ω i) then 1 else 0) (if i = w ∧ t₀ ≤ ↑t ∧ ↑t < t₀ + (r.member a).pause true then 1 else 0)

With one recorded focus event through the horizon, the mode read by the run is the entering pulse together with that event's pulse.

theorem MindFormal.A761WidthSharpness.rawMode_none {Ω : 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} (h0 : ↑↑(r.records H ω a true) 0 = emptyActionSlot (Fin (N a))) {t : NNReal} (ht : t ≤ H) (i : Fin (N a)) :
r.rawMode t ω a i = if ↑t < ↑(r.pulseRemaining a ω i) then 1 else 0

With no recorded focus event through the horizon, the mode is the entering pulse.

theorem MindFormal.A761WidthSharpness.slot_one_empty_short {Ω : 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} {c : Bool} {t₀ : ℝ} {w : Fin (N a)} (h0 : ↑↑(r.records H ω a c) 0 = (t₀, Sum.inl w)) (hshort : ↑H < t₀ + (r.member a).pause c) :
↑↑(r.records H ω a c) 1 = emptyActionSlot (Fin (N a))

On a horizon shorter than the pause, a first event is never followed by another.