Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Guarded central anchors from a finite modification budget

Proved
Erdos390.WholePaper.guardedCentralAnchorCertificate_of_changeCost

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

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

Let c>C0c>C_0c>C0​, R≥1R\ge1R≥1, and nnn exceed the central-anchor cutoff threshold for RRR. Suppose a central-anchor certificate is given. Let SSS be a finite subset of its large central primes, all at most nnn, and let ℓ,r:N→N\ell,r:\mathbb N\to\mathbb Nℓ,r:N→N specify forbidden cofactors. For each p∈Sp\in Sp∈S with ⌊n/p⌋=1\lfloor n/p\rfloor=1⌊n/p⌋=1, require ℓ(p)≠3\ell(p)\ne3ℓ(p)=3 and r(p)≠3r(p)\ne3r(p)=3. If, for every prime p≤2R+1p\le2R+1p≤2R+1,

∣S∣⌊log⁡2(2R+1)⌋≤c−C06(p−1)nlog⁡n,|S|\lfloor\log_2(2R+1)\rfloor\le\frac{c-C_0}{6(p-1)}\frac n{\log n},∣S∣⌊log2​(2R+1)⌋≤6(p−1)c−C0​​lognn​,

then a guarded central-anchor certificate exists for these forbidden cofactors and this changed set.

The certificate concerns the newly modified cofactor function and retains the exact anchor product, interval support, divisibility and collision-avoidance conditions.

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_006
import Definitions.Def_erdos390_analytic_foundations_007

Formal statement
theorem Erdos390.WholePaper.guardedCentralAnchorCertificate_of_changeCost :
∀ {c : Real} {R n : Nat} {left right : Nat → Nat} {changed : Finset.{0} Nat},
  LT.lt.{0} Erdos390.WholePaper.C0 c →
    LE.le.{0} (1 : Nat) R →
      LE.le.{0} (Erdos390.WholePaper.centralAnchorCutoffThreshold R) n →
        ∀ (certificate : Erdos390.WholePaper.CentralAnchorCertificate c R n),
          HasSubset.Subset.{0} changed
              (Erdos390.WholePaper.largeCentralPrimes n (Erdos390.WholePaper.centralAnchorCutoff R n)) →
            (∀ (p : Nat), Membership.mem.{0, 0} changed p → LE.le.{0} p n) →
              (∀ (p : Nat),
                  Membership.mem.{0, 0} changed p →
                    Eq.{1} (HDiv.hDiv.{0, 0, 0} n p) (1 : Nat) →
                      And (Ne.{1} (3 : Nat) (left p)) (Ne.{1} (3 : Nat) (right p))) →
                (∀ (ℓ : Nat),
                    Membership.mem.{0, 0}
                        (Erdos390.WholePaper.primesUpTo
                          (HAdd.hAdd.{0, 0, 0} (HMul.hMul.{0, 0, 0} (2 : Nat) R) (1 : Nat)))
                        ℓ →
                      LE.le.{0}
                        (↑(HMul.hMul.{0, 0, 0} (Finset.card.{0} changed)
                            (Nat.log (2 : Nat) (HAdd.hAdd.{0, 0, 0} (HMul.hMul.{0, 0, 0} (2 : Nat) R) (1 : Nat)))))
                        (HMul.hMul.{0, 0, 0}
                          (HDiv.hDiv.{0, 0, 0} (HSub.hSub.{0, 0, 0} c Erdos390.WholePaper.C0)
                            (HMul.hMul.{0, 0, 0} (6 : Real) ↑(HSub.hSub.{0, 0, 0} ℓ (1 : Nat))))
                          (Erdos390.WholePaper.secondOrderScale n))) →
                  Nonempty.{1} (Erdos390.WholePaper.GuardedCentralAnchorCertificate c R n left right changed) := by sorry
Source
https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/390/lean/Erdos390/WholePaper/CentralAnchorGuardedCertificate.lean#L54-L196

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