2 First approach: Wiener-Ikehara Tauberian theorem.
2.1 A Fourier-analytic proof of the Wiener-Ikehara theorem
The Fourier transform of an absolutely integrable function \(\psi : \mathbb {R}\to \mathbb {C}\) is defined by the formula
where \(e(\theta ) := e^{2\pi i \theta }\).
Let \(f: \mathbb {N}\to \mathbb {C}\) be an arithmetic function such that \(\sum _{n=1}^\infty \frac{|f(n)|}{n^\sigma } {\lt} \infty \) for all \(\sigma {\gt}1\). Then the Dirichlet series
is absolutely convergent for \(\sigma {\gt}1\).
If \(\psi : \mathbb {R}\to \mathbb {C}\) is continuous and integrable and \(x {\gt} 0\), then for any \(\sigma {\gt}1\)
By the definition of the Fourier transform, the left-hand side expands as
while the right-hand side expands as
Since
the claim then follows from Fubini’s theorem.
If \(\psi : \mathbb {R}\to \mathbb {C}\) is continuous and compactly supported and \(x {\gt} 0\), then for any \(\sigma {\gt}1\)
The left-hand side expands as
so by Fubini’s theorem it suffices to verify the identity
Now let \(A \in \mathbb {C}\), and suppose that there is a continuous function \(G(s)\) defined on \(\mathrm{Re} s \geq 1\) such that \(G(s) = F(s) - \frac{A}{s-1}\) whenever \(\mathrm{Re} s {\gt} 1\). We also make the Chebyshev-type hypothesis
for all \(x \geq 1\) (this hypothesis is not strictly necessary, but simplifies the arguments and can be obtained fairly easily in applications).
If \(\psi :\mathbb {R}\to \mathbb {C}\) is \(C^2\) and obeys the bounds
for all \(t \in \mathbb {R}\), then
for all \(u \in \mathbb {R}\), where \(C\) is an absolute constant.
From two integration by parts we obtain the identity
Now apply the triangle inequality and the identity \(\int _{\bf R} \frac{dt}{1+t^2}\ dt = \pi \) to obtain the claim with \(C = \pi + 1 / 4 \pi \).
If \(\psi : \mathbb {R}\to \mathbb {C}\) is \(C^2\) and compactly supported and \(x \geq 1\), then
By the preceding two lemmas, we know that for any \(\sigma {\gt}1\), we have
Now take limits as \(\sigma \to 1\) using dominated convergence together with 1 and Lemma 3 to obtain the result.
With the hypotheses as above, we have
as \(x \to \infty \).
Immediate from the Riemann-Lebesgue lemma, and also noting that \(\int _{-\infty }^{-\log x} \hat\psi (\frac{u}{2\pi })\ du = o(1)\).
If \(I\) is a closed interval contained in an open interval \(J\), then there exists a smooth function \(\Psi : \mathbb {R}\to \mathbb {R}\) with \(1_I \leq \Psi \leq 1_J\).
A standard analysis lemma, which can be proven by convolving \(1_K\) with a smooth approximation to the identity for some interval \(K\) between \(I\) and \(J\). Note that we have “SmoothBumpFunction”s on smooth manifolds in Mathlib, so this shouldn’t be too hard...
The previous corollary also holds for functions \(\psi \) that are assumed to be in the Schwartz class, as opposed to being \(C^2\) and compactly supported.
For any \(R{\gt}1\), one can use a smooth cutoff function (provided by Lemma 5 to write \(\psi = \psi _{\leq R} + \psi _{{\gt}R}\), where \(\psi _{\leq R}\) is \(C^2\) (in fact smooth) and compactly supported (on \([-R,R]\)), and \(\psi _{{\gt}R}\) obeys bounds of the form
where the implied constants depend on \(\psi \). By Lemma 3 we then have
Using this and 1 one can show that
(with implied constants also depending on \(A\)), while from Lemma 1 one has
Combining the two estimates and letting \(R\) be large, we obtain the claim.
The Fourier transform is a bijection on the Schwartz class. [Note: only surjectivity is actually used.]
This is a standard result in Fourier analysis. It can be proved here by appealing to Mellin inversion, Theorem 5. In particular, given \(f\) in the Schwartz class, let \(F : \mathbb {R}_+ \to \mathbb {C}: x \mapsto f(\log x)\) be a function in the “Mellin space”; then the Mellin transform of \(F\) on the imaginary axis \(s=it\) is the Fourier transform of \(f\). The Mellin inversion theorem gives Fourier inversion.
If \(\Psi : (0,\infty ) \to \mathbb {C}\) is smooth and compactly supported away from the origin, then, then
as \(x \to \infty \).
By Lemma 7, we can write
for all \(y{\gt}0\) and some Schwartz function \(\psi \). Making this substitution, the claim is then equivalent after standard manipulations to
and the claim follows from Lemma 6.
Now we add the hypothesis that \(f(n) \geq 0\) for all \(n\).
For any closed interval \(I \subset (0,+\infty )\), we have
Use Lemma 5 to bound \(1_I\) above and below by smooth compactly supported functions whose integral is close to the measure of \(|I|\), and use the non-negativity of \(f\).
We have
Apply the preceding proposition with \(I = [\varepsilon ,1]\) and then send \(\varepsilon \) to zero (using 1 to control the error).
2.2 Weak PNT
We have
Already done by Stoll, assuming Wiener-Ikehara.
2.3 Removing the Chebyshev hypothesis
In this section we do *not* assume bound 1, but instead derive it from the other hypotheses.
If \(\psi : \mathbb {R}\to \mathbb {C}\) is \(C^2\) and compactly supported with \(f\) and \(\hat\psi \) non-negative, and \(x \geq 1\), then
Repeat the proof of Lemma reflimiting-variant, but use monotone convergence instead of dominated convergence. (The proof should be simpler, as one no longer needs to establish domination for the sum.)
If \(\psi : \mathbb {R}\to \mathbb {C}\) is \(C^2\) and compactly supported with \(f\) and \(\hat\psi \) non-negative, then there exists a constant \(B\) such that
for all \(x \geq 1\).
For \(x \geq 1\), this readily follows from the previous lemma and the triangle inequality. For \(x {\lt} 1\), only a bounded number of summands can contribute and the claim is trivial.
One has
for all \(x \geq 1\).
For \(x \geq 1\) apply the previous corollary for all \(y {\lt} C x\) and \(\psi \) chosen be both nonnegative and have nonnegative Fourier transform, while being not identically zero, and \(C\) a large constant. This gives
But observe that the quantity \(\int _0^{Cx} \hat\psi ( \frac{1}{2\pi }\) is non-negative and equal to the positive constant \(\int _{{\bf R}} \hat\psi ( \frac{1}{2\pi } u ) e^u\ du\) if \(n \leq x\) and \(C\) is large enough. The claim follows.
We have
2.4 The prime number theorem in arithmetic progressions
If \(q ≥ 1\) and \(a\) is coprime to \(q\), and \(\mathrm{Re} s {\gt} 1\), we have
From the Fourier inversion formula on the multiplicative group \((\mathbb {Z}/q\mathbb {Z})^\times \), we have
On the other hand, from standard facts about L-series we have for each character \(\chi \) that
Combining these two facts, we obtain the claim.
If \(q ≥ 1\) and \(a\) is coprime to \(q\), the Dirichlet series \(\sum _{n \leq x: n = a\ (q)} {\Lambda (n)}{n^s}\) converges for \(\mathrm{Re}(s) {\gt} 1\) to \(\frac{1}{\varphi (q)} \frac{1}{s-1} + G(s)\) where \(G\) has a continuous extension to \(\mathrm{Re}(s)=1\).
We expand out the left-hand side using Lemma 9. The contribution of the non-principal characters \(\chi \) extend continuously to \(\mathrm{Re}(s) = 1\) thanks to the non-vanishing of \(L(s,\chi )\) on this line (which should follow from another component of this project), so it suffices to show that for the principal character \(\chi _0\), that
also extends continuously here. But we already know that
extends, and from Euler product machinery one has the identity
Since there are only finitely many primes dividing \(q\), and each summand \(\frac{\log p}{p^s-1}\) extends continuously, the claim follows.
If \(q ≥ 1\) and \(a\) is coprime to \(q\), we have