MindFormal v1.0.0One Mind

MindFormal.Run.A1043LongRunAttention.ActTube

Paper 2, long-run attention, (10) on the run: when the activity innovations of a constant-noise admitted experiment are independent, their loading rows are orthogonal, so any Lipschitz zero-start plan for the activity innovations is the loaded image of a source plan. The source tube after a fixed time s then keeps every activity innovation within h of its plan through s + L, with the explicit price, independently of everything known at s. Other innovations may be correlated with the activity ones; they are not constrained.

theorem MindFormal.A1043LongRunAttention.loaded_cross_covariance {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : J → NNReal → Ω → ℝ} (hB : ∀ (j : J), ProbabilityTheory.IsBrownianReal (B j) μ) (hind : ProbabilityTheory.iIndepFun (fun (j : J) (z : Ω) (t : NNReal) => B j t z) μ) (a b : J → ℝ) (t : NNReal) :
ProbabilityTheory.covariance (loadedSum a B t) (loadedSum b B t) μ = (∑ j : J, a j * b j) * ↑t

The covariance of two loaded rows at one time is their inner product times the time.

theorem MindFormal.A1043LongRunAttention.rows_orthogonal {Ω : Type u_1} {J : Type u_2} [MeasurableSpace Ω] [Fintype J] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {B : J → NNReal → Ω → ℝ} (hB : ∀ (j : J), ProbabilityTheory.IsBrownianReal (B j) μ) (hind : ProbabilityTheory.iIndepFun (fun (j : J) (z : Ω) (t : NNReal) => B j t z) μ) {a b : J → ℝ} (hab : ProbabilityTheory.IndepFun (fun (ω : Ω) (t : NNReal) => loadedSum a B t ω) (fun (ω : Ω) (t : NNReal) => loadedSum b B t ω) μ) :
∑ j : J, a j * b j = 0

Independent loaded rows are orthogonal.

noncomputable def MindFormal.A1043LongRunAttention.srcCtrl {Ω : 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 → ℝ → ℝ) (k : J) (u : ℝ) :

The source plan whose loaded activity rows are the activity plan w.

Equations
Instances For
    noncomputable def MindFormal.A1043LongRunAttention.srcLip {Ω : 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) (k : J) :

    Its Lipschitz constants.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def MindFormal.A1043LongRunAttention.tubeRadius {Ω : 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) (h : ℝ) :

      The source radius that keeps every loaded activity row within h.

      Equations
      Instances For
        theorem MindFormal.A1043LongRunAttention.tubeRadius_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) {h : ℝ} (hh : 0 < h) :
        theorem MindFormal.A1043LongRunAttention.row_radius_le {Ω : 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) {h : ℝ} (hh : 0 < h) (l : Fin N) :
        theorem MindFormal.A1043LongRunAttention.srcCtrl_loaded {Ω : 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) (hind : ProbabilityTheory.iIndepFun (fun (i : Fin N) (ω : Ω) (t : NNReal) => loadedSum (A1029AttentionTiming.actRow E i) E.ground.brownian t ω) E.ground.μ) (hpos : ∀ (i : Fin N), 0 < loadNormSq (A1029AttentionTiming.actRow E i)) (w : Fin N → ℝ → ℝ) (l : Fin N) (u : ℝ) :
        ∑ k : J, A1029AttentionTiming.actRow E l k * srcCtrl E w k u = w l u

        The loaded activity rows of the source plan are the activity plan.

        theorem MindFormal.A1043LongRunAttention.act_tube {Ω : 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) (hind : ProbabilityTheory.iIndepFun (fun (i : Fin N) (ω : Ω) (t : NNReal) => loadedSum (A1029AttentionTiming.actRow E i) E.ground.brownian t ω) E.ground.μ) (hpos : ∀ (i : Fin N), 0 < loadNormSq (A1029AttentionTiming.actRow E i)) (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) {h : ℝ} (hh : 0 < h) (s : NNReal) :
        MeasurableSet (srcTube E.ground.brownian (srcCtrl E w) L (tubeRadius E h) s) ∧ (∀ (A : Set Ω), MeasurableSet A → tubePrice J L (tubeRadius E h) (srcLip E K) * E.ground.μ.real A ≤ E.ground.μ.real (A ∩ srcTube E.ground.brownian (srcCtrl E w) L (tubeRadius E h) s)) ∧ ∀ ω ∈ srcTube E.ground.brownian (srcCtrl E w) L (tubeRadius E h) s, E.data.toPhysicalNoiseData.Good ω → ∀ (i : Fin N), ∀ r ∈ Set.Icc (↑s) (↑s + ↑L), |(E.data.toPhysicalNoiseData.globalData ω).driver r.toNNReal (Sum.inr (Sum.inl i)) - (E.data.toPhysicalNoiseData.globalData ω).driver (↑s).toNNReal (Sum.inr (Sum.inl i)) - w i (r - ↑s)| ≤ h

        The activity tube after s. It is known at s + L; on every event known at s it has at least the explicit price; and on it every activity innovation of the run stays within h of its plan through s + L.