For every there is such that, for ,
Here is the Chebyshev function in an arithmetic progression and is the Euler totient function. Partial summation gives the corresponding result for the prime-counting function and the offset logarithmic integral function. The theorem controls the total error over many moduli; it need not give the same bound for each individual modulus.
Fix a positive integer and an integer coprime to . We use Dirichlet characters modulo , extended by zero on integers not coprime to , and write for the principal Dirichlet character. For a nonprincipal Dirichlet character, the sum over one complete period is zero. Its partial sums are therefore . Partial summation gives
The integral converges locally uniformly there, so these Dirichlet L-functions are holomorphic at one. On the other hand,
has a simple pole at one, with residue .
The assumed nonvanishing of a nonprincipal Dirichlet L-function at one for real Dirichlet characters also excludes vanishing for nonreal ones. To prove this, form the product over all Dirichlet characters
Use the logarithm supplied by the absolutely convergent Euler product. The Orthogonality of Dirichlet characters yields
Thus . If a nonreal Dirichlet character had , its distinct conjugate would also have a zero there, since . These two zeros would outweigh the single pole of the principal factor; all other factors are bounded near one. It would follow that as , contradicting the lower bound. Together with the assumption for real Dirichlet characters, this proves for every nonprincipal Dirichlet character.
The first-degree part of the Euler product logarithm gives
The omitted terms are bounded uniformly, since . For each nonprincipal factor, its logarithm remains bounded: choose a holomorphic logarithm near the now established nonzero value ; the Euler-product branch differs from it by a fixed integral multiple of on a sufficiently small real interval. For the principal factor,
Applying Orthogonality of Dirichlet characters again gives
The right side diverges as , so the arithmetic progression contains infinitely many primes. This proves Dirichlet's theorem on arithmetic progressions: every reduced residue class modulo contains infinitely many primes. The argument also covers and , when there need not be a nonreal character.
For the sharper statement about reciprocal primes in a fixed arithmetic progression, use the given prime-counting function asymptotic with fixed:
The second equivalence follows by integration by parts in the logarithmic integral function. Partial summation yields
For any , choose a fixed so large that the relative error in is at most for . The initial integral is a constant, while the remaining integral lies between
The boundary term is . Divide by , let , and then let . We obtain
Only a relative asymptotic is deduced from the given information; an additive error, or uniformity for a growing modulus , would require additional estimates.
Let and , the identity for Dirichlet convolution. The elementary identities needed are
For the first, prime factorization gives when , and one when . For the second, if , then , the Von Mangoldt divisor identity. Convolving the second identity with proves the third.
For , let the subscripts , , , denote truncations. The Vaughan identity is
Its pointwise form is
To prove it, use and . This gives
and rearrangement proves the formula, as in the Vaughan identity proof.
The Bombieri–Vinogradov theorem states that for every there is such that
Here is the Chebyshev function in an arithmetic progression, and is the Euler totient function. In particular, partial summation gives
after choosing the logarithmic saving in the weighted theorem sufficiently large and absorbing the prime power terms. This is the offset logarithmic integral function.
For the proof strategy, Orthogonality of Dirichlet characters converts errors in arithmetic progressions into character sums of Dirichlet characters weighted by . Reduction to primitive Dirichlet characters is followed by the character large sieve, which bounds their mean square by with the usual weights. The Vaughan identity separates the weighted sums into short terms, Type I sums and Type II sums. Direct inner-sum estimates handle the Type I sums; the Cauchy-Schwarz inequality and the large sieve control the Type II sums. The Siegel–Walfisz theorem supplies arbitrarily strong logarithmic savings for small moduli, where an average estimate alone would not suffice. A dyadic decomposition, suitable and a sufficiently large absorb the divisor and logarithmic losses. This explains why the range is essentially , with logarithmic room to spare.
Put , with the offset logarithmic integral function. The permitted standard sieve estimate can be taken as the Brun–Titchmarsh theorem:
For , . Also . Thus both terms defining are , uniformly over the permitted moduli. Apply the Cauchy-Schwarz inequality in the form
This is the weighted arithmetic-progression error bound. The prime omega function and Euler totient function weights can therefore be handled using an unweighted mean error and a separate positive sum.