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
A lower Möbius sequence gives a lower bound for the sifted sum before any asymptotic estimate is introduced.
Explicit-error lower sieve inequality. Unlike the historical pointwise
interfaces, the loss is the concrete finite quantity errSum muMinus.
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
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
A finite upper-Möbius coefficient bounds the sifted sum from above.
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
Finite upper sieve inequality with no Selberg representation: an upper Möbius certificate on divisors and level support are sufficient.
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
Finite upper Selberg inequality with the main sum and the exact level-restricted remainder sum kept separate.
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
The finite lower-Möbius expansion.
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
A coefficient sequence has level support if it vanishes outside the divisors below the level.
Equations
Instances For
Finite lower sieve inequality with its error sum explicitly restricted to the level.
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
The lower Rosser test for the prime factors of a natural number.
Equations
Instances For
Equations
Instances For
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
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.
The odd lower-Rosser boundary exposed when a new least prime is inserted.
Equations
Instances For
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.
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
Exact one-prime pairing, including inactive and even tails.
Adjoining a new least prime gives the exact Euler factor, minus precisely its odd cubic-boundary contribution.
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.
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
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
Exact normalized successor identity when a new least prime is adjoined. The lower recursion subtracts, rather than adds, its odd-boundary mass.
Monotone normalized successor interface: adjoining a least prime can only
decrease the relative lower density when 0 ≤ nu < 1.
Terminal base for the finite normalized lower recursion.
Cubic-shell form of lowerRosserSetDensitySum_insert_min.
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
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.
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.
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
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.
A certified lower Rosser weight supplies the finite divisor-sum lower bound, while retaining the explicit source formula above.