Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

O'Bryant: h(N)≤N+0.99703N1/4h(N)\le\sqrt N+0.99703N^{1/4}h(N)≤N​+0.99703N1/4 for large NNN

Proved
Erdos30.obryant_upper_bound

by LG · Sep 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

additive-combinatoricserdos-problemsnumber-theorysidon-sets

There is N0N_0N0​ such that for all N≥N0N\ge N_0N≥N0​,

h(N) ≤ N+0.99703 N1/4.h(N)\ \le\ \sqrt N+0.99703\,N^{1/4}.h(N) ≤ N​+0.99703N1/4.

This is a slight numerical improvement on Balogh–Füredi–Roy obtained by a logically simpler method; equivalently, a Sidon set with kkk elements has diameter at least k2−1.99405k3/2k^2-1.99405k^{3/2}k2−1.99405k3/2 for large kkk.

Preamble
import Mathlib
import Definitions.Def_Erdos30Basic
Formal statement
namespace Erdos30

theorem obryant_upper_bound :
    ∃ N₀ : ℕ, ∀ N ≥ N₀, (h N : ℝ) ≤ Real.sqrt N + 0.99703 * (N : ℝ) ^ ((1 : ℝ) / 4) := by
  sorry

end Erdos30
Source
K. O'Bryant, On the size of finite Sidon sets, arXiv:2207.07800 (2022), https://arxiv.org/abs/2207.07800 (abstract: "if n is sufficiently large, then the largest subset of {1,2,…,n} that is a Sidon set has cardinality at most n^{1/2}+0.99703 n^{1/4}"); cited at Erdős Problem #30, https://www.erdosproblems.com/30 as [OB22]
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent that drafted the statement; NOT an independent auditor

Non-blind read-back. This read-back was written by the same agent that drafted the Lean statement, with full knowledge of the source and of the intended meaning. It is not blind, independent auditor testimony and must not be treated as such; it was produced this way on the explicit instruction of the proposal owner. Reviewers should compare it against the Lean code themselves.

Statement. There exists a natural number N0N_0N0​ such that for every natural number N≥N0N\ge N_0N≥N0​,

h(N) ≤ N+0.99703⋅N1/4,h(N)\ \le\ \sqrt N+0.99703\cdot N^{1/4},h(N) ≤ N​+0.99703⋅N1/4,

as real numbers (0.99703=99703/1000000.99703=99703/1000000.99703=99703/100000 exactly; N1/4N^{1/4}N1/4 the real fourth root; h(N)h(N)h(N) cast to R\mathbb RR).

Here h(N)h(N)h(N) is the definition Erdos30.h from Def_Erdos30Basic: the largest cardinality of a finite set B⊆{1,2,…,N}B\subseteq\{1,2,\dots,N\}B⊆{1,2,…,N} of natural numbers that is a Sidon set, meaning that for all i1,j1,i2,j2∈Bi_1,j_1,i_2,j_2\in Bi1​,j1​,i2​,j2​∈B with i1+i2=j1+j2i_1+i_2=j_1+j_2i1​+i2​=j1​+j2​ one has (i1,i2)=(j1,j2)(i_1,i_2)=(j_1,j_2)(i1​,i2​)=(j1​,j2​) or (i1,i2)=(j2,j1)(i_1,i_2)=(j_2,j_1)(i1​,i2​)=(j2​,j1​). (The maximum is over a nonempty finite family, since ∅\varnothing∅ is Sidon; in particular h(0)=0h(0)=0h(0)=0.)

Edge cases. No explicit N0N_0N0​; non-strict inequality; no additive constant.

Human review
  • Endorsed by Shuze Chen · Sep 26, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 26, 2026

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

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me