Documentation

MathlibNt.AnalyticNumberTheory.LargeSieve.PrimitiveGaussFareyExactBridge

Exact primitive Gauss-to-Farey square-ledger bridge #

This module deliberately stops before enlarging primitive characters to all characters. It records the exact Gauss expansion of each primitive character interval sum, keeps both the Gauss factor and the reciprocal-totient weight, and isolates the one finite numerical estimate needed before the additive Farey large sieve can be applied.

noncomputable def AnalyticNumberTheory.LargeSieve.primitiveIntervalAmplitude {q : ℕ} (b : ℤ → ℂ) (M : ℤ) (N : ℕ) (χ : PrimitiveCharacter q) :

The interval sum in the primitive-character square ledger.

Equations
Instances For
    Inspect dependencies

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

    noncomputable def AnalyticNumberTheory.LargeSieve.reducedAdditiveAmplitude (q : ℕ) (b : ℤ → ℂ) (M : ℤ) (N a : ℕ) :

    The additive amplitude at the canonical reduced frequency a/q.

    Equations
    Instances For
      Inspect dependencies

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

      The coherent reduced-frequency Gauss expansion belonging to one primitive character. The character coefficient remains inside the norm.

      Equations
      Instances For
        Inspect dependencies

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

        Exact primitive Gauss inversion, with no sum over all characters.

        Inspect dependencies

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

        Exact square-ledger identity retaining the Gauss factors and the 1 / φ(q) weight. This is the strongest unconditional bridge supplied by the current primitive Gauss/Farey API without introducing all characters.

        Inspect dependencies

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

        Equivalent AP-normalized form of the exact ledger. The equality uses only |τ(χ⁻¹)|² = q; no character-family enlargement occurs.

        Inspect dependencies

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

        The direct primitive Bessel statement. Its coefficient cancels the retained 1 / φ(q) weight and exposes the unweighted reduced additive energy.

        Equations
        Instances For
          Inspect dependencies

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

          Direct finite-dimensional Bessel inequality for the primitive-character orthonormal subfamily. The proof never compares the primitive ledger with an all-character energy.

          Inspect dependencies

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

          Once the direct primitive Bessel estimate is supplied, the exact ledger reduces to the unweighted reduced additive energy. This consumer itself never introduces all characters.

          Inspect dependencies

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

          theorem AnalyticNumberTheory.LargeSieve.reducedAdditiveEnergy_reindex_exact (b : ℤ → ℂ) (M : ℤ) (N Q : ℕ) :
          ∑ q ∈ Finset.Icc 1 Q, ∑ a ∈ reducedResidues q, ‖reducedAdditiveAmplitude q b M N a‖ ^ 2 = ∑ qa ∈ reducedFareyIndices Q, ‖∑ n ∈ Finset.Icc (M + 1) (M + ↑N), charReal (↑n * reducedFareyPoint qa) * b n‖ ^ 2

          Reindex the complete reduced additive energy by the multiplicity-free Farey index. This is an equality, not a relaxation to unreduced representatives.

          Inspect dependencies

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

          theorem AnalyticNumberTheory.LargeSieve.weightedPrimitiveSquareLedger_largeSieve_of_directBessel (b : ℤ → ℂ) (M : ℤ) (N Q : ℕ) (hQ : 0 < Q) (hB : ∀ (q : ℕ) (hq : q ∈ Finset.Icc 1 Q), PrimitiveReducedBesselDirect q) :
          ∑ q ∈ Finset.Icc 1 Q, ↑q / ↑q.totient * ∑ χ : PrimitiveCharacter q, ‖primitiveIntervalAmplitude b M N χ‖ ^ 2 ≤ largeSieveBound N (1 / ↑Q ^ 2) * ∑ n ∈ Finset.Icc (M + 1) (M + ↑N), ‖b n‖ ^ 2

          End-to-end additive large-sieve consumer parameterized by a direct primitive Bessel estimate, retained as a reusable compatibility theorem.

          Inspect dependencies

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

          theorem AnalyticNumberTheory.LargeSieve.weightedPrimitiveSquareLedger_largeSieve (b : ℤ → ℂ) (M : ℤ) (N Q : ℕ) (hQ : 0 < Q) :
          ∑ q ∈ Finset.Icc 1 Q, ↑q / ↑q.totient * ∑ χ : PrimitiveCharacter q, ‖primitiveIntervalAmplitude b M N χ‖ ^ 2 ≤ largeSieveBound N (1 / ↑Q ^ 2) * ∑ n ∈ Finset.Icc (M + 1) (M + ↑N), ‖b n‖ ^ 2

          Unconditional primitive square-ledger large sieve. Primitive characters are handled as an orthonormal subfamily on the finite unit support, without enlarging the original ledger to all-character energy.

          Inspect dependencies

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

          The exact factor delivered by the current production reduced-Farey theorem on a conductor cell (R,2R] and an interval of length L.

          This name is intentionally transparent. With the present well-spaced additive large-sieve API it unfolds to L + (2 * ⌈log (4R²) / log 2⌉₊ + 12) * 4R²; in particular no downstream consumer may silently replace it by the sharper classical factor L + 4R².

          Equations
          Instances For
            Inspect dependencies

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

            theorem AnalyticNumberTheory.LargeSieve.weightedPrimitiveSquareLedger_cell_largeSieve (b : ℤ → ℂ) (M : ℤ) (L R : ℕ) (hR : 0 < R) :
            ∑ q ∈ Finset.Ioc R (2 * R), ↑q / ↑q.totient * ∑ χ : PrimitiveCharacter q, ‖primitiveIntervalAmplitude b M L χ‖ ^ 2 ≤ primitiveGaussFareyCellFactor R L * ∑ n ∈ Finset.Icc (M + 1) (M + ↑L), ‖b n‖ ^ 2

            Cell-local primitive Gauss--Farey large sieve. Restricting from all q ≤ 2R to the literal cell (R,2R] costs nothing because every summand is nonnegative.

            Inspect dependencies

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

            One dyadic layer of a primitive prefix decomposition on (R,2R]. The coefficient function may depend on the aligned interval j; this lets lane consumers insert their actual grouped coefficient rather than an atomwise triangle majorant.

            Equations
            Instances For
              Inspect dependencies

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

              The real coefficient energy of the aligned intervals at level k. There is no factor N+1: a lane with one global coefficient sequence proves its intervals disjoint and bounds this exact sum by the global grouped energy.

              Equations
              Instances For
                Inspect dependencies

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

                Unconditional cell payment for one dyadic layer. This is the exact Gauss--Farey factor times the true coefficient energy, summed over j before any estimate is made.

                Inspect dependencies

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

                Medium-long dyadic layers are exactly R < 2^k ≤ R².

                Equations
                Instances For
                  Inspect dependencies

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

                  Medium-long payment with the single external Rademacher--Menshov factor visible. The right side retains the exact layer length and the true j-summed coefficient energy; hence it is the faithful scale to use when deciding whether a half-budget closes.

                  Inspect dependencies

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

                  The layers still requiring a primitive analytic source after the medium-long Gauss--Farey payment: precisely R² < 2^k.

                  Equations
                  Instances For
                    Inspect dependencies

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