MindFormal v1.0.0One Mind

MindFormal.Run.A1043LongRunAttention.Transfer

Paper 2, long-run attention, (28)–(29): the reference read along the run's own native pulse, and its transfer to the actual learner. The run's focus pulse of a content is the visits' pulse of its own native selections, which are at least ρ apart. Over any window, the actual activity lies within the full target discrepancy ε(1 − e^{−νt}) and the raw-noise margins 2h (below) and 4h (above) of the reference along that pulse; nothing is frozen and no schedule is derived. On a constant-noise run the noise margins hold with the explicit Gaussian excursion chance.

def MindFormal.A1043LongRunAttention.selVisits {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) :

The native selection times of content i.

Equations
Instances For
    theorem MindFormal.A1043LongRunAttention.selVisits_countable {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) :
    theorem MindFormal.A1043LongRunAttention.selVisits_nonneg {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) (υ : ℝ) :
    υ ∈ selVisits G i → 0 ≤ υ
    theorem MindFormal.A1043LongRunAttention.selVisits_separated {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) (υ : ℝ) :
    υ ∈ selVisits G i → ∀ υ' ∈ selVisits G i, υ ≠ υ' → G.pause true ≤ |υ - υ'|

    Native selections of one content are at least the pause apart.

    theorem MindFormal.A1043LongRunAttention.run_pulse_eq {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) {t : ℝ} (ht : 0 ≤ t) :
    G.pulse t i = visitPulse (G.pause true) (selVisits G i) t

    The run's pulse is the visits' pulse of its own selections.

    theorem MindFormal.A1043LongRunAttention.pulse_target_integrable {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) (Toff Tatt : ℝ) {a r : ℝ} (ha : 0 ≤ a) (hr : 0 ≤ r) :
    IntervalIntegrable (fun (u : ℝ) => Toff + (Tatt - Toff) * G.pulse (a + u) i) MeasureTheory.volume 0 r

    The reference target along the run's own pulse is interval integrable.

    theorem MindFormal.A1043LongRunAttention.pulse_transfer {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (i : Fin N) {a r Toff Tatt ε h : ℝ} (ha : 0 ≤ a) (hr : 0 ≤ r) (henv : ∀ u ∈ Set.Ioc 0 r, |G.target i (a + u) - (Toff + (Tatt - Toff) * G.pulse (a + u) i)| ≤ ε) (hξ : ∀ u ∈ Set.Icc 0 r, |A1029AttentionTiming.innov G i a u| ≤ h) :
    expConv G.data.activity.ν (mindActivity (G.state a) i) (fun (u : ℝ) => Toff + (Tatt - Toff) * G.pulse (a + u) i) r - ε * (1 - Real.exp (-G.data.activity.ν * r)) - 2 * h ≤ mindActivity (G.state (a + r)) i ∧ mindActivity (G.state (a + r)) i ≤ expConv G.data.activity.ν (mindActivity (G.state a) i) (fun (u : ℝ) => Toff + (Tatt - Toff) * G.pulse (a + u) i) r + ε * (1 - Real.exp (-G.data.activity.ν * r)) + 4 * h

    The transfer (28). Over any window from a, with the actual target within ε of the reference target along the run's own pulse and the raw innovation within h, the actual activity is enclosed by the reference: x̄ − ε(1 − e^{−νr}) − 2h ≤ x ≤ x̄ + ε(1 − e^{−νr}) + 4h.

    theorem MindFormal.A1043LongRunAttention.certificate_chance {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] {Ω : Type u_3} [MeasurableSpace Ω] {J : Type u_4} [Fintype J] (E : AdmittedExperiment Ω N n T Λ J) (s H : NNReal) (hH : 0 < H) (Toff Tatt ε h : Fin N → ℝ) (hh : ∀ (i : Fin N), 0 < h i) {Env : Set Ω} (henv : ∀ ω ∈ Env, ∀ (i : Fin N), ∀ u ∈ Set.Ioc 0 ↑H, |(E.data.toPhysicalNoiseData.globalData ω).target i (↑s + u) - (Toff i + (Tatt i - Toff i) * (E.data.toPhysicalNoiseData.globalData ω).pulse (↑s + u) i)| ≤ ε i) {εT : ℝ} (hεT : E.ground.μ.real Envᶜ ≤ εT) :
    1 - εT - ∑ i : Fin N, 2 * Real.exp (-(h i ^ 2 / (2 * loadNormSq (A1029AttentionTiming.actRow E i) * ↑H))) ≤ E.ground.μ.real {ω : Ω | ∀ (i : Fin N), ∀ r ∈ Set.Icc 0 ↑H, expConv E.mind.drift.activity.ν (mindActivity ((E.data.toPhysicalNoiseData.globalData ω).state ↑s) i) (fun (u : ℝ) => Toff i + (Tatt i - Toff i) * (E.data.toPhysicalNoiseData.globalData ω).pulse (↑s + u) i) r - ε i * (1 - Real.exp (-E.mind.drift.activity.ν * r)) - 2 * h i ≤ mindActivity ((E.data.toPhysicalNoiseData.globalData ω).state (↑s + r)) i ∧ mindActivity ((E.data.toPhysicalNoiseData.globalData ω).state (↑s + r)) i ≤ expConv E.mind.drift.activity.ν (mindActivity ((E.data.toPhysicalNoiseData.globalData ω).state ↑s) i) (fun (u : ℝ) => Toff i + (Tatt i - Toff i) * (E.data.toPhysicalNoiseData.globalData ω).pulse (↑s + u) i) r + ε i * (1 - Real.exp (-E.mind.drift.activity.ν * r)) + 4 * h i}

    The finite certificate and its chance (28)–(29). On a constant-noise run, from every origin s through H > 0: on every event Env on which each content's actual target stays within ε_i of its reference target along its own pulse, and which fails with chance at most ε_T, every content's activity stays within ε_i(1 − e^{−νr}) and the noise margins 2h_i, 4h_i of its reference, with chance at least 1 − ε_T − 2Σ_i exp(−h_i²/(2G_i²H)).