Composition of a Step Sum with a Zero-Preserving Function
ProvedLevyStochCalc.Brownian.Ito.comp_sum_ite_readablefunctional-inequalitieskls-conjecturekls-modularkls-readablelog-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.
Original Lean declaration header
Within namespace LevyStochCalc.Brownian.Ito. Shown in its original module context. Proof omitted.
theorem comp_sum_ite {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
Module navigation
Module: LevyStochCalc/Brownian/ItoFourthMomentLintegral.
Next: abs_clamp_sub_le.
Source excerpt, lines 27–30 · Frozen source 408915f.
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) universe u
Formal statement
theorem LevyStochCalc.Brownian.Ito.comp_sum_ite_readable {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).