MindFormal v1.0.0One Mind

MindFormal.Tools.ScalarExit.Localization

theorem MindFormal.ScalarExit.smooth_extension (f : ℝ → ℝ) (hf : ContDiff ℝ (↑⊤) f) (R : ℝ) :
∃ (g : ℝ → ℝ), ContDiff ℝ (↑⊤) g ∧ HasCompactSupport g ∧ (∀ (z : ℝ), |z| ≤ R → g =ᶠ[nhds z] f) ∧ ∃ (C₀ : ℝ) (C₁ : ℝ) (C₂ : ℝ), (∀ (z : ℝ), |g z| ≤ C₀) ∧ (∀ (z : ℝ), |deriv g z| ≤ C₁) ∧ ∀ (z : ℝ), |deriv (deriv g) z| ≤ C₂

A compactly supported smooth extension agreeing on a neighborhood of every point in the requested closed interval. It supplies the derivative bounds required by the finite-horizon Itô theorem.

theorem MindFormal.ScalarExit.stopped_abs_bound {Ω : Type u_1} (X : NNReal → Ω → ℝ) (hc : ∀ (ω : Ω), Continuous fun (t : NNReal) => X t ω) {L : ℝ} (h0 : ∀ (ω : Ω), |X 0 ω| ≤ L) (t : NNReal) (ω : Ω) :
|X (cappedLevelHit (fun (t : NNReal) (ω : Ω) => |X t ω|) L t ω) ω| ≤ L

Stopping at the first absolute-level hit bounds the stopped path. This is proved from continuity and the first-hit definition, not supplied as an actual-path certificate.

theorem MindFormal.ScalarExit.capped_eq_before {Ω : Type u_1} (X : NNReal → Ω → ℝ) (L : ℝ) (t : NNReal) (ω : Ω) (ht : ↑t ≤ levelHit X L ω) :
cappedLevelHit X L t ω = t

The stopped reading equals the original path until its first boundary.