Elementary Corollaries
Lemmafinsum-range-eq-sum-range#
For any arithmetic function \(f\) and real number \(x\), one has
and
Theoremchebyshev-asymptotic#
One has
Proof
From the prime number theorem we already have
so it suffices to show that
Only the terms with \(j \leq \log x / \log 2\) contribute, and each \(j\) contributes at most \(\sqrt{x} \log x\) to the sum, so the left-hand side is \(O( \sqrt{x} \log^2 x ) = o(x)\) as required.
Lean
Formalized as chebyshev_asymptotic.
Sources
Uses 1 · Used by 3
Corollaryprimorial-bounds#
We have
Proof
Exponentiate Theorem chebyshev_asymptotic.
Lean
Formalized as primorial_bounds.
Sources
Uses 1
Theorempi-asymp#
There exists a function \(c(x)\) such that \(c(x) = o(1)\) as \(x \to \infty\) and
for all \(x\) large enough.
Proof
We have the identity
as can be proven by interchanging the sum and integral and using the fundamental theorem of calculus. For any \(\varepsilon\), we know from Theorem chebyshev_asymptotic that there is \(x_\varepsilon\) such that \(\sum_{p \leq t} \log p = t + O(\varepsilon t)\) for \(t \geq x_\varepsilon\), hence for \(x \geq x_\varepsilon\)
where the \(O_\varepsilon(1)\) term can depend on \(x_\varepsilon\) but is independent of \(x\). One can evaluate this after an integration by parts as
for \(x\) large enough, giving the claim.
Lean
Formalized as pi_asymp.
Sources
Uses 1 · Used by 1
Corollarypi-alt#
One has
as \(x \to \infty\).
Proof
An integration by parts gives
We have the crude bounds
and
and combining all this we obtain
and the claim then follows from Theorem pi-asymp.
Lean
Formalized as pi_alt.
Sources
Uses 1 · Used by 4
Propositionpn-asymptotic#
One has
as \(n \to \infty\).
Proof
Use Corollary pi-alt to show that \(n=\pi(p_n)\sim p_n/\log p_n\) Taking logs gives \(\log n \sim \log p_n - \log\log p_n \sim \log p_n\). Multiplying these gives \(p_n\sim n\log n\) from which the result follows.
Lean
Formalized as pn_asymptotic.
Sources
Uses 1 · Used by 1
Corollarypn-pn-plus-one#
We have \(p_{n+1} - p_n = o(p_n)\) as \(n \to \infty\).
Proof
Easy consequence of preceding proposition.
Lean
Formalized as pn_pn_plus_one.
Sources
Uses 1
Corollaryprime-between#
For every \(\varepsilon>0\), there is a prime between \(x\) and \((1+\varepsilon)x\) for all sufficiently large \(x\).
Proof
Use Corollary pi-alt to show that \(\pi((1+\varepsilon)x) - \pi(x)\) goes to infinity as \(x \to \infty\).
Lean
Formalized as prime_between.
Sources
Uses 1
Propositionmun#
We have \(|\sum_{n \leq x} \frac{\mu(n)}{n}| \leq 1\).
Proof
From Möbius inversion \(1_{n=1} = \sum_{d|n} \mu(d)\) and summing we have
for any \(x \geq 1\). Since \(\lfloor \frac{x}{d} \rfloor = \frac{x}{d} - \epsilon_d\) with \(0 \leq \epsilon_d < 1\) and \(\epsilon_x = 0\), we conclude that
and the claim follows.
Lean
Formalized as sum_mobius_div_self_le.
Sources
Used by 2
PropositionMöbius form of prime number theorem#
We have \(\sum_{n \leq x} \mu(n) = o(x)\).
Proof
From the Dirichlet convolution identity
and summing we obtain
For any \(\varepsilon>0\), we have from the prime number theorem that
(divide into cases depending on whether \(x/d\) is large or small compared to \(\varepsilon\)). We conclude that
Applying Proposition mun we conclude that
and hence
From Stirling's formula one has
thus
and thus
Sending \(\varepsilon \to 0\) we obtain the claim.
Lean
Formalized as mu_pnt.
Sources
Uses 2 · Used by 2
Propositionlambda-pnt#
We have \(\sum_{n \leq x} \lambda(n) = o(x)\).
Proof
From the identity
and summing, we have
For any \(\varepsilon>0\), we have from Proposition Möbius form of prime number theorem that
and hence on summing in \(d\)
Sending \(\varepsilon \to 0\) we obtain the claim.
Lean
Formalized as lambda_pnt.
Sources
Uses 3
PropositionAlternate Möbius form of prime number theorem#
We have \(\sum_{n \leq x} \mu(n)/n = o(1)\).
Proof
As in the proof of Theorem mun, we have
so it will suffice to show that
Let \(N\) be a natural number. It suffices to show that
if \(x\) is large enough depending on \(N\). We can split the left-hand side as the sum of
and
The first term is clearly \(O(x/N)\). For the second term, we can use Theorem Möbius form of prime number theorem and summation by parts (using the fact that \(x/d-j\) is monotone and bounded) to find that
for any given \(j\), so in particular
for all \(j=1,\dots,N-1\) if \(x\) is large enough depending on \(N\). Summing all the bounds, we obtain the claim.
Lean
Formalized as mu_pnt_alt.
Sources
Uses 1
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.