MindFormal v1.0.0One Mind

MindFormal.Tools.A730ValueChoice.HeldVariance

A scalar coordinate with a linear restoring drift −a(v − m) driven by the ground's vector integral whose row has constant norm G (the row itself may be random and predictable, correlated with every other row): its mean, its exact variance at every horizon, and the stationary variance G²/(2a). Variation of constants pathwise, the library's integration by parts, the isometry and the martingale cross term. No mind object.

theorem MindFormal.A730ValueChoice.affine_variation {a m T : ℝ} (hT : 0 ≤ T) {u M : ℝ → ℝ} (hu : Continuous u) (hM : Continuous M) (heq : ∀ t ∈ Set.Icc 0 T, u t = (u 0 + ∫ (s : ℝ) in 0..t, -a * (u s - m)) + M t) :
u T - m = Real.exp (-a * T) * (u 0 - m) + (M T - ∫ (x : ℝ) in 0..T, M x * (a * Real.exp (-a * (T - x))))

Pathwise variation of constants for u = u₀ − a∫(u − m) + M, M(0) = 0.

theorem MindFormal.A730ValueChoice.sum_norm_expWeight_sq_eq {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype J] [MeasureTheory.IsProbabilityMeasure μ] {a : ℝ} (ha : 0 < a) (H : NNReal) (f : J → ↥(MeasureTheory.Lp ℝ 2 (ItoFiltration.predMeasure ℱ μ H))) {G : ℝ} (hf : ∀ᵐ (z : NNReal × Ω) ∂ItoFiltration.predMeasure ℱ μ H, ∑ j : J, ↑↑(f j) z ^ 2 = G ^ 2) :
∑ j : J, ‖(ItoFiltration.mulWeightOn H (fun (s : NNReal) (x : Ω) => ItoFiltration.expWeight a H ↑s) ⋯ ⋯) (f j)‖ ^ 2 = G ^ 2 * ((1 - Real.exp (-2 * a * ↑H)) / (2 * a))

The decaying-kernel weighted loadings have exact energy G²(1 − e^{−2aH})/(2a) when the row's squared norm is G².

theorem MindFormal.A730ValueChoice.itoVecCont_sq_horizon {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype J] [MeasureTheory.IsProbabilityMeasure μ] {B : J → NNReal → Ω → ℝ} (hB : BrownianFiltration μ ℱ B) (H : NNReal) (g : J → ↥(MeasureTheory.Lp ℝ 2 (ItoFiltration.predMeasure ℱ μ H))) :
MeasureTheory.MemLp (ItoFiltration.itoVecCont B H g H) 2 μ ∧ ∫ (ω : Ω), ItoFiltration.itoVecCont B H g H ω ^ 2 ∂μ = ∑ k : J, ‖g k‖ ^ 2

The weighted integral at the horizon: its square mean is its loadings' energy.

theorem MindFormal.A730ValueChoice.held_affine_moments {Ω : Type u_1} {J : Type u_2} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} [Fintype J] [MeasureTheory.IsProbabilityMeasure μ] {B : J → NNReal → Ω → ℝ} (hB : BrownianFiltration μ ℱ B) {a m G : ℝ} (ha : 0 < a) (H : NNReal) (f : J → ↥(MeasureTheory.Lp ℝ 2 (ItoFiltration.predMeasure ℱ μ H))) (hf : ∀ᵐ (z : NNReal × Ω) ∂ItoFiltration.predMeasure ℱ μ H, ∑ j : J, ↑↑(f j) z ^ 2 = G ^ 2) (v : NNReal → Ω → ℝ) (hv0 : MeasureTheory.StronglyMeasurable (v 0)) (hL2 : MeasureTheory.MemLp (v 0) 2 μ) (hcont : ∀ᵐ (ω : Ω) ∂μ, Continuous fun (t : NNReal) => v t ω) (heq : ∀ᵐ (ω : Ω) ∂μ, ∀ t ≤ H, v t ω = (v 0 ω + ∫ (s : ℝ) in 0..↑t, -a * (v s.toNNReal ω - m)) + ItoFiltration.itoVecCont B H f t ω) :
(∀ᵐ (ω : Ω) ∂μ, v H ω - m = Real.exp (-a * ↑H) * (v 0 ω - m) + ItoFiltration.itoVecCont B H (fun (j : J) => (ItoFiltration.mulWeightOn H (fun (s : NNReal) (x : Ω) => ItoFiltration.expWeight a H ↑s) ⋯ ⋯) (f j)) H ω) ∧ MeasureTheory.MemLp (v H) 2 μ ∧ ∫ (ω : Ω), v H ω ∂μ = m + Real.exp (-a * ↑H) * (∫ (ω : Ω), v 0 ω ∂μ - m) ∧ ∫ (ω : Ω), (v H ω - ∫ (ω' : Ω), v H ω' ∂μ) ^ 2 ∂μ = Real.exp (-2 * a * ↑H) * ∫ (ω : Ω), (v 0 ω - ∫ (ω' : Ω), v 0 ω' ∂μ) ^ 2 ∂μ + G ^ 2 / (2 * a) * (1 - Real.exp (-2 * a * ↑H))

The held affine coordinate. If v has continuous paths, an entering value known at time zero with finite second moment, and satisfies on [0, H] v(t) = v(0) − ∫₀ᵗ a(v − m) + M(t), M the ground's vector integral of a predictable row of squared norm G², then almost surely v(H) − m = e^{−aH}(v(0) − m) + ∫₀ᴴ e^{−a(H−s)} dM_s, the mean relaxes as m + e^{−aH}(E v(0) − m) and the variance is exactly e^{−2aH} Var v(0) + (G²/2a)(1 − e^{−2aH}).