Documentation

AnalyticNumberTheory.Sieve.SingularSeries

AnalyticNumberTheory.Sieve.SingularSeries #

Goldbach singular-series factors and finite products #

The classical Chen bounds contain the singular-series factor

š”–(N) = Ī _{p|N, p>2} (p-1)/(p-2) Ā· Ī _{p>2} (1 - 1/(p-1)²),

whose second product is the twin-prime constant Cā‚‚ ā‰ˆ 0.66016.... For even N, the local factors used in this module are:

Thus the local-factor product includes the factor 2, unlike the normalization of š”–(N) displayed above. The implemented singularSeries N is the finite product truncated at z=N, not an infinite-product limit. All results below concern these defined finite products.

References:

1. Local factors #

Singular-series local factor at an odd prime p: if p | N, then g(p,N) = (p-1)/(p-2)·(1-1/(p-1)²) = p/(p-1); otherwise g(p,N) = 1-1/(p-1)² = p(p-2)/(p-1)². The prime 2 is treated separately, with factor 2 for even N and factor 1 for odd N in this definition.

Equations
Instances For

    The factor at 2 is 2 for even N.

    The factor at 2 is 1 for odd N.

    theorem AnalyticNumberTheory.Sieve.localFactor_of_dvd {p N : ā„•} (_hp : Nat.Prime p) (hp2 : 2 < p) (hpdvd : p ∣ N) :
    localFactor p N = ↑p / (↑p - 1)

    For a prime p > 2 dividing N, the factor is p/(p-1).

    theorem AnalyticNumberTheory.Sieve.localFactor_of_not_dvd {p N : ā„•} (_hp : Nat.Prime p) (hp2 : 2 < p) (hpn : ¬p ∣ N) :
    localFactor p N = ↑p * (↑p - 2) / (↑p - 1) ^ 2

    For a prime p > 2 not dividing N, the factor is p(p-2)/(p-1)².

    2. Positivity of local factors #

    Every prime local factor is positive.

    3. Truncated singular series #

    Truncated local-factor product: š”–(N,z) = Ī _{p≤z, p.Prime} localFactor p N. The classical infinite product is obtained by a convergence argument as z → āˆž, with the normalization of these local factors; that limiting identification is not part of this definition.

    Equations
    Instances For

      The truncated singular series is positive, since all factors are positive.

      4. Finite singular-series proxy #

      Finite singular-series proxy, truncated at z=N. The classical full series is a limit lim_{zā†’āˆž} š”–(N,z), requiring an infinite-product convergence argument. Mertens-type estimates such as Ī£_{p≤x}1/p ~ log log x are relevant to quantitative singular-series analysis; this definition does not take that limit.

      Equations
      Instances For

        The finite singular-series proxy is positive.

        5. Explicit even case #

        For even N, truncating at 2 gives exactly the factor 2.

        6. Upper bounds for local factors #

        theorem AnalyticNumberTheory.Sieve.localFactor_dvd_le {p N : ā„•} (hp : Nat.Prime p) (hp2 : 2 < p) (hpdvd : p ∣ N) :

        For a prime p > 2 dividing N, p/(p-1) ≤ 3/2, since p ≄ 3.

        theorem AnalyticNumberTheory.Sieve.localFactor_not_dvd_lt_one {p N : ā„•} (hp : Nat.Prime p) (hp2 : 2 < p) (hpn : ¬p ∣ N) :

        For a prime p > 2 not dividing N, p(p-2)/(p-1)² < 1, since p ≄ 3.

        7. Elementary singular-series bounds #

        theorem AnalyticNumberTheory.Sieve.telescope_a (n : ā„•) :
        āˆ k ∈ Finset.range n, (↑k + 1) / (↑k + 2) = 1 / (↑n + 1)

        Telescoping product A: āˆ_{k<n} (k+1)/(k+2) = 1/(n+1).

        theorem AnalyticNumberTheory.Sieve.telescope_b (n : ā„•) :
        āˆ k ∈ Finset.range n, (↑k + 3) / (↑k + 2) = (↑n + 2) / 2

        Telescoping product B: āˆ_{k<n} (k+3)/(k+2) = (n+2)/2.

        theorem AnalyticNumberTheory.Sieve.int_square_product (N : ā„•) (hN : 2 ≤ N) :
        āˆ n ∈ Finset.Ico 2 N, (1 - 1 / ↑n ^ 2) = ↑N / (2 * (↑N - 1))

        Telescoping product: āˆ_{n=2}^{N-1} (1-1/n²) = N/(2(N-1)) for N ≄ 2.

        theorem AnalyticNumberTheory.Sieve.prime_square_product_ge_int (N : ā„•) :
        āˆ n ∈ Finset.Ico 2 N, (1 - 1 / ↑n ^ 2) ≤ āˆ p ∈ Finset.range (N + 1) with Nat.Prime p ∧ 2 < p, (1 - 1 / (↑p - 1) ^ 2)

        The prime-indexed product is at least the full integer product: āˆ_{3≤p≤N, p prime} (1-1/(p-1)²) ≄ āˆ_{n=2}^{N-1} (1-1/n²).

        theorem AnalyticNumberTheory.Sieve.singularSeries_bounded_below :
        ∃ (c : ā„), 0 < c ∧ āˆ€ (N : ā„•), 2 ≤ N → Even N → c ≤ singularSeries N

        Positive lower bound for even N: the finite proxy is at least 1 for every even N ≄ 2. Its product is 2Ā·āˆ_{p≤N, p|N, p>2} p/(p-1) Ā·āˆ_{p≤N, p∤N, p>2} p(p-2)/(p-1)². The divisor factors are at least 1, and āˆ_{2<p≤N}(1-1/(p-1)²) ≄ āˆ_{n=2}^{N-1}(1-1/n²) = N/(2(N-1)) ≄ 1/2. Thus the product is at least 2Ā·1Ā·1/2 = 1.

        theorem AnalyticNumberTheory.Sieve.singularSeries_bounded_above :
        ∃ (C : ā„), 0 ≤ C ∧ āˆ€ (N : ā„•), 2 ≤ N → singularSeries N ≤ C * ↑N

        Upper bound for the finite proxy: for N ≄ 2, the local-factor estimates give š”–(N) ≤ 2^{ω(N)} and in particular the stated bound ≤ 2N. Each factor at a prime dividing N is at most 2; the others are at most 1. The coarser 2^{ω(N)+1} ≤ 2N also suffices.

        An absolute bound š”–(N) ≤ C is false. For primorials N = 2Ā·3Ā·5Ā·7Ā·...Ā·x, the divisor-prime product āˆ_{p|N} p/(p-1) has order log log N and is unbounded; the remaining twin-prime-type factors do not remove that growth.

        7.5 Uniform lower bound for truncated products #

        Uniform truncated-product lower bound: š”–(N,z) ≄ 1/2 for every N and z ≄ 2. Write the product as localFactor(2,N)Ā·āˆ_{2<p≤z} localFactor(p,N). The factor at 2 is at least 1, and for odd primes localFactor(p,N) ≄ 1-1/(p-1)² (the divisor case is at least 1, and the nondivisor case is equality). Therefore š”–(N,z) ≄ āˆ_{2<p≤z}(1-1/(p-1)²) ≄ āˆ_{n=2}^{z-1}(1-1/n²) = z/(2(z-1)) ≄ 1/2. This supplies the twin-prime-constant-scale input c_S = 1/2 for CorrectedChenMainTermLower.

        8. Scope and applications #