MindFormal v1.0.0One Mind

MindFormal.Tools.A1043LongRunAttention.SourceTube

Paper 2, long-run attention, (10): after any fixed time s, the original sources' increments stay within r of Lipschitz zero-start controls c through L with probability at least the explicit Cameron–Martin price q(L, r)^{2|J|} e^{−L Σ K_j²}, independently of everything known at s. The tube is read on the rational times of [0, L], so it is an event known at s + L.

def MindFormal.A1043LongRunAttention.pathTube {J : Type u_2} (c : J → ℝ → ℝ) (L : NNReal) (r : ℝ) :
Set (J → NNReal → ℝ)

The set of source paths whose values at the rational times of [0, L] lie within r of the controls c.

Equations
Instances For
    def MindFormal.A1043LongRunAttention.srcTube {Ω : Type u_1} {J : Type u_2} (B : J → NNReal → Ω → ℝ) (c : J → ℝ → ℝ) (L : NNReal) (r : ℝ) (s : NNReal) :
    Set Ω

    The source tube after s: every source increment within r of its control at every rational time of [0, L].

    Equations
    Instances For
      theorem MindFormal.A1043LongRunAttention.mem_srcTube {Ω : Type u_1} {J : Type u_2} {B : J → NNReal → Ω → ℝ} {c : J → ℝ → ℝ} {L : NNReal} {r : ℝ} {s : NNReal} {ω : Ω} :
      ω ∈ srcTube B c L r s ↔ ∀ (j : J) (q : ℚ), 0 ≤ ↑q → ↑q ≤ ↑L → |B j (s + (↑q).toNNReal) ω - B j s ω - c j ↑q| ≤ r
      theorem MindFormal.A1043LongRunAttention.srcTube_measurable {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal inst✝} {B : J → NNReal → Ω → ℝ} [Countable J] (hB : BrownianFiltration μ ℱ B) (c : J → ℝ → ℝ) (L : NNReal) (r : ℝ) (s : NNReal) :

      The tube is known at s + L.

      noncomputable def MindFormal.A1043LongRunAttention.tubePrice (J : Type u_3) [Fintype J] (L : NNReal) (r : ℝ) (K : J → NNReal) :

      The explicit price q(L, r)^{2|J|} e^{−L Σ K_j²}.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        theorem MindFormal.A1043LongRunAttention.tubePrice_pos {J : Type u_2} [Fintype J] {L : NNReal} (hL : 0 < L) {r : ℝ} (hr : 0 < r) (K : J → NNReal) :
        0 < tubePrice J L r K
        theorem MindFormal.A1043LongRunAttention.path_tube {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal inst✝} {B : J → NNReal → Ω → ℝ} (hB : BrownianFiltration μ ℱ B) {L : NNReal} (hL : 0 < L) (c : J → ℝ → ℝ) (K : J → NNReal) (hlip : ∀ (j : J), LipschitzWith (K j) (c j)) (h0 : ∀ (j : J), c j 0 = 0) {r : ℝ} (hr : 0 < r) :
        tubePrice J L r K ≤ μ.real ((fun (ω : Ω) (j : J) (t : NNReal) => B j t ω) ⁻¹' pathTube c L r)

        The price at time zero. For Lipschitz zero-start controls the source paths lie in the rational tube with at least the explicit price.

        theorem MindFormal.A1043LongRunAttention.srcTube_price {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal inst✝} {B : J → NNReal → Ω → ℝ} (hB : BrownianFiltration μ ℱ B) {L : NNReal} (hL : 0 < L) (c : J → ℝ → ℝ) (K : J → NNReal) (hlip : ∀ (j : J), LipschitzWith (K j) (c j)) (h0 : ∀ (j : J), c j 0 = 0) {r : ℝ} (hr : 0 < r) (s : NNReal) {A : Set Ω} (hA : MeasurableSet A) :
        tubePrice J L r K * μ.real A ≤ μ.real (A ∩ srcTube B c L r s)

        (10) after a fixed time. On every event known at s, the source tube after s has at least the explicit price, conditionally: price · Pr(A) ≤ Pr(A ∩ tube).