MindFormal v1.0.0One Mind

MindFormal.Run.A641Practice.ContrastBalance

noncomputable def MindFormal.A641Practice.historyMean {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) (H : ℝ) (f : ℝ → Ω → ℝ) :
Equations
Instances For
    noncomputable def MindFormal.A641Practice.historyCov {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) (H : ℝ) (f g : ℝ → Ω → ℝ) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.A641Practice.contrast_mean_balance {Ω : Type u_1} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [MeasurableSpace Ω] {N n : ℕ} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (i j k : Fin N) {H : ℝ} (hH : 0 < H) (h0 : MeasureTheory.Integrable (fun (ω : Ω) => contrast (E.supportHistory ω) i j k 0) E.ground.μ) (hF : MeasureTheory.Integrable (fun (ω : Ω) => ∫ (s : ℝ) in 0..H, contrastForcing (E.supportHistory ω) i j k s) E.ground.μ) (hP : MeasureTheory.Integrable (fun (ω : Ω) => ∫ (s : ℝ) in 0..H, contrastLoss (E.supportHistory ω) i s * contrast (E.supportHistory ω) i j k s) E.ground.μ) (hN : MeasureTheory.Integrable (fun (ω : Ω) => contrastNoise (E.supportHistory ω) i j k H) E.ground.μ) (stationary : ProbabilityTheory.IdentDistrib (fun (ω : Ω) => contrast (E.supportHistory ω) i j k H) (fun (ω : Ω) => contrast (E.supportHistory ω) i j k 0) E.ground.μ E.ground.μ) :
      ((historyMean E.ground.μ H fun (s : ℝ) (ω : Ω) => contrastLoss (E.supportHistory ω) i s) * historyMean E.ground.μ H fun (s : ℝ) (ω : Ω) => contrast (E.supportHistory ω) i j k s) = ((historyMean E.ground.μ H fun (s : ℝ) (ω : Ω) => contrastForcing (E.supportHistory ω) i j k s) - historyCov E.ground.μ H (fun (s : ℝ) (ω : Ω) => contrastLoss (E.supportHistory ω) i s) fun (s : ℝ) (ω : Ω) => contrast (E.supportHistory ω) i j k s) + (∫ (ω : Ω), contrastNoise (E.supportHistory ω) i j k H ∂E.ground.μ) / H

      The actual native contrast balance on a stationary finite window. Stationarity removes the expected endpoint change; the original contrast innovation expectation is retained. No stopped local mean is discarded.

      theorem MindFormal.A641Practice.contrast_noise_mean_of_martingale {Ω : Type u_1} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [MeasurableSpace Ω] {N n : ℕ} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) (i j k : Fin N) (hM : MeasureTheory.Martingale (fun (t : NNReal) (ω : Ω) => contrastNoise (E.supportHistory ω) i j k ↑t) E.ground.filtration E.ground.μ) (H : NNReal) :
      ∫ (ω : Ω), contrastNoise (E.supportHistory ω) i j k ↑H ∂E.ground.μ = 0