CesaroAlgebra #
Ported from scottnarmstrong/Superdiffusion at 7f20476385d4af418f110303085ad0740c9eba46. Module imports, support namespace and local option directives adapted for Lean Pool.
Elementary algebra of the Cesàro window average #
Algsuperdiff/Probability/CesaroWindow.lean defines the §4.2 window average
cesaroAvg f n m = (m − n + 1)⁻¹ · ∑_{k ∈ [n, m]} f k
(avsum_{k=n}^m in ABK26, §4.2) together with the rpow bookkeeping and the
Γ_σ centering layer, but proves nothing about the average as a linear
functional. This module supplies that basic API: additivity, constants, scalar
multiples, monotonicity, and a four-term convenience form
matching the D₁ + D₂ + D₃ + const shape of the l.minimal.scale.sep
decomposition.
Everything here assumes n ≤ m, which is exactly the condition making the window
nonempty and the normalizing factor (m − n + 1 : ℝ) positive.
cesaroAvg_denom_pos and cesaroAvg_card are the cesaroAvg-facing names for
the window facts already proved in CesaroWindow.lean (window_pos,
natCast_card_Icc_int); they delegate rather than duplicate the proofs.
Main results #
Algsuperdiff.Probability.cesaroAvg_addAlgsuperdiff.Probability.cesaroAvg_const_mulAlgsuperdiff.Probability.cesaroAvg_monoAlgsuperdiff.Probability.cesaroAvg_add4
References #
- ABK26,
l.minimal.scale.sepfor the window average.
The window [n, m] has exactly m − n + 1 elements.