Documentation

LeanPool.Erdos1196.NormalizationCore

Core definitions for the normalization constant #

This file contains the shared decomposition of the entry weights and normalization constant into their small-prime and first-entry pieces, together with the structural reindexing lemmas used by the two separate estimate files.

Main definitions #

The common prefactor 1 / (n log^2 n) in the entry weights.

Equations
Instances For

    The small-prime-power divisor sum appearing in b_x(n).

    Equations
    Instances For
      noncomputable def PrimitiveSetsAboveX.firstEntryDivisorSum (x Y n : ℕ) :

      The first-entry divisor sum appearing in b_x(n).

      Equations
      Instances For

        The contribution to b_x(n) from divisors q ≥ Y with n / q < x.

        Equations
        Instances For

          The small-prime-power summand in the normalization constant B_x.

          Equations
          Instances For

            The first-entry summand in the normalization constant B_x.

            Equations
            Instances For

              b_x(n) splits into the small-prime-power and first-entry contributions.

              Adding the remaining divisor contribution to b_x(n) recovers the full weighted divisor sum.

              The small-prime contribution to b_x(n) is nonnegative.

              The first-entry contribution to b_x(n) is nonnegative.

              theorem PrimitiveSetsAboveX.le_mul_entryThreshold (x Y m : ℕ) (hm : 0 < m) :
              x ≤ m * entryThreshold x Y m

              The first-entry threshold always lands in the admissible range x ≤ m * q, since it dominates the ceiling quotient x ⌈/⌉ m.

              theorem PrimitiveSetsAboveX.firstEntryTailApproximation {Y : ℕ} (hY : 2 ≤ Y) :
              ∃ (C : ℝ), 0 < C ∧ ∀ {x m : ℕ}, 2 ≤ x → 1 ≤ m → m < x → |firstEntryTail x Y m - 1 / Real.log ↑x| ≤ C / Real.log ↑x ^ 2

              For fixed Y ≥ 2, the first-entry tail at the faithful cutoff entryThreshold x Y m approximates 1 / log x with a uniform log⁻² x error, uniformly for all parent states 1 ≤ m < x.

              theorem PrimitiveSetsAboveX.abs_sum_Icc_inv_sub_log_le_one (x : ℕ) (hx : 1 ≤ x) :
              |∑ m ∈ Finset.Icc 1 (x - 1), 1 / ↑m - Real.log ↑x| ≤ 1

              Equivalently, the finite reciprocal sum ∑_{m < x} 1 / m is within 1 of log x.

              theorem PrimitiveSetsAboveX.sum_range_normalizationSmallPrimePart_eq (N x Y : ℕ) :
              ∑ n ∈ Finset.range N, normalizationSmallPrimePart x Y n = ∑ q ∈ Finset.range N, ∑ m ∈ Finset.range N, if 0 < q ∧ 0 < m ∧ q * m < N ∧ q < Y ∧ x ⌈/⌉ q ≤ m then ArithmeticFunction.vonMangoldt q / ↑q * (1 / (↑m * Real.log ↑(m * q) ^ 2)) else 0

              The finite prefix of the small-prime contribution reindexes as a sum over q < Y and inner m-tails, with the exact lower cutoff x ⌈/⌉ q.

              theorem PrimitiveSetsAboveX.tsum_firstEntryPairWeight_fiber_prod {x Y n : ℕ} (hx : 1 ≤ x) :
              ∑' (p : ↑((fun (mq : ℕ × ℕ) => mq.1 * mq.2) ⁻¹' {n})), firstEntryPairWeight x Y ↑p = normalizationFirstEntryPart x Y n

              Reindexing the product fiber of firstEntryPairWeight recovers the first-entry normalization summand, including the zero fiber.

              The normalization constant B_x is exactly the sum of its small-prime and first-entry contributions.