MindFormal v1.0.0One Mind

MindFormal.Run.A1043LongRunAttention.Block

Paper 2, long-run attention, (13)–(15): the killed block argument. Blocks follow one another on a discrete filtration. A nonnegative moment X_m known at block m's start contracts in mean, E[1_B X_{m+1}] ≤ ϑ E[1_B X_m] + (1 − ϑ)X* Pr(B) for every B known there, and on every B ⊆ {X_m ≤ 2X*} known there block m succeeds with conditional chance at least p. Then on every A known at the first block start the unfinished draws have summed mass at most E[1_A X_0]/((1 − ϑ)X*) + 2Pr(A)/p and mass at most (1 − γ)^m E[1_A(1 + χX_0)], with χ = p/(2(1 − ϑ)X*) and γ = p(1 − ϑ)/(2(1 − ϑ + p)). No independence between blocks is used; no property of the success events except their chance enters.

def MindFormal.A1043LongRunAttention.unfinished {Ω : Type u_1} (A : Set Ω) (S : ℕ → Set Ω) :
ℕ → Set Ω

The draws of A on which none of the first m blocks has succeeded.

Equations
Instances For
    noncomputable def MindFormal.A1043LongRunAttention.tailChi (ϑ Xs p : ℝ) :

    (13)'s χ = p/(2(1 − ϑ)X*).

    Equations
    Instances For

      (13)'s γ = p(1 − ϑ)/(2(1 − ϑ + p)).

      Equations
      Instances For
        theorem MindFormal.A1043LongRunAttention.tailGamma_pos {ϑ p : ℝ} (hϑ : ϑ < 1) (hp : 0 < p) :
        0 < tailGamma ϑ p
        theorem MindFormal.A1043LongRunAttention.tailGamma_lt_one {ϑ p : ℝ} (hϑ0 : 0 ≤ ϑ) (hϑ : ϑ < 1) (hp : 0 < p) :
        tailGamma ϑ p < 1
        theorem MindFormal.A1043LongRunAttention.tail_step {P Q α P' α' ϑ Xs p : ℝ} (hϑ : ϑ < 1) (hXs : 0 < Xs) (hp : 0 < p) (h3 : α' ≤ ϑ * α + (1 - ϑ) * Xs * P) (h4 : 2 * Xs * (P - Q) ≤ α) (h2 : p * Q ≤ P - P') (hQ : 0 ≤ Q) :
        P' + tailChi ϑ Xs p * α' ≤ (1 - tailGamma ϑ p) * (P + tailChi ϑ Xs p * α)

        One step of the tail weight P + χα along the real sequences.

        theorem MindFormal.A1043LongRunAttention.block_bounds {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (𝒢 : ℕ → MeasurableSpace Ω) (h𝒢 : ∀ (m : ℕ), 𝒢 m ≤ mΩ) (hmono : ∀ (m : ℕ), 𝒢 m ≤ 𝒢 (m + 1)) (X : ℕ → Ω → ℝ) (hXm : ∀ (m : ℕ), Measurable (X m)) (S : ℕ → Set Ω) (hS : ∀ (m : ℕ), MeasurableSet (S m)) {ϑ Xs p : ℝ} (hϑ0 : 0 ≤ ϑ) (hϑ1 : ϑ < 1) (hXs : 0 < Xs) (hp : 0 < p) (hlyap : ∀ (m : ℕ) (B : Set Ω), MeasurableSet B → ∫⁻ (ω : Ω) in B, ENNReal.ofReal (X (m + 1) ω) ∂μ ≤ ENNReal.ofReal ϑ * ∫⁻ (ω : Ω) in B, ENNReal.ofReal (X m ω) ∂μ + ENNReal.ofReal ((1 - ϑ) * Xs) * μ B) (hmin : ∀ (m : ℕ) (B : Set Ω), MeasurableSet B → (∀ ω ∈ B, X m ω ≤ 2 * Xs) → ENNReal.ofReal p * μ B ≤ μ (B ∩ S m)) {A : Set Ω} (hA : MeasurableSet A) :
        ∑' (m : ℕ), μ (unfinished A S m) ≤ (∫⁻ (ω : Ω) in A, ENNReal.ofReal (X 0 ω) ∂μ) / ENNReal.ofReal ((1 - ϑ) * Xs) + ENNReal.ofReal (2 / p) * μ A ∧ ∀ (m : ℕ), μ (unfinished A S m) ≤ ENNReal.ofReal ((1 - tailGamma ϑ p) ^ m) * (μ A + ENNReal.ofReal (tailChi ϑ Xs p) * ∫⁻ (ω : Ω) in A, ENNReal.ofReal (X 0 ω) ∂μ)

        The killed block bounds (14).

        theorem MindFormal.A1043LongRunAttention.unfinished_inter {Ω : Type u_1} (A : Set Ω) (S : ℕ → Set Ω) (m : ℕ) :
        theorem MindFormal.A1043LongRunAttention.block_ae {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (𝒢 : ℕ → MeasurableSpace Ω) (h𝒢 : ∀ (m : ℕ), 𝒢 m ≤ mΩ) (hmono : ∀ (m : ℕ), 𝒢 m ≤ 𝒢 (m + 1)) (X : ℕ → Ω → ℝ) (hXm : ∀ (m : ℕ), Measurable (X m)) (S : ℕ → Set Ω) (hS : ∀ (m : ℕ), MeasurableSet (S m)) {ϑ Xs p : ℝ} (hϑ0 : 0 ≤ ϑ) (hϑ1 : ϑ < 1) (hXs : 0 < Xs) (hp : 0 < p) (hlyap : ∀ (m : ℕ) (B : Set Ω), MeasurableSet B → ∫⁻ (ω : Ω) in B, ENNReal.ofReal (X (m + 1) ω) ∂μ ≤ ENNReal.ofReal ϑ * ∫⁻ (ω : Ω) in B, ENNReal.ofReal (X m ω) ∂μ + ENNReal.ofReal ((1 - ϑ) * Xs) * μ B) (hmin : ∀ (m : ℕ) (B : Set Ω), MeasurableSet B → (∀ ω ∈ B, X m ω ≤ 2 * Xs) → ENNReal.ofReal p * μ B ≤ μ (B ∩ S m)) :
        μ (⋂ (m : ℕ), unfinished Set.univ S m) = 0

        Some block succeeds, almost surely. Under the hypotheses of block_bounds, the draws on which no block ever succeeds are null.