MindFormal v1.0.0One Mind

MindFormal.Tools.ScalarExit.GaussianIntegral

theorem MindFormal.ScalarExit.gaussian_window (h : NNReal) (hh : h ≠ 0) (a : ℝ) (ha : 0 ≤ a) :
(ProbabilityTheory.gaussianReal 0 h).real (Set.Icc (-a) a) = (∫ (z : ℝ) in -a..a, Real.exp (-z ^ 2 / (2 * ↑h))) / √(2 * Real.pi * ↑h)

The deterministic-block mass is an explicit finite Gaussian integral.