Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 862 · variants.lower_bound

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

This is resolved as a consequence of results of Saxton and Thomason [SaTh15] - they prove that the number of Sidon sets in {1,…,N}\{1,\ldots,N\} is at least 2(1.16+o(1))N1/22^{(1.16+o(1))N^{1/2}}. Since each Sidon set is contained in a maximal Sidon set, and each maximal Sidon set contains at most 2(1+o(1))N1/22^{(1+o(1))N^{1/2}} Sidon sets, it follows that A1(N)≥2(0.16+o(1))N1/2.A_1(N) \geq 2^{(0.16+o(1))N^{1/2}}.

Subjects:Combinatorics (math.CO); Number Theory (math.NT)
MSC classes:05, 11
Cite as:NS.03431 [math.CO] · NS.03431v1 for this version
Declaration:Erdos862.erdos_862.variants.lower_bound
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10; accepted critique: up to 100
Statement hash:499a08ae810fc240e039ece55f024d01f14cb942aecbdc9ca7e7774d155cc090
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/862.lean

Formal statement

theorem erdos_862.variants.lower_bound (ε : ℝ) (hε : 0 < ε) :
    ∀ᶠ N : ℕ in atTop,
      (2 : ℝ) ^ (((0.16 : ℝ) - ε) * (N : ℝ) ^ (1 / 2 : ℝ)) ≤ (numMaximalSidonSets N : ℝ)
Show the full Challenge.lean (92 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 862

*References:*
- [erdosproblems.com/862](https://www.erdosproblems.com/862)
- [Er92c] Erdős, P., *Some of my forgotten problems in number theory*. Hardy-Ramanujan J. (1992),
  34-50.
- [SaTh15] Saxton, David and Thomason, Andrew, *Hypergraph containers*. Invent. Math. (2015),
  925-992.
-/

@[expose] public section

open Finset Filter

namespace Erdos862

/--
$A_1(N)$, the number of maximal Sidon subsets of $\{1, \dots, N\}$.
-/
noncomputable def numMaximalSidonSets (N : ℕ) : ℕ :=
  {A : Finset ℕ | A ⊆ Icc 1 N ∧ Set.IsMaximalSidonSetIn (A : Set ℕ) N}.ncard

set_option linter.style.formal_proof_palomar false in
/--
Let $A_1(N)$ be the number of maximal Sidon subsets of $\{1,\ldots,N\}$. Is it true that
$$A_1(N) < 2^{o(N^{1/2})}?$$

A problem of Cameron and Erdős. This is resolved as a consequence of results of Saxton and
Thomason [SaTh15] - they prove that the number of Sidon sets in $\{1,\ldots,N\}$ is at least
$2^{(1.16+o(1))N^{1/2}}$. Since each Sidon set is contained in a maximal Sidon set, and each
maximal Sidon set contains at most $2^{(1+o(1))N^{1/2}}$ Sidon sets, it follows that
$$A_1(N) \geq 2^{(0.16+o(1))N^{1/2}}.$$
-/
@[category research solved, question, AMS 5 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos862.lean"]
theorem erdos_862.parts.i :
    ¬ (fun N : ℕ => Real.logb 2 (numMaximalSidonSets N : ℝ)) =o[atTop]
      (fun N : ℕ => (N : ℝ) ^ (1 / 2 : ℝ)) := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
Let $A_1(N)$ be the number of maximal Sidon subsets of $\{1,\ldots,N\}$. Is it true that
$$A_1(N) > 2^{N^c}$$
for some constant $c>0$?

A problem of Cameron and Erdős. This is resolved as a consequence of results of Saxton and
Thomason [SaTh15] - they prove that the number of Sidon sets in $\{1,\ldots,N\}$ is at least
$2^{(1.16+o(1))N^{1/2}}$. Since each Sidon set is contained in a maximal Sidon set, and each
maximal Sidon set contains at most $2^{(1+o(1))N^{1/2}}$ Sidon sets, it follows that
$$A_1(N) \geq 2^{(0.16+o(1))N^{1/2}}.$$
-/
@[category research solved, question, AMS 5 11, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos862.lean"]
theorem erdos_862.parts.ii :
    ∃ c : ℝ, 0 < c ∧ ∀ᶠ N : ℕ in atTop,
      (2 : ℝ) ^ ((N : ℝ) ^ c) < (numMaximalSidonSets N : ℝ) := by
  sorry

/--
This is resolved as a consequence of results of Saxton and Thomason [SaTh15] - they prove that
the number of Sidon sets in $\{1,\ldots,N\}$ is at least $2^{(1.16+o(1))N^{1/2}}$. Since each
Sidon set is contained in a maximal Sidon set, and each maximal Sidon set contains at most
$2^{(1+o(1))N^{1/2}}$ Sidon sets, it follows that
$$A_1(N) \geq 2^{(0.16+o(1))N^{1/2}}.$$
-/
@[category research solved, AMS 5 11]
theorem erdos_862.variants.lower_bound (ε : ℝ) (hε : 0 < ε) :
    ∀ᶠ N : ℕ in atTop,
      (2 : ℝ) ^ (((0.16 : ℝ) - ε) * (N : ℝ) ^ (1 / 2 : ℝ)) ≤ (numMaximalSidonSets N : ℝ) := by
  sorry

end Erdos862

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos862.erdos_862.variants.lower_bound with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_lower_bound : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk erdos-862--erdos-862-variants-lower-bound      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-862--erdos-862-variants-lower-bound
nosorry submit erdos-862--erdos-862-variants-lower-bound nosorry/erdos-862--erdos-862-variants-lower-bound/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.