How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Chebyshev Bounds and Mertens Theorems
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Analyticity of Holomorphic Functions; Liouville and Morera
- Arc Length and Rectifiable Curves
- Arithmetic Functions and Dirichlet Convolution
- Average Orders Divisor Sums and Representation Counts
- Binary Operations, Monoids, Groups and Subgroups
- Bounded Variation and the Riemann–Stieltjes Integral
- Chains, Antichains, Sperner and Dilworth
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Complex Differentiability and the Cauchy–Riemann Equations
- Complex Power Series and Analytic Functions
- Connectedness
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Contour Integration
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Determinants of Matrices over a Commutative Ring
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Equivalent Forms of Completeness
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Function Space Topologies and the Exponential Law
- Fundamental Trigonometric Identities
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Goursat's Theorem and Cauchy's Theorem in a Convex Domain
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Incidence Algebras and Möbius Inversion
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Line Integrals and the Gradient Theorem
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Partitions of Unity and Paracompactness
- pi: the Equivalent Characterizations
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Separation Axioms: the Hierarchy
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Subspaces, Products, and Quotients
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Fundamental Theorems of Calculus
- The Gamma Function
- The Identity Theorem, the Maximum Principle and the Open Mapping Theorem
- The Inverse and Implicit Function Theorems
- The Logarithm and General Powers
- The Real Gamma and Beta Functions
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
This page develops the classical finite arguments behind Chebyshev's density theorem, Bertrand's postulate, and the three Mertens theorems. The first half starts from central binomial coefficients, prime valuations, and Abel summation, so every bound remains visibly weaker than the later prime number theorem.
The second half turns the von Mangoldt divisor identity into the first Mertens asymptotic, then recovers the reciprocal-prime and Euler-product forms by partial summation and a source-backed Gamma-side constant computation. The companion examples page keeps the finite tables and residual checks separate from these proofs.
3 · Logical flowchart
4 · Definitions, theorems and proofs
The prime-counting function
Definition
For every real number , the prime-counting function is
Remarks
-
The argument distinguishes this function from the circle constant .
-
The function is right-continuous and changes value exactly at the primes.
Chebyshev's theta function
Definition
For every real number , Chebyshev's theta function is
the sum being taken over the primes .
Remarks
-
For , the sum is empty, so .
-
Since there are only finitely many integers at most , the displayed sum is finite for every real .
-
Like , the function is right-continuous and jumps only at primes.
Chebyshev's psi function
Definition
For every real number , Chebyshev's psi function is
where is the von Mangoldt function of The von Mangoldt function.
Remarks
-
The sum is finite for every real .
-
The next lemma rewrites as a sum over prime powers, which is the form used throughout this page.
Prime-power expansion of Chebyshev's psi function
Statement
For every real ,
and both sums are finite.
Facts & Assumptions
Given: A real number .
The von Mangoldt function satisfies when is a prime power and otherwise (The von Mangoldt function).
Proof
Only prime powers contribute to the sum in [L2], by [L1]. Therefore where the sum ranges over all prime powers at most .
The displayed prime-power sum is finite: if , then already , so ; and for each fixed , only the primes occur.
Fix . The contribution of the th prime-power layer is by [L3]. Summing these finitely many layers from step 2.1 gives
Combining steps 1.1 and 3.1 proves both displayed identities.
Abel summation recovers the prime-counting function from theta
Statement
For every real ,
Facts & Assumptions
Given: A real number and .
By definition, (The prime-counting function).
By definition, (Chebyshev's theta function).
Abel summation by parts converts a finite sum into a boundary term plus a sum against the differences (Abel summation by parts: with one has for every ).
Proof
Define a sequence by when is prime and otherwise, for . Then [L2] shows that its partial sums satisfy for every integer , while [L1] gives
Apply [L3] to the finite sum in step 1.1 with . This yields
For each integer with , the function has derivative given by [L4], so Since on , step 2.1 becomes
Because , there are no integers in . Hence and for every . Using [L4], we compute Adding this identity to step 3.1 gives
Central binomial coefficient bounds
Statement
For every natural number ,
Facts & Assumptions
Given: A natural number .
The binomial theorem gives
(The binomial theorem in : , The set of -element subsets and the binomial coefficient ).
The binomial coefficients in the th row are symmetric and unimodal, so their maximum occurs at the central term (The binomial coefficients are symmetric and increase to the middle level before decreasing).
Proof
The upper bound is immediate from [L1], since is one nonnegative term in a sum equal to .
There are exactly terms in the sum of [L1], and [L2] says that each of them is at most the central term . Therefore
Rearranging step 1.2 gives the lower bound Together with step 1.1 this proves the lemma.
Prime valuations in the central binomial coefficient
Statement
Let be a natural number and let be a prime. Then
and
Consequently:
- if , then ;
- in general,
Facts & Assumptions
Given: A natural number and a prime .
For every nonzero integer , the valuation is additive on products and detects exactly the powers that divide ( for nonzero integers , and whenever , and are all nonzero, For a prime and a nonzero integer : and ; holds exactly for ; exactly when ; ; and , The -adic valuation of a nonzero integer: the greatest with ).
Proof
By [L2] and repeated use of additivity from [L1], For a fixed integer , [L1] says that is exactly the number of positive integers for which . Summing over therefore counts, for each , how many multiples of lie in . That number is , so
Applying [L1] and [L2] to gives Substituting the formula from step 1.1 twice yields
Suppose . Then and . Also , so every term with vanishes in step 2.1. Hence
For arbitrary , each summand in step 2.1 is either or , because . Therefore is at most the number of positive integers with . If , then , so . This proves
Steps 1.1, 2.1, 3.1, and 3.2 prove all claims.
Chebyshev's theta function has linear lower and upper bounds
Statement
There exist positive constants and a real number such that
for every real .
Facts & Assumptions
Given: A real number .
The central binomial coefficient satisfies for every natural number (Central binomial coefficient bounds).
For every prime and natural , primes with divide , and in general (Prime valuations in the central binomial coefficient).
The binomial theorem gives (The binomial theorem in : ).
The closed form holds for ( for ; hence , the quotient is a natural number, and ).
The logarithm satisfies and (Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm).
Induction on is valid (The principle of mathematical induction).
Proof
Put for real . We claim that Let be the largest prime with . Then and , so it suffices to prove the claim when is prime. For this is immediate. Let be an odd prime, and assume inductively that for every integer with . Then Every prime in the second product divides by [L4], because it appears in the numerator and in neither denominator factorial. Also [L3] gives and the two equal middle terms therefore satisfy . Thus So the claim holds for every real .
Again by [L2], the factorization of can be written as where Using the trivial estimate on each layer and for , we get
By definition of and the logarithm law in [L5], for every real .
The lower bound in [L1] and [L5] give Combining this with step 1.2 shows Since , choose so large that for every . Then
Let , and put . Then and , so by monotonicity of and step 2.2, Step 2.1 also gives for every . Thus the theorem holds with , , and .
Psi and theta differ by at most a square-root term
Statement
There are positive constants such that for every real ,
and, for all sufficiently large ,
Facts & Assumptions
Given: A real number .
The prime-power expansion is (Prime-power expansion of Chebyshev's psi function).
Chebyshev's theta function has linear upper bounds for large arguments (Chebyshev's theta function has linear lower and upper bounds).
By definition, and (Chebyshev's theta function, Chebyshev's psi function).
Proof
Subtracting the term from [L1] gives Every summand is nonnegative, so
The term is , because there are at most primes at most , and each contributes at most . The terms with vanish because . For , one has , so for a fixed constant , because is bounded for . Together with step 1.1, this proves for a suitable constant .
By [L2], choose and such that for every . Put . If , monotonicity gives , while for one has . Thus for every real . Then for all sufficiently large , the term satisfies Also, using the finite range from step 2.1, for large , because . Therefore for a suitable constant .
Chebyshev bounds for the prime-counting function
Statement
There exist positive constants and a real number such that
for every real .
Facts & Assumptions
Given: A real number .
For every real , (Abel summation recovers the prime-counting function from theta).
Chebyshev's theta function has positive linear lower and upper bounds for sufficiently large arguments (Chebyshev's theta function has linear lower and upper bounds).
The prime-counting and theta functions are the ones defined in The prime-counting function and Chebyshev's theta function.
Proof
By [L2], choose positive constants and such that for every . Enlarging if needed to absorb the finite range , we may assume
For , the integral term in [L1] is nonnegative, so
Assume now that . Using [L1] and step 1.1, Split the integral at . On one has , so On one has , so Hence
Since and for , step 2.2 implies for some positive constant and all sufficiently large . Taking and enlarging if necessary to satisfy both steps 2.1 and 2.2 proves the theorem.
Bertrand's postulate
Statement
For every integer , there is a prime with
Facts & Assumptions
Given: An integer .
The central binomial coefficient satisfies (Central binomial coefficient bounds).
Every prime with divides , and for every prime one has (Prime valuations in the central binomial coefficient).
The binomial theorem and binomial closed formula are available (The binomial theorem in : , for ; hence , the quotient is a natural number, and ).
The logarithm laws and induction principle are available (Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm, The principle of mathematical induction).
Proof
Put for real . We claim that Let be the largest prime with . Then and , so it suffices to prove the claim when is prime. For this is immediate. Let be an odd prime, and assume inductively that for every integer with . Then Every prime in the second product divides by [L3], because it appears in the numerator and in neither denominator factorial. Also [L3] gives and the two equal middle terms therefore satisfy . Thus Taking logarithms and using [L4], we obtain
Assume now that , and put By [L2], every prime in this interval divides , so is a factor of . Also, if , then , , and because . Hence [L2] gives for that range. Therefore where Indeed, for each summand in [L2] is at most , so the remaining logarithmic contribution is bounded by the layer together with the higher prime-power layers .
The remaining range is finite. A direct scan on September 1, 2026 checked each interval and found a prime witness in every case; for example the last few witnesses are So the statement also holds throughout the residual finite range.
Step 1.1 implies for every real . Hence For one has . Applying step 1.1 at , combining the resulting bounds with step 1.2 and the lower bound from [L1], and then simplifying gives The right-hand side is positive at and has positive derivative for every , so throughout that range. Hence some prime satisfies , and the endpoint is impossible because is even and larger than . Thus for every .
Steps 2.1 and 1.3 together prove Bertrand's postulate for every integer .
The von Mangoldt harmonic sum is log x plus O(1)
Statement
For every real ,
Facts & Assumptions
Given: A real number .
The von Mangoldt divisor identity is
for every integer (The divisor sum of von Mangoldt is the arithmetic-function logarithm, The von Mangoldt function).
The prime-power expansion of together with the comparison lemma and Chebyshev's theta bounds imply
(Chebyshev's psi function, Prime-power expansion of Chebyshev's psi function, Psi and theta differ by at most a square-root term, Chebyshev's theta function has linear lower and upper bounds).
Proof
Summing [L1] over the positive integers and reversing the finite order of summation gives Write Since , we obtain
By [L3], the error term in step 1.1 is . Therefore
Substitute the asymptotic from [L2] into step 2.1: After moving the term to the left and dividing by , this becomes That is exactly the claimed estimate
Mertens' first theorem for primes
Statement
For every real ,
Facts & Assumptions
Given: A real number .
The weighted von Mangoldt harmonic sum satisfies (The von Mangoldt harmonic sum is log x plus O(1)).
The von Mangoldt function is on prime powers and otherwise (The von Mangoldt function, Prime and composite integers: is prime when and its only positive divisors are and ).
The real -series converges, and comparison for nonnegative series is valid (The p-series for a real exponent p converges exactly when p is greater than one, If eventually, convergence of gives convergence of , and divergence of gives divergence of ).
The logarithm is increasing and satisfies (The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm).
Proof
By [L2], So it is enough to show that the prime-power tail is bounded independently of .
For , define . By [L4], so is increasing on . Since , we obtain for every prime . Hence for every prime . The finitely many primes contribute only a constant, so [L3] shows that
Combine step 2.1 with [L1]: Therefore
The Meissel-Mertens constant
Definition
The Meissel-Mertens constant is
provided the limit exists.
Remarks
- The next theorem proves existence by exhibiting the limit together with the sharper error term .
Mertens' second theorem for primes
Statement
Facts & Assumptions
Given: A real number and the function
Abel summation by parts is available (Abel summation by parts: with one has for every ).
Proof
Apply [L2] to the sequence on primes and otherwise, with . Exactly as in Abel summation recovers the prime-counting function from theta, this gives
By [L1], write with . Substituting into step 1.1 yields Since , we obtain
Because is bounded and the improper integral converges, and replacing the upper limit by changes step 2.1 by only . Therefore where This constant is exactly the limit in The Meissel-Mertens constant.
The displayed asymptotic implies as , so the definition of The Meissel-Mertens constant is well posed.
Mertens' third theorem for primes
Statement
Facts & Assumptions
Given: A real number .
MIT Problem Set 9, Problem 2(c)--(f), and Tao's displayed equations (25), (34), and the computation immediately before Theorem 26 prove the exact prime-power-weight estimate These are the first and third sources listed above.
If is a prime power, then (The von Mangoldt function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm).
For , ([The power series for log(1+x) on (-1,1], including the Abel endpoint](/item/thm-log-one-plus-x-power-series)).
The logarithm laws and the reciprocal-Gamma product identify the same as the Euler-Mascheroni constant (Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm, The Weierstrass product for reciprocal Gamma, The Euler-Mascheroni constant).
Proof
By [L2], the sum in [L1] is exactly the finite prime-power sum Hence
Every factor is positive. Applying [L3] with and summing the resulting absolutely convergent series gives
The difference between the sum in step 1.2 and consists of terms with , , and . For a fixed , comparison with the positive decreasing series gives Indeed, in the first range and the integral tail is at most a constant times ; in the second range the full tail from is . Summing over gives
Combining steps 1.1, 1.2, and 2.1 yields Exponentiating the bounded term gives
The sum of the reciprocals of the primes diverges
Statement
The series
diverges.
Facts & Assumptions
Given: The reciprocal-prime partial sums.
Proof
By [L1], the partial sums differ from by a bounded quantity as .
Since , the partial sums also tend to infinity. Therefore the prime reciprocal series diverges.
Euler's prime product tends to zero
Statement
The finite Euler products
tend to as , and more precisely
Facts & Assumptions
Given: The finite Euler prime products.
Mertens' third theorem gives the displayed asymptotic (Mertens' third theorem for primes).
Proof
The precise asymptotic is exactly [L1].
Since stays bounded and , the product tends to .
5 · Examples, counterexamples and false statements
None yet.
Sources
- Karl-Dieter Crisman, Number Theory: In Context and Interactive
- Victor Shoup, A Computational Introduction to Number Theory and Algebra, Version 2
- Leo Goldmakher, A Quick Proof of Mertens' Theorem
- MIT 18.785 Number Theory I, Fall 2021, Problem Set 9
- Terence Tao, Mertens' theorems
- Terence Tao, 254A Notes 1: Elementary multiplicative number theory, Theorems 15 and 26