Theorem I (cosine oscillation lemma). Two statements about the cosine function:
(1) cos is 1-Lipschitz, i.e. |cos x - cos y| ≤ |x - y| for all real x, y.
(2) For every real c and every positive natural number K, there exists a point
y in the open interval (c + π/K, c + 3π/K) such that |cos (K c) - cos (K y)| ≥ 1.
The Weierstrass nowhere-differentiable function
f(x) = ∑_{k=0}^∞ cos(160^k x) / 4^k, defined as a tsum over the natural numbers.
Instances For
Theorem III. The defining series of the Weierstrass function is well-behaved:
(1) for every x ∈ ℝ, the series ∑ k, cos(160^k x) / 4^k is absolutely convergent;
(2) the function weierstrass_fun is continuous and bounded on ℝ.
Slope blow-up lemma. For every real c and every natural number n, there exists a
point y ≠ c with |y - c| < 3π / 160^n such that the difference quotient of the
Weierstrass function between y and c has absolute value at least 40^n / (117 π).
Since 40^n / (117 π) → ∞, this witnesses that the function cannot have a finite derivative
at c.
Weierstrass's theorem. The function weierstrass_fun x = ∑ k, cos(160^k x) / 4^k
is nowhere differentiable on ℝ: for every c, weierstrass_fun fails to be differentiable
at c. The proof uses weierstrass_slope_lower_bound to exhibit a sequence of points
approaching c along which the difference quotients diverge to infinity, contradicting the
convergence of the slope to a finite derivative.