{
  "id": "4008",
  "ident": "NS.04008",
  "slug": "green-25",
  "title": "Green's Open Problem 25",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "For which values of $k$ is the following true: whenever we partition $[N] = A_1 \\cup \\dots \\cup A_k$,\n$\\left|\\bigcup^k_{i=1} (A_i \\hat{+} A_i)\\right| \\geq \\frac{1}{10} 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": "Green25.green_25",
  "statement_lean": "theorem green_25 : {k : ℕ → ℕ | ∀ᶠ N in atTop, Property25 (k N) N} = green_25.answer",
  "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# Green's Open Problem 25\n\nReferences:\n- [Gr24] [Green, Ben. \"100 open problems.\" (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.25)\n- [ESS89] Erdős, Pál, András Sárközy, and V. T. Sós. \"On a conjecture of Roth and some related\n  problems I.\" Irregularities of partitions. Berlin, Heidelberg: Springer Berlin Heidelberg, 1989.\n  47-59.\n- [Ru04] Ruzsa, Imre Z. \"A problem on restricted sumsets.\" CONTEMPORARY MATHEMATICS 342 (2004):\n  245-248.\n-/\n\n@[expose] public section\n\nopen Asymptotics Filter Finset\n\nnamespace Green25\n\n/--\nFor which values of $k$ is the following true: whenever we partition $[N] = A_1 \\cup \\dots \\cup A_k$,\n$\\left|\\bigcup^k_{i=1} (A_i \\hat{+} A_i)\\right| \\geq \\frac{1}{10} N$?\n-/\ndef Property25 (k N : ℕ) : Prop :=\n  1 ≤ k ∧ k ≤ N ∧\n  ∀ P : Finpartition (Icc 1 N), #P.parts = k →\n  10 * #(P.parts.biUnion Finset.restrictedSumset) ≥ N\n\n/-- The best-known lower bound [ESS89]. -/\nnoncomputable def bestLower (N : ℕ) : ℝ := Real.log (Real.log N)\n\n/-- The best-known upper bound [ESS89]. -/\nnoncomputable def bestUpper (N : ℕ) : ℝ := (N : ℝ) / Real.log N\n\ndef green_25.answer : Set (ℕ → ℕ) := sorry\n\n/--\nFor which values of $k$ is the following true: whenever we partition $[N] = A_1 \\cup \\dots \\cup A_k$,\n$\\left|\\bigcup^k_{i=1} (A_i \\hat{+} A_i)\\right| \\geq \\frac{1}{10} N$?\n-/\n@[category research open, question value, AMS 5 11]\ntheorem green_25 : {k : ℕ → ℕ | ∀ᶠ N in atTop, Property25 (k N) N} = green_25.answer := by\n  sorry\n\ndef green_25.upper.answer : ℕ → ℕ := sorry\n\n/-- We conjecture that the best-known upper bound can be lowered. -/\n@[category research open, question value, AMS 5 11]\ntheorem green_25.upper :\n    -- Ensure k is a valid partition size\n    (∀ᶠ N in atTop, 1 ≤ green_25.upper.answer N ∧ green_25.upper.answer N ≤ N) ∧\n    (fun N => (green_25.upper.answer N : ℝ)) =o[atTop] bestUpper ∧\n    ¬ ∀ᶠ N in atTop, Property25 (green_25.upper.answer N) N := by\n  sorry\n\ndef green_25.lower.answer : ℕ → ℝ := sorry\n\n/-- We conjecture that the best-known lower bound can be raised. -/\n@[category research open, question value, AMS 5 11]\ntheorem green_25.lower :\n    (bestLower =o[atTop] green_25.lower.answer) ∧\n    (∀ᶠ N in atTop, 1 ≤ green_25.lower.answer N ∧ green_25.lower.answer N ≤ N) ∧\n    ∀ k : ℕ → ℕ,\n      (∀ᶠ N in atTop, 1 ≤ k N ∧ k N ≤ N) ∧\n      ((fun N => (k N : ℝ)) ≪ green_25.lower.answer) →\n      ∀ᶠ N in atTop, Property25 (k N) N := by\n  sorry\n\n/--\nFor $k \\ll \\log \\log N$, this is true [Gr24].\n\nNOTE: [ESS89] derive a precise constant for which this is true, but $\\ll$ would imply that it works\nfor any constant. We thus prefer a little-o statement.\n -/\n@[category research solved, AMS 5 11]\ntheorem green_25.variants.lower_ess89 :\n  ∀ k : ℕ → ℕ,\n    (∀ᶠ N in atTop, 1 ≤ k N ∧ k N ≤ N) ∧ -- Ensure Property25 is not False due to non-existent partitions\n    (fun N => (k N : ℝ)) =o[atTop] bestLower →\n    ∀ᶠ N in atTop, Property25 (k N) N := by\n  sorry\n\n/--\nFor $k \\gg N / \\log N$, it need not be true [Gr24].\n\nWe formalize by enforcing a $N / \\log N$ growth rate on $k(N)$. This avoids cases like $k(N) = N$\nor $N-1$, which produce trivial counter examples with singletons and thus empty restricted sumsets.\n-/\n@[category research solved, AMS 5 11]\ntheorem green_25.variants.upper_ess89 :\n  ∃ k : ℕ → ℕ,\n    (∀ᶠ N in atTop, 1 ≤ k N ∧ k N ≤ N) ∧\n    (fun N => (k N : ℝ)) =Θ[atTop] bestUpper ∧\n    ¬ ∀ᶠ N in atTop, Property25 (k N) N := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nFor $k(N) = \\lceil N^{23/40} \\rceil$, it need not be true: for all sufficiently large $N$\nthere is a partition of $[N]$ into $\\lceil N^{23/40} \\rceil$ parts with\n$\\left|\\bigcup^k_{i=1} (A_i \\hat{+} A_i)\\right| < \\frac{1}{10} N$.\nIn particular, the best-known upper bound $N / \\log N$ can be lowered.\n-/\n@[category research solved, AMS 5 11,\n  formal_proof using lean4 at\n    \"https://github.com/KitaKen1/green-25-upper-bound/blob/3a54a688dfc4d7b9c8990bbaeb1a124c075454e4/lean/Green25UpperFC.lean#L3043-L3051\"]\ntheorem green_25.variants.upper_pow_23_40 :\n    let k : ℕ → ℕ := fun N => Nat.ceil ((N : ℝ) ^ (23 / 40 : ℝ))\n    (∀ᶠ N in atTop, 1 ≤ k N ∧ k N ≤ N) ∧\n    (fun N => (k N : ℝ)) =o[atTop] bestUpper ∧\n    ∀ᶠ N in atTop, ¬ Property25 (k N) N := by\n  sorry\n\nend Green25\n",
  "statement_hash": "d503e608964d5b19becf3741a42d0e5041aea19d4b2a6189e8b6ef0a216814e6",
  "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."
}