MindFormal v1.0.0One Mind

MindFormal.Tools.StoppedPrimitive

Differentiation of the expectation of a stopped drift integral. The stop is allowed to approach zero over the sample space; positivity is only pathwise, and domination comes from the stopped neighborhood.

theorem MindFormal.stoppedPrimitive_measurable {Ω : Type u_1} [MeasurableSpace Ω] {f : ℝ → Ω → ℝ} (hf : Measurable (Function.uncurry f)) {τ : Ω → ℝ} (hτ : Measurable τ) (t : ℝ) :
MeasureTheory.StronglyMeasurable fun (ω : Ω) => ∫ (s : ℝ) in 0..min t (τ ω), f s ω
theorem MindFormal.stoppedPrimitive_lipschitz {f : ℝ → ℝ} (hf : Continuous f) (τ : ℝ) (K : NNReal) (hb : ∀ s ≤ τ, ‖f s‖ ≤ ↑K) :
LipschitzWith K fun (t : ℝ) => ∫ (s : ℝ) in 0..min t τ, f s
theorem MindFormal.stoppedPrimitive_derivative {f : ℝ → ℝ} (hf : Continuous f) {τ : ℝ} (hτ : 0 < τ) :
HasDerivAt (fun (t : ℝ) => ∫ (s : ℝ) in 0..min t τ, f s) (f 0) 0
theorem MindFormal.stoppedPrimitive_mean_derivative {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {f : ℝ → Ω → ℝ} (hf : Measurable (Function.uncurry f)) (hc : ∀ (ω : Ω), Continuous fun (t : ℝ) => f t ω) {τ : Ω → ℝ} (hτ : Measurable τ) (hpos : ∀ᵐ (ω : Ω) ∂μ, 0 < τ ω) (K : NNReal) (hb : ∀ᵐ (ω : Ω) ∂μ, ∀ s ≤ τ ω, ‖f s ω‖ ≤ ↑K) :
MeasureTheory.Integrable (f 0) μ ∧ HasDerivAt (fun (t : ℝ) => ∫ (ω : Ω), ∫ (s : ℝ) in 0..min t (τ ω), f s ω ∂μ) (∫ (ω : Ω), f 0 ω ∂μ) 0