AFTD Auto-Formalizing Theoretical Domains

KKL.influentialCoords

defimported Lean

The set of $\tau$-influential coordinates of $f$ is the finite set \[ J_\tau(f) \;=\; \{\, i \in [n] : \mathrm{Inf}_i[f] \ge \tau \,\}. \]

Statement

set_option maxHeartbeats 800000 in
open scoped BigOperators in
open BooleanAnalysis in
variable {n : ℕ} in
open Classical in
noncomputable def KKL.influentialCoords (f : BooleanFunc n) (τ : ℝ) : Finset (Fin n)
Defined in
TCSlib, `KKL.influentialCoords`
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 3
  • KKL.friedgut_juntaFriedgut's junta theorem. Let $f : \{0,1\}^n \to \{-1,1\}$ be a $\pm 1$-valued Boolean function with total influence $I[f]$, and let…
  • KKL.influential_coords_cardFew influential coordinates. Let $f : \{0,1\}^n \to \bbr$ be a Boolean function and let $\tau > 0$. The number of $\tau$-influential…
  • KKL.lowDegreePart_depends_on_influentialLow-degree part is close to a junta on the influential coordinates. Let $f:\{0,1\}^n\to\bbr$ be a Boolean function, let $k$ be a natural…

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 set of `tau`-influential coordinates: `J_tau(f) = {i : Fin n | Inf_i[f] >= tau}`. **Source:** [OD14, Ch. 10]. -/
noncomputable def KKL.influentialCoords (f : BooleanFunc n) (τ : ℝ) : Finset (Fin n) :=
  Finset.univ.filter (fun i => τ ≤ influence i f)
See it in the graphDiscuss this resultChallenge it