Documentation

MathlibNt.SieveTheory.LiLiuPrereqWFRoughComparison

Finite comparison with the ordinary coarse Rosser density #

The normalized signed family and the ordinary Rosser family use the same prime subsets, level, multiplicative density, and parity. Their directed discrepancy is supported on repeated lower endpoints and strict full-product or parity-qualified cubic-prefix boundary crossings. Every coefficient defect has magnitude at most one, not two.

These are finite quantitative comparisons. Estimates of the resulting pair and boundary masses on the analytic scale, and the full coarse F/f estimate, are not asserted here.

Inspect dependencies

MathlibNt.SieveTheory.LiLiuPrereqWF.ordinaryRoughSet · compiled type and proof/definition references.

Inspect dependencies

MathlibNt.SieveTheory.LiLiuPrereqWF.roughOrdinaryDensity · compiled type and proof/definition references.

Two distinct original prime slots have the same lower endpoint.

Equations
Instances For
    Inspect dependencies

    MathlibNt.SieveTheory.LiLiuPrereqWF.RoughCollision · compiled type and proof/definition references.

    Lower endpoints pass every strict test, but upper endpoints fail one.

    Equations
    Instances For
      Inspect dependencies

      MathlibNt.SieveTheory.LiLiuPrereqWF.RoughBoundaryCrossing · compiled type and proof/definition references.

      Inspect dependencies

      MathlibNt.SieveTheory.LiLiuPrereqWF.roughCollisionSets · compiled type and proof/definition references.

      Inspect dependencies

      MathlibNt.SieveTheory.LiLiuPrereqWF.roughBoundarySets · compiled type and proof/definition references.

      Inspect dependencies

      MathlibNt.SieveTheory.LiLiuPrereqWF.roughCollisionMass · compiled type and proof/definition references.

      noncomputable def MathlibNt.SieveTheory.LiLiuPrereqWF.roughBoundaryMass (upper : Bool) (b c : ℕ → ℝ) (D : ℝ) (R : Finset ℕ) (g : ℕ → ℝ) :
      Equations
      Instances For
        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.roughBoundaryMass · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.roughBoundaryCrossing_iff (upper : Bool) (b c : ℕ → ℝ) (D : ℝ) (s : Finset ℕ) :
        RoughBoundaryCrossing upper b c D s ↔ RoundedSupport upper b D s ∧ (∏ p ∈ s, b p < D ∧ D ≤ ∏ p ∈ s, c p ∨ ∃ p ∈ s, ({q ∈ s | p ≤ q}.card % 2 = if upper = true then 1 else 0) ∧ (∏ q ∈ s with p ≤ q, b q) * b p ^ 2 < D ∧ D ≤ (∏ q ∈ s with p ≤ q, c q) * c p ^ 2)

        The crossing is an actual full-product or inclusive cubic-prefix crossing. Equality belongs to the failed (upper-endpoint) side.

        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.roughBoundaryCrossing_iff · compiled type and proof/definition references.

        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.ordinaryRoughSet_eq_support · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.normalizedSignedSet_eq_ordinaryRoughSet_of_good {upper : Bool} {b c : ℕ → ℝ} {D : ℝ} {s : Finset ℕ} (hb : ∀ p ∈ s, 0 ≤ b p) (hbp : ∀ p ∈ s, b p ≤ ↑p) (hpc : ∀ p ∈ s, ↑p ≤ c p) (hcollision : ¬RoughCollision b s) (hboundary : ¬RoughBoundaryCrossing upper b c D s) :
        normalizedSignedSet upper b c D s = ordinaryRoughSet upper D s

        Away from the two concrete bad sets the exact signed coefficients agree.

        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.normalizedSignedSet_eq_ordinaryRoughSet_of_good · compiled type and proof/definition references.

        Both coefficients are either zero or the SAME parity sign. No enclosure assumptions are needed for the bound one.

        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.normalizedSignedSet_abs_sub_le_one · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.normalizedSignedSet_directed_nonneg {upper : Bool} {b c : ℕ → ℝ} {D : ℝ} {s : Finset ℕ} (hb : ∀ p ∈ s, 0 ≤ b p) (hbp : ∀ p ∈ s, b p ≤ ↑p) (hpc : ∀ p ∈ s, ↑p ≤ c p) :
        0 ≤ (if upper = true then 1 else -1) * (normalizedSignedSet upper b c D s - ordinaryRoughSet upper D s)
        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.normalizedSignedSet_directed_nonneg · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.normalizedSignedSet_abs_sub_le_bad {upper : Bool} {b c : ℕ → ℝ} {D : ℝ} {s : Finset ℕ} (hb : ∀ p ∈ s, 0 ≤ b p) (hbp : ∀ p ∈ s, b p ≤ ↑p) (hpc : ∀ p ∈ s, ↑p ≤ c p) :
        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.normalizedSignedSet_abs_sub_le_bad · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.roughSignedDensity_comparison (upper : Bool) (b c : ℕ → ℝ) (D : ℝ) (R : Finset ℕ) (g : ℕ → ℝ) (hb : ∀ p ∈ R, 0 ≤ b p) (hbp : ∀ p ∈ R, b p ≤ ↑p) (hpc : ∀ p ∈ R, ↑p ≤ c p) (hg : ∀ p ∈ R, 0 ≤ g p) :
        0 ≤ (if upper = true then 1 else -1) * (roughSignedDensity upper b c D R g - roughOrdinaryDensity upper D R g) ∧ (if upper = true then 1 else -1) * (roughSignedDensity upper b c D R g - roughOrdinaryDensity upper D R g) ≤ roughCollisionMass b R g + roughBoundaryMass upper b c D R g

        Quantitative comparison to the SAME ordinary coarse density: only collisions and strict boundary crossings pay for the directed gap.

        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.roughSignedDensity_comparison · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.roughSignedDensity_abs_sub_le (upper : Bool) (b c : ℕ → ℝ) (D : ℝ) (R : Finset ℕ) (g : ℕ → ℝ) (hb : ∀ p ∈ R, 0 ≤ b p) (hbp : ∀ p ∈ R, b p ≤ ↑p) (hpc : ∀ p ∈ R, ↑p ≤ c p) (hg : ∀ p ∈ R, 0 ≤ g p) :
        |roughSignedDensity upper b c D R g - roughOrdinaryDensity upper D R g| ≤ roughCollisionMass b R g + roughBoundaryMass upper b c D R g
        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.roughSignedDensity_abs_sub_le · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.sum_powerset_superset_prod (R A : Finset ℕ) (hA : A ⊆ R) (g : ℕ → ℝ) :
        ∑ s ∈ R.powerset with A ⊆ s, ∏ p ∈ s, g p = (∏ p ∈ A, g p) * ∏ p ∈ R \ A, (1 + g p)

        Removing a compulsory subset leaves freely chosen complementary slots.

        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.sum_powerset_superset_prod · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.sum_powerset_contains_pair_prod (R : Finset ℕ) (g : ℕ → ℝ) {p q : ℕ} (hp : p ∈ R) (hq : q ∈ R) (hpq : p ≠ q) :
        ∑ s ∈ R.powerset with p ∈ s ∧ q ∈ s, ∏ r ∈ s, g r = g p * g q * ∏ r ∈ R \ {p, q}, (1 + g r)

        Exact pair-containing powerset mass, with no division and no positivity assumptions; zero prime densities are allowed.

        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.sum_powerset_contains_pair_prod · compiled type and proof/definition references.

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.roughCollision_iff_exists_pair (b : ℕ → ℝ) (s : Finset ℕ) :
        RoughCollision b s ↔ ∃ p ∈ s, ∃ q ∈ s, p < q ∧ b p = b q
        Inspect dependencies

        MathlibNt.SieveTheory.LiLiuPrereqWF.roughCollision_iff_exists_pair · compiled type and proof/definition references.

        Equations
        Instances For
          Inspect dependencies

          MathlibNt.SieveTheory.LiLiuPrereqWF.roughCollisionPairMass · compiled type and proof/definition references.

          theorem MathlibNt.SieveTheory.LiLiuPrereqWF.roughCollisionMass_le_pair_euler (b : ℕ → ℝ) (R : Finset ℕ) (g : ℕ → ℝ) (hg : ∀ p ∈ R, 0 ≤ g p) :
          roughCollisionMass b R g ≤ (∏ p ∈ R, (1 + g p)) * roughCollisionPairMass b R g

          A weighted union bound over distinct same-box pairs. This retains the quadratic pair factor rather than bounding by a powerset cardinality.

          Inspect dependencies

          MathlibNt.SieveTheory.LiLiuPrereqWF.roughCollisionMass_le_pair_euler · compiled type and proof/definition references.

          theorem MathlibNt.SieveTheory.LiLiuPrereqWF.roughSignedDensity_comparison_pair_bound (upper : Bool) (b c : ℕ → ℝ) (D : ℝ) (R : Finset ℕ) (g : ℕ → ℝ) (hb : ∀ p ∈ R, 0 ≤ b p) (hbp : ∀ p ∈ R, b p ≤ ↑p) (hpc : ∀ p ∈ R, ↑p ≤ c p) (hg : ∀ p ∈ R, 0 ≤ g p) :
          0 ≤ (if upper = true then 1 else -1) * (roughSignedDensity upper b c D R g - roughOrdinaryDensity upper D R g) ∧ (if upper = true then 1 else -1) * (roughSignedDensity upper b c D R g - roughOrdinaryDensity upper D R g) ≤ (∏ p ∈ R, (1 + g p)) * roughCollisionPairMass b R g + roughBoundaryMass upper b c D R g

          The remaining finite error consists of a same-box pair mass times the rough Euler product and the strict boundary mass.

          Inspect dependencies

          MathlibNt.SieveTheory.LiLiuPrereqWF.roughSignedDensity_comparison_pair_bound · compiled type and proof/definition references.

          theorem MathlibNt.SieveTheory.LiLiuPrereqWF.roughSignedDensity_canonical_comparison (upper : Bool) (P : Finset ℕ) (hP : ∀ p ∈ P, Nat.Prime p) {D ε : ℝ} (hD : 1 < D) (hε : 0 < ε) (g : ℕ → ℝ) (hg : ∀ p ∈ P \ geometricSmallPrimes P D ε, 0 ≤ g p) :
          have R := P \ geometricSmallPrimes P D ε; have b := fun (p : ℕ) => geometricLower D ε (ε ^ 9) (geometricSieveLabel D ε p); have c := fun (p : ℕ) => b p ^ (1 + ε ^ 9); 0 ≤ (if upper = true then 1 else -1) * (roughSignedDensity upper b c D R g - roughOrdinaryDensity upper D R g) ∧ (if upper = true then 1 else -1) * (roughSignedDensity upper b c D R g - roughOrdinaryDensity upper D R g) ≤ roughCollisionMass b R g + roughBoundaryMass upper b c D R g

          Canonical geometric endpoints discharge the enclosure assumptions at the original D and epsilon; no new coarse level or box family is chosen.

          Inspect dependencies

          MathlibNt.SieveTheory.LiLiuPrereqWF.roughSignedDensity_canonical_comparison · compiled type and proof/definition references.

          theorem MathlibNt.SieveTheory.LiLiuPrereqWF.roughSignedDensity_canonical_pair_bound (upper : Bool) (P : Finset ℕ) (hP : ∀ p ∈ P, Nat.Prime p) {D ε : ℝ} (hD : 1 < D) (hε : 0 < ε) (g : ℕ → ℝ) (hg : ∀ p ∈ P \ geometricSmallPrimes P D ε, 0 ≤ g p) :
          have R := P \ geometricSmallPrimes P D ε; have b := fun (p : ℕ) => geometricLower D ε (ε ^ 9) (geometricSieveLabel D ε p); have c := fun (p : ℕ) => b p ^ (1 + ε ^ 9); 0 ≤ (if upper = true then 1 else -1) * (roughSignedDensity upper b c D R g - roughOrdinaryDensity upper D R g) ∧ (if upper = true then 1 else -1) * (roughSignedDensity upper b c D R g - roughOrdinaryDensity upper D R g) ≤ (∏ p ∈ R, (1 + g p)) * roughCollisionPairMass b R g + roughBoundaryMass upper b c D R g
          Inspect dependencies

          MathlibNt.SieveTheory.LiLiuPrereqWF.roughSignedDensity_canonical_pair_bound · compiled type and proof/definition references.