Documentation

CslibFrontier.Foundations.Analysis.Fourier.GowersNorm

Gowers Uniformity Norms and the Generalized von Neumann Theorem #

Iterated additive discrete derivatives (built on Mathlib's fwdDiff), multiplicative discrete derivatives, Gowers uniformity norms β€–fβ€–_{U^d} on finite abelian groups, systems of linear forms over finite prime fields, an analytic uniformity-control property for linear-form averages, monotonicity and phase invariance of Gowers norms, and the generalized von Neumann inequality.

Main definitions #

Main results #

Provenance and Scope #

HasComplexityAtMost states the analytic uniformity-control property for independently chosen real-valued [-1, 1]-bounded functions on Fin n β†’ ZMod p with one small U^{d+1} Gowers norm; it carries no algebraic partition or span condition (unlike the combinatorial Cauchy–Schwarz complexity or algebraic true complexity in [HHL16]).

The generalized von Neumann bound norm_linearFormExpectationC_le_gowersNorm (β€–Ξ›_L(f)β€– ≀ β€–f iβ‚€β€–_{U^{m - 1}} for m β‰₯ 2 nonzero, pairwise non-proportional linear forms over 𝔽_p and 1-bounded complex-valued functions on any finite 𝔽_p-vector space V) follows Hatami, Hatami, and Lovett, Β§3.3, Lemma 3.14 and the singleton-partition observation immediately after it, pp. 462–463, which gives Cauchy–Schwarz complexity at most m - 2 and hence Gowers order m - 1 for pairwise linearly independent forms. The Lean corollary hasComplexityAtMost_of_hasFiniteComplexity restricts that bound to real-valued [-1, 1]-bounded inputs on Fin n β†’ ZMod p and takes Ξ΄ = Ξ΅.

References #

@[reducible, inline]
abbrev Cslib.Fourier.LinearForm (p β„“ : β„•) :

A linear form over 𝔽_p in β„“ variables.

def Cslib.Fourier.LinearForm.eval {p : β„•} [Fact (Nat.Prime p)] {V : Type u_1} [AddCommGroup V] [Module (ZMod p) V] {β„“ : β„•} (L : LinearForm p β„“) (x : Fin β„“ β†’ V) :
V

Evaluation of a linear form L at x : Fin β„“ β†’ V.

theorem Cslib.Fourier.LinearForm.eval_eq_sum {p : β„•} [Fact (Nat.Prime p)] {V : Type u_1} [AddCommGroup V] [Module (ZMod p) V] {β„“ : β„•} (L : LinearForm p β„“) (x : Fin β„“ β†’ V) :
L.eval x = βˆ‘ i : Fin β„“, L i β€’ x i
@[simp]
theorem Cslib.Fourier.LinearForm.eval_zero_form {p : β„•} [Fact (Nat.Prime p)] {V : Type u_1} [AddCommGroup V] [Module (ZMod p) V] {β„“ : β„•} (x : Fin β„“ β†’ V) :
eval 0 x = 0
@[simp]
theorem Cslib.Fourier.LinearForm.eval_zero_arg {p : β„•} [Fact (Nat.Prime p)] {V : Type u_1} [AddCommGroup V] [Module (ZMod p) V] {β„“ : β„•} (L : LinearForm p β„“) :
L.eval 0 = 0
theorem Cslib.Fourier.LinearForm.eval_add_arg {p : β„•} [Fact (Nat.Prime p)] {V : Type u_1} [AddCommGroup V] [Module (ZMod p) V] {β„“ : β„•} (L : LinearForm p β„“) (x y : Fin β„“ β†’ V) :
L.eval (x + y) = L.eval x + L.eval y
theorem Cslib.Fourier.LinearForm.eval_smul_arg {p : β„•} [Fact (Nat.Prime p)] {V : Type u_1} [AddCommGroup V] [Module (ZMod p) V] {β„“ : β„•} (L : LinearForm p β„“) (c : ZMod p) (x : Fin β„“ β†’ V) :
L.eval (c β€’ x) = c β€’ L.eval x
theorem Cslib.Fourier.LinearForm.eval_smul_form {p : β„•} [Fact (Nat.Prime p)] {V : Type u_1} [AddCommGroup V] [Module (ZMod p) V] {β„“ : β„•} (c : ZMod p) (L : LinearForm p β„“) (x : Fin β„“ β†’ V) :
(c β€’ L).eval x = c β€’ L.eval x
theorem Cslib.Fourier.LinearForm.eval_map {p : β„•} [Fact (Nat.Prime p)] {V : Type u_1} {W : Type u_2} [AddCommGroup V] [Module (ZMod p) V] [AddCommGroup W] [Module (ZMod p) W] {β„“ : β„•} (Ο† : V β†’β‚—[ZMod p] W) (L : LinearForm p β„“) (x : Fin β„“ β†’ V) :
Ο† (L.eval x) = L.eval (⇑φ ∘ x)
@[reducible, inline]
abbrev Cslib.Fourier.LinearFormSystem (p : β„•) (ΞΉ : Type u_1) (β„“ : β„•) :
Type u_1

A system of linear forms over 𝔽_p in β„“ variables, indexed by ΞΉ.

noncomputable def Cslib.Fourier.linearFormExpectation {p : β„•} [Fact (Nat.Prime p)] {ΞΉ : Type u_1} [Fintype ΞΉ] {β„“ : β„•} {V : Type u_2} [AddCommGroup V] [Module (ZMod p) V] [Fintype V] (L : LinearFormSystem p ΞΉ β„“) (f : ΞΉ β†’ V β†’ ℝ) :

Real-valued multilinear expectation 𝔼_{x ∈ V^β„“} [∏_{i ∈ ΞΉ} f_i(L_i(x))].

theorem Cslib.Fourier.linearFormExpectation_eq_sum_div {p : β„•} [Fact (Nat.Prime p)] {ΞΉ : Type u_1} [Fintype ΞΉ] {β„“ : β„•} {V : Type u_2} [AddCommGroup V] [Module (ZMod p) V] [Fintype V] (L : LinearFormSystem p ΞΉ β„“) (f : ΞΉ β†’ V β†’ ℝ) :
linearFormExpectation L f = (βˆ‘ x : Fin β„“ β†’ V, ∏ i : ΞΉ, f i ((L i).eval x)) / ↑(Fintype.card (Fin β„“ β†’ V))
def Cslib.Fourier.HasFiniteComplexity {p : β„•} [Fact (Nat.Prime p)] {ΞΉ : Type u_1} {β„“ : β„•} (L : LinearFormSystem p ΞΉ β„“) :

A system of linear forms has finite complexity if no form is identically zero and no two distinct forms are scalar multiples of each other.

theorem Cslib.Fourier.hasFiniteComplexity_iff {p : β„•} [Fact (Nat.Prime p)] {ΞΉ : Type u_1} {β„“ : β„•} (L : LinearFormSystem p ΞΉ β„“) :
HasFiniteComplexity L ↔ (βˆ€ (i : ΞΉ), L i β‰  0) ∧ βˆ€ (i j : ΞΉ), i β‰  j β†’ βˆ€ (c : ZMod p), L i β‰  c β€’ L j
def Cslib.Fourier.iterAddDeriv {V : Type u_1} {G : Type u_2} [AddCommMonoid V] [AddCommGroup G] {d : β„•} :
(Fin d β†’ V) β†’ (V β†’ G) β†’ V β†’ G

Iterated additive discrete derivative D_{h₁} β‹― D_{h_d} f, built from Mathlib's fwdDiff.

@[simp]
theorem Cslib.Fourier.iterAddDeriv_zero {V : Type u_1} {G : Type u_2} [AddCommMonoid V] [AddCommGroup G] (h : Fin 0 β†’ V) (f : V β†’ G) :
theorem Cslib.Fourier.iterAddDeriv_succ {V : Type u_1} {G : Type u_2} [AddCommMonoid V] [AddCommGroup G] {d : β„•} (h : Fin (d + 1) β†’ V) (f : V β†’ G) :
iterAddDeriv h f = fwdDiff (h 0) (iterAddDeriv (fun (i : Fin d) => h i.succ) f)
theorem Cslib.Fourier.iterAddDeriv_add {V : Type u_1} {G : Type u_2} [AddCommMonoid V] [AddCommGroup G] {d : β„•} (h : Fin d β†’ V) (f g : V β†’ G) :
theorem Cslib.Fourier.iterAddDeriv_neg {V : Type u_1} {G : Type u_2} [AddCommMonoid V] [AddCommGroup G] {d : β„•} (h : Fin d β†’ V) (f : V β†’ G) :
theorem Cslib.Fourier.iterAddDeriv_const_smul {V : Type u_1} {G : Type u_2} {R : Type u_3} [AddCommMonoid V] [AddCommGroup G] [Monoid R] [DistribMulAction R G] {d : β„•} (r : R) (h : Fin d β†’ V) (f : V β†’ G) :
theorem Cslib.Fourier.iterAddDeriv_const {V : Type u_1} {G : Type u_2} [AddCommMonoid V] [AddCommGroup G] {d : β„•} (h : Fin (d + 1) β†’ V) (c : G) :
(iterAddDeriv h fun (x : V) => c) = 0
def Cslib.Fourier.mulDeriv {V : Type u_1} [Add V] (h : V) (f : V β†’ β„‚) (x : V) :

Multiplicative derivative (Ξ”_h f)(x) = f(x + h) * conj(f(x)).

theorem Cslib.Fourier.mulDeriv_apply {V : Type u_1} [Add V] (h : V) (f : V β†’ β„‚) (x : V) :
mulDeriv h f x = f (x + h) * (starRingEnd β„‚) (f x)
def Cslib.Fourier.iterMulDeriv {V : Type u_1} [Add V] {d : β„•} :
(Fin d β†’ V) β†’ (V β†’ β„‚) β†’ V β†’ β„‚

Iterated multiplicative derivative Ξ”_{h₁} β‹― Ξ”_{h_d} f.

@[simp]
theorem Cslib.Fourier.iterMulDeriv_zero {V : Type u_1} [Add V] (h : Fin 0 β†’ V) (f : V β†’ β„‚) :
theorem Cslib.Fourier.iterMulDeriv_succ {V : Type u_1} [Add V] {d : β„•} (h : Fin (d + 1) β†’ V) (f : V β†’ β„‚) :
iterMulDeriv h f = mulDeriv (h 0) (iterMulDeriv (fun (i : Fin d) => h i.succ) f)
theorem Cslib.Fourier.mulDeriv_mul {V : Type u_1} [Add V] (h : V) (f g : V β†’ β„‚) (x : V) :
mulDeriv h (fun (y : V) => f y * g y) x = mulDeriv h f x * mulDeriv h g x
theorem Cslib.Fourier.iterMulDeriv_mul {V : Type u_1} [Add V] {d : β„•} (h : Fin d β†’ V) (f g : V β†’ β„‚) (x : V) :
iterMulDeriv h (fun (y : V) => f y * g y) x = iterMulDeriv h f x * iterMulDeriv h g x
theorem Cslib.Fourier.mulDeriv_comm {V : Type u_1} [AddCommMonoid V] (h₁ hβ‚‚ : V) (f : V β†’ β„‚) (x : V) :
mulDeriv h₁ (mulDeriv hβ‚‚ f) x = mulDeriv hβ‚‚ (mulDeriv h₁ f) x
theorem Cslib.Fourier.iterMulDeriv_mulDeriv {V : Type u_1} [AddCommMonoid V] {d : β„•} (h : Fin d β†’ V) (k : V) (f : V β†’ β„‚) (x : V) :
theorem Cslib.Fourier.norm_mulDeriv_le_one {V : Type u_1} [Add V] {f : V β†’ β„‚} (hf : βˆ€ (x : V), β€–f xβ€– ≀ 1) (h x : V) :
noncomputable def Cslib.Fourier.gowersNormPow {V : Type u_1} [AddCommGroup V] [Fintype V] (d : β„•) (f : V β†’ β„‚) :

The 2^d-th power of the Gowers uniformity norm: 𝔼_{x, h₁, ..., h_d ∈ V} (Ξ”_{h₁} β‹― Ξ”_{h_d} f)(x).

noncomputable def Cslib.Fourier.gowersNorm {V : Type u_1} [AddCommGroup V] [Fintype V] (d : β„•) (f : V β†’ β„‚) :

The Gowers uniformity norm β€–fβ€–_{U^d} = |𝔼_{x, h₁, ..., h_d} Ξ”_{h₁} β‹― Ξ”_{h_d} f(x)|^{1/2^d}.

theorem Cslib.Fourier.gowersNorm_nonneg {V : Type u_1} [AddCommGroup V] [Fintype V] (d : β„•) (f : V β†’ β„‚) :
theorem Cslib.Fourier.gowersNormPow_eq {V : Type u_1} [AddCommGroup V] [Fintype V] (d : β„•) (f : V β†’ β„‚) :
gowersNormPow d f = (βˆ‘ h : Fin d β†’ V, βˆ‘ x : V, iterMulDeriv h f x) / ↑(Fintype.card V) ^ (d + 1)
theorem Cslib.Fourier.gowersNorm_eq {V : Type u_1} [AddCommGroup V] [Fintype V] (d : β„•) (f : V β†’ β„‚) :
theorem Cslib.Fourier.sum_mulDeriv_eq_norm_sq {V : Type u_1} [AddCommGroup V] [Fintype V] (g : V β†’ β„‚) :
βˆ‘ h : V, βˆ‘ x : V, mulDeriv h g x = ↑(β€–βˆ‘ x : V, g xβ€– ^ 2)

Elementary double-sum identity βˆ‘_{h, x} g(x + h) conj(g(x)) = β€–βˆ‘_x g(x)β€–Β².

theorem Cslib.Fourier.gowersNormPow_succ_eq_expect_norm_sq {V : Type u_1} [AddCommGroup V] [Fintype V] (d : β„•) (f : V β†’ β„‚) :
gowersNormPow (d + 1) f = ↑((βˆ‘ h : Fin d β†’ V, β€–(βˆ‘ x : V, iterMulDeriv h f x) / ↑(Fintype.card V)β€– ^ 2) / ↑(Fintype.card V) ^ d)

Inductive identity: gowersNormPow (d + 1) f = 𝔼_{h ∈ V^d} ‖𝔼_{x ∈ V} (Ξ”_h f)(x)β€–Β².

theorem Cslib.Fourier.gowersNormPow_succ_eq_avg_mulDeriv {V : Type u_1} [AddCommGroup V] [Fintype V] (d : β„•) (f : V β†’ β„‚) :
gowersNormPow (d + 1) f = (βˆ‘ k : V, gowersNormPow d (mulDeriv k f)) / ↑(Fintype.card V)

gowersNormPow (d + 1) f is equal to the average of gowersNormPow d (mulDeriv k f) over k ∈ V.

theorem Cslib.Fourier.gowersNorm_one_eq {V : Type u_1} [AddCommGroup V] [Fintype V] (f : V β†’ β„‚) :
gowersNorm 1 f = β€–(βˆ‘ x : V, f x) / ↑(Fintype.card V)β€–

β€–fβ€–_{U^1} = ‖𝔼_{x ∈ V} f(x)β€–.

theorem Cslib.Fourier.gowersNorm_le_succ {V : Type u_1} [AddCommGroup V] [Fintype V] (d : β„•) (f : V β†’ β„‚) :

Monotonicity of Gowers uniformity norms: β€–fβ€–_{U^d} ≀ β€–fβ€–_{U^{d+1}} for every d β‰₯ 0.

theorem Cslib.Fourier.gowersNorm_mono {V : Type u_1} [AddCommGroup V] [Fintype V] {d₁ dβ‚‚ : β„•} (hd : d₁ ≀ dβ‚‚) (f : V β†’ β„‚) :
gowersNorm d₁ f ≀ gowersNorm dβ‚‚ f
theorem Cslib.Fourier.mulDeriv_cexp_phase {V : Type u_1} [AddCommMonoid V] (h : V) (P : V β†’ ℝ) (x : V) :
mulDeriv h (fun (y : V) => Complex.exp (2 * ↑Real.pi * Complex.I * ↑(P y))) x = Complex.exp (2 * ↑Real.pi * Complex.I * ↑(fwdDiff h P x))

Multiplicative derivative of a real phase x ↦ exp(2Ο€i P(x)) equals exp(2Ο€i (fwdDiff h P x)).

theorem Cslib.Fourier.iterMulDeriv_cexp_phase {V : Type u_1} [AddCommMonoid V] {d : β„•} (h : Fin d β†’ V) (P : V β†’ ℝ) (x : V) :
iterMulDeriv h (fun (y : V) => Complex.exp (2 * ↑Real.pi * Complex.I * ↑(P y))) x = Complex.exp (2 * ↑Real.pi * Complex.I * ↑(iterAddDeriv h P x))
theorem Cslib.Fourier.gowersNorm_mul_phase_eq {V : Type u_1} [AddCommGroup V] [Fintype V] {d : β„•} (f : V β†’ β„‚) (P : V β†’ ℝ) (hP : βˆ€ (h : Fin d β†’ V) (x : V), βˆƒ (k : β„€), iterAddDeriv h P x = ↑k) :
(gowersNorm d fun (x : V) => f x * Complex.exp (2 * ↑Real.pi * Complex.I * ↑(P x))) = gowersNorm d f

Invariance of the Gowers U^d-norm under multiplication by a real phase whose d-fold iterated forward difference takes integer values (P of degree < d).

noncomputable def Cslib.Fourier.linearFormExpectationC {p : β„•} [Fact (Nat.Prime p)] {ΞΉ : Type u_1} [Fintype ΞΉ] {β„“ : β„•} {V : Type u_2} [AddCommGroup V] [Module (ZMod p) V] [Fintype V] (L : LinearFormSystem p ΞΉ β„“) (f : ΞΉ β†’ V β†’ β„‚) :

Complex-valued linear-form expectation Ξ›_L(f₁, ..., f_m) = 𝔼_{x ∈ V^β„“} [∏_i f_i(L_i(x))].

theorem Cslib.Fourier.linearFormExpectationC_eq_sum_div {p : β„•} [Fact (Nat.Prime p)] {ΞΉ : Type u_1} [Fintype ΞΉ] {β„“ : β„•} {V : Type u_2} [AddCommGroup V] [Module (ZMod p) V] [Fintype V] (L : LinearFormSystem p ΞΉ β„“) (f : ΞΉ β†’ V β†’ β„‚) :
linearFormExpectationC L f = (βˆ‘ x : Fin β„“ β†’ V, ∏ i : ΞΉ, f i ((L i).eval x)) / ↑(Fintype.card (Fin β„“ β†’ V))
theorem Cslib.Fourier.linearFormExpectationC_ofReal {p : β„•} [Fact (Nat.Prime p)] {ΞΉ : Type u_1} [Fintype ΞΉ] {β„“ : β„•} {V : Type u_2} [AddCommGroup V] [Module (ZMod p) V] [Fintype V] (L : LinearFormSystem p ΞΉ β„“) (f : ΞΉ β†’ V β†’ ℝ) :
(linearFormExpectationC L fun (i : ΞΉ) (x : V) => ↑(f i x)) = ↑(linearFormExpectation L f)
def Cslib.Fourier.HasComplexityAtMost {p : β„•} [Fact (Nat.Prime p)] {ΞΉ : Type u_1} [Fintype ΞΉ] {β„“ : β„•} (L : LinearFormSystem p ΞΉ β„“) (d : β„•) :

Analytic uniformity-control property at Gowers order d + 1 for a system L of linear forms over 𝔽_p: for every Ξ΅ > 0 there exists Ξ΄ > 0 such that for every n : β„• and independently chosen real-valued functions f_i : (Fin n β†’ ZMod p) β†’ [-1, 1], if some f_i has β€–f_iβ€–_{U^{d+1}} ≀ Ξ΄, then |Ξ›_L(f)| ≀ Ξ΅. This is an analytic uniformity-control property without an algebraic partition or span condition.

theorem Cslib.Fourier.hasComplexityAtMost_iff {p : β„•} [Fact (Nat.Prime p)] {ΞΉ : Type u_1} [Fintype ΞΉ] {β„“ : β„•} (L : LinearFormSystem p ΞΉ β„“) (d : β„•) :
HasComplexityAtMost L d ↔ βˆ€ (Ξ΅ : ℝ), 0 < Ξ΅ β†’ βˆƒ (Ξ΄ : ℝ), 0 < Ξ΄ ∧ βˆ€ (n : β„•) (f : ΞΉ β†’ (Fin n β†’ ZMod p) β†’ ℝ), (βˆ€ (i : ΞΉ) (x : Fin n β†’ ZMod p), |f i x| ≀ 1) β†’ (βˆƒ (i : ΞΉ), (gowersNorm (d + 1) fun (x : Fin n β†’ ZMod p) => ↑(f i x)) ≀ Ξ΄) β†’ |linearFormExpectation L f| ≀ Ξ΅
theorem Cslib.Fourier.norm_linearFormExpectationC_le_gowersNorm {p β„“ : β„•} [Fact (Nat.Prime p)] {ΞΉ : Type u_1} [Fintype ΞΉ] {V : Type u_2} [AddCommGroup V] [Module (ZMod p) V] [Fintype V] {L : LinearFormSystem p ΞΉ β„“} (hL : HasFiniteComplexity L) (hm : 2 ≀ Fintype.card ΞΉ) (f : ΞΉ β†’ V β†’ β„‚) (hf : βˆ€ (i : ΞΉ) (x : V), β€–f i xβ€– ≀ 1) (iβ‚€ : ΞΉ) :

Generalized von Neumann inequality for pairwise non-proportional linear forms (Hatami, Hatami, and Lovett, Β§3.3, Lemma 3.14 and the singleton-partition observation immediately after it, pp. 462–463): for any finite-complexity system L of m β‰₯ 2 nonzero, pairwise non-proportional linear forms over 𝔽_p, any finite 𝔽_p-vector space V, any 1-bounded complex-valued functions f_i : V β†’ β„‚, and any index iβ‚€, β€–Ξ›_L(f)β€– ≀ β€–f_{iβ‚€}β€–_{U^{m - 1}}.

Analytic uniformity-control corollary of norm_linearFormExpectationC_le_gowersNorm: every finite-complexity system of m β‰₯ 2 nonzero, pairwise non-proportional linear forms over 𝔽_p satisfies HasComplexityAtMost L (m - 2) (Gowers order m - 1). Compared with norm_linearFormExpectationC_le_gowersNorm, this corollary restricts to real-valued [-1, 1]-bounded inputs on Fin n β†’ ZMod p and takes Ξ΄ = Ξ΅.