MindFormal v1.0.0One Mind

MindFormal.Run.A910SearchReturns.ScanWorld

The scan family's one-pass calendar. With action bar 0 an act always qualifies, so the k-th act falls at 30k for k ≤ 26 and none later; the record's slot k is that act. While every act from 450 has been a next act the world shows the distractor feature, so by strong induction on the acts the next act wins every act through the target's appearance; the target item then makes the accept act win the following one.

@[reducible, inline]

The run's action record on [0,780].

Equations
Instances For
    theorem MindFormal.A910SearchReturns.scan_slot_some {G : PhysicalGlobalData 4 1 Unit Unit} {k : ℕ} {t : ℝ} {i : Fin 4} (he : ((G.native 780 false).search k).event = some (t, i)) :
    ↑(scanHist G) k = (t, Sum.inl i)
    theorem MindFormal.A910SearchReturns.exists_window {s : ℝ} (h : 420 < s) :
    ∃ (m : ℕ), ↑(14 + m) * 30 < s ∧ s ≤ ↑(15 + m) * 30

    A window of the act calendar from 420.

    theorem MindFormal.A910SearchReturns.ScanSetup.act_none {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} (S : ScanSetup G n K) {k : ℕ} (hk : 26 < k) :
    theorem MindFormal.A910SearchReturns.ScanSetup.past_slot {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} (S : ScanSetup G n K) {lab : ℕ → Fin 4} (hlab : ∀ k ≤ 26, ((G.native 780 false).search k).event = some (↑k * 30, lab k)) {s : ℝ} (hs : s ≤ 780) (k : ℕ) :
    ↑(actionPast s (scanHist G)) k = if ↑k * 30 < s then (↑k * 30, Sum.inl (lab k)) else emptyActionSlot (Fin 4)

    The strict-past record at s: the act at 30k once 30k < s.

    theorem MindFormal.A910SearchReturns.ScanSetup.count_eq {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} (S : ScanSetup G n K) {lab : ℕ → Fin 4} (hlab : ∀ k ≤ 26, ((G.native 780 false).search k).event = some (↑k * 30, lab k)) {m : ℕ} {s : ℝ} (h1 : ↑(14 + m) * 30 < s) (h2 : s ≤ ↑(15 + m) * 30) (hs : s ≤ 780) :

    The world's count of acts from 450 in the m-th window.

    theorem MindFormal.A910SearchReturns.ScanSetup.accepted_iff {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} (S : ScanSetup G n K) {lab : ℕ → Fin 4} (hlab : ∀ k ≤ 26, ((G.native 780 false).search k).event = some (↑k * 30, lab k)) {s : ℝ} (hs : s ≤ 780) :
    scanAccepted (actionPast s (scanHist G)) ↔ ∃ k < 64, ↑k * 30 < s ∧ 450 ≤ ↑k * 30 ∧ lab k = 2

    The world's accept test reads an accept act from 450 strictly before s.

    theorem MindFormal.A910SearchReturns.ScanSetup.input_zero_of {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} (S : ScanSetup G n K) {s : ℝ} (h440 : 440 ≤ s) (hs : s ≤ 780) (h : scanAccepted (actionPast s (scanHist G)) ∨ n < scanCount (actionPast s (scanHist G))) :
    G.input s = 0

    After an accept act from 450, or once the count passes n, the world is blank.

    theorem MindFormal.A910SearchReturns.ScanSetup.input_window {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} (S : ScanSetup G n K) {lab : ℕ → Fin 4} (hlab : ∀ k ≤ 26, ((G.native 780 false).search k).event = some (↑k * 30, lab k)) {m : ℕ} {s : ℝ} (h440 : 440 ≤ s) (h1 : ↑(14 + m) * 30 < s) (h2 : s ≤ ↑(15 + m) * 30) (hs : s ≤ 780) (hacc : ∀ (k : ℕ), 15 ≤ k → k < 15 + m → lab k ≠ 2) (hmn : m ≤ n) :

    In the m-th window with no accept act yet and m ≤ n, the world shows the target if m = K and the distractor otherwise.

    theorem MindFormal.A910SearchReturns.ScanSetup.act_qualifies {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} {b : ℝ} (S : ScanSetup G n K) (hn : ScanNoise G b) (hb : b ≤ 1 / 10 ^ 8) (t : ℝ) :
    t ∈ Set.Icc 0 780 → ∃ (w : Fin 4), 0 ≤ (G.reads.guards false) (G.realPath t) w

    Some act always qualifies on [0,780]: the accept act's activity is nonnegative.

    theorem MindFormal.A910SearchReturns.ScanSetup.act_times {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} {b : ℝ} (S : ScanSetup G n K) (hn : ScanNoise G b) (hb : b ≤ 1 / 10 ^ 8) :
    ∃ (lab : ℕ → Fin 4), ∀ k ≤ 26, ((G.native 780 false).search k).event = some (↑k * 30, lab k)

    The k-th act falls at 30k for every k ≤ 26.

    theorem MindFormal.A910SearchReturns.ScanSetup.act_label {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} {b : ℝ} (S : ScanSetup G n K) (hn : ScanNoise G b) (hb : b ≤ 1 / 10 ^ 8) {k : ℕ} (hk : k ≤ 26) (w : Fin 4) (hw : 2 ≤ ↑w) (hd : ∀ (j : Fin 4), j ≠ w → 2 ≤ ↑j → mindActivity (G.state (↑k * 30)) j < mindActivity (G.state (↑k * 30)) w) :
    ((G.native 780 false).search k).event = some (↑k * 30, w)

    A strictly dominant act content wins the act at 30k.

    theorem MindFormal.A910SearchReturns.ScanSetup.distractor_input {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} (S : ScanSetup G n K) {lab : ℕ → Fin 4} (hlab : ∀ k ≤ 26, ((G.native 780 false).search k).event = some (↑k * 30, lab k)) {j : ℕ} (hj : j ≤ 26) (hm : ∀ (m : ℕ), 14 + m < j → m ≤ n ∧ m ≠ K) (hl : ∀ (k : ℕ), 15 ≤ k → k < j → lab k ≠ 2) (s : ℝ) :
    s ∈ Set.Icc 440 (↑j * 30) → G.input s = dOnly

    Before the j-th act, with every earlier act from 450 a non-accept and every window count at most n and not K, the world shows the distractor feature from 440.

    theorem MindFormal.A910SearchReturns.ScanSetup.next_acts {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} {b : ℝ} (S : ScanSetup G n K) (hn : ScanNoise G b) (hb : b ≤ 1 / 10 ^ 8) {lab : ℕ → Fin 4} (hlab : ∀ k ≤ 26, ((G.native 780 false).search k).event = some (↑k * 30, lab k)) {J : ℕ} (hJ : J ≤ 25) (hm : ∀ (m : ℕ), 14 + m < J → m ≤ n ∧ m ≠ K) (j : ℕ) :
    15 ≤ j → j ≤ J → lab j = 3

    While the window counts stay at most n and differ from K, the acts 15..J are next acts.

    theorem MindFormal.A910SearchReturns.ScanSetup.accept_act {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} {b : ℝ} (S : ScanSetup G n K) (hn : ScanNoise G b) (hb : b ≤ 1 / 10 ^ 8) {lab : ℕ → Fin 4} (hlab : ∀ k ≤ 26, ((G.native 780 false).search k).event = some (↑k * 30, lab k)) (hK1 : 1 ≤ K) (hKn : K ≤ n) (hK : K ≤ 11) :
    lab (15 + K) = 2

    The present run: with the target at K the act at 450+30K is the accept act.

    theorem MindFormal.A910SearchReturns.ScanSetup.no_focus {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} {b : ℝ} (S : ScanSetup G n K) (hn : ScanNoise G b) (hb : b ≤ 1 / 10 ^ 8) (k : ℕ) :

    The focus clock never fires: attention bar 1 is above every activity in the box.

    theorem MindFormal.A910SearchReturns.ScanSetup.present_run {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} {b : ℝ} (S : ScanSetup G n K) (hn : ScanNoise G b) (hb : b ≤ 1 / 10 ^ 8) (hK1 : 1 ≤ K) (hKn : K ≤ n) (hK : K ≤ 11) :
    (∀ k ≤ 26, ∃ (i : Fin 4), ((G.native 780 false).search k).event = some (↑k * 30, i)) ∧ (∀ (k : ℕ), 26 < k → ((G.native 780 false).search k).event = none) ∧ (∀ (k : ℕ), ((G.native 780 true).search k).event = none) ∧ (∀ j < K, ((G.native 780 false).search (15 + j)).event = some (450 + 30 * ↑j, 3)) ∧ ((G.native 780 false).search (15 + K)).event = some (450 + 30 * ↑K, 2) ∧ (∀ s ∈ Set.Icc 440 (420 + 30 * ↑K), G.input s = dOnly) ∧ (∀ s ∈ Set.Ioc (420 + 30 * ↑K) (450 + 30 * ↑K), G.input s = fOnly) ∧ ∀ s ∈ Set.Ioc (450 + 30 * ↑K) 780, G.input s = 0

    The present run on one admitted instance: acts exactly every 30 through 780; with the target at K (1 ≤ K ≤ n ≤ 11) the acts at 450,…,420+30K are next acts and the act at 450+30K is the accept act; the world shows the distractor feature on [440,420+30K], the target on (420+30K,450+30K] and nothing after the accept.

    theorem MindFormal.A910SearchReturns.ScanSetup.absent_run {G : PhysicalGlobalData 4 1 Unit Unit} {n K : ℕ} {b : ℝ} (S : ScanSetup G n K) (hn : ScanNoise G b) (hb : b ≤ 1 / 10 ^ 8) (hnK : n < K) (hn10 : n ≤ 10) :
    (∀ k ≤ 26, ∃ (i : Fin 4), ((G.native 780 false).search k).event = some (↑k * 30, i)) ∧ (∀ (k : ℕ), 26 < k → ((G.native 780 false).search k).event = none) ∧ (∀ (k : ℕ), ((G.native 780 true).search k).event = none) ∧ (∀ j ≤ n, ((G.native 780 false).search (15 + j)).event = some (450 + 30 * ↑j, 3)) ∧ (∀ s ∈ Set.Icc 440 (450 + 30 * ↑n), G.input s = dOnly) ∧ ∀ s ∈ Set.Ioc (450 + 30 * ↑n) 780, G.input s = 0

    The absent run (n < K, n ≤ 10): the acts at 450,…,450+30n are next acts, the world shows the distractor feature on [440,450+30n] and the list is closed after the n-th next act.