Finite Moebius, Selberg, and lower Rosser weights #
Finite lower and upper sieve inequalities, lower Rosser coefficients, and Euler-normalized lower density recursions.
0. Finite lower-bound sieve interface #
A sequence of coefficients is lower Möbius when its divisor sums lie below
the coprimality indicator. This is the exact finite dual of Mathlib's
BoundingSieve.IsUpperMoebius.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.IsLowerMoebius · compiled type and proof/definition references.
A lower Möbius sequence gives a lower bound for the sifted sum before any asymptotic estimate is introduced.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_of_lowerMoebius_le_siftedSum · compiled type and proof/definition references.
Explicit-error lower sieve inequality. Unlike the historical pointwise
interfaces, the loss is the concrete finite quantity errSum muMinus.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.mainSum_sub_errSum_le_siftedSum_of_lowerMoebius · compiled type and proof/definition references.
0.1. Finite upper Selberg weights #
A coefficient sequence has upper-sieve level support when it vanishes on
divisors of P outside the strict natural-number level D.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.HasUpperLevelSupport · compiled type and proof/definition references.
The upper Möbius condition restricted to divisors of a fixed finite prime product. This is the exact amount of positivity used by a finite sieve.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.IsUpperMoebiusOn · compiled type and proof/definition references.
A finite upper-Möbius coefficient bounds the sifted sum from above.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.siftedSum_le_sum_of_upperMoebiusOn · compiled type and proof/definition references.
The exact finite upper-sieve remainder sum at level D.
Equations
- MathlibNt.SieveTheory.LinearSieve.upperErrSum S D muPlus = ∑ d ∈ S.prodPrimes.divisors with d < D, |muPlus d| * |BoundingSieve.rem d|
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperErrSum · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.errSum_eq_upperErrSum · compiled type and proof/definition references.
Finite upper sieve inequality with no Selberg representation: an upper Möbius certificate on divisors and level support are sufficient.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.siftedSum_le_mainSum_add_upperErrSum_of_upperMoebiusOn · compiled type and proof/definition references.
A finite Selberg upper weight records the underlying lambda, its
normalization, and the level support of the resulting lambdaSquared
coefficient.
- muPlus_level_support : HasUpperLevelSupport P D (BoundingSieve.lambdaSquared self.lambda)
- muPlus_abs_le_threePow (d : ℕ) : |BoundingSieve.lambdaSquared self.lambda d| ≤ 3 ^ d.primeFactors.card
Instances For
The explicit upper coefficient generated by a finite Selberg weight.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.UpperSelbergWeightsAtLevel.muPlus · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.UpperSelbergWeightsAtLevel.isUpperMoebius · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.UpperSelbergWeightsAtLevel.hasUpperLevelSupport · compiled type and proof/definition references.
Finite upper Selberg inequality with the main sum and the exact level-restricted remainder sum kept separate.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.siftedSum_le_mainSum_add_upperErrSum · compiled type and proof/definition references.
0.2. Finite lower Rosser weights #
The lower Möbius condition needed by a sieve with the fixed finite
product P. Requiring it for all natural numbers, as IsLowerMoebius does,
is unnecessarily strong for a finite sieve.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.IsLowerMoebiusOn · compiled type and proof/definition references.
The finite lower-Möbius expansion.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_of_lowerMoebiusOn_le_siftedSum · compiled type and proof/definition references.
The error sum at a natural level. It deliberately contains only d < D;
this is the finite error term occurring in the lower fundamental lemma.
Equations
- MathlibNt.SieveTheory.LinearSieve.lowerErrSum S D muMinus = ∑ d ∈ S.prodPrimes.divisors with d < D, |muMinus d| * |BoundingSieve.rem d|
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerErrSum · compiled type and proof/definition references.
A coefficient sequence has level support if it vanishes outside the divisors below the level.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.HasLowerLevelSupport · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.errSum_eq_lowerErrSum · compiled type and proof/definition references.
Finite lower sieve inequality with its error sum explicitly restricted to the level.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.mainSum_sub_lowerErrSum_le_siftedSum · compiled type and proof/definition references.
The standard lower Rosser test on a finite set of distinct primes. For a
prime p in an even position of the decreasing list, the filter is precisely
the prefix p₁,…,p₂l; thus its test is
p₁⋯p₂l₋₁ * p₂l^3 < D.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.LowerRosserAdmissibleSet · compiled type and proof/definition references.
The lower Rosser test for the prime factors of a natural number.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.LowerRosserAdmissible · compiled type and proof/definition references.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetWeight · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.Internal.sum_divisors_eq_sum_primeFactors_powerset · compiled type and proof/definition references.
The explicit finite lower Rosser/Jurkat coefficient. The d < D clause
is part of the finite-level convention; the source admissibility test is
LowerRosserAdmissible.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserWeight · compiled type and proof/definition references.
For an active odd set, adjoining a new least prime remains active exactly
until the cubic lower-Rosser cutoff q ^ 3 * ∏ s < D is crossed.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosser_insert_min_active_iff_cube_lt · compiled type and proof/definition references.
The odd lower-Rosser boundary exposed when a new least prime is inserted.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.LowerRosserBoundarySet · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserBoundarySet_iff_cube_le · compiled type and proof/definition references.
Exact lower-Rosser one-prime pairing on an active odd tail. The ordinary Euler factor survives away from the cubic shell, while crossing the shell contributes one negative boundary term.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetWeight_insert_min_pair · compiled type and proof/definition references.
The finite lower Rosser density sum over subsets of a prescribed prime set.
This is the lower-sieve counterpart of upperRosserSetDensitySum.
Equations
- MathlibNt.SieveTheory.LinearSieve.lowerRosserSetDensitySum nu D P = ∑ s ∈ P.powerset, MathlibNt.SieveTheory.LinearSieve.lowerRosserSetWeight D s * ∏ p ∈ s, nu p
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetDensitySum · compiled type and proof/definition references.
Exact one-prime pairing, including inactive and even tails.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetWeight_insert_min_pair_all · compiled type and proof/definition references.
Adjoining a new least prime gives the exact Euler factor, minus precisely its odd cubic-boundary contribution.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetDensitySum_insert_min · compiled type and proof/definition references.
Euler-product-normalized form of the one-prime lower recurrence. This is pure finite algebra; the nonzero assumptions are kept explicit and no limiting or contraction statement is used.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetDensityRatio_insert_min · compiled type and proof/definition references.
Finite Euler-normalized lower recursion #
This deliberately stays at one finite recursion step. In particular it does not package an all-depth tail or introduce a continuous majorant.
The lower Rosser density on the relative Euler-product scale.
Equations
- MathlibNt.SieveTheory.LinearSieve.lowerRosserSetRelativeDensity nu D P = MathlibNt.SieveTheory.LinearSieve.lowerRosserSetDensitySum nu D P / ∏ p ∈ P, (1 - nu p)
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetRelativeDensity · compiled type and proof/definition references.
The finite odd-boundary correction on the same relative Euler-product
scale as lowerRosserSetRelativeDensity.
Equations
- MathlibNt.SieveTheory.LinearSieve.lowerRosserBoundaryRelativeDensity nu D q P = (∑ s ∈ P.powerset with (MathlibNt.SieveTheory.LinearSieve.LowerRosserBoundarySet D q) s, ∏ p ∈ s, nu p) / ∏ p ∈ P, (1 - nu p)
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserBoundaryRelativeDensity · compiled type and proof/definition references.
Exact normalized successor identity when a new least prime is adjoined. The lower recursion subtracts, rather than adds, its odd-boundary mass.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetRelativeDensity_insert_min · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserBoundaryRelativeDensity_nonneg · compiled type and proof/definition references.
Monotone normalized successor interface: adjoining a least prime can only
decrease the relative lower density when 0 ≤ nu < 1.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetRelativeDensity_insert_min_le · compiled type and proof/definition references.
Terminal base for the finite normalized lower recursion.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetRelativeDensity_empty · compiled type and proof/definition references.
Cubic-shell form of lowerRosserSetDensitySum_insert_min.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetDensitySum_insert_min_cube · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserBoundaryMass · compiled type and proof/definition references.
The total (unnormalized) boundary loss in a finite sequence of least-prime insertions. Earlier losses are multiplied by all Euler factors inserted later.
Equations
- MathlibNt.SieveTheory.LinearSieve.lowerRosserBoundaryAccum nu D P [] = 0
- MathlibNt.SieveTheory.LinearSieve.lowerRosserBoundaryAccum nu D P (q :: qs) = (1 - nu q) * MathlibNt.SieveTheory.LinearSieve.lowerRosserBoundaryAccum nu D P qs + nu q * MathlibNt.SieveTheory.LinearSieve.lowerRosserBoundaryMass nu D q (List.foldr insert P qs)
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserBoundaryAccum · compiled type and proof/definition references.
Exact finite iteration of the lower Rosser density recurrence.
The list is ordered increasingly, so foldr insert P inserts its largest prime
first and its smallest prime last. The formula uses no division by Euler
factors; consequently it needs no positivity or nonvanishing hypothesis on
1 - nu q.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserSetDensitySum_foldr_insert · compiled type and proof/definition references.
The BoundingSieve.mainSum of the explicit lower Rosser coefficient is
exactly its finite subset density sum. This is the first finite transport edge
from Suzuki's Rosser--Iwaniec coefficient to the density recursion.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.mainSum_lowerRosserWeight_eq_setDensitySum · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.abs_lowerRosserWeight_le_one · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserWeight_dvd · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserWeight_lt_level · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserWeight_hasLowerLevelSupport · compiled type and proof/definition references.
A finite Rosser certificate is the combinatorial toggle-min conclusion:
even admissible subsets inject into odd admissible subsets. Its consequence
is exactly the lower divisor-sum inequality needed by BoundingSieve.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.IsLowerRosserCertificate · compiled type and proof/definition references.
The explicit lower Rosser weight is an unconditional finite lower-Möbius certificate for a squarefree prime product whose prime factors lie below the level.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserWeight_certificate · compiled type and proof/definition references.
A certified lower Rosser weight supplies the finite divisor-sum lower bound, while retaining the explicit source formula above.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.lowerRosserWeight_divisor_sum · compiled type and proof/definition references.