Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Uniform divisor probabilities in a structured cell

Proved
Erdos390.Full.PaperScaleMarkedCell.exists_uniform_uniformAverage_divInd_paper_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. There exist K>0,N0K>0,N_0K>0,N0​ such that for n≥N0n\ge N_0n≥N0​ and every positive YYY-smooth integer d≤Y4d\le Y^4d≤Y4 coprime to the head modulus, the structured cell SSS at physical endpoints ⌊An⌋,⌊Bn⌋\lfloor An\rfloor,\lfloor Bn\rfloor⌊An⌋,⌊Bn⌋ is nonempty and its uniform law satisfies

∣PS(d∣m)−ρ(vd)dρ(U)∣≤KdL.\left|\mathbb P_S(d\mid m)-\frac{\rho(v_d)}{d\rho(U)}\right|\le\frac{K}{dL}.​PS​(d∣m)−dρ(U)ρ(vd​)​​≤dLK​.

This converts uniform counting asymptotics into the finite probability input for tilting.

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_uniformAverage_divInd_paper_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) →
                        And
                          (Finset.Nonempty.{0}
                            (Erdos390.Full.StructuredCells.structuredCell P
                              (Erdos390.Full.ArithmeticModel.physicalBound A n)
                              (Erdos390.Full.ArithmeticModel.physicalBound B n) (Erdos390.Full.ArithmeticModel.yNat n)))
                          (LE.le.{0}
                            (abs.{0}
                              (HSub.hSub.{0, 0, 0}
                                (Erdos390.Full.DivisibilityMomentBounds.uniformAverage
                                  (Erdos390.Full.StructuredCells.structuredCell P
                                    (Erdos390.Full.ArithmeticModel.physicalBound A n)
                                    (Erdos390.Full.ArithmeticModel.physicalBound B n)
                                    (Erdos390.Full.ArithmeticModel.yNat n))
                                  (Erdos390.Full.ArithmeticModel.divInd d))
                                (Erdos390.Full.PaperScaleMarkedCell.paperDivisibilityMain n d)))
                            (HDiv.hDiv.{0, 0, 0} K (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#L781-L916

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