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
    noncomputable def AnalyticNumberTheory.LargeSieve.reducedAdditiveAmplitude (q : ) (b : ) (M : ) (N a : ) :

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

    Equations
    Instances For

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

      Equations
      Instances For

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

        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.

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

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

        Equations
        Instances For

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

          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.

          theorem AnalyticNumberTheory.LargeSieve.reducedAdditiveEnergy_reindex_exact (b : ) (M : ) (N Q : ) :
          qFinset.Icc 1 Q, areducedResidues q, reducedAdditiveAmplitude q b M N a ^ 2 = qareducedFareyIndices Q, nFinset.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.

          theorem AnalyticNumberTheory.LargeSieve.weightedPrimitiveSquareLedger_largeSieve_of_directBessel (b : ) (M : ) (N Q : ) (hQ : 0 < Q) (hB : ∀ (q : ) (hq : q Finset.Icc 1 Q), PrimitiveReducedBesselDirect q) :
          qFinset.Icc 1 Q, q / q.totient * χ : PrimitiveCharacter q, primitiveIntervalAmplitude b M N χ ^ 2 largeSieveBound N (1 / Q ^ 2) * nFinset.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.

          theorem AnalyticNumberTheory.LargeSieve.weightedPrimitiveSquareLedger_largeSieve (b : ) (M : ) (N Q : ) (hQ : 0 < Q) :
          qFinset.Icc 1 Q, q / q.totient * χ : PrimitiveCharacter q, primitiveIntervalAmplitude b M N χ ^ 2 largeSieveBound N (1 / Q ^ 2) * nFinset.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.

          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
            theorem AnalyticNumberTheory.LargeSieve.weightedPrimitiveSquareLedger_cell_largeSieve (b : ) (M : ) (L R : ) (hR : 0 < R) :
            qFinset.Ioc R (2 * R), q / q.totient * χ : PrimitiveCharacter q, primitiveIntervalAmplitude b M L χ ^ 2 primitiveGaussFareyCellFactor R L * nFinset.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.

            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

              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

                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.

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

                Equations
                Instances For

                  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.

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

                  Equations
                  Instances For