Documentation

CslibFrontier.Foundations.BooleanAnalysis.LowDegreePart

The low-degree part and its L^q norms #

The low-degree part of a real function f on the cube up to degree k is f^{≤k} = ∑_{|S| ≤ k} f̂(S) χ_S (BitString.lowDegreePart), in the notation introduced after O'Donnell, Definition 1.19. It keeps the Fourier coefficients on the sets of at most k coordinates (BitString.fourierCoeff_lowDegreePart), has degree at most k (BitString.lowDegreePart_mem_lowDegree), is the sum of the degree-j parts f^{=j} for j ≤ k (BitString.sum_range_levelPart), is f itself once k is the number of coordinates (BitString.lowDegreePart_of_card_le), and does not increase the L² norm (BitString.lpNorm_two_lowDegreePart_le).

For q ≥ 2, the generalized Bonami Lemma ‖g‖_q ≤ √(q - 1) ^ k ‖g‖_2 for g of degree at most k (BitString.lpNorm_le_sqrt_pow_mul_lpNorm_two, O'Donnell, Theorem 9.21) gives ‖f^{≤k}‖_q ≤ √(q - 1) ^ k ‖f^{≤k}‖_2 ≤ √(q - 1) ^ k ‖f‖_2 (BitString.lpNorm_lowDegreePart_le_lpNorm_two), and the monotonicity of L^p norms (Cslib.lpNorm_le_lpNorm_of_exponent_le) then gives ‖f^{≤k}‖_q ≤ √(q - 1) ^ k ‖f‖_q (BitString.lpNorm_lowDegreePart_le): this is the case q ≥ 2 of O'Donnell, Proposition 10.37, which is also O'Donnell, Exercise 9.8(a).

For 0 < ρ ≤ 1, the noise operator scales each coefficient of f^{≤k} by a factor at least ρ ^ k, so ‖f^{≤k}‖_2 ≤ (1 / ρ) ^ k ‖T_ρ f‖_2 (BitString.lpNorm_two_lowDegreePart_le_noiseOp), and the same chain gives ‖f^{≤k}‖_q ≤ (√(q - 1) / ρ) ^ k ‖T_ρ f‖_q for every q ≥ 2 (BitString.lpNorm_lowDegreePart_le_noiseOp). O'Donnell, Lemma 10.38 is its case q = 4, ‖f^{≤k}‖_4 ≤ (√3 / ρ) ^ k ‖T_ρ f‖_4.

For 1 < q ≤ 2, the direct proof that O'Donnell, Exercise 9.8(b) suggests takes ρ = √(q - 1) in the L² bound and applies the (p, 2)-Hypercontractivity Theorem at p = q, ‖T_ρ f‖_2 ≤ ‖f‖_q (BitString.lpNorm_two_noiseOp_le), giving ‖f^{≤k}‖_2 ≤ (1 / √(q - 1)) ^ k ‖f‖_q (BitString.lpNorm_two_lowDegreePart_le_lpNorm); as ‖f^{≤k}‖_q ≤ ‖f^{≤k}‖_2, this is the case 1 < q ≤ 2 of Proposition 10.37, ‖f^{≤k}‖_q ≤ (1 / √(q - 1)) ^ k ‖f‖_q (BitString.lpNorm_lowDegreePart_le_of_le_two).

Main definitions #

Main results #

Usage #

For f : (ι → Bool) → ℝ, lowDegreePart k f is f^{≤k}; rewrite its coefficients with the simp lemma fourierCoeff_lowDegreePart, and pass lowDegreePart_mem_lowDegree k f to any result about functions of degree at most k. lpNorm_lowDegreePart_le hq k f bounds ‖f^{≤k}‖_q for hq : 2 ≤ q, and lpNorm_lowDegreePart_le_of_le_two hq hq2 k f for 1 < q ≤ 2; at q = 4 the factor √(4 - 1) ^ k normalizes to √3 ^ k by norm_num. lpNorm_lowDegreePart_le_noiseOp hq hρ hρ1 k f compares with T_ρ f instead. The checked clients in CslibFrontierTests/BooleanAnalysisLowDegreePart.lean compute the low-degree parts of a character and of the two-bit function χ_{0} + χ_{0, 1}, compare L¹ and L² norms, and instantiate Proposition 10.37 at q = 4 and q = 3 / 2 and Lemma 10.38 at q = 4.

References #

noncomputable def Cslib.BitString.lowDegreePart {ι : Type u_1} [Fintype ι] [DecidableEq ι] (k : ℕ) (f : (ι → Bool) → ℝ) (x : ι → Bool) :

The low-degree part f^{≤k} = ∑_{|S| ≤ k} f̂(S) χ_S of a real function on the cube.

@[simp]
theorem Cslib.BitString.fourierCoeff_lowDegreePart {ι : Type u_1} [Fintype ι] [DecidableEq ι] (k : ℕ) (f : (ι → Bool) → ℝ) (S : Finset ι) :

The low-degree part keeps the coefficients on the sets of at most k coordinates and drops the others.

theorem Cslib.BitString.lowDegreePart_mem_lowDegree {ι : Type u_1} [Fintype ι] [DecidableEq ι] (k : ℕ) (f : (ι → Bool) → ℝ) :

The low-degree part has degree at most k.

theorem Cslib.BitString.sum_range_levelPart {ι : Type u_1} [Fintype ι] [DecidableEq ι] (k : ℕ) (f : (ι → Bool) → ℝ) (x : ι → Bool) :
∑ j ∈ Finset.range (k + 1), levelPart j f x = lowDegreePart k f x

The low-degree part up to degree k is the sum of the degree-j parts f^{=j} for j ≤ k.

theorem Cslib.BitString.lowDegreePart_of_card_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] {k : ℕ} (hk : Fintype.card ι ≤ k) (f : (ι → Bool) → ℝ) :

Up to the number of coordinates, the low-degree part is the function itself.

theorem Cslib.BitString.lpNorm_two_lowDegreePart_sq {ι : Type u_1} [Fintype ι] [DecidableEq ι] (k : ℕ) (f : (ι → Bool) → ℝ) :
lpNorm 2 (lowDegreePart k f) ^ 2 = ∑ S : Finset ι with S.card ≤ k, fourierCoeff f S ^ 2

The squared L² norm of the low-degree part is the Fourier weight up to degree k.

theorem Cslib.BitString.lpNorm_two_lowDegreePart_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] (k : ℕ) (f : (ι → Bool) → ℝ) :

Taking the low-degree part does not increase the L² norm.

theorem Cslib.BitString.lpNorm_lowDegreePart_le_lpNorm_two {ι : Type u_1} [Fintype ι] [DecidableEq ι] {q : ℝ} (hq : 2 ≤ q) (k : ℕ) (f : (ι → Bool) → ℝ) :
lpNorm q (lowDegreePart k f) ≤ √(q - 1) ^ k * lpNorm 2 f

For q ≥ 2, ‖f^{≤k}‖_q ≤ √(q - 1) ^ k ‖f‖_2, by the generalized Bonami Lemma: the stronger statement in the hint to O'Donnell, Exercise 9.8(a).

theorem Cslib.BitString.lpNorm_lowDegreePart_le {ι : Type u_1} [Fintype ι] [DecidableEq ι] {q : ℝ} (hq : 2 ≤ q) (k : ℕ) (f : (ι → Bool) → ℝ) :
lpNorm q (lowDegreePart k f) ≤ √(q - 1) ^ k * lpNorm q f

The low-degree part in L^q, q ≥ 2 O'Donnell, Proposition 10.37 O'Donnell, Exercise 9.8(a): ‖f^{≤k}‖_q ≤ √(q - 1) ^ k ‖f‖_q.

theorem Cslib.BitString.lpNorm_two_lowDegreePart_le_noiseOp {ι : Type u_1} [Fintype ι] [DecidableEq ι] {ρ : ℝ} (hρ : 0 < ρ) (hρ1 : ρ ≤ 1) (k : ℕ) (f : (ι → Bool) → ℝ) :
lpNorm 2 (lowDegreePart k f) ≤ (1 / ρ) ^ k * lpNorm 2 (noiseOp ρ f)

For 0 < ρ ≤ 1, the noise operator T_ρ scales every coefficient of the low-degree part by a factor at least ρ ^ k, so ‖f^{≤k}‖_2 ≤ (1 / ρ) ^ k ‖T_ρ f‖_2.

theorem Cslib.BitString.lpNorm_lowDegreePart_le_noiseOp {ι : Type u_1} [Fintype ι] [DecidableEq ι] {q ρ : ℝ} (hq : 2 ≤ q) (hρ : 0 < ρ) (hρ1 : ρ ≤ 1) (k : ℕ) (f : (ι → Bool) → ℝ) :
lpNorm q (lowDegreePart k f) ≤ (√(q - 1) / ρ) ^ k * lpNorm q (noiseOp ρ f)

The low-degree part against the noise operator in L^q: for q ≥ 2 and 0 < ρ ≤ 1, ‖f^{≤k}‖_q ≤ (√(q - 1) / ρ) ^ k ‖T_ρ f‖_q. O'Donnell, Lemma 10.38 is the case q = 4.

theorem Cslib.BitString.lpNorm_two_lowDegreePart_le_lpNorm {ι : Type u_1} [Fintype ι] [DecidableEq ι] {q : ℝ} (hq : 1 < q) (hq2 : q ≤ 2) (k : ℕ) (f : (ι → Bool) → ℝ) :
lpNorm 2 (lowDegreePart k f) ≤ (1 / √(q - 1)) ^ k * lpNorm q f

For 1 < q ≤ 2, ‖f^{≤k}‖_2 ≤ (1 / √(q - 1)) ^ k ‖f‖_q: the L² bound against the noise operator at ρ = √(q - 1) and the (p, 2)-Hypercontractivity Theorem at p = q, ‖T_ρ f‖_2 ≤ ‖f‖_q (BitString.lpNorm_two_noiseOp_le).

theorem Cslib.BitString.lpNorm_lowDegreePart_le_of_le_two {ι : Type u_1} [Fintype ι] [DecidableEq ι] {q : ℝ} (hq : 1 < q) (hq2 : q ≤ 2) (k : ℕ) (f : (ι → Bool) → ℝ) :
lpNorm q (lowDegreePart k f) ≤ (1 / √(q - 1)) ^ k * lpNorm q f

The low-degree part in L^q, 1 < q ≤ 2 O'Donnell, Proposition 10.37 O'Donnell, Exercise 9.8(b): ‖f^{≤k}‖_q ≤ (1 / √(q - 1)) ^ k ‖f‖_q.