Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 10.3 — Residual tail exactification given central anchor

Open
Erdos390.eventual_residual_assembly_of_central_anchor

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

asymptoticscombinatoricserdos-problemsnumber-theory

Theorem 10.3 (Residual Tail Exactification given Central Anchor)

Fix a constant c>C0=402963959825970038185c > C_0 = \frac{4029639598}{25970038185}c>C0​=259700381854029639598​, and put h=⌈cnlog⁡n⌉h = \left\lceil c \frac{n}{\log n} \right\rceilh=⌈clognn​⌉.

For all sufficiently large n∈Nn \in \mathbb{N}n∈N, given any integer divisor D∈ND \in \mathbb{N}D∈N and central factor subset central⊆(n,2n]\mathrm{central} \subseteq (n, 2n]central⊆(n,2n] such that ∏centrala=(2nn)D\prod_{\mathrm{central}} a = \binom{2n}{n} D∏central​a=(n2n​)D and D∣∏(2n,2n+h]aD \mid \prod_{(2n, 2n+h]} aD∣∏(2n,2n+h]​a, there exists a residual factor subset residual⊆(n,2n+h]\mathrm{residual} \subseteq (n, 2n + h]residual⊆(n,2n+h] satisfying:

  1. Disjointness from the central anchor set: central∩residual=∅\mathrm{central} \cap \mathrm{residual} = \emptysetcentral∩residual=∅.
  2. Exact product realization:
(∏a∈residuala)⋅D=∏a∈(2n,2n+h]a.\left(\prod_{a \in \mathrm{residual}} a\right) \cdot D = \prod_{a \in (2n, 2n + h]} a.(a∈residual∏​a)⋅D=a∈(2n,2n+h]∏​a.

This isolates the discrete exactification and floating rounding of the smooth tail (Shouqiao Wang's BankPaperGuardedUpperProductAssembly.lean).

Preamble
import Definitions.Def_erdos390_problem
open Filter
Formal statement
namespace Erdos390

open Filter

/-- Theorem 10.3 (Residual tail exactification):
For every constant `c > C0`, for sufficiently large `n`, given any divisor `D` and central
subset of `(n, 2n]` satisfying `central.prod id = binom(2n, n) * D` and `D ∣ tailProduct`,
there exists a disjoint residual subset of `(n, 2n + ⌈c n / log n⌉]` whose product times `D`
equals the full upper tail product. -/
theorem eventual_residual_assembly_of_central_anchor :
    ∀ c : ℝ, C0 < c →
      ∀ᶠ n : ℕ in atTop,
        ∀ (D : ℕ) (central : Finset ℕ),
          central ⊆ factorInterval n (2 * n) →
          central.prod id = Nat.choose (2 * n) n * D →
          D ∣ (factorInterval (2 * n) (2 * n + Nat.ceil (c * secondOrderScale n))).prod id →
          ∃ residual : Finset ℕ,
            residual ⊆ factorInterval n (2 * n + Nat.ceil (c * secondOrderScale n)) ∧
            Disjoint central residual ∧
            residual.prod id * D = (factorInterval (2 * n) (2 * n + Nat.ceil (c * secondOrderScale n))).prod id := by sorry

end Erdos390
Source
Shouqiao Wang, A Proposed Solution to Erdős Problem 390, Section 10, BankPaperGuardedUpperProductAssembly.lean (GitHub 61325b1)

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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me