{
  "id": "4032",
  "ident": "NS.04032",
  "slug": "green-31",
  "title": "Ben Green's Open Problem 31",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Can we improve the lower bound $N^{1/2} + O(1)$, at least for infinitely many $N$?",
  "subjects": [
    "math.CO",
    "math.NT",
    "msc:05",
    "msc:11"
  ],
  "tags": [
    "question"
  ],
  "collection": "green",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Green31.green_31.lower",
  "statement_lean": "theorem green_31.lower :\n    -- Break the O(1) barrier\n    Filter.Tendsto (fun N ↦ green_31.lower.answer N - Real.sqrt (N : ℝ)) atTop atTop ∧\n    ∃ᶠ N in atTop, green_31.lower.answer N ≤ F N",
  "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# Ben Green's Open Problem 31\n\nWrite $F(N)$ for the largest Sidon subset of $[N]$.\nImprove, at least for infinitely many $N$, the bounds $N^{1/2} + O(1) \\le F(N) \\le N^{1/2} + N^{1/4} + O(1)$.\n\nNote: the upper bound was improved to $N^{1/2} + 0.98183 N^{1/4} + O(1)$ in [CHO25], and then to\n$N^{1/2} + 0.94349\\ldots N^{1/4} + O(1)$ in [HZ26].\n\nRelated to Erdős Problem 30.\n\n*References:*\n- [Gr24] [Ben Green's Open Problem 31](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#section.7 Problem 31)\n- [Gr01] Green, Ben. \"The number of squares and $ B_h [g] $ sets.\"\n  Acta Arithmetica 100.4 (2001): 365-390.\n- [BFR23] Balogh, József, Zoltán Füredi, and Souktik Roy. \"An upper bound on the size of Sidon sets.\"\n  The American Mathematical Monthly 130.5 (2023): 437-445.\n- [CHO25] Carter, Daniel, Zach Hunter, and Kevin O’Bryant. \"On the diameter of finite Sidon sets.\"\n  Acta Mathematica Hungarica 175.1 (2025): 108-126.\n- [HZ26] Hou, Jianfeng, and Hongbin Zhao. \"An Improved Upper Bound for Finite Sidon Sets via\n  Vector-Valued Smoothing.\" [arXiv:2607.01169](https://arxiv.org/abs/2607.01169) (2026).\n- [ET41] Erdos, Paul, and Pál Turán. \"On a problem of Sidon in additive number theory, and on some\n  related problems.\" J. London Math. Soc 16.4 (1941): 212-215.\n- [Li69] Lindström, Bernt. “A remark on B4-Sequences.” Journal of Combinatorial Theory,\n  Series A 7 (1969): 276-277.\n- [CLZ01] Cohen, G.D., Litsyn, S., & Zémor, G. (2001). Binary B2-Sequences : A New Upper Bound.\n  J. Comb. Theory A, 94, 152-155.\n- [BS85] Babai, László, and Vera T. Sós. \"Sidon sets in groups and induced subgraphs of Cayley\n  graphs.\" European Journal of Combinatorics 6.2 (1985): 101-114.\n  [doi:10.1016/S0195-6698(85)80001-9](https://doi.org/10.1016/S0195-6698%2885%2980001-9)\n-/\n\n@[expose] public section\n\nnamespace Green31\n\nopen Filter\n\n/-- Let $F(N)$ be the largest Sidon subset of $[N]$. -/\nnoncomputable def F (N : ℕ) : ℝ := Finset.maxSidonSubsetCard (Finset.Icc 1 N)\n\ndef green_31.lower.answer : ℕ → ℝ := sorry\n\n/-- Can we improve the lower bound $N^{1/2} + O(1)$, at least for infinitely many $N$? -/\n@[category research open, question value, AMS 5 11]\ntheorem green_31.lower :\n    -- Break the O(1) barrier\n    Filter.Tendsto (fun N ↦ green_31.lower.answer N - Real.sqrt (N : ℝ)) atTop atTop ∧\n    ∃ᶠ N in atTop, green_31.lower.answer N ≤ F N := by\n  sorry\n\ndef green_31.variants.lower_eventually.answer : ℕ → ℝ := sorry\n\n/-- Can we improve the lower bound $N^{1/2} + O(1)$, for all sufficiently large $N$? -/\n@[category research open, question value, AMS 5 11]\ntheorem green_31.variants.lower_eventually :\n    -- Break the O(1) barrier\n    Filter.Tendsto (fun N ↦ green_31.variants.lower_eventually.answer N - Real.sqrt (N : ℝ)) atTop\n      atTop ∧\n    ∀ᶠ N in atTop, green_31.variants.lower_eventually.answer N ≤ F N := by\n  sorry\n\ndef green_31.upper.answer : ℕ → ℝ := sorry\n\n/--\nCan we improve the upper bound $N^{1/2} + 0.94349 N^{1/4} + O(1)$ [HZ26], at least for infinitely\nmany $N$?\n-/\n@[category research open, question value, AMS 5 11]\ntheorem green_31.upper :\n    (∃ᶠ N in atTop, F N ≤ green_31.upper.answer N) ∧\n    ∃ c < (0.94349 : ℝ), ∃ C : ℝ, ∀ᶠ N in atTop, green_31.upper.answer N - Real.sqrt (N : ℝ) ≤ c *\n      (N : ℝ) ^ (4⁻¹ : ℝ) + C := by\n  sorry\n\ndef green_31.variants.upper_eventually.answer : ℕ → ℝ := sorry\n\n/--\nCan we improve the upper bound $N^{1/2} + 0.94349 N^{1/4} + O(1)$ [HZ26], for all sufficiently\nlarge $N$?\n-/\n@[category research open, question value, AMS 5 11]\ntheorem green_31.variants.upper_eventually :\n    (∀ᶠ N in atTop, F N ≤ green_31.variants.upper_eventually.answer N) ∧\n    ∃ c < (0.94349 : ℝ), ∃ C : ℝ, ∀ᶠ N in atTop, green_31.variants.upper_eventually.answer N -\n      Real.sqrt (N : ℝ) ≤ c * (N : ℝ) ^ (4⁻¹ : ℝ) + C := by\n  sorry\n\n/-- [Li69] proved $F(n) \\le n^{1/2} + n^{1/4} + O(1)$. -/\n@[category research solved, AMS 5 11]\ntheorem green_31.variants.upper_li69 :\n    ∃ C : ℝ, ∀ᶠ N in atTop, F N ≤ Real.sqrt (N : ℝ) + (N : ℝ) ^ (4⁻¹ : ℝ) + C := by\n  sorry\n\n/--\n[BFR23] obtained a small improvement, getting an upper bound of $F(N) \\le N^{1/2} + 0.998 N^{1/4}$\nfor large $N$.\n-/\n@[category research solved, AMS 5 11]\ntheorem green_31.variants.upper_bfr23 :\n    ∀ᶠ N in atTop, F N ≤ Real.sqrt (N : ℝ) + (0.998 : ℝ) * (N : ℝ) ^ (4⁻¹ : ℝ) := by\n  sorry\n\n/-- The upper bound was further improved to $N^{1/2} + 0.98183 N^{1/4} + O(1)$ [CHO25]. -/\n@[category research solved, AMS 5 11]\ntheorem green_31.variants.upper_cho25 :\n    ∃ C : ℝ, ∀ᶠ N in atTop, F N ≤ Real.sqrt (N : ℝ) + (0.98183 : ℝ) * (N : ℝ) ^ (4⁻¹ : ℝ) + C := by\n  sorry\n\n/--\n[HZ26] improved the upper bound to $N^{1/2} + \\gamma_0 N^{1/4} + O(1)$ with\n$\\gamma_0 = 0.94349\\ldots < 0.9435$.\n-/\n@[category research solved, AMS 5 11]\ntheorem green_31.variants.upper_hz26 :\n    ∃ C : ℝ, ∀ᶠ N in atTop, F N ≤ Real.sqrt (N : ℝ) + (0.9435 : ℝ) * (N : ℝ) ^ (4⁻¹ : ℝ) + C := by\n  sorry\n\n/--\nIt is not known whether or not there exists a Sidon subset of $\\mathbb{Z}/p\\mathbb{Z}$ of size\n$(1 + o(1))\\sqrt{p}$, for all $p$ [Gr24].\n-/\n@[category research open, question, AMS 5 11]\ntheorem green_31.variants.zmod_p :\n    ∃ S : (n : ℕ) → Finset (ZMod n),\n    ∃ o : ℕ → ℝ,\n      (o =o[atTop] fun _ : ℕ ↦ (1 : ℝ)) ∧\n      (∀ p, p.Prime → IsSidon (S p : Set (ZMod p))) ∧\n      (∀ p, p.Prime → ((S p).card : ℝ) = (1 + o p) * Real.sqrt (p : ℝ)) := by\n  sorry\n\n/--\nA subset $S$ of an abelian group is a Sidon set of the first kind in the sense of Babai and Sós\n[BS85] if $a + b = c + d$ with $a, b, c, d \\in S$ implies $|\\{a, b, c, d\\}| \\le 2$.\n\nUnlike `IsSidon`, this allows $a + a = b + b$ with $a \\ne b$.\n-/\ndef IsGroupSidon {G : Type*} [AddCommGroup G] (S : Set G) : Prop :=\n  ∀ ⦃a b c d : G⦄, a ∈ S → b ∈ S → c ∈ S → d ∈ S → a + b = c + d →\n    (a = c ∧ b = d) ∨ (a = d ∧ b = c) ∨ (a = b ∧ c = d)\n\n@[category API, AMS 5 11]\ntheorem isGroupSidon_of_isSidon {G : Type*} [AddCommGroup G] {S : Set G} (hS : IsSidon S) :\n    IsGroupSidon S := by\n  intro a b c d ha hb hc hd h\n  rcases hS a ha c hc b hb d hd h with h | h\n  · exact .inl h\n  · exact .inr (.inl h)\n\n/--\nThe two notions agree in a group where $2a = 2b$ implies $a = b$, such as a group of odd order.\n-/\n@[category API, AMS 5 11]\ntheorem isGroupSidon_iff_isSidon {G : Type*} [AddCommGroup G]\n    (hG : Function.Injective fun a : G ↦ a + a) {S : Set G} : IsGroupSidon S ↔ IsSidon S := by\n  refine ⟨fun hS a ha c hc b hb d hd h ↦ ?_, isGroupSidon_of_isSidon⟩\n  rcases hS ha hb hc hd h with h' | h' | ⟨rfl, rfl⟩\n  · exact .inl h'\n  · exact .inr h'\n  · exact .inl ⟨hG h, hG h⟩\n\n/-- In a group of exponent $2$ an `IsSidon` set has at most one element. -/\n@[category API, AMS 5 11]\ntheorem subsingleton_of_isSidon_of_exponent_two {G : Type*} [AddCommGroup G]\n    (hG : ∀ a : G, a + a = 0) {S : Set G} (hS : IsSidon S) : S.Subsingleton := by\n  intro a ha b hb\n  rcases hS a ha b hb a ha b hb (by rw [hG a, hG b]) with ⟨h, _⟩ | ⟨h, _⟩ <;> exact h\n\n/-- Three points of the Klein four-group form a Sidon set in the sense of Babai and Sós. -/\n@[category test, AMS 5 11]\ntheorem isGroupSidon_klein :\n    IsGroupSidon ({(0, 0), (1, 0), (0, 1)} : Set (ZMod 2 × ZMod 2)) := by\n  rintro a b c d (rfl | rfl | rfl) (rfl | rfl | rfl) (rfl | rfl | rfl) (rfl | rfl | rfl) <;> decide\n\n/--\nThe whole Klein four-group is not a Sidon set in the sense of Babai and Sós, since\n$(0, 0) + (1, 1) = (1, 0) + (0, 1)$.\n-/\n@[category test, AMS 5 11]\ntheorem not_isGroupSidon_klein_univ : ¬ IsGroupSidon (Set.univ : Set (ZMod 2 × ZMod 2)) :=\n  fun h ↦ absurd (h (a := (0, 0)) (b := (1, 1)) (c := (1, 0)) (d := (0, 1)) trivial trivial\n    trivial trivial (by decide)) (by decide)\n\n/--\nIt is not known whether, if $G$ is an abelian group of size $n$, there always exists a Sidon subset\nof $G$ of size $0.01\\sqrt{n}$ [Gr24].\n\nGreen defines a Sidon set by $r_A(n) \\le 1$ [Gr24, Section 4]. Read literally, this forbids\n$a + a = b + b$ with $a \\ne b$, and the answer is trivially negative: a Sidon subset of a group\nof exponent $2$ then has at most one element. We use the definition of Babai and Sós [BS85]\ninstead, see `IsGroupSidon`.\n-/\n@[category research open, question, AMS 5 11]\ntheorem green_31.variants.abelian :\n    ∀ (G : Type) [AddCommGroup G] [Fintype G],\n      ∃ S : Finset G, IsGroupSidon (S : Set G) ∧\n        0.01 * Real.sqrt (Fintype.card G) ≤ S.card := by\n  sorry\n\n/--\nA set of binary vectors is Sidon if its pairwise sums, taken coordinatewise in `ℕ`, determine the\nunordered pair of summands.\n-/\ndef IsBinarySidon {n : ℕ} (S : Set (𝔽₂ n)) : Prop :=\n  ∀ ⦃a b c d : 𝔽₂ n⦄, a ∈ S → b ∈ S → c ∈ S → d ∈ S →\n    (fun i ↦ (a i).val + (b i).val) = (fun i ↦ (c i).val + (d i).val) →\n      (a = c ∧ b = d) ∨ (a = d ∧ b = c)\n\n/--\nAnother very nice old problem is whether there is a Sidon subset of $\\{0, 1\\}^n$ of size $N^{0.51}$,\nwhere $N = 2^n$ [Gr24].\n-/\n@[category research open, question, AMS 5 11]\ntheorem green_31.variants.sidon_01n :\n    ∃ S : (n : ℕ) → Finset (𝔽₂ n),\n      (∀ n, IsBinarySidon (S n : Set (𝔽₂ n))) ∧\n      ∀ᶠ n in atTop, ((2 : ℝ) ^ n) ^ (0.51 : ℝ) ≤ (S n).card := by\n  sorry\n\n/--\nThe best-known upper bound for a Sidon subset of $\\{0, 1\\}^n$ ($N = 2^n$) is $N^{0.5753}$ [CLZ01].\n-/\n@[category research solved, AMS 5 11]\ntheorem green_31.variants.sidon_01n_clz01 :\n    ∃ C : ℝ, ∀ n, ∀ S : Finset (𝔽₂ n),\n      IsBinarySidon (S : Set (𝔽₂ n)) →\n        (S.card : ℝ) ≤ C * ((2 : ℝ) ^ n) ^ (0.5753 : ℝ) := by\n  sorry\n\nend Green31\n",
  "statement_hash": "00e5b772e6ccb6ed9e2861f4f3a203ea00e24fc53792abf40dbcc79594712174",
  "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."
}