Documentation

AnalyticNumberTheory.Mertens.Basic

Elementary finite objects for Mertens' theorems #

This file defines the finite set of primes at most x, its reciprocal sum, and the corresponding Euler product. It contains only elementary finite-sum, finite-product, positivity, and local logarithm estimates; analytic asymptotic results belong in later modules.

The finite set of prime natural numbers at most x.

Equations
Instances For

    The sets of primes up to x are nested as x increases.

    The finite reciprocal-prime sum ∑ p ≤ x, 1 / p.

    Equations
    Instances For

      The finite Euler product ∏ p ≤ x, (1 - 1 / p).

      Equations
      Instances For

        There are no reciprocal-prime terms below 2.

        The reciprocal-prime sum is monotone in its cutoff.

        theorem AnalyticNumberTheory.Mertens.primeFactor_pos {p : } (hp : Nat.Prime p) :
        0 < 1 - 1 / p

        Every Euler factor indexed by a prime is strictly positive.

        Every Euler factor indexed by a prime is at most one.

        The finite Euler product is antitone in its cutoff.

        Taking logarithms converts the finite Euler product into a finite sum.

        theorem AnalyticNumberTheory.Mertens.abs_log_one_sub_add_le {t : } (ht0 : 0 < t) (htle : t 1 / 2) :
        |Real.log (1 - t) + t| 2 * t ^ 2

        For 0 < t ≤ 1/2, the error after linearizing log (1 - t) is at most 2 t².

        theorem AnalyticNumberTheory.Mertens.abs_log_primeFactor_add_le {p : } (hp : Nat.Prime p) :
        |Real.log (1 - 1 / p) + 1 / p| 2 / p ^ 2

        The local logarithmic correction for a prime Euler factor.