Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Prime-power covariance in a mixture with a common profile

Proved
Erdos390.Full.FixedFiniteMixturePrimePower.abs_sigmaMixture_primePower_covariance_le_of_common_profile

by doctosil · Sep 17, 2026 · Mathlib c5ea003 (Lean v4.30.0)

analytic-number-theoryerdos-390erdos390-source-construction

Write L=log⁡nL=\log nL=logn, y=n2/9y=n^{2/9}y=n2/9, Y=⌊y⌋Y=\lfloor y\rfloorY=⌊y⌋, U=9/2U=9/2U=9/2, and vd=U−log⁡d/log⁡yv_d=U-\log d/\log yvd​=U−logd/logy. Let ρ\rhoρ denote the Dickman function. Let F(x)=ρ(U−x)/ρ(U)F(x)=\rho(U-x)/\rho(U)F(x)=ρ(U−x)/ρ(U) and suppose ∣F(x+z)−F(x)F(z)∣≤CKxz|F(x+z)-F(x)F(z)|\le C_Kxz∣F(x+z)−F(x)F(z)∣≤CK​xz for x,z≥0x,z\ge0x,z≥0, x+z≤4x+z\le4x+z≤4. Let a finite probability weight mix bounded-valuation laws with the same physical bound. Fix n>1n>1n>1, distinct primes p,qp,qp,q in (W,Y](W,Y](W,Y], and exponents r,sr,sr,s with prqs≤Y4p^rq^s\le Y^4prqs≤Y4. Suppose every component law, for all u,vu,vu,v with puqv≤Y4p^uq^v\le Y^4puqv≤Y4, differs from the common divisor main term by at most E(u+1)(v+1)/(puqv)E(u+1)(v+1)/(p^uq^v)E(u+1)(v+1)/(puqv), where E≥0E\ge0E≥0. Put tp=log⁡p/log⁡yt_p=\log p/\log ytp​=logp/logy and tq=log⁡q/log⁡yt_q=\log q/\log ytq​=logq/logy.

∣Cov⁡mix(1pr∣m,1qs∣m)∣≤CK(rtp)(stq)prqs+(E(1+2ρ(U))+E2)(r+1)(s+1)prqs.|\operatorname{Cov}_{\rm mix}(\mathbf1_{p^r\mid m},\mathbf1_{q^s\mid m})|\le\frac{C_K(rt_p)(st_q)}{p^rq^s}+\left(E\left(1+\frac2{\rho(U)}\right)+E^2\right)\frac{(r+1)(s+1)}{p^rq^s}.∣Covmix​(1pr∣m​,1qs∣m​)∣≤prqsCK​(rtp​)(stq​)​+(E(1+ρ(U)2​)+E2)prqs(r+1)(s+1)​.

The argument estimates probabilities before forming covariance, so variation between component laws is included.

Preamble
import Mathlib
import Definitions.Def_erdos390_source_bank_interface
import Definitions.Def_erdos390_dickman_step_function
import Theorems.Thm_MediumPNT
import Definitions.Def_erdos390_analytic_foundations_001
import Theorems.Thm_Erdos390_Full_DickmanBasic_kernel_product_bound
import Theorems.Thm_Erdos390_Full_DickmanBasic_rho_pos_on_zero_five
import Theorems.Thm_Erdos390_Full_DickmanBasic_kernel_secondDerivative_first_bound
import Definitions.Def_erdos390_analytic_foundations_004

universe u_1 u_2
Formal statement
theorem Erdos390.Full.FixedFiniteMixturePrimePower.abs_sigmaMixture_primePower_covariance_le_of_common_profile :
∀ {Cell : Type u_1} [inst : Fintype.{u_1} Cell] {Omega : Cell → Type u_2}
  [inst_1 : (c : Cell) → Fintype.{u_2} (Omega c)] {M : Nat} {C_K E : Real},
  (∀ (x z : Real),
      LE.le.{0} (0 : Real) x →
        LE.le.{0} (0 : Real) z →
          LE.le.{0} (HAdd.hAdd.{0, 0, 0} x z) (4 : Real) →
            LE.le.{0}
              (abs.{0}
                (HSub.hSub.{0, 0, 0}
                  (Erdos390.Full.DickmanFourMarkProductKernel.fourMarkProfile (HAdd.hAdd.{0, 0, 0} x z))
                  (HMul.hMul.{0, 0, 0} (Erdos390.Full.DickmanFourMarkProductKernel.fourMarkProfile x)
                    (Erdos390.Full.DickmanFourMarkProductKernel.fourMarkProfile z))))
              (HMul.hMul.{0, 0, 0} (HMul.hMul.{0, 0, 0} C_K x) z)) →
    LE.le.{0} (0 : Real) E →
      ∀ (weight : Erdos390.Full.FiniteProbability.{u_1} Cell)
        (law : (c : Cell) → Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.{u_2} (Omega c) M)
        {n W p q r s : Nat},
        LT.lt.{0} (1 : Nat) n →
          Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) p →
            Membership.mem.{0, 0} (Finset.erase.{0} (Erdos390.Full.ArithmeticModel.primeBand n W) p) q →
              LE.le.{0} (Erdos390.Full.OmittedTiltPairChamber.pairPower p q r s)
                  (HPow.hPow.{0, 0, 0} (Erdos390.Full.ArithmeticModel.yNat n) (4 : Nat)) →
                (∀ (c : Cell) (u v : Nat),
                    LE.le.{0} (Erdos390.Full.OmittedTiltPairChamber.pairPower p q u v)
                        (HPow.hPow.{0, 0, 0} (Erdos390.Full.ArithmeticModel.yNat n) (4 : Nat)) →
                      LE.le.{0}
                        (abs.{0}
                          (HSub.hSub.{0, 0, 0}
                            (Erdos390.Full.FiniteProbability.expect.{u_2}
                              (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.probability.{u_2} (law c))
                              fun omega =>
                              Erdos390.Full.ArithmeticModel.divInd
                                (Erdos390.Full.OmittedTiltPairChamber.pairPower p q u v)
                                (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.value.{u_2} (law c) omega))
                            (Erdos390.Full.PaperScaleMarkedCell.paperDivisibilityMain n
                              (Erdos390.Full.OmittedTiltPairChamber.pairPower p q u v))))
                        (HMul.hMul.{0, 0, 0} E (Erdos390.Full.PaperPrimePowerChamberError.pairWeight p q u v))) →
                  have mix := Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.sigmaMixture.{u_1, u_2} weight law;
                  LE.le.{0}
                    (abs.{0}
                      (Erdos390.Full.FiniteProbability.covariance.{max u_1 u_2}
                        (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.probability.{max u_1 u_2} mix)
                        (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.Ip.{max u_1 u_2} mix p r)
                        (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.Ip.{max u_1 u_2} mix q s)))
                    (HAdd.hAdd.{0, 0, 0}
                      (HDiv.hDiv.{0, 0, 0}
                        (HMul.hMul.{0, 0, 0}
                          (HMul.hMul.{0, 0, 0} C_K
                            (HMul.hMul.{0, 0, 0} (↑r) (Erdos390.Full.ArithmeticModel.tPrime n p)))
                          (HMul.hMul.{0, 0, 0} (↑s) (Erdos390.Full.ArithmeticModel.tPrime n q)))
                        (HMul.hMul.{0, 0, 0} (HPow.hPow.{0, 0, 0} (↑p) r) (HPow.hPow.{0, 0, 0} (↑q) s)))
                      (HMul.hMul.{0, 0, 0} (Erdos390.Full.PaperPrimePowerChamberError.pairCovarianceScale E)
                        (Erdos390.Full.PaperPrimePowerChamberError.pairWeight p q r s))) := by sorry
Source
https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/390/lean/Erdos390/Full/FixedFiniteMixturePrimePower.lean#L30-L143

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me