Van der Corput's second-derivative test
ProvedExponentialSums.vdC_second_derivativeVan der Corput's second-derivative test.
Let be real valued on the integers of , and write for its first differences, so that is the second difference of at — the discrete analogue of . Suppose that throughout the range the second difference is of a fixed size up to a bounded factor :
Then the exponential sum satisfies
The bound exhibits the characteristic van der Corput trade-off. The first term grows with the length of the range but shrinks as the curvature decreases; the second does the opposite. Optimising over — balancing the two terms at — yields the familiar estimate of size , a genuine saving over the trivial bound .
This is the second of van der Corput's two classical tools, the companion to the Kusmin–Landau inequality. Where Kusmin–Landau requires the first derivative of to stay away from the integers, the second-derivative test only requires the second derivative to be of a controlled size, and so applies to functions such as that arise in estimating the Riemann zeta function on vertical lines.
Formalization note. Everything is stated discretely on the differences of , so no
differentiability is assumed; is written out as Complex.exp (2πi x). The absolute
constant is .
import Mathlib
namespace ExponentialSums
theorem vdC_second_derivative {f : ℕ → ℝ} {a b : ℕ} {lam c : ℝ}
(hab : a ≤ b) (hlam : 0 < lam) (hc : 1 ≤ c)
(h2nd_lb : ∀ n, a < n → n < b →
lam ≤ (f (n + 1 + 1) - f (n + 1)) - (f (n + 1) - f n))
(h2nd_ub : ∀ n, a < n → n < b →
(f (n + 1 + 1) - f (n + 1)) - (f (n + 1) - f n) ≤ c * lam) :
‖∑ n ∈ Finset.Ioc a b, Complex.exp (((2 * Real.pi * f n : ℝ) : ℂ) * Complex.I)‖
≤ 8 * (c * ((b : ℝ) - a) * Real.sqrt lam + 1 / Real.sqrt lam) := by sorry
end ExponentialSums