Documentation

MathlibNt.SieveTheory.Distribution.LiuPan.LiuPanConvolutionAPCount

All nonnegative integers up to N in the specified residue class, not a prime-counting proxy. The residue need not be reduced or canonical.

Equations
Instances For

    Positive-a product-fibre bijection for the literal production prime count.

    noncomputable def MathlibNt.SieveTheory.LiuWeight.liuCoprimeIntervalCount (N z y A₁ A₂ q l : ) :

    Literal counting part of the source interval sum; no change to its Li term.

    Equations
    Instances For
      noncomputable def MathlibNt.SieveTheory.LiuWeight.liuBetaInterval (N z y A₁ A₂ q n : ) :

      Product-fibre coefficient retaining both the interval and gcd restrictions.

      Equations
      Instances For
        theorem MathlibNt.SieveTheory.LiuWeight.liuCoprimeIntervalCount_eq_sum_betaInterval (N z y A₁ A₂ q l : ) :
        liuCoprimeIntervalCount N z y A₁ A₂ q l = nliuAPCarrier N q l, liuBetaInterval N z y A₁ A₂ q n

        Exact finite regrouping, valid without a reduced-residue assumption.

        theorem MathlibNt.SieveTheory.LiuWeight.liuBetaInterval_nonneg (N z y A₁ A₂ q n : ) :
        0 liuBetaInterval N z y A₁ A₂ q n
        theorem MathlibNt.SieveTheory.LiuWeight.liuBetaInterval_le_beta (N z y A₁ A₂ q n : ) :
        liuBetaInterval N z y A₁ A₂ q n liuBeta N z y n

        Removing nonnegative interval/gcd filters can only increase a fibre.

        Whole-a counting bound: no termwise error triangle inequality.

        theorem MathlibNt.SieveTheory.LiuWeight.liuCoprimeIntervalCount_le_three_mul_real_div_add_one (N z y A₁ A₂ q l : ) (hq : 0 < q) :
        liuCoprimeIntervalCount N z y A₁ A₂ q l 3 * (N / q + 1)

        Real-division form, for every positive modulus and arbitrary residue.