MindFormal v1.0.0One Mind

MindFormal.Run.A1043LongRunAttention.PlanBlocks

Paper 2, long-run attention, §3's shared construction: blocks of length L from an origin s for any Lipschitz zero-start plan w of the activity innovations. Block m succeeds when the activity moment at its start is at most 2𝒳* and the original sources stay in the plan's tube through the block. Then the killed bounds (14) hold for the unfinished draws on every event known at s, some block succeeds almost surely, and on a success every activity starts the block at most ℜ = √(2𝒳*) and every activity innovation stays within 1 of its plan.

noncomputable def MindFormal.A1043LongRunAttention.coverR {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : AdmittedExperiment Ω N n T Λ J) :

(6)'s start bound ℜ = √(2𝒳*).

Equations
Instances For
    def MindFormal.A1043LongRunAttention.planS {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : AdmittedExperiment Ω N n T Λ J) (w : Fin N → ℝ → ℝ) (L s : NNReal) (m : ℕ) :
    Set Ω

    Block m's success event for the plan w.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def MindFormal.A1043LongRunAttention.planPrice {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : AdmittedExperiment Ω N n T Λ J) (K : Fin N → NNReal) (L : NNReal) :

      The block price 𝔭 of the plan with Lipschitz constants K.

      Equations
      Instances For
        theorem MindFormal.A1043LongRunAttention.momentStar_pos {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : AdmittedExperiment Ω N n T Λ J) (hN : 0 < N) :
        theorem MindFormal.A1043LongRunAttention.act_le_coverR {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : AdmittedExperiment Ω N n T Λ J) {t : NNReal} {ω : Ω} (h : actMoment E t ω ≤ 2 * momentStar E) (i : Fin N) :

        A moment at most 2𝒳* bounds every activity by ℜ.

        theorem MindFormal.A1043LongRunAttention.plan_blocks {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : AdmittedExperiment Ω N n T Λ J) (hpos : ∀ (i : Fin N), 0 < loadNormSq (A1029AttentionTiming.actRow E i)) (hind : ProbabilityTheory.iIndepFun (fun (i : Fin N) (ω : Ω) (t : NNReal) => loadedSum (A1029AttentionTiming.actRow E i) E.ground.brownian t ω) E.ground.μ) (hN : 0 < N) (w : Fin N → ℝ → ℝ) (K : Fin N → NNReal) (hw : ∀ (i : Fin N), LipschitzWith (K i) (w i)) (hw0 : ∀ (i : Fin N), w i 0 = 0) {L : NNReal} (hL : 0 < L) (s : NNReal) :
        (∀ (A : Set Ω), MeasurableSet A → ∑' (m : ℕ), E.ground.μ (unfinished A (planS E w L s) m) ≤ (∫⁻ (ω : Ω) in A, ENNReal.ofReal (actMoment E s ω) ∂E.ground.μ) / ENNReal.ofReal ((1 - Real.exp (-E.mind.drift.activity.ν * ↑L)) * momentStar E) + ENNReal.ofReal (2 / planPrice E K L) * E.ground.μ A ∧ ∀ (m : ℕ), E.ground.μ (unfinished A (planS E w L s) m) ≤ ENNReal.ofReal ((1 - tailGamma (Real.exp (-E.mind.drift.activity.ν * ↑L)) (planPrice E K L)) ^ m) * (E.ground.μ A + ENNReal.ofReal (tailChi (Real.exp (-E.mind.drift.activity.ν * ↑L)) (momentStar E) (planPrice E K L)) * ∫⁻ (ω : Ω) in A, ENNReal.ofReal (actMoment E s ω) ∂E.ground.μ)) ∧ E.ground.μ (⋂ (m : ℕ), unfinished Set.univ (planS E w L s) m) = 0 ∧ (∀ (m : ℕ), MeasurableSet (planS E w L s m)) ∧ (∀ (B : Set Ω), MeasurableSet B → (∀ ω ∈ B, actMoment E s ω ≤ 2 * momentStar E) → ENNReal.ofReal (planPrice E K L) * E.ground.μ B ≤ E.ground.μ (B ∩ planS E w L s 0)) ∧ ∀ (ω : Ω), E.data.toPhysicalNoiseData.Good ω → ∀ (m : ℕ), ω ∈ planS E w L s m → (∀ (i : Fin N), A1029AttentionTiming.act E i (s + ↑m * L) ω ≤ coverR E) ∧ ∀ (i : Fin N), ∀ r ∈ Set.Icc (↑(s + ↑m * L)) (↑(s + ↑m * L) + ↑L), |(E.data.toPhysicalNoiseData.globalData ω).driver r.toNNReal (Sum.inr (Sum.inl i)) - (E.data.toPhysicalNoiseData.globalData ω).driver (↑(s + ↑m * L)).toNNReal (Sum.inr (Sum.inl i)) - w i (r - ↑(s + ↑m * L))| ≤ 1

        The shared block construction.

        theorem MindFormal.A1043LongRunAttention.unfinished_anti {Ω : Type u_1} {A : Set Ω} {S : ℕ → Set Ω} {m m' : ℕ} (h : m ≤ m') :
        unfinished A S m' ⊆ unfinished A S m

        The unfinished draws decrease.

        theorem MindFormal.A1043LongRunAttention.unfinished_sub {Ω : Type u_1} {A : Set Ω} {S : ℕ → Set Ω} (m : ℕ) :
        unfinished A S m ⊆ A
        theorem MindFormal.A1043LongRunAttention.exists_success {Ω : Type u_1} {A : Set Ω} {S : ℕ → Set Ω} {ω : Ω} (hA : ω ∈ A) {M : ℕ} (hM : ω ∉ unfinished A S M) :
        ∃ m < M, ω ∈ S m

        A draw of A that leaves the unfinished set has a successful earlier block.