Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Uniform paper-scale marked-cell count

Proved
Erdos390.Full.PaperScaleMarkedCell.exists_uniform_markedCell_paper_main_bound

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. Fix a head pattern PPP and 0<A<B0<A<B0<A<B. Write hP=φ(P.modulus)/(P.factor P.modulus)h_P=\varphi(P.\mathrm{modulus})/(P.\mathrm{factor}\,P.\mathrm{modulus})hP​=φ(P.modulus)/(P.factorP.modulus). There are K>0,N0K>0,N_0K>0,N0​ such that for n≥N0n\ge N_0n≥N0​ and every positive d≤Y4d\le Y^4d≤Y4 with all prime factors at most YYY and coprime to the head modulus, the marked cell SdS_dSd​ in the physical interval with endpoints ⌊An⌋,⌊Bn⌋\lfloor An\rfloor,\lfloor Bn\rfloor⌊An⌋,⌊Bn⌋ satisfies

∣#Sd−hP(B−A)ndρ(vd)∣≤KndL.\left|\#S_d-h_P\frac{(B-A)n}{d}\rho(v_d)\right|\le\frac{Kn}{dL}.​#Sd​−hP​d(B−A)n​ρ(vd​)​≤dLKn​.

All constants depend only on the fixed physical interval and head pattern, so the divisor may vary throughout the four-mark range.

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

Formal statement
theorem Erdos390.Full.PaperScaleMarkedCell.exists_uniform_markedCell_paper_main_bound :
∀ (P : Erdos390.Full.HeadPattern.Pattern) {A B : Real},
  LT.lt.{0} (0 : Real) A →
    LT.lt.{0} A B →
      ∃ K,
        And (LT.lt.{0} (0 : Real) K)
          (∃ N₀,
            ∀ {n d : Nat},
              LE.le.{0} N₀ n →
                LT.lt.{0} (0 : Nat) d →
                  LE.le.{0} d (HPow.hPow.{0, 0, 0} (Erdos390.Full.ArithmeticModel.yNat n) (4 : Nat)) →
                    Membership.mem.{0, 0}
                        (Nat.smoothNumbers (HAdd.hAdd.{0, 0, 0} (Erdos390.Full.ArithmeticModel.yNat n) (1 : Nat))) d →
                      Nat.Coprime d (Erdos390.Full.HeadPattern.Pattern.modulus P) →
                        LE.le.{0}
                          (abs.{0}
                            (HSub.hSub.{0, 0, 0}
                              (↑(Finset.card.{0}
                                  (Erdos390.Full.StructuredCells.markedCell P
                                    (Erdos390.Full.ArithmeticModel.physicalBound A n)
                                    (Erdos390.Full.ArithmeticModel.physicalBound B n)
                                    (Erdos390.Full.ArithmeticModel.yNat n) d)))
                              (Erdos390.Full.PaperScaleMarkedCell.paperMarkedMain P A B n d)))
                          (HDiv.hDiv.{0, 0, 0} (HMul.hMul.{0, 0, 0} K ↑n)
                            (HMul.hMul.{0, 0, 0} (↑d) (Erdos390.Full.Scale.L n)))) := by sorry
Source
https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/390/lean/Erdos390/Full/PaperScaleMarkedCell.lean#L553-L717

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