MindFormal v1.0.0One Mind

MindFormal.Run.A1029AttentionTiming.Clock

Paper 2, attention timing: the native release and reselection clock, with its survival and qualification branches. Everything here is pathwise and holds for any guards and scores of a native schedule, hence for the focus schedule of every complete run.

theorem MindFormal.A1029AttentionTiming.wins_of_event {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k : ℕ} {t : ℝ} {i : Fin N} (h : (S.search k).event = some (t, i)) :
NativeWinner (g t) (f t) i

A recorded event is a qualifying winner of its open race: (1) at the event.

theorem MindFormal.A1029AttentionTiming.event_of_qualified {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k : ℕ} {j : Fin N} (hH : S.release k ≤ H) (hq : 0 ≤ g (S.release k) j) :
∃ (l : Fin N), (S.search k).event = some (S.release k, l) ∧ NativeWinner (g (S.release k)) (f (S.release k)) l

If some content qualifies at an open release no later than the horizon, the race is decided at that release, by its qualifying winner.

theorem MindFormal.A1029AttentionTiming.event_of_wins {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k : ℕ} {i : Fin N} (hH : S.release k ≤ H) (hw : NativeWinner (g (S.release k)) (f (S.release k)) i) :

(1) at an open release selects exactly that content at that release.

theorem MindFormal.A1029AttentionTiming.event_of_wins_at {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k : ℕ} {r : ℝ} {i : Fin N} (hr : S.release k = r) (hH : r ≤ H) (hw : NativeWinner (g r) (f r) i) :
(S.search k).event = some (r, i)

(1) at a release r selects exactly that content at r.

theorem MindFormal.A1029AttentionTiming.event_later_of_unqualified {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k : ℕ} (hq : ∀ (j : Fin N), g (S.release k) j < 0) {s : ℝ} {l : Fin N} (he : (S.search k).event = some (s, l)) :
S.release k < s

If nothing qualifies at an open release, its event (if any) is strictly later: IV waits.

theorem MindFormal.A1029AttentionTiming.event_none_of_le {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {m : ℕ} (hm : (S.search m).event = none) (n : ℕ) :
m ≤ n → (S.search n).event = none

Deferral is terminal: after an empty slot every later slot is empty.

theorem MindFormal.A1029AttentionTiming.reselect {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k : ℕ} {t : ℝ} {i : Fin N} (hk : (S.search k).event = some (t, i)) (m : ℕ) :
(∀ (ℓ : ℕ), 1 ≤ ℓ → ℓ ≤ m → t + ↑ℓ * ρ ≤ H ∧ NativeWinner (g (t + ↑ℓ * ρ)) (f (t + ↑ℓ * ρ)) i) → (S.search (k + m)).event = some (t + ↑m * ρ, i)

The reselection clock: from a selection of i at t, while (1) holds for i at each release t + ℓρ within the horizon, IV reselects i exactly there.

theorem MindFormal.A1029AttentionTiming.release_after {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k : ℕ} {t : ℝ} {i : Fin N} (hk : (S.search k).event = some (t, i)) (m : ℕ) (hw : ∀ (ℓ : ℕ), 1 ≤ ℓ → ℓ ≤ m → t + ↑ℓ * ρ ≤ H ∧ NativeWinner (g (t + ↑ℓ * ρ)) (f (t + ↑ℓ * ρ)) i) :
S.release (k + (m + 1)) = t + ↑(m + 1) * ρ

The release that follows m reselections.

theorem MindFormal.A1029AttentionTiming.first_failure {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k : ℕ} {t : ℝ} {i : Fin N} (hk : (S.search k).event = some (t, i)) {M : ℕ} (hM : 1 ≤ M) (hMH : t + ↑M * ρ ≤ H) (hw : ∀ (ℓ : ℕ), 1 ≤ ℓ → ℓ < M → NativeWinner (g (t + ↑ℓ * ρ)) (f (t + ↑ℓ * ρ)) i) (hf : ¬NativeWinner (g (t + ↑M * ρ)) (f (t + ↑M * ρ)) i) :
S.release (k + M) = t + ↑M * ρ ∧ (∀ (s : ℝ) (l : Fin N), (S.search (k + M)).event = some (s, l) → t + ↑M * ρ < s ∨ s = t + ↑M * ρ ∧ l ≠ i ∧ NativeWinner (g (t + ↑M * ρ)) (f (t + ↑M * ρ)) l) ∧ ((∃ (j : Fin N), 0 ≤ g (t + ↑M * ρ) j) → ∃ (l : Fin N), l ≠ i ∧ (S.search (k + M)).event = some (t + ↑M * ρ, l) ∧ NativeWinner (g (t + ↑M * ρ)) (f (t + ↑M * ρ)) l) ∧ ((∀ (j : Fin N), g (t + ↑M * ρ) j < 0) → ∀ (s : ℝ) (l : Fin N), (S.search (k + M)).event = some (s, l) → t + ↑M * ρ < s)

The first failed release M: its slot opens at t + Mρ; if any content qualifies there a different content is selected at once (the switch time equals the dwell); otherwise the next event is strictly later; in no case is i selected at t + Mρ.

theorem MindFormal.A1029AttentionTiming.before_ends {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k n : ℕ} {t s : ℝ} {i l : Fin N} (hk : (S.search k).event = some (t, i)) (hn : (S.search n).event = some (s, l)) (hnk : n < k) :
s + ρ ≤ t

Every selection before slot k ends its pulse by the time of slot k.

theorem MindFormal.A1029AttentionTiming.pulse_on {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k : ℕ} {t : ℝ} {i : Fin N} (hk : (S.search k).event = some (t, i)) {u : ℝ} (htu : t ≤ u) (huH : u ≤ H) (hw : ∀ (ℓ : ℕ), 1 ≤ ℓ → t + ↑ℓ * ρ ≤ u → NativeWinner (g (t + ↑ℓ * ρ)) (f (t + ↑ℓ * ρ)) i) :

During the uninterrupted dwell the native pulse of i is on.

theorem MindFormal.A1029AttentionTiming.pulse_off {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {k : ℕ} {t : ℝ} {i : Fin N} (hk : (S.search k).event = some (t, i)) {M : ℕ} (hM : 1 ≤ M) (hMH : t + ↑M * ρ ≤ H) (hw : ∀ (ℓ : ℕ), 1 ≤ ℓ → ℓ < M → NativeWinner (g (t + ↑ℓ * ρ)) (f (t + ↑ℓ * ρ)) i) (hf : ¬NativeWinner (g (t + ↑M * ρ)) (f (t + ↑M * ρ)) i) :
nativeFocusPulse S (t + ↑M * ρ) i = 0

At the first failed release the native pulse of i is off.

theorem MindFormal.A1029AttentionTiming.event_iff {N : ℕ} {g f : ℝ → Fin N → ℝ} {H ρ : ℝ} (S : NativeSchedule g f H ρ) {n : ℕ} {t : ℝ} {w : Fin N} (htH : t ≤ H) :
(S.search n).event = some (t, w) ↔ S.release n ≤ t ∧ NativeWinner (g t) (f t) w ∧ ∀ (s : ℝ), S.release n ≤ s → s < t → ∀ (j : Fin N), g s j < 0

The visit test (05.26's native premise). A slot's event is the proposed visit (t, w), t ≤ H, exactly when the slot is open by t, w wins the race at t by (1), and no content qualifies anywhere in [release, t). With the next slot released ρ after each event, a proposed sequence of visits is realized exactly when this holds visit by visit; the waiting condition is vacuous at spacing ρ.

theorem MindFormal.A1029AttentionTiming.focus_guard {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (R : PhysicalNativeReads N n T) (s : PhysicalState N n T Λ) (j : Fin N) :
theorem MindFormal.A1029AttentionTiming.focus_score {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (R : PhysicalNativeReads N n T) (s : PhysicalState N n T Λ) (j : Fin N) :
theorem MindFormal.A1029AttentionTiming.wins_iff_aware {N n : ℕ} {T : Type u_1} {Λ : Type u_2} (R : PhysicalNativeReads N n T) (s : PhysicalState N n T Λ) (i : Fin N) :

(1) as printed. IV's open-race winner test (qualifying set, fixed priority) is exactly: i is aware, its score reaches the threshold, it is at least every aware rival's score, and it strictly exceeds every aware rival earlier in the fixed tie order.

@[reducible, inline]
noncomputable abbrev MindFormal.A1029AttentionTiming.focusGuard {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) :
ℝ → Fin N → ℝ

The focus guards of a run along its actual path: min(x − α, Y − ι).

Equations
Instances For
    @[reducible, inline]
    noncomputable abbrev MindFormal.A1029AttentionTiming.focusScore {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) :
    ℝ → Fin N → ℝ

    The focus scores Y of a run along its actual path.

    Equations
    Instances For
      def MindFormal.A1029AttentionTiming.releaseWins {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (t : ℝ) (i : Fin N) (m : ℕ) :

      (1) for i at the m-th release t + mρ after a selection at t.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        noncomputable def MindFormal.A1029AttentionTiming.dwellCount {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (t : ℝ) (i : Fin N) :

        (2) N: the first release at which i is no longer the qualifying winner; ⊤ if none.

        Equations
        Instances For
          noncomputable def MindFormal.A1029AttentionTiming.pulseDwell {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (t : ℝ) (i : Fin N) :

          The uninterrupted pulse duration from t: the first s ≥ 0 at which i's native pulse is off (⊤ if it never is).

          Equations
          Instances For
            theorem MindFormal.A1029AttentionTiming.native_of_event {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {c : Bool} {k : ℕ} {t : ℝ} {p : Fin N} (he : G.event c k = some (t, p)) {H : NNReal} (ht : t ≤ ↑H) :
            ((G.native (↑H) c).search k).event = some (t, p)

            A global native event lies in every finite schedule whose horizon reaches it.

            theorem MindFormal.A1029AttentionTiming.event_of_native {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {c : Bool} {k : ℕ} {t : ℝ} {p : Fin N} {H : NNReal} (he : ((G.native (↑H) c).search k).event = some (t, p)) :
            G.event c k = some (t, p)

            A finite schedule's event is a global native event.

            theorem MindFormal.A1029AttentionTiming.event_time_nonneg {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {c : Bool} {k : ℕ} {t : ℝ} {p : Fin N} (he : G.event c k = some (t, p)) :
            0 ≤ t
            theorem MindFormal.A1029AttentionTiming.dwellCount_spec {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (t : ℝ) (i : Fin N) :
            (dwellCount G t i = ⊤ ∧ ∀ (m : ℕ), 1 ≤ m → releaseWins G t i m) ∨ ∃ (M : ℕ), dwellCount G t i = ↑M ∧ 1 ≤ M ∧ ¬releaseWins G t i M ∧ ∀ (ℓ : ℕ), 1 ≤ ℓ → ℓ < M → releaseWins G t i ℓ
            theorem MindFormal.A1029AttentionTiming.pulse_eq {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {u : ℝ} (hu : 0 ≤ u) {H : NNReal} (huH : u ≤ ↑H) (i : Fin N) :
            G.pulse u i = nativeFocusPulse (G.native (↑H) true) u i

            The run's pulse at u ≥ 0 is the pulse of its focus schedule on any horizon reaching u.

            theorem MindFormal.A1029AttentionTiming.run_reselect {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {k : ℕ} {t : ℝ} {i : Fin N} (hk : G.event true k = some (t, i)) {m : ℕ} (hm : ↑m < dwellCount G t i) :
            G.event true (k + m) = some (t + ↑m * G.pause true, i)

            The reselection clock on the run: every release before the first failure reselects i.

            theorem MindFormal.A1029AttentionTiming.run_pulse_on {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {k : ℕ} {t : ℝ} {i : Fin N} (hk : G.event true k = some (t, i)) {s : ℝ} (hs : 0 ≤ s) (hsN : ENNReal.ofReal s < ENNReal.ofReal (G.pause true) * ↑(dwellCount G t i)) :
            G.pulse (t + s) i = 1

            The pulse of i is on throughout [t, t + ρN).

            theorem MindFormal.A1029AttentionTiming.run_failure {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {k : ℕ} {t : ℝ} {i : Fin N} (hk : G.event true k = some (t, i)) {M : ℕ} (hM : dwellCount G t i = ↑M) :
            1 ≤ M ∧ G.pulse (t + ↑M * G.pause true) i = 0 ∧ ((∃ (j : Fin N), 0 ≤ focusGuard G (t + ↑M * G.pause true) j) → ∃ (l : Fin N), l ≠ i ∧ G.event true (k + M) = some (t + ↑M * G.pause true, l) ∧ NativeWinner (focusGuard G (t + ↑M * G.pause true)) (focusScore G (t + ↑M * G.pause true)) l) ∧ ((∀ (j : Fin N), focusGuard G (t + ↑M * G.pause true) j < 0) → ∀ (s : ℝ) (l : Fin N), G.event true (k + M) = some (s, l) → t + ↑M * G.pause true < s)

            At a finite first failure M the pulse of i is off at t + ρM; if some content qualifies there a different content is selected at that moment (the switch time equals the dwell), and otherwise the next event, if any, is strictly later.

            theorem MindFormal.A1029AttentionTiming.pulseDwell_eq {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) {k : ℕ} {t : ℝ} {i : Fin N} (hk : G.event true k = some (t, i)) :

            (2): the exact native dwell. From a native selection of i at t, the uninterrupted pulse lasts exactly ρN, with N the first release at which i is no longer the qualifying winner; N = ⊤ gives an endless dwell.