Affine-orthogonal part of an L² function
DefinitionKLS408915f_FunctionalInequalities_L2_AffineDecompositionbkl2026functional-inequalitieskls-408915fkls-conjecturelog-concave
For a measure on and a real function , affineOrthPart μ g x subtracts from its integral and its standard-basis linear component . Under the centered probability and identity-covariance hypotheses used by the module, this is the component orthogonal to affine functions; the bundle also contains the abstract affine-decomposition norm estimate.
Superseded upload. This snapshot was replaced by the readable modular upload KLSModular_FunctionalInequalities_L2_AffineDecomposition: open the replacement. The replacement preserves the source snapshot and mathematical statement, with source-module imports and identifiers without a commit suffix. This historical node remains available for existing imports.
Definition code
import Mathlib.Analysis.Calculus.ContDiff.Basic
import Mathlib.Analysis.InnerProductSpace.Orthogonal
import Mathlib.Analysis.InnerProductSpace.PiL2
import Mathlib.Analysis.InnerProductSpace.Projection.Basic
import Mathlib.Analysis.Normed.Lp.MeasurableSpace
import Mathlib.MeasureTheory.Function.L2Space
open MeasureTheory
open scoped RealInnerProductSpace
namespace FunctionalInequalities
namespace L2
section AffineOrthPart
variable {n : ℕ}
/-- The affine-orthogonal part of `g`: `g` minus its mean and its linear component. -/
noncomputable def affineOrthPart (μ : Measure (EuclideanSpace ℝ (Fin n)))
(g : EuclideanSpace ℝ (Fin n) → ℝ) (x : EuclideanSpace ℝ (Fin n)) : ℝ :=
g x - ∫ y, g y ∂μ -
∑ j, (∫ y, ⟪EuclideanSpace.basisFun (Fin n) ℝ j, y⟫ * g y ∂μ) *
⟪EuclideanSpace.basisFun (Fin n) ℝ j, x⟫
end AffineOrthPart
end L2
end FunctionalInequalities
Source
Source: Bizeul–Klartag–Lehec, Presenting a proof of the Kannan–Lovász–Simonovits conjecture (arXiv:2610.05474v1), item P71. Lean source: https://github.com/human-ai-mathematics/kls-lean/blob/408915f/formalization/FunctionalInequalities/L2/AffineDecomposition.lean#L177-L182 (repository human-ai-mathematics/kls-lean, commit 408915f, module `FunctionalInequalities.L2.AffineDecomposition`, definition bundle `KLS408915f_FunctionalInequalities_L2_AffineDecomposition`; the repository is private at upload time).