KKL.noisyInfluence
defimported Lean
The noisy influence of coordinate $i$ on $f$ at noise rate $\rho$ is \[ \mathrm{Inf}_i^{\rho}[f] \;=\; \sum_{S \ni i} \rho^{\abs{S}-1}\,\hat f(S)^2, \] the sum being taken over all $S \subseteq [n]$ containing $i$.
Statement
set_option maxHeartbeats 800000 in open scoped BigOperators in open BooleanAnalysis in variable {n : ℕ} in open Classical in noncomputable def KKL.noisyInfluence (ρ : ℝ) (i : Fin n) (f : BooleanFunc n) : ℝ
- Defined in
- TCSlib, `KKL.noisyInfluence`
- Lean proof
- By Mina, Owen McGinty, Hydroxyi (from the file's git history), from github.com/Shilun-Allan-Li/tcslib at
c8a02591b1e5(Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.25.0.KKL.noisyInfluence← KKL.noisyInfluence (TCSlib/BooleanAnalysis/KKL.lean:60): verbatim
- Verified
- 07 Oct 2026
- Axioms
- none listed
- Built on 2
- BooleanAnalysis.fourierCoeffThe Fourier--Walsh coefficient of $f$ at frequency $S$ is…
- BooleanAnalysis.BooleanFuncA Boolean function of arity $n$ is a function $f : \{0,1\}^n \to \bbr$.
- Used by 2
- KKL.sum_noisyInfluenceSum of noisy influences. Fix an integer $n$ and a real number $\rho$, and let $f:\{0,1\}^n\to\bbr$ be a Boolean function. Summing the…
- KKL.noisyInfluence_le_influenceNoisy influence is dominated by influence. Let $f:\{0,1\}^n\to\bbr$ be a Boolean function, let $i\in[n]$ be a coordinate, and let…
Lean source view module on GitHub
set_option maxHeartbeats 800000 in open scoped BigOperators in open BooleanAnalysis in variable {n : ℕ} in open Classical in /-- The noisy influence of coordinate `i` at noise rate `rho`: `Inf_i^rho[f] = sum_{S ni i} rho^{|S|-1} * fhat(S)^2`. **Source:** [OD14, Ch. 9]. -/ noncomputable def KKL.noisyInfluence (ρ : ℝ) (i : Fin n) (f : BooleanFunc n) : ℝ := ∑ S : Finset (Fin n), if i ∈ S then ρ ^ (S.card - 1) * fourierCoeff f S ^ 2 else 0