MindFormal v1.0.0One Mind

MindFormal.Tools.A705SupportChoices.Gaussian

19.16 §5, FM1.7: the named scalar comparison with retained independent centered Gaussian contrast increments of variance ς² per block, from a deterministic preparation.

The nonnegative square x².

Equations
Instances For
    @[simp]
    theorem MindFormal.A705SupportChoices.weighted_gaussian {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (ξ : ℕ → Ω → ℝ) (v : NNReal) (hξ : ∀ (k : ℕ), ProbabilityTheory.HasLaw (ξ k) (ProbabilityTheory.gaussianReal 0 v) μ) (hind : ProbabilityTheory.iIndepFun ξ μ) (c : ℕ → ℝ) (s : Finset ℕ) :
    ProbabilityTheory.HasLaw (fun (ω : Ω) => ∑ k ∈ s, c k * ξ k ω) (ProbabilityTheory.gaussianReal 0 (∑ k ∈ s, sqNN (c k) * v)) μ

    Finite weighted sums of independent centered Gaussians are centered Gaussian with the summed weighted variance.

    def MindFormal.A705SupportChoices.noisyRetained {Ω : Type u_1} (ρ b Δ V0 : ℝ) (ξ : ℕ → Ω → ℝ) :
    ℕ → Ω → ℝ

    The noisy block recursion V(ℓ+1) = ϱV(ℓ) + (1-ϱ)bΔ + ξ_ℓ.

    Equations
    Instances For
      theorem MindFormal.A705SupportChoices.noisyRetained_eq {Ω : Type u_1} (ρ b Δ V0 : ℝ) (ξ : ℕ → Ω → ℝ) (l : ℕ) (ω : Ω) :
      noisyRetained ρ b Δ V0 ξ l ω = retained ρ b Δ V0 l + ∑ k ∈ Finset.range l, ρ ^ (l - 1 - k) * ξ k ω
      theorem MindFormal.A705SupportChoices.variance_sum {ρ : ℝ} (hρ : ρ ^ 2 ≠ 1) (v : ℝ) (l : ℕ) :
      ∑ k ∈ Finset.range l, (ρ ^ (l - 1 - k)) ^ 2 * v = v * (1 - ρ ^ (2 * l)) / (1 - ρ ^ 2)

      FM1.7's block variance s²(ℓ) = ς² Σ_{k<ℓ} ϱ^{2k} = ς²(1-ϱ^{2ℓ})/(1-ϱ²).

      theorem MindFormal.A705SupportChoices.noisy_law {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (ρ b Δ V0 : ℝ) (ξ : ℕ → Ω → ℝ) (v : NNReal) (hξ : ∀ (k : ℕ), ProbabilityTheory.HasLaw (ξ k) (ProbabilityTheory.gaussianReal 0 v) μ) (hind : ProbabilityTheory.iIndepFun ξ μ) (l : ℕ) :
      ProbabilityTheory.HasLaw (noisyRetained ρ b Δ V0 ξ l) (ProbabilityTheory.gaussianReal (retained ρ b Δ V0 l) (∑ k ∈ Finset.range l, sqNN (ρ ^ (l - 1 - k)) * v)) μ

      FM1.7: from a deterministic preparation the noisy comparison after ℓ blocks is Gaussian with mean FM1.3 and variance ς²(1-ϱ^{2ℓ})/(1-ϱ²).

      theorem MindFormal.A705SupportChoices.prob_exceeds {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} (X : Ω → ℝ) (m0 : ℝ) (w : NNReal) (hw : 0 < w) (hX : ProbabilityTheory.HasLaw X (ProbabilityTheory.gaussianReal m0 w) μ) (m : ℝ) :
      μ.real {ω : Ω | m < X ω} = ↑(ProbabilityTheory.cdf (ProbabilityTheory.gaussianReal 0 1)) ((m0 - m) / √↑w)

      FM1.7's probability: a Gaussian comparison with mean m₀ and positive variance w exceeds m with probability Φ((m₀-m)/√w), Φ the standard normal CDF.

      theorem MindFormal.A705SupportChoices.increment_cov {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} (ξ : ℕ → Ω → ℝ) (v : NNReal) (hξ : ∀ (k : ℕ), ProbabilityTheory.HasLaw (ξ k) (ProbabilityTheory.gaussianReal 0 v) μ) (hind : ProbabilityTheory.iIndepFun ξ μ) (k j : ℕ) :
      ProbabilityTheory.covariance (ξ k) (ξ j) μ = if k = j then ↑v else 0
      theorem MindFormal.A705SupportChoices.noisy_cov {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (ρ b Δ V0 : ℝ) (ξ : ℕ → Ω → ℝ) (v : NNReal) (hξ : ∀ (k : ℕ), ProbabilityTheory.HasLaw (ξ k) (ProbabilityTheory.gaussianReal 0 v) μ) (hind : ProbabilityTheory.iIndepFun ξ μ) (l l' : ℕ) :
      ProbabilityTheory.covariance (noisyRetained ρ b Δ V0 ξ l) (noisyRetained ρ b Δ V0 ξ l') μ = ρ ^ (max l l' - min l l') * ∑ k ∈ Finset.range (min l l'), (ρ ^ (min l l' - 1 - k)) ^ 2 * ↑v

      FM1.7's covariance: Cov(V(ℓ),V(l)) = ϱ^{|ℓ-l|} s²(min(ℓ,l)).