The Level-1 Inequality #
A function f on the cube with values in [-1, 1] and α = 𝔼 |f| ≤ 1/2 has degree-one weight
W¹[f] ≤ 16 α ^ 2 ln (1 / α) (BitString.levelWeight_one_le_of_abs_le_one): functions of small
L¹ norm have small degree-one weight. This is the Level-1 Inequality
W¹[f] ≤ O(α ^ 2 log (1 / α)) O'Donnell, Section 5.4, p. 126, with the explicit
constant 16, in the generality of the book's proof (p. 128), which follows its Remark 5.28. For
a {0, 1}-valued f, the indicator of a set, the sharp form W¹[f] ≤ 2 α ^ 2 ln (1 / α) of
Remark 5.28 holds for every α; it is BitString.levelWeight_one_indicator_le in
CslibFrontier.Foundations.BooleanAnalysis.LevelK, proved through small-set expansion.
The proof is the book's: with σ ^ 2 = W¹[f] and ℓ = f^{=1} / σ, the correlation σ = 𝔼[f ℓ]
splits at |ℓ| = s into at most α s and the tail 𝔼[|ℓ| 1{|ℓ| ≥ s}]. The book bounds the tail
by integrating Hoeffding's bound (its Lemma 5.31). Here Cauchy–Schwarz and Hoeffding's bound
(BitString.card_filter_le_abs_sum_mul_signVal_le) bound it by √(2 exp (-s ^ 2 / 2)), which
is √2 α at s = 2 √(ln (1 / α)). This loses only in the constant: the book's choice of s
gives (2 + o(1)) α ^ 2 ln (1 / α), asymptotically the sharp 2 α ^ 2 ln (1 / α) of its
Remark 5.28.
Not included, and tracked on #2131:
the sharp constant of Remark 5.28 for [-1, 1]-valued functions, Lemma 5.31 itself,
Corollary 5.32 and the 2/π Theorem.
Usage #
Open Cslib and Cslib.BitString. The degree-one weight W¹[f] is levelWeight 1 f, which
BitString.levelWeight_one rewrites as ∑ i, fourierCoeff f {i} ^ 2. A function with values in
[-1, 1] enters directly, with α = 𝔼 x, |f x| ≤ 1 / 2; a Boolean function read as 0 or 1
through fun x => bitVal ℝ (f x) is such a function, with α its mean, but for it the sharp
BitString.levelWeight_one_indicator_le (applied to {x | f x = true}) is stronger and needs no
bound on α. The logarithm is natural, so log α⁻¹ is the book's ln (1 / α). Hoeffding's bound
for weighted sums of signs, which the proof uses for the tail of ℓ, is
BitString.card_filter_le_abs_sum_mul_signVal_le in
CslibFrontier.Foundations.Combinatorics.Hoeffding: at most
2 * 2 ^ Fintype.card ι * exp (-(t ^ 2 / (2 * ∑ i, a i ^ 2))) strings x have
t ≤ |∑ i, a i * signVal (x i)|. Checked clients bound the degree-one weight of the two-bit AND
by log 4 and of minus half of it by log 8 / 4, and apply Hoeffding's bound to four unweighted
signs, in
CslibFrontierTests/BooleanAnalysisLevelOneInequality.lean;
the seven-bit {0, 1}-valued witness (α = 1 / 128), where the sharp bound is below the trivial
α (1 - α), is in
CslibFrontierTests/BooleanAnalysisLevelK.lean.
Main results #
Cslib.BitString.levelWeight_one_le_of_abs_le_one: the Level-1 Inequality for[-1, 1]-valued functions.
References #
The Level-1 Inequality for [-1, 1]-valued functions: a function f on the cube with
values in [-1, 1] and α = 𝔼 |f| ≤ 1/2 has degree-one weight W¹[f] ≤ 16 α ^ 2 ln (1 / α)
O'Donnell, Level-1 Inequality, Section 5.4, p. 126. The book states
O(α ^ 2 log (1 / α)) for {0, 1}-valued f, and its proof (p. 128), following Remark 5.28,
takes f with values in [-1, 1] and α = 𝔼 |f|, as here. The constant is the explicit 16
in place of O(1); the book's sharper 2 + o(1) is not proved in this setting. The logarithm is
natural, where the book's log is log₂ (List of Notation, p. xvi); this changes only the
constant inside O(·). For {0, 1}-valued f the sharp BitString.levelWeight_one_indicator_le
in CslibFrontier.Foundations.BooleanAnalysis.LevelK is stronger. When α = 0, f = 0 and both
sides vanish.