Composition of a Step Sum with a Zero-Preserving Function
ProvedLevyStochCalc.Brownian.Ito.comp_sum_ite_modularfunctional-inequalitieskls-conjecturekls-modularlog-concavevendored-levystochcalc
This finite-sum lemma states that a function fixing zero commutes with the step sum associated with a strictly increasing partition.
Let be strictly monotone, let , let , and let satisfy . Then
Because the partition is strictly increasing, at most one step is active. The lemma is useful for passing powers and other zero-preserving operations through elementary-integrand evaluations.
Superseded upload. This snapshot was replaced by LevyStochCalc.Brownian.Ito.comp_sum_ite_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.comp_sum_ite_modular {M : ℕ} {π : Fin (M + 1) → ℝ} (hπ : StrictMono π)
(f : Fin M → ℝ) (s : ℝ) (g : ℝ → ℝ) (hg0 : g 0 = 0) :
g (∑ j : Fin M, if π j.castSucc < s ∧ s ≤ π j.succ then f j else 0)
= ∑ j : Fin M, if π j.castSucc < s ∧ s ≤ π j.succ then g (f j) else 0 := by sorry
Source
Lean source: https://github.com/cgarryZA/LevyStochCalc/blob/984dbf0b790031eac05d56fe5a84b65e15e1e932/LevyStochCalc/Brownian/ItoFourthMomentLintegral.lean#L26-L55 (repository human-ai-mathematics/kls-lean, commit 408915f, module `LevyStochCalc.Brownian.ItoFourthMomentLintegral`, declaration `LevyStochCalc.Brownian.Ito.comp_sum_ite`; 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).