Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Explicit lower bound for every n≥3n\ge 3n≥3

Proved
Erdos788.explicit_universal_lower_bound

by ShouqiaoWang · 1 vote · Jul 30, 2026 · Mathlib c5ea003 (Lean v4.30.0)

combinatoricserdos-problemslower-boundnumber-theory

For every natural number n≥3n\ge3n≥3, the Erdős 788 extremal function satisfies the explicit lower bound

12000nlog⁡n≤f(n).\frac1{2000}\sqrt{n\log n}\le f(n).20001​nlogn​≤f(n).

This is the strengthened formal version of the manuscript’s universal lower-bound component: it fixes an absolute constant and makes the estimate valid for every n≥3n\ge3n≥3, rather than only asymptotically.

Preamble
import Definitions.Def_erdos788_problem
Formal statement
namespace Erdos788

/-- The strengthened explicit lower bound, valid for every `n ≥ 3`. -/
theorem explicit_universal_lower_bound :
    ∀ n : ℕ, 3 ≤ n →
      finalLowerBoundConstant *
          Real.sqrt ((n : ℝ) * Real.log (n : ℝ)) ≤
        (f n : ℝ) := by sorry

end Erdos788
Source
Shouqiao Wang, Erdős Problem 788 formalization, LowerFinal.lean, lines 348–353: https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/788/lean/Erdos788/LowerFinal.lean#L348-L353. This is the repository's explicit strengthening of the manuscript's Proposition 3.4 (https://github.com/ShouqiaoW/erdos/blob/61325b10bbdc29f4fb5e0618b414b9f2189333ad/788/paper.pdf).
Read-back

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

For every natural number nnn with 3≤n3\le n3≤n, define In={k∈N:n<k<2n}I_n=\{k\in\mathbb N:n<k<2n\}In​={k∈N:n<k<2n} and Jn={k∈N:2n<k<4n}J_n=\{k\in\mathbb N:2n<k<4n\}Jn​={k∈N:2n<k<4n}. Let MnM_nMn​ be the greatest natural number t≤∣Jn∣+∣In∣t\le |J_n|+|I_n|t≤∣Jn​∣+∣In​∣ such that, for every finite set B⊆JnB\subseteq J_nB⊆Jn​, there exists a finite set C⊆InC\subseteq I_nC⊆In​ satisfying t≤∣B∣+∣C∣t\le |B|+|C|t≤∣B∣+∣C∣ and such that c+c′∉Bc+c'\notin Bc+c′∈/B whenever c,c′∈Cc,c'\in Cc,c′∈C are distinct. Then, viewing MnM_nMn​ first as an integer and then as a real number, 12000nlog⁡n≤Mn\frac1{2000}\sqrt{n\log n}\le M_n20001​nlogn​≤Mn​. Empty choices of BBB and CCC are permitted, and the condition on sums applies only to distinct members of CCC, so it imposes no condition on c+cc+cc+c; moreover, t=0t=0t=0 always has the required property (choose C=∅C=\varnothingC=∅), ensuring that the bounded greatest-value search defining MnM_nMn​ has a qualifying value.

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

  • Endorsed by ShouqiaoWang · Jul 30, 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