MindFormal v1.0.0One Mind

MindFormal.Tools.OwnNoiseToolkit.SignedMargins

Finite acquisition and retention estimates for signed scalar loss. The native callers derive the balance and all coefficient bounds.

noncomputable def MindFormal.OwnNoiseToolkit.acquiredLower (φ M t b : ℝ) :
Equations
Instances For
    noncomputable def MindFormal.OwnNoiseToolkit.acquiredUpper (φ M t b : ℝ) :
    Equations
    Instances For
      noncomputable def MindFormal.OwnNoiseToolkit.retainedLower (V G L J b : ℝ) :
      Equations
      Instances For
        theorem MindFormal.OwnNoiseToolkit.integral_exp_affine (c d t : ℝ) (hc : c ≠ 0) :
        ∫ (s : ℝ) in 0..t, Real.exp (c * s + d) = (Real.exp (c * t + d) - Real.exp d) / c
        theorem MindFormal.OwnNoiseToolkit.integral_decay (M φ t : ℝ) (hM : 0 < M) :
        ∫ (s : ℝ) in 0..t, Real.exp (-M * (t - s)) * φ = φ / M * (1 - Real.exp (-M * t))
        theorem MindFormal.OwnNoiseToolkit.integral_growth (M φ t : ℝ) (hM : 0 < M) :
        ∫ (s : ℝ) in 0..t, Real.exp (M * (t - s)) * φ = φ / M * (Real.exp (M * t) - 1)
        theorem MindFormal.OwnNoiseToolkit.absolute_loss_le_time {μ : ℝ → ℝ} {t M : ℝ} (ht : 0 ≤ t) (hμ : IntervalIntegrable μ MeasureTheory.volume 0 t) (hM : ∀ s ∈ Set.Icc 0 t, |μ s| ≤ M) :
        ∫ (s : ℝ) in 0..t, |μ s| ≤ M * t
        theorem MindFormal.OwnNoiseToolkit.acquisition_lower {μ F ξ : ℝ → ℝ} {t M lo b v : ℝ} (ht : 0 ≤ t) (hM : 0 < M) (hlo : 0 ≤ lo) (hμ : IntervalIntegrable μ MeasureTheory.volume 0 t) (hF : IntervalIntegrable F MeasureTheory.volume 0 t) (hξ : Continuous ξ) (hcap : ∀ s ∈ Set.Icc 0 t, |μ s| ≤ M) (hforcing : ∀ s ∈ Set.Icc 0 t, lo ≤ F s) (hb : ∀ s ∈ Set.Icc 0 t, |ξ s| ≤ b) (hv : v = (∫ (s : ℝ) in 0..t, doseKernel μ t s * F s) + (ξ t - ∫ (s : ℝ) in 0..t, doseKernel μ t s * μ s * ξ s)) :
        acquiredLower lo M t b ≤ v

        The source's lower acquisition estimate needs no upper forcing bound.

        theorem MindFormal.OwnNoiseToolkit.acquisition_bounds {μ F ξ : ℝ → ℝ} {t M lo hi b v : ℝ} (ht : 0 ≤ t) (hM : 0 < M) (hlo : 0 ≤ lo) (hμ : IntervalIntegrable μ MeasureTheory.volume 0 t) (hF : IntervalIntegrable F MeasureTheory.volume 0 t) (hξ : Continuous ξ) (hcap : ∀ s ∈ Set.Icc 0 t, |μ s| ≤ M) (hforcing : ∀ s ∈ Set.Icc 0 t, lo ≤ F s ∧ F s ≤ hi) (hb : ∀ s ∈ Set.Icc 0 t, |ξ s| ≤ b) (hv : v = (∫ (s : ℝ) in 0..t, doseKernel μ t s * F s) + (ξ t - ∫ (s : ℝ) in 0..t, doseKernel μ t s * μ s * ξ s)) :
        acquiredLower lo M t b ≤ v ∧ v ≤ acquiredUpper hi M t b

        Both acquisition bounds, including the growing-kernel upper bound. No sign condition is imposed on the loss.

        theorem MindFormal.OwnNoiseToolkit.retention_lower {μ F ξ : ℝ → ℝ} {t V G L J b v w₀ : ℝ} (ht : 0 ≤ t) (hV : 0 ≤ V) (hw₀ : V ≤ w₀) (hμ : IntervalIntegrable μ MeasureTheory.volume 0 t) (hF : IntervalIntegrable F MeasureTheory.volume 0 t) (hξ : Continuous ξ) (hG : ∫ (s : ℝ) in 0..t, μ s ≤ G) (hkernel : ∀ s ∈ Set.Icc 0 t, doseKernel μ t s ≤ Real.exp G) (hL : ∫ (s : ℝ) in 0..t, |F s| ≤ L) (hJ : ∫ (s : ℝ) in 0..t, |μ s| ≤ J) (hb : ∀ s ∈ Set.Icc 0 t, |ξ s| ≤ b) (hv : v = (doseRetention μ t * w₀ + ∫ (s : ℝ) in 0..t, doseKernel μ t s * F s) + (ξ t - ∫ (s : ℝ) in 0..t, doseKernel μ t s * μ s * ξ s)) :
        retainedLower V G L J b ≤ v

        A finite-retention lower bound retains the realized endpoint and the absolute forcing bill, and prices signed loss variation separately.