MindFormal v1.0.0One Mind

MindFormal.Tools.A641Practice.DoseNoise

theorem MindFormal.A641Practice.exponential_noise_parts (μ ξ : ℝ → ℝ) (t : ℝ) :
Real.exp (-∫ (s : ℝ) in 0..t, μ s) * (Real.exp (∫ (s : ℝ) in 0..t, μ s) * ξ t - ∫ (s : ℝ) in 0..t, ξ s * (μ s * Real.exp (∫ (u : ℝ) in 0..s, μ u))) = ξ t - ∫ (s : ℝ) in 0..t, doseKernel μ t s * μ s * ξ s
theorem MindFormal.A641Practice.dose_noise_bound {μ ξ : ℝ → ℝ} {t b : ℝ} (ht : 0 ≤ t) (hμ : IntervalIntegrable μ MeasureTheory.volume 0 t) (hξ : Continuous ξ) (hμ0 : ∀ s ∈ Set.Icc 0 t, 0 ≤ μ s) (hb : ∀ s ∈ Set.Icc 0 t, |ξ s| ≤ b) :
|ξ t - ∫ (s : ℝ) in 0..t, doseKernel μ t s * μ s * ξ s| ≤ 2 * b

The full moving nonnegative loss gives a noise allowance of 2b. The kernel is used only in an ordinary pathwise integral.

theorem MindFormal.A641Practice.center_tests {w c z w0 forcing fraction b need : ℝ} (he : w = c + z) (hc : c = fraction * w0 + forcing) (hz : |z| ≤ 2 * b) :
(need ≤ c - 2 * b → need ≤ w) ∧ (c + 2 * b < need → w < need) ∧ ((1 - fraction) * w0 + 2 * b < forcing → w0 < w) ∧ (w0 < w ↔ (1 - fraction) * w0 < forcing + z)