Reindexing a Mask-Selected Finite Sum
ProvedFunctionalInequalities.KLS.BKL.sum_selected_eq_readablefunctional-inequalitieskls-conjecturekls-modularkls-readablelog-concave
This reindexes a sum over Boolean masks by the selected and complementary slots.
Let , let , and let map pairs of lists in to . If the mask has true entries and its complement has true entries, then
The formal functions maskCount and selected specify the two lists and their lengths. This is a combinatorial reindexing tool for cumulant-energy decompositions.
Original Lean declaration header
Within namespace FunctionalInequalities.KLS.BKL. Shown in its original module context. Proof omitted.
theorem sum_selected_eq {E ι : Type*} [Fintype ι] (w : ι → E) :
∀ (k : ℕ) (q : Fin k → Bool) (G : List E → List E → ℝ) (c₁ c₂ : ℕ),
maskCount q = c₁ → maskCount (fun i => !(q i)) = c₂ →
∑ J : Fin k → ι, G (selected (fun i => w (J i)) q)
(selected (fun i => w (J i)) (fun i => !(q i))) =
∑ J₁ : Fin c₁ → ι, ∑ J₂ : Fin c₂ → ι,
G (List.ofFn fun i => w (J₁ i)) (List.ofFn fun i => w (J₂ i))
Module navigation
Module: KLS/BKL/CumulantEnergy/Basic.
Definition modules: Analysis/IteratedDerivative/Bilinear.
Next: sqrt_sum_sq_sum_le.
Source excerpt, lines 169–175 · Frozen source 408915f.
Preamble
import Definitions.Def_KLSModular_FunctionalInequalities_KLS_BKL_CumulantEnergy_Basic open FunctionalInequalities.Analysis FunctionalInequalities.Analysis.BakryEmery
Formal statement
theorem FunctionalInequalities.KLS.BKL.sum_selected_eq_readable {E ι : Type*} [Fintype ι] (w : ι → E) :
∀ (k : ℕ) (q : Fin k → Bool) (G : List E → List E → ℝ) (c₁ c₂ : ℕ),
maskCount q = c₁ → maskCount (fun i => !(q i)) = c₂ →
∑ J : Fin k → ι, G (selected (fun i => w (J i)) q)
(selected (fun i => w (J i)) (fun i => !(q i))) =
∑ J₁ : Fin c₁ → ι, ∑ J₂ : Fin c₂ → ι,
G (List.ofFn fun i => w (J₁ i)) (List.ofFn fun i => w (J₂ i)) := by sorry
Source
Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/KLS/BKL/CumulantEnergy/Basic.lean#L168-L234 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.KLS.BKL.CumulantEnergy.Basic`, declaration `FunctionalInequalities.KLS.BKL.sum_selected_eq`; the repository is private at upload time).