Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Finite aggregation of pointwise prime-power covariance bounds

Proved
Erdos390.Full.PaperPrimePowerGenericAggregation.primePowerTransferBounds_of_pointwise

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

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

For a finite bounded valuation law, write Ip,r=1pr∣mI_{p,r}=1_{p^r\mid m}Ip,r​=1pr∣m​, Ip=Ip,1I_p=I_{p,1}Ip​=Ip,1​, Vp=vp(m)V_p=v_p(m)Vp​=vp​(m), and Jp=Vp−IpJ_p=V_p-I_pJp​=Vp​−Ip​. Write tp=log⁡p/log⁡y(n)t_p=\log p/\log y(n)tp​=logp/logy(n) and let all prime sums range over the moving band Pn,W\mathcal P_{n,W}Pn,W​. The five prime-power transfer estimates with constants (C,R)(C,R)(C,R) mean: the sums of absolute covariances of (Ip,r,Iq)(I_{p,r},I_q)(Ip,r​,Iq​), (Ip,Iq,s)(I_p,I_{q,s})(Ip​,Iq,s​), and (Ip,r,Iq,s)(I_{p,r},I_{q,s})(Ip,r​,Iq,s​) over higher exponents have bounds (Ctptq+R)/(p2q)(Ct_pt_q+R)/(p^2q)(Ctp​tq​+R)/(p2q), (Ctptq+R)/(pq2)(Ct_pt_q+R)/(pq^2)(Ctp​tq​+R)/(pq2), and (Ctptq+R)/(p2q2)(Ct_pt_q+R)/(p^2q^2)(Ctp​tq​+R)/(p2q2), respectively; also EJp2≤(C+R)/p2\mathbb E J_p^2\le(C+R)/p^2EJp2​≤(C+R)/p2 and p∑q∣Cov⁡(Vp,Vq)−Cov⁡(Ip,Iq)∣≤C/W+Rp\sum_q|\operatorname{Cov}(V_p,V_q)-\operatorname{Cov}(I_p,I_q)|\le C/W+Rp∑q​∣Cov(Vp​,Vq​)−Cov(Ip​,Iq​)∣≤C/W+R. Higher exponents run from 222 to the valuation cutoff determined by the value bound MMM. Assume n,W>1n,W>1n,W>1 and nonnegative C0,E,Tℓ,Tq,Td,TrC_0,E,T_\ell,T_q,T_d,T_rC0​,E,Tℓ​,Tq​,Td​,Tr​. For distinct band primes, assume the three pointwise covariance bounds have main coefficients C0tptq+EC_0t_pt_q+EC0​tp​tq​+E, weights (r+1)/(prq)(r+1)/(p^rq)(r+1)/(prq), (s+1)/(pqs)(s+1)/(pq^s)(s+1)/(pqs), (r+1)(s+1)/(prqs)(r+1)(s+1)/(p^rq^s)(r+1)(s+1)/(prqs), and residuals eJI,eIJ,eJJe_{JI},e_{IJ},e_{JJ}eJI​,eIJ​,eJJ​. Assume EIp,r≤(C0+E)(r+1)/pr+eD(p,r)\mathbb E I_{p,r}\le(C_0+E)(r+1)/p^r+e_D(p,r)EIp,r​≤(C0​+E)(r+1)/pr+eD​(p,r). Require the exponent sums of the three residuals to be at most Tℓ/(p2q)T_\ell/(p^2q)Tℓ​/(p2q), Tℓ/(pq2)T_\ell/(pq^2)Tℓ​/(pq2), and Tq/(p2q2)T_q/(p^2q^2)Tq​/(p2q2); require ∑r(2r−3)eD(p,r)≤Td/p2\sum_r(2r-3)e_D(p,r)\le T_d/p^2∑r​(2r−3)eD​(p,r)≤Td​/p2. Finally require ppp times the sum of the off-diagonal residual sums plus three times this diagonal residual sum to be at most TrT_rTr​, and ∑ptp/p≤2log⁡4\sum_p t_p/p\le2\log4∑p​tp​/p≤2log4. Then all five transfer estimates hold with

C=AaggC0(2log⁡4+5),R=AaggE+Tℓ+Tq+Td+AaggE∑p1/p+5W+Tr.C=A_{\rm agg}C_0(2\log4+5),\quad R=A_{\rm agg}E+T_\ell+T_q+T_d+A_{\rm agg}E\frac{\sum_p1/p+5}{W}+T_r.C=Aagg​C0​(2log4+5),R=Aagg​E+Tℓ​+Tq​+Td​+Aagg​EW∑p​1/p+5​+Tr​.

This separates finite summation from the analytic origin of the pointwise bounds.

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
Formal statement
theorem Erdos390.Full.PaperPrimePowerGenericAggregation.primePowerTransferBounds_of_pointwise :
∀ {Omega : Type u_1} [inst : Fintype.{u_1} Omega] {M n W : Nat}
  (law : Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.{u_1} Omega M) {Cmain E Tlin Tquad Tdiag Trow : Real}
  {eJI eIJ : Nat → Nat → Nat → Real} {eJJ : Nat → Nat → Nat → Nat → Real} {eD : Nat → Nat → Real},
  LT.lt.{0} (1 : Nat) n →
    LT.lt.{0} (1 : Nat) W →
      LE.le.{0} (0 : Real) Cmain →
        LE.le.{0} (0 : Real) E →
          LE.le.{0} (0 : Real) Tlin →
            LE.le.{0} (0 : Real) Tquad →
              LE.le.{0} (0 : Real) Tdiag →
                LE.le.{0} (0 : Real) Trow →
                  (∀ (p : Nat),
                      Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) p →
                        ∀ (q : Nat),
                          Membership.mem.{0, 0} (Finset.erase.{0} (Erdos390.Full.ArithmeticModel.primeBand n W) p) q →
                            ∀ (r : Nat),
                              Membership.mem.{0, 0}
                                  (Erdos390.Full.ArithmeticModel.highExponents
                                    (Erdos390.Full.ValuationCutoff.valuationCutoff p M))
                                  r →
                                LE.le.{0}
                                  (abs.{0}
                                    (Erdos390.Full.FiniteProbability.covariance.{u_1}
                                      (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.probability.{u_1} law)
                                      (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.Ip.{u_1} law p r)
                                      (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.I.{u_1} law q)))
                                  (HAdd.hAdd.{0, 0, 0}
                                    (HMul.hMul.{0, 0, 0}
                                      (HAdd.hAdd.{0, 0, 0}
                                        (HMul.hMul.{0, 0, 0}
                                          (HMul.hMul.{0, 0, 0} Cmain (Erdos390.Full.ArithmeticModel.tPrime n p))
                                          (Erdos390.Full.ArithmeticModel.tPrime n q))
                                        E)
                                      (HDiv.hDiv.{0, 0, 0} (HAdd.hAdd.{0, 0, 0} ↑r (1 : Real))
                                        (HMul.hMul.{0, 0, 0} (HPow.hPow.{0, 0, 0} (↑p) r) ↑q)))
                                    (eJI p q r))) →
                    (∀ (p : Nat),
                        Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) p →
                          ∀ (q : Nat),
                            Membership.mem.{0, 0} (Finset.erase.{0} (Erdos390.Full.ArithmeticModel.primeBand n W) p) q →
                              ∀ (s : Nat),
                                Membership.mem.{0, 0}
                                    (Erdos390.Full.ArithmeticModel.highExponents
                                      (Erdos390.Full.ValuationCutoff.valuationCutoff q M))
                                    s →
                                  LE.le.{0}
                                    (abs.{0}
                                      (Erdos390.Full.FiniteProbability.covariance.{u_1}
                                        (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.probability.{u_1} law)
                                        (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.I.{u_1} law p)
                                        (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.Ip.{u_1} law q s)))
                                    (HAdd.hAdd.{0, 0, 0}
                                      (HMul.hMul.{0, 0, 0}
                                        (HAdd.hAdd.{0, 0, 0}
                                          (HMul.hMul.{0, 0, 0}
                                            (HMul.hMul.{0, 0, 0} Cmain (Erdos390.Full.ArithmeticModel.tPrime n p))
                                            (Erdos390.Full.ArithmeticModel.tPrime n q))
                                          E)
                                        (HDiv.hDiv.{0, 0, 0} (HAdd.hAdd.{0, 0, 0} ↑s (1 : Real))
                                          (HMul.hMul.{0, 0, 0} (↑p) (HPow.hPow.{0, 0, 0} (↑q) s))))
                                      (eIJ p q s))) →
                      (∀ (p : Nat),
                          Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) p →
                            ∀ (q : Nat),
                              Membership.mem.{0, 0} (Finset.erase.{0} (Erdos390.Full.ArithmeticModel.primeBand n W) p)
                                  q →
                                ∀ (r : Nat),
                                  Membership.mem.{0, 0}
                                      (Erdos390.Full.ArithmeticModel.highExponents
                                        (Erdos390.Full.ValuationCutoff.valuationCutoff p M))
                                      r →
                                    ∀ (s : Nat),
                                      Membership.mem.{0, 0}
                                          (Erdos390.Full.ArithmeticModel.highExponents
                                            (Erdos390.Full.ValuationCutoff.valuationCutoff q M))
                                          s →
                                        LE.le.{0}
                                          (abs.{0}
                                            (Erdos390.Full.FiniteProbability.covariance.{u_1}
                                              (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.probability.{u_1}
                                                law)
                                              (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.Ip.{u_1} law p r)
                                              (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.Ip.{u_1} law q
                                                s)))
                                          (HAdd.hAdd.{0, 0, 0}
                                            (HMul.hMul.{0, 0, 0}
                                              (HAdd.hAdd.{0, 0, 0}
                                                (HMul.hMul.{0, 0, 0}
                                                  (HMul.hMul.{0, 0, 0} Cmain (Erdos390.Full.ArithmeticModel.tPrime n p))
                                                  (Erdos390.Full.ArithmeticModel.tPrime n q))
                                                E)
                                              (HDiv.hDiv.{0, 0, 0}
                                                (HMul.hMul.{0, 0, 0} (HAdd.hAdd.{0, 0, 0} ↑r (1 : Real))
                                                  (HAdd.hAdd.{0, 0, 0} ↑s (1 : Real)))
                                                (HMul.hMul.{0, 0, 0} (HPow.hPow.{0, 0, 0} (↑p) r)
                                                  (HPow.hPow.{0, 0, 0} (↑q) s))))
                                            (eJJ p q r s))) →
                        (∀ (p : Nat),
                            Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) p →
                              ∀ (r : Nat),
                                Membership.mem.{0, 0}
                                    (Erdos390.Full.ArithmeticModel.highExponents
                                      (Erdos390.Full.ValuationCutoff.valuationCutoff p M))
                                    r →
                                  LE.le.{0}
                                    (Erdos390.Full.FiniteProbability.expect.{u_1}
                                      (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.probability.{u_1} law)
                                      (Erdos390.Full.PrimePowerCovariance.BoundedValuationLaw.Ip.{u_1} law p r))
                                    (HAdd.hAdd.{0, 0, 0}
                                      (HMul.hMul.{0, 0, 0} (HAdd.hAdd.{0, 0, 0} Cmain E)
                                        (HDiv.hDiv.{0, 0, 0} (HAdd.hAdd.{0, 0, 0} ↑r (1 : Real))
                                          (HPow.hPow.{0, 0, 0} (↑p) r)))
                                      (eD p r))) →
                          (∀ (p : Nat),
                              Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) p →
                                ∀ (q : Nat),
                                  Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) q →
                                    LE.le.{0}
                                      (∑
                                        r ∈
                                          Erdos390.Full.ArithmeticModel.highExponents
                                            (Erdos390.Full.ValuationCutoff.valuationCutoff p M),
                                        eJI p q r)
                                      (HMul.hMul.{0, 0, 0}
                                        (HMul.hMul.{0, 0, 0} Tlin
                                          (HPow.hPow.{0, 0, 0} (HDiv.hDiv.{0, 0, 0} (1 : Real) ↑p) (2 : Nat)))
                                        (HDiv.hDiv.{0, 0, 0} (1 : Real) ↑q))) →
                            (∀ (p : Nat),
                                Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) p →
                                  ∀ (q : Nat),
                                    Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) q →
                                      LE.le.{0}
                                        (∑
                                          s ∈
                                            Erdos390.Full.ArithmeticModel.highExponents
                                              (Erdos390.Full.ValuationCutoff.valuationCutoff q M),
                                          eIJ p q s)
                                        (HMul.hMul.{0, 0, 0}
                                          (HMul.hMul.{0, 0, 0} Tlin (HDiv.hDiv.{0, 0, 0} (1 : Real) ↑p))
                                          (HPow.hPow.{0, 0, 0} (HDiv.hDiv.{0, 0, 0} (1 : Real) ↑q) (2 : Nat)))) →
                              (∀ (p : Nat),
                                  Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) p →
                                    ∀ (q : Nat),
                                      Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) q →
                                        LE.le.{0}
                                          (∑
                                            r ∈
                                              Erdos390.Full.ArithmeticModel.highExponents
                                                (Erdos390.Full.ValuationCutoff.valuationCutoff p M),
                                            ∑
                                              s ∈
                                                Erdos390.Full.ArithmeticModel.highExponents
                                                  (Erdos390.Full.ValuationCutoff.valuationCutoff q M),
                                              eJJ p q r s)
                                          (HMul.hMul.{0, 0, 0}
                                            (HMul.hMul.{0, 0, 0} Tquad
                                              (HPow.hPow.{0, 0, 0} (HDiv.hDiv.{0, 0, 0} (1 : Real) ↑p) (2 : Nat)))
                                            (HPow.hPow.{0, 0, 0} (HDiv.hDiv.{0, 0, 0} (1 : Real) ↑q) (2 : Nat)))) →
                                (∀ (p : Nat),
                                    Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) p →
                                      LE.le.{0}
                                        (∑
                                          r ∈
                                            Erdos390.Full.ArithmeticModel.highExponents
                                              (Erdos390.Full.ValuationCutoff.valuationCutoff p M),
                                          HMul.hMul.{0, 0, 0}
                                            (↑(HSub.hSub.{0, 0, 0} (HMul.hMul.{0, 0, 0} (2 : Nat) r) (3 : Nat)))
                                            (eD p r))
                                        (HMul.hMul.{0, 0, 0} Tdiag
                                          (HPow.hPow.{0, 0, 0} (HDiv.hDiv.{0, 0, 0} (1 : Real) ↑p) (2 : Nat)))) →
                                  (∀ (p : Nat),
                                      Membership.mem.{0, 0} (Erdos390.Full.ArithmeticModel.primeBand n W) p →
                                        LE.le.{0}
                                          (HMul.hMul.{0, 0, 0} (↑p)
                                            (HAdd.hAdd.{0, 0, 0}
                                              (∑ q ∈ Finset.erase.{0} (Erdos390.Full.ArithmeticModel.primeBand n W) p,
                                                HAdd.hAdd.{0, 0, 0}
                                                  (HAdd.hAdd.{0, 0, 0}
                                                    (∑
                                                      r ∈
                                                        Erdos390.Full.ArithmeticModel.highExponents
                                                          (Erdos390.Full.ValuationCutoff.valuationCutoff p M),
                                                      eJI p q r)
                                                    (∑
                                                      s ∈
                                                        Erdos390.Full.ArithmeticModel.highExponents
                                                          (Erdos390.Full.ValuationCutoff.valuationCutoff q M),
                                                      eIJ p q s))
                                                  (∑
                                                    r ∈
                                                      Erdos390.Full.ArithmeticModel.highExponents
                                                        (Erdos390.Full.ValuationCutoff.valuationCutoff p M),
                                                    ∑
                                                      s ∈
                                                        Erdos390.Full.ArithmeticModel.highExponents
                                                          (Erdos390.Full.ValuationCutoff.valuationCutoff q M),
                                                      eJJ p q r s))
                                              (HMul.hMul.{0, 0, 0} (3 : Real)
                                                (∑
                                                  r ∈
                                                    Erdos390.Full.ArithmeticModel.highExponents
                                                      (Erdos390.Full.ValuationCutoff.valuationCutoff p M),
                                                  HMul.hMul.{0, 0, 0}
                                                    (↑(HSub.hSub.{0, 0, 0} (HMul.hMul.{0, 0, 0} (2 : Nat) r) (3 : Nat)))
                                                    (eD p r)))))
                                          Trow) →
                                    LE.le.{0} (Erdos390.Full.PrimeSums.bandTReciprocalSum n W)
                                        (HMul.hMul.{0, 0, 0} (2 : Real) (Real.log (4 : Real))) →
                                      Erdos390.Full.PaperPrimePowerLemma75.PrimePowerTransferBounds.{u_1} law n W
                                        (HMul.hMul.{0, 0, 0}
                                          (HMul.hMul.{0, 0, 0}
                                            Erdos390.Full.PaperPrimePowerPairAggregation.pairAggregationConstant Cmain)
                                          (HAdd.hAdd.{0, 0, 0} (HMul.hMul.{0, 0, 0} (2 : Real) (Real.log (4 : Real)))
                                            (5 : Real)))
                                        (Erdos390.Full.PaperPrimePowerGenericAggregation.genericAggregationRemainder E
                                          Tlin Tquad Tdiag Trow n W) := by sorry
Source
https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/390/lean/Erdos390/Full/PaperPrimePowerGenericAggregation.lean#L50-L309

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