Orthogonality of a Partial Sum and the Next Difference
ProvedLevyStochCalc.Probability.integral_sum_mul_of_condExp_eq_zero_readablefunctional-inequalitieskls-conjecturekls-modularkls-readablelog-concavevendored-levystochcalc
This theorem states that a partial sum of martingale differences is orthogonal to the next difference.
Let be a probability measure on , let be an increasing family of measurable spaces dominated by the ambient measurable space, and let . Assume:
- every belongs to ;
- every is strongly measurable in the ambient space;
- almost everywhere.
Then, for every ,
The conditional expectation is the Lean definition condExp; the result is a general martingale-difference orthogonality tool.
Original Lean declaration header
Within namespace LevyStochCalc.Probability. Shown in its original module context. Proof omitted.
theorem integral_sum_mul_of_condExp_eq_zero (n : ℕ) :
∫ ω, (∑ i ∈ Finset.range n, Y i ω) * Y n ω ∂P = 0
Module navigation
Module: LevyStochCalc/Probability/MartingaleDifference.
Next: integral_sq_sum_of_condExp_eq_zero.
Source excerpt, lines 52–53 · Frozen source 408915f.
Preamble
import Definitions.Def_KLSModular_LevyStochCalc_Probability_MartingaleDifference
/-
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/Probability/MartingaleDifference.lean; Apache-2.0; provenance in formalization/vendor/vendor-lock.json of the KLS repository)
open MeasureTheory
variable {Ω : Type*} {mΩ : MeasurableSpace Ω} {P : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure P]
variable (𝒢 : ℕ → MeasurableSpace Ω) (h𝒢le : ∀ k, 𝒢 k ≤ mΩ) (h𝒢mono : Monotone 𝒢)
(Y : ℕ → Ω → ℝ) (hY : ∀ k, MeasureTheory.MemLp (Y k) 2 P)
(hYmeas : ∀ k, StronglyMeasurable[𝒢 (k + 1)] (Y k))
(hYcond : ∀ k, P[Y k | 𝒢 k] =ᵐ[P] 0)
include h𝒢le h𝒢mono hY hYmeas hYcond
Formal statement
theorem LevyStochCalc.Probability.integral_sum_mul_of_condExp_eq_zero_readable (n : ℕ) :
∫ ω, (∑ i ∈ Finset.range n, Y i ω) * Y n ω ∂P = 0 := by sorry
Source
Lean source: https://github.com/cgarryZA/LevyStochCalc/blob/984dbf0b790031eac05d56fe5a84b65e15e1e932/LevyStochCalc/Probability/MartingaleDifference.lean#L50-L72 (repository human-ai-mathematics/kls-lean, commit 408915f, module `LevyStochCalc.Probability.MartingaleDifference`, declaration `LevyStochCalc.Probability.integral_sum_mul_of_condExp_eq_zero`; 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).