Documentation

Expdb.Mathlib.VanDerCorput

Van der Corput differencing #

Adapted from MoltResearch/Discrepancy/ExpSums.lean in ProofFleet/prooffleet at commit 9f6f78688f83561d04616ab88e93b9cf81531e47, licensed under Apache-2.0 (see the repository's LICENSE).

Adaptations for Expdb: retained differencing and its dependencies, made implementation helpers private, and expressed character identities using Mathlib's Fourier character. The public interface uses closed natural-number intervals; namespaces and proofs were updated for the current Mathlib API.

theorem Expdb.VanDerCorput.norm_sum_Icc_sq_le_correlations {φ : ℕ → ℝ} {a b H : ℕ} (hH : 1 ≤ H) (hHa : H ≤ a) (hab : a ≤ b) :
‖∑ n ∈ Finset.Icc a b, ↑(Real.fourierChar (φ n))‖ ^ 2 ≤ (↑(b + 1 - a) + ↑H) / ↑H * (↑(b + 1 - a) + 2 * ∑ j ∈ Finset.Ico 1 H, ‖∑ n ∈ Finset.Ico a (b + 1 - j), ↑(Real.fourierChar (φ (n + j) - φ n))‖)

Van der Corput differencing, with an adjustable number of shifts. The restriction H ≤ a keeps the shifted windows in the natural numbers; no restriction on the length of the interval is necessary.

Dyadic selection (proved for Expdb) #

theorem Expdb.VanDerCorput.exists_dyadic_weighted_bound (C : ℕ → ℝ) (hC : ∀ (j : ℕ), 0 ≤ C j) {H : ℕ} (hH : 1 ≤ H) :
∃ (j : ℕ), 1 ≤ j ∧ j ≤ H ∧ ∑ k ∈ Finset.Ico 1 H, C k ≤ ↑(Nat.log 2 H + 1) * (↑j * C j)

Dyadic pigeonholing costs only the number of logarithmic ranges. Each range contains at most its lower endpoint's number of shifts.