Documentation

LeanPool.IwaniecLinearSieve.PrimeSums.Error

The de la Vallée Poussin error term #

We fix once and for all a constant pntκ > 0 and the error function pntE x = exp (-pntκ * √(log x)), and deduce from StrongPNT that θ(x) = x + O(x · pntE x) for x ≥ 2, with an explicit constant valid for all x ≥ 2.

The constant pntκ is the minimum of the constant c of StrongPNT and 1 / 2; the bound pntκ ≤ 1 / 2 lets pntE x dominate x ^ (-1/2) * log x and 1 / x.

noncomputable def IwaniecLinearSieve.pntc :

The constant c in StrongPNT.

Equations
Instances For
    noncomputable def IwaniecLinearSieve.pntκ :

    The constant κ in the error term exp (-κ √(log x)) used throughout.

    Equations
    Instances For
      noncomputable def IwaniecLinearSieve.pntE (x : ℝ) :

      The de la Vallée Poussin error term exp (-κ √(log x)).

      Equations
      Instances For
        theorem IwaniecLinearSieve.pntE_le_pntE {x y : ℝ} (hx : 0 < x) (hxy : x ≤ y) :
        theorem IwaniecLinearSieve.inv_le_pntE {x : ℝ} (hx : 2 ≤ x) :

        pntE dominates 1 / x.

        theorem IwaniecLinearSieve.sqrt_mul_log_le {x : ℝ} (hx : 1 ≤ x) :
        √x * Real.log x ≤ 12 * x * pntE x

        pntE dominates x ^ (-1/2) * log x.

        theorem IwaniecLinearSieve.exists_abs_psi_sub_le :
        ∃ (C : ℝ) (X : ℝ), 0 ≤ C ∧ ∀ x ≥ X, |Chebyshev.psi x - x| ≤ C * x * pntE x

        The prime number theorem for ψ with the error term pntE, valid from some point on.

        theorem IwaniecLinearSieve.theta_asymp :
        ∃ (C : ℝ), 0 ≤ C ∧ ∀ x ≥ 2, |Chebyshev.theta x - x| ≤ C * x * pntE x

        The prime number theorem for θ: |θ x - x| ≤ C x exp (-κ √(log x)) for all x ≥ 2.