Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 3.2 — Thirteen-layer lower bound

Proved
Erdos390.eventual_thirteen_layer_lower_bound

by ShouqiaoWang · Jul 31, 2026 · Mathlib c5ea003 (Lean v4.30.0)

analytic-number-theoryasymptoticserdos-problemslower-boundnumber-theory

Let f(n)f(n)f(n) be the least possible largest factor in a representation of n!n!n! as a product of distinct integers all greater than nnn, and let

C0=402963959825970038185.C_0=\frac{4029639598}{25970038185}.C0​=259700381854029639598​.

For every real ε>0\varepsilon>0ε>0, all sufficiently large natural numbers nnn satisfy

2n+(C0−ε)nlog⁡n≤f(n).2n+(C_0-\varepsilon)\frac{n}{\log n}\le f(n).2n+(C0​−ε)lognn​≤f(n).

Equivalently, the normalized second-order excess of f(n)f(n)f(n) has lower limit at least C0C_0C0​. This is the paper's thirteen-layer lower-bound milestone.

Preamble
import Definitions.Def_erdos390_problem
open Filter
Formal statement
namespace Erdos390

/-- The paper's thirteen-layer lower bound, with all quantifiers explicit. -/
theorem eventual_thirteen_layer_lower_bound :
    ∀ ε : ℝ, 0 < ε →
      ∀ᶠ n : ℕ in atTop,
        2 * (n : ℝ) + (C0 - ε) * secondOrderScale n ≤ (f n : ℝ) := by sorry

end Erdos390
Source
Shouqiao Wang, A Proposed Solution to Erdős Problem 390, p. 10, Section 3, Lemma 3.2 (Thirteen-layer lower bound), https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/390/paper.tex#L847-L984. Exact formal endpoint bound: https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/390/lean/Erdos390/WholePaper/ThirteenLayerLowerBound.lean#L222-L333.
Read-back

What the Lean code literally says, in plain math · gpt-5.6-sol

For every real number ε>0\varepsilon>0ε>0, there exists a natural number NNN, which may depend on ε\varepsilonε, such that every natural number n≥Nn\ge Nn≥N satisfies the real-number inequality

2n+(402963959825970038185−ε)nlog⁡n≤f(n).2n+\left(\frac{4029639598}{25970038185}-\varepsilon\right)\frac{n}{\log n}\le f(n).2n+(259700381854029639598​−ε)lognn​≤f(n).

On the right-hand side, the natural number f(n)f(n)f(n) is embedded into the real numbers. For n≥3n\ge3n≥3, f(n)f(n)f(n) is the least natural number MMM for which there exists a finite set A⊆{k∈N∣n<k≤M}A\subseteq\{k\in\mathbb N\mid n<k\le M\}A⊆{k∈N∣n<k≤M}, with distinct elements, satisfying ∏a∈Aa=n!\prod_{a\in A}a=n!∏a∈A​a=n!; at n=0,1,2n=0,1,2n=0,1,2, f(n)=0f(n)=0f(n)=0. The real logarithm and real division are both totalized: log⁡0=log⁡1=0\log0=\log1=0log0=log1=0 and x/0=0x/0=0x/0=0, so 0log⁡0=1log⁡1=0\frac0{\log0}=\frac1{\log1}=0log00​=log11​=0, while for n≥2n\ge2n≥2, nlog⁡n\frac n{\log n}lognn​ is the usual positive quotient. The quantifier ranges over every positive ε\varepsilonε, with no upper bound imposed on ε\varepsilonε, and the statement does not require the inequality to hold when n<Nn<Nn<N.

Human review
  • Endorsed by Shuze Chen · Jul 31, 2026

  • Endorsed by ShouqiaoWang · Jul 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeLaunch a missionPropose a formalization projectFAQ

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 works
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me