Finite upper Rosser density and certificates #
Logarithmic realization of discrete chains, fixed-depth density recursions, Euler-normalized boundary identities, and upper weight certificates.
A discrete Rosser boundary chain lies in its exact logarithmic-coordinate region. The floor in the natural level weakens strict prefix inequalities to closed faces, while making the terminal shell strict.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.UpperRosserBoundaryChain.logarithmicCoordinates_mem · compiled type and proof/definition references.
The finite upper Rosser density sum over subsets of a prescribed prime set.
Equations
- MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensitySum nu D P = ∑ s ∈ P.powerset, MathlibNt.SieveTheory.LinearSieve.upperRosserSetWeight D s * ∏ p ∈ s, nu p
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensitySum · compiled type and proof/definition references.
Initial value for the finite upper Rosser density recursion.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensitySum_empty · compiled type and proof/definition references.
Exact one-prime recursion for the finite upper Rosser density sum. It is
the finite combinatorial form of the Buchstab decomposition: subsets not
containing q and subsets containing q are paired over P.powerset.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensitySum_insert · compiled type and proof/definition references.
Cardinality-decreasing form of the finite Buchstab recursion, obtained by peeling off the least prime in a nonempty finite set.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensitySum_min_recursion · compiled type and proof/definition references.
For an active even set, adjoining a new least prime remains active exactly
until the cubic Rosser cutoff q ^ 3 * ∏ s < D is crossed.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosser_insert_min_active_iff_cube_lt · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundarySet_iff_cube_le · compiled type and proof/definition references.
A boundary subset is equivalently its canonical decreasing Rosser chain. The statement retains all alternating-prefix inequalities, rather than incorrectly truncating boundary tails to cardinality zero or two.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundarySet_iff_sorted_chain · compiled type and proof/definition references.
Canonical decreasing-list representatives of all boundary subsets of P.
Unlike a powerset, this carrier exposes the chain length and indexed prefixes
used by the Buchstab iteration.
Equations
- MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChains D q P = Finset.image (fun (s : Finset ℕ) => s.sort fun (x1 x2 : ℕ) => x1 ≥ x2) (Finset.filter (MathlibNt.SieveTheory.LinearSieve.UpperRosserBoundarySet D q) P.powerset)
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChains · compiled type and proof/definition references.
Membership in the canonical boundary-chain carrier is exactly strict
decrease, containment in P, and the explicit arbitrary-depth Rosser region.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.mem_upperRosserBoundaryChains_iff · compiled type and proof/definition references.
The selected density mass of upper Rosser boundary chains of exact length
2k. This is the discrete quantity compared depth-by-depth with
upperRosserBoundaryMassAux.
Equations
- MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthDensity nu D q P k = ∑ l ∈ MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChains D q P with l.length = 2 * k, (List.map nu l).prod
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthDensity · compiled type and proof/definition references.
The exact fixed-depth boundary density on the relative Euler-product scale. Keeping the quotient intact is essential in the depth tail: replacing its denominator by a pointwise local-product majorant loses the full sieve-product factor required by the fundamental lemma.
Equations
- MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthRelativeDensity nu D q P k = MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthDensity nu D q P k / ∏ p ∈ P, (1 - nu p)
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthRelativeDensity · compiled type and proof/definition references.
The exact relative weight for peeling the two largest selected primes.
The quotient of Euler products retains all primes skipped before the residual
carrier p < p₁; no local-product estimate has yet been applied.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryRelativePairTransition · compiled type and proof/definition references.
Restoring the ambient Euler product cancels a relative pair transition exactly, leaving the selected pair and the residual Euler product.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryRelativePairTransition_mul_eulerProduct · compiled type and proof/definition references.
Exact carrier recursion for positive-depth upper Rosser boundary chains. The first two entries determine a residual chain at the ceiling-divided level, with its ambient primes restricted below the second entry.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.mem_upperRosserBoundaryChains_fixedDepth_succ_iff · compiled type and proof/definition references.
Exact finite Buchstab recursion for the selected density mass. A positive depth peels the two largest selected primes and leaves the same boundary mass at the ceiling-divided level, with all remaining primes below the second one.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthDensity_succ · compiled type and proof/definition references.
Exact finite Buchstab--Rosser recursion on the relative Euler-product scale. The transition keeps the quotient between the residual and ambient Euler products, and therefore retains every skipped-prime inverse factor.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthRelativeDensity_succ · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryRelativePairTransition_nonneg · compiled type and proof/definition references.
Monotone interface for the relative Buchstab--Rosser recursion. Any majorant for the residual relative state propagates through the exact, nonnegative skipped-prime transitions.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthRelativeDensity_succ_le · compiled type and proof/definition references.
Monotone form of the finite Buchstab recursion. This is the induction interface for replacing every residual discrete mass by a continuous majorant.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthDensity_succ_le · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthDensity_zero · compiled type and proof/definition references.
At depth zero the relative density is exactly the terminal shell times the inverse ambient Euler product.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthRelativeDensity_zero · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_mul_upperRosserBoundaryChainsFixedDepthDensity_zero · compiled type and proof/definition references.
Exact outer form of the finite Buchstab recursion. It simultaneously peels
the distinguished prime and the first pair of every positive-depth boundary
chain, leaving a residual depth-2k density at the ceiling-divided level.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_mul_upperRosserBoundaryChainsFixedDepthDensity_succ · compiled type and proof/definition references.
The discrete depth-zero shell is bounded by the base continuous boundary mass after passage to logarithmic coordinates.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthDensity_zero_le_boundaryMassAux · compiled type and proof/definition references.
Exact injective reindexing of the boundary powerset sum by canonical decreasing chains.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_upperRosserBoundary_eq_sum_chains · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChains_length_le · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChains_length_even · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthDensity_nonneg · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthRelativeDensity_nonneg · compiled type and proof/definition references.
Fixed-depth boundary-chain density is monotone in every nonnegative prime weight on its ambient carrier.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthDensity_mono · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryChainsFixedDepthDensity_eq_zero_of_card_lt · compiled type and proof/definition references.
The canonical chain sum decomposes as a finite sigma over chain length. This is the exact finite starting point for estimating each nested Rosser region and then controlling the tail uniformly in the length.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_upperRosserBoundaryChains_by_length · compiled type and proof/definition references.
Since boundary chains have even cardinality, the depth sigma may be restricted exactly to even lengths.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_upperRosserBoundaryChains_by_even_length · compiled type and proof/definition references.
The canonical boundary-chain sum decomposes exactly by pair depth. This
reindexes the even chain length 2k directly by the recursion parameter k.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_upperRosserBoundaryChains_by_depth · compiled type and proof/definition references.
The complete selected boundary density is the finite sum of its exact pair-depth slices.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_upperRosserBoundary_eq_sum_fixedDepthDensity · compiled type and proof/definition references.
Exact decomposition of a normalized boundary density into its finite relative pair-depth slices.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryDensity_div_eulerProduct_eq_sum_fixedDepthRelativeDensity · compiled type and proof/definition references.
At a fixed depth, the canonical decreasing-chain sum is exactly the corresponding cardinality slice of the boundary powerset.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_upperRosserBoundaryChains_fixed_length · compiled type and proof/definition references.
Dropping the Rosser inequalities at a fixed depth leaves the full elementary symmetric sum. This is the finite domination needed before applying a factorial/geometric tail estimate.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_upperRosserBoundaryChains_fixed_length_le_powersetCard · compiled type and proof/definition references.
The elementary symmetric sum of fixed degree is bounded by the corresponding power sum, with the factorial accounting for all orderings of each subset.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.factorial_mul_sum_powersetCard_prod_le_pow_sum · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.factorial_mul_sum_upperRosserBoundaryChains_fixed_length_le_pow_sum · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.sum_upperRosserBoundaryChains_fixed_length_le_pow_sum_div_factorial · compiled type and proof/definition references.
The depth-zero upper Rosser boundary is the elementary cubic cutoff.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundarySet_empty_iff · compiled type and proof/definition references.
The largest prime in any nonempty upper Rosser boundary tail is below the
cubic level. This is the outer support inequality for arbitrary-depth boundary
chains, independent of the distinguished prime q.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundarySet_max_cube_lt · compiled type and proof/definition references.
Every selected prime in an upper Rosser boundary tail lies below D^(1/3)
in the integral form p³ < D.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundarySet_mem_cube_lt · compiled type and proof/definition references.
At real level Δ = z^s, every prime in a boundary tail has logarithmic
coordinate at most s / 3. The natural level ⌊Δ⌋ + 1 introduces no loss in
this upper support bound.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundarySet_mem_log_div_le_third · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserAdmissibleSet_pair_iff · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundarySet_pair_iff · compiled type and proof/definition references.
Pairing a set with the set obtained by adjoining a new least prime produces
the Euler factor 1 - nuq, apart from the explicit even Rosser boundary.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetWeight_pair_eq_euler_add_boundary · compiled type and proof/definition references.
Finite Buchstab--Rosser recursion in Euler-factor form. Removing the least
prime contributes the expected factor 1 - nu q; the only correction is the
explicit even Rosser boundary where adjoining q first violates the cutoff.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensitySum_insert_eq_euler_add_boundary · compiled type and proof/definition references.
Normalized one-prime Rosser recursion. After division by the finite sieve
product, each peeled prime contributes its boundary mass with coefficient
nu q / (1 - nu q).
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensityRatio_insert · compiled type and proof/definition references.
Splitting an Euler denominator over a subset and its complement turns a density monomial into selected prime ratios and unselected inverse factors.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.prod_nu_div_eulerProduct_eq · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserBoundaryDensity_div_eulerProduct · compiled type and proof/definition references.
Exact path expansion of the normalized upper Rosser density. The primes
are peeled in increasing order; the tail after q is therefore precisely the
set of primes larger than q. Each term is the normalized mass of the cubic
boundary first encountered at that prime.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensityRatio_eq_one_add_sum_boundary · compiled type and proof/definition references.
The exact normalized upper Rosser density grouped by relative Buchstab pair depth. In contrast to a selected-chain majorant, each depth slice still carries the complete Euler denominator above its distinguished prime.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensityRatio_eq_one_add_sum_relativeBoundaryDepths · compiled type and proof/definition references.
Fully factorized Rosser path expansion. After choosing the first boundary
prime q, every selected tail prime contributes its normalized density and
every skipped tail prime contributes its inverse Euler factor.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensityRatio_eq_one_add_sum_boundaryPaths · compiled type and proof/definition references.
The path expansion with the abstract boundary predicate eliminated. Thus
the entire excess over the Euler product is a sum over even admissible tails in
the explicit cubic shell D ≤ (∏ s) q ^ 3.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensityRatio_eq_one_add_sum_cubicBoundary · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserSetDensitySum_min_eq_euler_add_boundary · compiled type and proof/definition references.
The explicit finite upper Rosser coefficient, with the standard odd-position Rosser admissibility test and strict level support built into its definition.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserWeight · compiled type and proof/definition references.
The BoundingSieve.mainSum of the explicit upper Rosser coefficient is
exactly its finite subset density sum. This removes divisor arithmetic from
the analytic fundamental-lemma problem and exposes the prime-by-prime
Buchstab recursion upperRosserSetDensitySum_insert.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.mainSum_upperRosserWeight_eq_setDensitySum · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.abs_upperRosserWeight_le_one · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.abs_upperRosserWeight_le_threePow · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserWeight_dvd · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserWeight_lt_level · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserWeight_hasUpperLevelSupport · compiled type and proof/definition references.
The finite upper Rosser certificate is precisely the upper-Möbius condition on divisors of the chosen squarefree prime product.
Equations
Instances For
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.IsUpperRosserCertificate · compiled type and proof/definition references.
The explicit upper Rosser weight is a finite upper-Möbius certificate. The
condition 1 < D is necessary for any strictly level-supported upper
coefficient, since its coefficient at 1 must be at least one.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserWeight_certificate · compiled type and proof/definition references.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.upperRosserWeight_divisor_sum · compiled type and proof/definition references.
The explicit upper Rosser coefficient gives the finite upper-sieve inequality with the exact level-restricted remainder sum.
Inspect dependencies
MathlibNt.SieveTheory.LinearSieve.siftedSum_le_mainSum_add_upperErrSum_upperRosser · compiled type and proof/definition references.