Documentation

MathlibNt.AnalyticNumberTheory.Chen1973.Chen1973Lemma3LFourthMoment

Chen 1973, Lemma 3: source-order fourth-moment reductions #

This file follows pp. 114--115 of Chen's original paper sentence by sentence. It defines the literal half-plane, primitive-character fourth moment, truncating Dirichlet polynomial, its collected two-factor coefficients, and the exact fourfold expansion used in Chen's invocation of Lemma 2.

The source's final analytic estimate is not packaged as a Prop. The first unproved printed step is recorded at the end of this file after the proved finite identities and the actual Lemma 2 call.

The literal domain sentence s = σ + it, σ ≥ 1/2 on p. 114.

Equations
Instances For
    Inspect dependencies

    AnalyticNumberTheory.LargeSieve.Chen1973Lemma3Domain · compiled type and proof/definition references.

    Inspect dependencies

    AnalyticNumberTheory.LargeSieve.Chen1973Lemma3Domain.re_eq · compiled type and proof/definition references.

    Inspect dependencies

    AnalyticNumberTheory.LargeSieve.Chen1973Lemma3Domain.re_pos · compiled type and proof/definition references.

    L(s,χ) on the nonprincipal primitive range q > 1. The source's starred family excludes the exceptional principal character at modulus 1; we therefore set that term to zero explicitly (and also totalize modulus 0).

    Equations
    Instances For
      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973PrimitiveLValue · compiled type and proof/definition references.

      Inspect dependencies

      AnalyticNumberTheory.LargeSieve.chen1973Lemma3FourthMoment · compiled type and proof/definition references.

      The integer [Q |s|] selected in the proof on p. 115.

      Equations
      Instances For
        Inspect dependencies

        AnalyticNumberTheory.LargeSieve.chen1973Lemma3Cutoff · compiled type and proof/definition references.

        The strict floor endpoint needed in the truncation-error scalar ledger; unlike 1 ≤ Q‖s‖, this is valid without a small-height assumption.

        Inspect dependencies

        AnalyticNumberTheory.LargeSieve.chen1973Lemma3Cutoff_lt_succ · compiled type and proof/definition references.

        The companion non-strict floor inequality.

        Inspect dependencies

        AnalyticNumberTheory.LargeSieve.chen1973Lemma3Cutoff_le · compiled type and proof/definition references.

        The finite Dirichlet polynomial ∑_{n=1}^N χ(n)/n^s.

        Equations
        Instances For
          Inspect dependencies

          AnalyticNumberTheory.LargeSieve.chen1973DirichletPolynomial · compiled type and proof/definition references.

          A single coefficient after squaring and collecting equal products.

          Equations
          Instances For
            Inspect dependencies

            AnalyticNumberTheory.LargeSieve.chen1973PairCoefficient · compiled type and proof/definition references.

            theorem AnalyticNumberTheory.LargeSieve.chen1973DirichletPolynomial_sq_eq_pair_sum (N : ℕ) (s : ℂ) {q : ℕ} (χ : PrimitiveCharacter q) :
            chen1973DirichletPolynomial N s χ ^ 2 = ∑ ab ∈ (Finset.Icc 1 N).product (Finset.Icc 1 N), ↑ab.1 ^ (-s) * ↑ab.2 ^ (-s) * ↑χ ↑(ab.1 * ab.2)

            The first finite algebraic step in the fourfold expansion: squaring the Dirichlet polynomial and collecting the two numerator variables.

            Inspect dependencies

            AnalyticNumberTheory.LargeSieve.chen1973DirichletPolynomial_sq_eq_pair_sum · compiled type and proof/definition references.

            theorem AnalyticNumberTheory.LargeSieve.chen1973_pair_product_mem {N a b : ℕ} (ha : a ∈ Finset.Icc 1 N) (hb : b ∈ Finset.Icc 1 N) :
            ↑a * ↑b ∈ Finset.Icc 1 ↑(N * N)

            Every product of two integers in [1,N] lies in [1,N²].

            Inspect dependencies

            AnalyticNumberTheory.LargeSieve.chen1973_pair_product_mem · compiled type and proof/definition references.

            theorem AnalyticNumberTheory.LargeSieve.chen1973_pairCoefficient_character_sum_eq (N : ℕ) (s : ℂ) {q : ℕ} (χ : PrimitiveCharacter q) :
            ∑ m ∈ Finset.Icc 1 ↑(N * N), chen1973PairCoefficient N s m * ↑χ ↑m = ∑ ab ∈ (Finset.Icc 1 N).product (Finset.Icc 1 N), ↑ab.1 ^ (-s) * ↑ab.2 ^ (-s) * ↑χ ↑(ab.1 * ab.2)

            Collecting equal products is an exact finite reindexing.

            Inspect dependencies

            AnalyticNumberTheory.LargeSieve.chen1973_pairCoefficient_character_sum_eq · compiled type and proof/definition references.

            Chen's finite fourfold expansion, in the collected form to which Lemma 2 is applied: the fourth power of the original norm is the square norm of the pair-coefficient character polynomial.

            Inspect dependencies

            AnalyticNumberTheory.LargeSieve.chen1973DirichletPolynomial_norm_four_eq_pair_norm_sq · compiled type and proof/definition references.

            The printed truncation sentence #

            A primitive character of modulus q>1 is not principal.

            Inspect dependencies

            AnalyticNumberTheory.LargeSieve.chen1973_primitive_ne_one · compiled type and proof/definition references.

            On the source range q>1, the finite polynomial is the natural partial sum used by the already formalized conditional Dirichlet series. The extra index 0 vanishes.

            Inspect dependencies

            AnalyticNumberTheory.LargeSieve.chen1973DirichletPolynomial_eq_sum_range · compiled type and proof/definition references.

            theorem AnalyticNumberTheory.LargeSieve.chen1973_LFunction_sub_polynomial_coarse {q : ℕ} [NeZero q] (hq : 1 < q) (χ : PrimitiveCharacter q) (N : ℕ) (s : ℂ) (hs : 0 < s.re) :
            ‖DirichletCharacter.LFunction (↑χ) s - chen1973DirichletPolynomial N s χ‖ ≤ ↑q * (↑(N + 1) ^ (-s.re) + ‖s‖ / s.re * ↑(N + 1) ^ (-s.re))

            The exact, already closed Abel-truncation inequality in the order used on p. 115. This proves the finite truncation mechanism and its |s|/σ decay, but has the elementary prefix constant q, not yet Chen's sharper q^(1/2) log q constant.

            Inspect dependencies

            AnalyticNumberTheory.LargeSieve.chen1973_LFunction_sub_polynomial_coarse · compiled type and proof/definition references.

            theorem AnalyticNumberTheory.LargeSieve.chen1973_LFunction_sub_polynomial_polyaVinogradov {q : ℕ} [NeZero q] (hq : 1 < q) (χ : PrimitiveCharacter q) (N : ℕ) (s : ℂ) (hs : 0 < s.re) :
            ‖DirichletCharacter.LFunction (↑χ) s - chen1973DirichletPolynomial N s χ‖ ≤ 4 * √↑q * (1 + Real.log ↑q) * (↑(N + 1) ^ (-s.re) + ‖s‖ / s.re * ↑(N + 1) ^ (-s.re))

            Chen p. 115, first printed estimate before suppressing constants: combine primitive Pólya--Vinogradov with the general-s Abel tail. The same numerical prefix constant works for every primitive χ, every N, and every s in the right half-plane.

            Inspect dependencies

            AnalyticNumberTheory.LargeSieve.chen1973_LFunction_sub_polynomial_polyaVinogradov · compiled type and proof/definition references.

            The literal Vinogradov form of the preceding estimate. The constant 40 is absolute and uniform; σ ≥ 1/2 absorbs both the Abel endpoint and the factor 1/σ, while q>1 absorbs 1 + log q into log q.

            Inspect dependencies

            AnalyticNumberTheory.LargeSieve.chen1973_LFunction_sub_polynomial_le_forty · compiled type and proof/definition references.

            Pair-coefficient energy #

            The bounded factorization fibre collected by chen1973PairCoefficient.

            Equations
            Instances For
              Inspect dependencies

              AnalyticNumberTheory.LargeSieve.chen1973PairFiber · compiled type and proof/definition references.

              Inspect dependencies

              AnalyticNumberTheory.LargeSieve.chen1973PairFiber_card_le_divisors · compiled type and proof/definition references.

              Inspect dependencies

              AnalyticNumberTheory.LargeSieve.chen1973_pairCoefficient_norm_le · compiled type and proof/definition references.

              Chen's collected coefficients have divisor-square energy bounded by four harmonic factors. This is the ∑ d(n)²/n step on p. 115.

              Inspect dependencies

              AnalyticNumberTheory.LargeSieve.chen1973_pairCoefficient_energy_le_harmonic_four · compiled type and proof/definition references.

              The fourfold expansion followed by the literal Lemma 2 call #

              The literal call to Chen's source equation (2). Since the current source module states (2) for real coefficient sequences, we apply it to real and imaginary parts; the elementary complex split costs the absolute factor 2. No modern large-sieve constant is substituted.

              Inspect dependencies

              AnalyticNumberTheory.LargeSieve.chen1973Lemma2_source_call_on_pairCoefficient · compiled type and proof/definition references.

              The actual large-sieve inequality obtained by applying Chen's Lemma 2 to the collected coefficient sequence from the fourfold expansion. No asymptotic or divisor-square energy estimate is assumed here.

              Inspect dependencies

              AnalyticNumberTheory.LargeSieve.chen1973Lemma2_call_on_pairCoefficient · compiled type and proof/definition references.

              Modulus one and the final finite fourth-moment assembly #

              @[simp]

              The value at modulus one is zero under the source convention used here.

              Inspect dependencies

              AnalyticNumberTheory.LargeSieve.chen1973PrimitiveLValue_one · compiled type and proof/definition references.

              The matching source-family convention for the truncating polynomial.

              Equations
              Instances For
                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973PrimitivePolynomialValue · compiled type and proof/definition references.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973PrimitivePolynomialValue_one · compiled type and proof/definition references.

                Removing the harmless weight q / φ(q) from the polynomial fourth moment. This is the exact finite-polynomial contribution in Chen's final display.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973DirichletPolynomial_fourthMoment_le · compiled type and proof/definition references.

                The PV--Abel errors aggregated over the complete finite starred family. The modulus-one lane vanishes by the explicit source convention.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973_truncation_error_fourth_sum_le · compiled type and proof/definition references.

                A pointwise fourth-power split used to aggregate the truncation errors.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.norm_four_le_eight_add_norm_sub_four · compiled type and proof/definition references.

                The exact final finite assembly before Chen's last scalar simplification. It keeps the truncation-error fourth powers explicit, so no endpoint or family cardinality convention is hidden.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_fourthMoment_finite_assembly · compiled type and proof/definition references.

                Corrected unrestricted-height endpoint and bounded-height specialization #

                The source calculation naturally yields log (Q * (1 + ‖s‖)) ^ 4. The log Q ^ 4 form below is therefore stated only under the explicit additional hypothesis ‖s‖ ≤ Q ^ A. Both endpoints retain the preceding finite assembly.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3LogScale · compiled type and proof/definition references.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_norm_half · compiled type and proof/definition references.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_logScale_pos · compiled type and proof/definition references.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_cutoff_square_add_one_le · compiled type and proof/definition references.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_harmonic_le_logScale · compiled type and proof/definition references.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_cutoff_decay_four · compiled type and proof/definition references.

                theorem AnalyticNumberTheory.LargeSieve.chen1973Lemma3_truncation_pointwise_scalar {Q q : ℕ} {s : ℂ} (hQ : 2 ≤ Q) (hq0 : 1 ≤ q) (hq : q ≤ Q) (hs : Chen1973Lemma3Domain s s.re s.im) :
                (40 * ‖s‖ * √↑q * Real.log ↑q * ↑(chen1973Lemma3Cutoff Q s + 1) ^ (-s.re)) ^ 4 ≤ 2560000 * ‖s‖ ^ 2 * ↑q ^ 2 / ↑Q ^ 2 * chen1973Lemma3LogScale Q s ^ 4
                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_truncation_pointwise_scalar · compiled type and proof/definition references.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_truncation_error_sum_scalar · compiled type and proof/definition references.

                The corrected unrestricted-height form of Chen's Lemma 3. Unlike the printed final line, the fourth logarithm retains the conductor-height scale forced by the cutoff ⌊Q‖s‖⌋₊.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_corrected_endpoint · compiled type and proof/definition references.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_logScale_le_bounded_height · compiled type and proof/definition references.

                theorem AnalyticNumberTheory.LargeSieve.chen1973Lemma3_bounded_height_specialization (h2 : Chen1973Lemma2EquationTwo) {Q A : ℕ} (s : ℂ) (hQ : 2 ≤ Q) (hs : Chen1973Lemma3Domain s s.re s.im) (hheight : ‖s‖ ≤ ↑Q ^ A) :
                chen1973Lemma3FourthMoment Q s ≤ 21000000 * ↑(A + 2) ^ 4 * ↑Q ^ 2 * ‖s‖ ^ 2 * Real.log ↑Q ^ 4

                Chen's printed log Q fourth power is valid after adding the explicit bounded-height hypothesis ‖s‖ ≤ Q^A; it is not an unconditional source claim.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_bounded_height_specialization · compiled type and proof/definition references.

                The corrected unrestricted-height endpoint with Chen's Lemma 2 discharged by the now-proved exact Farey formula (4).

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_corrected_endpoint_unconditional · compiled type and proof/definition references.

                theorem AnalyticNumberTheory.LargeSieve.chen1973Lemma3_bounded_height_specialization_unconditional {Q A : ℕ} (s : ℂ) (hQ : 2 ≤ Q) (hs : Chen1973Lemma3Domain s s.re s.im) (hheight : ‖s‖ ≤ ↑Q ^ A) :
                chen1973Lemma3FourthMoment Q s ≤ 21000000 * ↑(A + 2) ^ 4 * ↑Q ^ 2 * ‖s‖ ^ 2 * Real.log ↑Q ^ 4

                The bounded-height specialization with the exact source Lemma 2 input discharged unconditionally.

                Inspect dependencies

                AnalyticNumberTheory.LargeSieve.chen1973Lemma3_bounded_height_specialization_unconditional · compiled type and proof/definition references.

                Source-strength audit of the last displayed line #

                The scan defines ∑* only as a primitive-character sum; it does not explicitly say that modulus 1 is omitted. Nevertheless the proof uses the nonprincipal Dirichlet series and the factor log q, so its displayed argument necessarily uses the classical convention that this starred family starts at q = 2. Mathlib's PrimitiveCharacter 1 is nonempty and its LFunction is zeta, which has a pole at s = 1; including it would make the stated uniform half-plane lemma false. The explicit zero above therefore records a mathematically forced source convention rather than changing Mathlib's primitive-character type.

                There is a second, independent issue in the last scalar step. The proved energy is liuHarmonic (⌊Q‖s‖⌋²)^4, naturally of size log(Q‖s‖)^4. The printed lemma has no restriction on t or ‖s‖, but replaces this by log Q^4. That replacement is not uniform for unrestricted height and does not follow from the displayed argument. Accordingly the theorem above is the complete source-faithful finite assembly; no false Q²‖s‖²(log Q)^4 wrapper is introduced.