{
  "id": "1149",
  "ident": "NS.01149",
  "slug": "erdos-156",
  "title": "Erdős Problem 156",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Does there exist a maximal Sidon set $A\\subset \\{1,\\ldots,N\\}$ of size $O(N^{1/3})$?\n\nA question of Erdős, Sárközy, and Sós [ESS94].",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": true,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos156.erdos_156",
  "statement_lean": "theorem erdos_156 :\n    (fun N ↦ (minMaximalSidonSet N : ℝ)) =O[atTop] (fun N ↦ (N : ℝ) ^ (1 / 3 : ℝ))",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 156\n\n*References:*\n- [erdosproblems.com/156](https://www.erdosproblems.com/156)\n- [ESS94] Erdős, P. and Sárközy, A. and Sós, T., On Sum Sets of Sidon Sets, I. Journal of Number\n  Theory (1994), 329-347.\n- [Ru98b] Ruzsa, Imre Z., A small maximal Sidon set. Ramanujan J. (1998), 55-58.\n-/\n\n@[expose] public section\n\nopen Finset Filter\n\nnamespace Erdos156\n\n/--\nThe size of the smallest maximal Sidon set in $\\{1, \\dots, N\\}$.\n-/\nnoncomputable def minMaximalSidonSet (N : ℕ) : ℕ :=\n  open scoped Classical in\n  sInf (((Icc 1 N).powerset.filter fun (A : Finset ℕ) ↦\n    Set.IsMaximalSidonSetIn (A : Set ℕ) N).image card : Set ℕ)\n\n/--\nDoes there exist a maximal Sidon set $A\\subset \\{1,\\ldots,N\\}$ of size $O(N^{1/3})$?\n\nA question of Erdős, Sárközy, and Sós [ESS94].\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_156 :\n    (fun N ↦ (minMaximalSidonSet N : ℝ)) =O[atTop] (fun N ↦ (N : ℝ) ^ (1 / 3 : ℝ)) := by\n  sorry\n\n@[category test, AMS 5]\ntheorem greedySidonSet_isSidon (n : ℕ) : IsSidon (Finset.greedySidonBelow n : Set ℕ) := by\n  intro i₁ hi₁ j₁ hj₁ i₂ hi₂ j₂ hj₂ eq\n  have subset : Finset.greedySidonBelow n ⊆ (Finset.greedySidon.aux n).1 := Finset.filter_subset _ _\n  exact (Finset.greedySidon.aux n).1.2 i₁ (subset hi₁) j₁ (subset hj₁) i₂ (subset hi₂) j₂ (subset hj₂) eq\n\n/--\nIt is easy to prove that the greedy construction of a maximal Sidon set in $\\{1,\\ldots,N\\}$ has size\n$\\gg N^{1/3}$.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_156.variants.greedy_lower_bound :\n    (fun N ↦ ((Finset.greedySidonBelow N).card : ℝ)) ≫ (fun N ↦ (N : ℝ) ^ (1 / 3 : ℝ)) := by\n  sorry\n\n/--\nRuzsa [Ru98b] constructed a maximal Sidon set of size $\\ll (N\\log N)^{1/3}$.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_156.variants.ruzsa_upper_bound :\n    (fun N ↦ (minMaximalSidonSet N : ℝ)) ≪\n      (fun N ↦ ((N : ℝ) * Real.log N) ^ (1 / 3 : ℝ)) := by\n  sorry\n\nend Erdos156\n",
  "statement_hash": "423375da635ff7772a66810b614d18e6a13ec04fb8f389ba53385d5fdab839a0",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}