AFTD Auto-Formalizing Theoretical Domains

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.
Verified
07 Oct 2026
Axioms
none listed
Built on 2
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
See it in the graphDiscuss this resultChallenge it