Documentation

MathlibNt.SieveTheory.LiLiuPrereqWFSignedRemainder

Actual signed remainders for the common normalized family #

The sequence keeps its indices, so equal integers retain their multiplicity. All divisor sums are over the sieve primorial. The remainder is the actual divisibility count minus the chosen main density, never an assumed error certificate and never a sum of absolute values.

noncomputable def MathlibNt.SieveTheory.LiLiuPrereqWF.sequenceDivisibility {ι : Type u_1} (I : Finset ι) (a : ι → ℕ) (d : ℕ) :
Equations
Instances For
    Inspect dependencies

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

    noncomputable def MathlibNt.SieveTheory.LiLiuPrereqWF.sequenceSifted {ι : Type u_1} (I : Finset ι) (a : ι → ℕ) (P : Finset ℕ) :
    Equations
    Instances For
      Inspect dependencies

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

      Inspect dependencies

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

      noncomputable def MathlibNt.SieveTheory.LiLiuPrereqWF.signedFamilyRemainder {ι : Type u_1} (upper : Bool) (P : Finset ℕ) (D ε : ℝ) (label : ℕ → ℕ) (I : Finset ι) (a : ι → ℕ) (X : ℝ) (g : ArithmeticFunction ℝ) :
      Equations
      Instances For
        Inspect dependencies

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

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.sum_gcd_divisors_eq_filtered {M : ℕ} (hM : M ≠ 0) (n : ℕ) (f : ℕ → ℝ) :
        ∑ d ∈ (n.gcd M).divisors, f d = ∑ d ∈ M.divisors, if d ∣ n then f d else 0
        Inspect dependencies

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

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.sequence_divisor_sum {ι : Type u_1} (I : Finset ι) (a : ι → ℕ) {M : ℕ} (hM : M ≠ 0) (f : ℕ → ℝ) :
        ∑ i ∈ I, ∑ d ∈ ((a i).gcd M).divisors, f d = ∑ d ∈ M.divisors, f d * sequenceDivisibility I a d

        Exact double-counting, valid also for zero sequence entries.

        Inspect dependencies

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

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.signedFamily_main_remainder_identity {ι : Type u_1} (upper : Bool) (P : Finset ℕ) (D ε : ℝ) (label : ℕ → ℕ) (I : Finset ι) (a : ι → ℕ) (X : ℝ) (g : ArithmeticFunction ℝ) :
        X * signedFamilyDensity upper P D ε label g + signedFamilyRemainder upper P D ε label I a X g = ∑ d ∈ (P.prod id).divisors, (signedFamilyAggregate upper P D ε label) d * sequenceDivisibility I a d

        Main density plus the actual signed family remainder is exactly the weighted divisibility count. This holds for arbitrary X and g.

        Inspect dependencies

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

        theorem MathlibNt.SieveTheory.LiLiuPrereqWF.signedFamily_sequence_sieve {ι : Type u_1} (P : Finset ℕ) (hP : ∀ p ∈ P, Nat.Prime p) {D ε : ℝ} (hD : 2 ≤ D) (hε : 0 < ε) (hεsmall : ε < 1 / 8) (hcut : ∀ p ∈ P \ geometricSmallPrimes P D ε, ↑p < √D) (I : Finset ι) (a : ι → ℕ) (X : ℝ) (g : ArithmeticFunction ℝ) :
        have label := geometricSieveLabel D ε; X * signedFamilyDensity false P D ε label g + signedFamilyRemainder false P D ε label I a X g ≤ sequenceSifted I a P ∧ sequenceSifted I a P ≤ X * signedFamilyDensity true P D ε label g + signedFamilyRemainder true P D ε label I a X g

        A concrete common-WF family gives the true two-sided finite sieve bound with its OWN density and its OWN signed remainder. No density estimate is assumed. The short empty-profile weight is already included in the family.

        Inspect dependencies

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