Clamping Does Not Increase Distance to a Bounded Target
ProvedLevyStochCalc.Brownian.Ito.abs_clamp_sub_le_modularfunctional-inequalitieskls-conjecturekls-modularlog-concavevendored-levystochcalc
This elementary real-analysis lemma states that clamping a value to cannot increase its distance from a target already in that interval.
For real numbers , assume and . Then
The inequality is used to control approximation errors after applying SimplePredictable.truncate to coefficients.
Superseded upload. This snapshot was replaced by LevyStochCalc.Brownian.Ito.abs_clamp_sub_le_readable: open the readable replacement. The replacement preserves the frozen source and mathematical statement, with a compact declaration context. This historical node remains available for existing imports.
Preamble
import Definitions.Def_KLSModular_LevyStochCalc_Brownian_ItoFourthMomentLintegral
/-
Copyright (c) 2026 Christian Garry. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Christian Garry
-/
-- Vendored from https://github.com/cgarryZA/LevyStochCalc at commit 984dbf0b790031eac05d56fe5a84b65e15e1e932 (upstream path LevyStochCalc/Brownian/ItoFourthMomentLintegral.lean; Apache-2.0; provenance in formalization/vendor/vendor-lock.json of the KLS repository)
section
namespace LevyStochCalc
end LevyStochCalc
open LevyStochCalc
section
namespace LevyStochCalc.Brownian
end LevyStochCalc.Brownian
open LevyStochCalc LevyStochCalc.Brownian
section
namespace LevyStochCalc.Brownian.Ito
end LevyStochCalc.Brownian.Ito
open LevyStochCalc LevyStochCalc.Brownian LevyStochCalc.Brownian.Ito
open MeasureTheory ProbabilityTheory
open scoped NNReal ENNReal
universe u
variable {Ω : Type u} [MeasurableSpace Ω]
Formal statement
theorem LevyStochCalc.Brownian.Ito.abs_clamp_sub_le_modular {C x y : ℝ} (hC : 0 ≤ C) (hy : |y| ≤ C) :
|max (-C) (min C x) - y| ≤ |x - y| := by sorry
Source
Lean source: https://github.com/cgarryZA/LevyStochCalc/blob/984dbf0b790031eac05d56fe5a84b65e15e1e932/LevyStochCalc/Brownian/ItoFourthMomentLintegral.lean#L94-L107 (repository human-ai-mathematics/kls-lean, commit 408915f, module `LevyStochCalc.Brownian.ItoFourthMomentLintegral`, declaration `LevyStochCalc.Brownian.Ito.abs_clamp_sub_le`; the repository is private at upload time). Vendored from https://github.com/cgarryZA/LevyStochCalc at commit 984dbf0b790031eac05d56fe5a84b65e15e1e932 (Apache-2.0; upstream copyright notice retained in the Lean text).