{
  "id": "3989",
  "ident": "NS.03989",
  "slug": "green-21",
  "title": "Ben Green's Open Problem 21",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Suppose that $a_1, \\dots, a_k$ are integers which do not satisfy Rado's condition: thus if\n$\\sum_{i \\in I} a_i = 0$ then $I = \\emptyset$. It then follows from Rado's theorem that the\nequation $a_1x_1 + \\cdots + a_kx_k = 0$ is not partition regular. Write $c(a_1, \\dots, a_k)$ for\nthe least number of colours required in order to colour $\\mathbb{N}$ so that there is no\nmonochromatic solution to $a_1x_1 + \\cdots + a_kx_k = 0$. Is $c(a_1, \\dots, a_k)$ bounded in\nterms of $k$ only?\n\nThis problem, which is known as Rado's boundedness conjecture, dates back to 1933 [Ra33]. It is\nopen for all $k \\geq 4$.",
  "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": "Green21.green_21",
  "statement_lean": "theorem green_21 : ∃ B : ℕ → ℕ, ∀ (k : ℕ) (a : Fin k → ℤ),\n    ¬ RadoCondition a → minColours a ≤ B k",
  "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 21\n\n*References:*\n- [Gr24] [Green, Ben. \"100 open problems.\" (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.21)\n- [Ra33] Rado, Richard, *Studien zur Kombinatorik*. Math. Zeit. 36 (1933), 424-480.\n- [FoKl06] Fox, Jacob and Kleitman, Daniel, *On Rado's boundedness conjecture*. J. Combin. Theory\n  Ser. A 113 (2006), no. 1, 84-100.\n- [ElJo23] Ellis, David and Johnson, Robert (editors), *A collection of open problems in\n  celebration of Imre Leader's 60th birthday*. arXiv preprint arXiv:2310.18163 (2023).\n-/\n\n@[expose] public section\n\nopen Finset\n\nnamespace Green21\n\n/--\nThe coefficients $a_1, \\dots, a_k$ satisfy **Rado's condition** if $\\sum_{i \\in I} a_i = 0$ for\nsome non-empty $I \\subseteq [k]$.\n\nFor a single homogeneous equation with $k > 0$ nonzero coefficients this is exactly the\ncriterion of Rado's theorem [Ra33]: $a_1x_1 + \\cdots + a_kx_k = 0$ is partition regular if and\nonly if the coefficients satisfy it. (With a zero coefficient the condition holds trivially, but\ne.g. $0 \\cdot x_1 + x_2 = 0$ has no solution in positive integers.)\n-/\ndef RadoCondition {k : ℕ} (a : Fin k → ℤ) : Prop :=\n  ∃ I : Finset (Fin k), I.Nonempty ∧ ∑ i ∈ I, a i = 0\n\n/--\n$c(a_1, \\dots, a_k)$, the least number of colours required in order to colour $\\mathbb{N}$ so\nthat there is no monochromatic solution to $a_1x_1 + \\cdots + a_kx_k = 0$.\n\nThe solutions $x_i$ are required to be *positive*, as in [FoKl06]: were $0$ admitted then\n$x_1 = \\cdots = x_k = 0$ would be a monochromatic solution for every colouring, and no number of\ncolours would ever suffice. The $x_i$ are not required to be distinct.\n\nWhen the coefficients do not satisfy `RadoCondition`, Rado's theorem [Ra33] guarantees that some\nfinite colouring has no monochromatic solution, so the set below is non-empty and this `sInf` is\na genuine minimum.\n-/\nnoncomputable def minColours {k : ℕ} (a : Fin k → ℤ) : ℕ :=\n  sInf {r | ∃ col : ℕ → Fin r, ∀ x : Fin k → ℕ, (∀ i, 0 < x i) →\n    (∀ i j, col (x i) = col (x j)) → ∑ i, a i * x i ≠ 0}\n\n/--\nSuppose that $a_1, \\dots, a_k$ are integers which do not satisfy Rado's condition: thus if\n$\\sum_{i \\in I} a_i = 0$ then $I = \\emptyset$. It then follows from Rado's theorem that the\nequation $a_1x_1 + \\cdots + a_kx_k = 0$ is not partition regular. Write $c(a_1, \\dots, a_k)$ for\nthe least number of colours required in order to colour $\\mathbb{N}$ so that there is no\nmonochromatic solution to $a_1x_1 + \\cdots + a_kx_k = 0$. Is $c(a_1, \\dots, a_k)$ bounded in\nterms of $k$ only?\n\nThis problem, which is known as Rado's boundedness conjecture, dates back to 1933 [Ra33]. It is\nopen for all $k \\geq 4$.\n-/\n@[category research open, question, AMS 5 11]\ntheorem green_21 : ∃ B : ℕ → ℕ, ∀ (k : ℕ) (a : Fin k → ℤ),\n    ¬ RadoCondition a → minColours a ≤ B k := by\n  sorry\n\n/--\nThe answer was shown to be affirmative for $k = 3$ by Fox and Kleitman [FoKl06], who showed that\n$c(a_1, a_2, a_3) \\leq 24$.\n-/\n@[category research solved, AMS 5 11]\ntheorem green_21.variants.fox_kleitman (a : Fin 3 → ℤ) (ha : ¬ RadoCondition a) :\n    minColours a ≤ 24 := by\n  sorry\n\ndef green_21.variants.fox_kleitman_sharp.answer : ℕ := sorry\n\n/--\nGreen [Gr24] is not sure that the constant $24$ of [FoKl06] is sharp, and remarks that it might\nbe interesting to determine the sharp constant.\n\nThe largest value of $c(a_1, a_2, a_3)$ is attained, since by `green_21.variants.fox_kleitman`\nthe values form a non-empty set of naturals bounded above by $24$.\n-/\n@[category research open, question value, AMS 5 11]\ntheorem green_21.variants.fox_kleitman_sharp :\n    IsGreatest {c | ∃ a : Fin 3 → ℤ, ¬ RadoCondition a ∧ minColours a = c}\n      green_21.variants.fox_kleitman_sharp.answer := by\n  sorry\n\n/--\nA question [FoKl06, Conjecture 5] of Fox and Kleitman, which they call a 'modular analogue' of\nRado's Boundedness Conjecture. Let $k > 0$, let $p$ be a prime, and suppose that\n$a_1, \\dots, a_k$ are integers with $\\sum_{i \\in I} a_i \\equiv 0 \\pmod p$ only when\n$I = \\emptyset$. Does there exist\nan $f(k)$-colouring of $(\\mathbb{Z}/p\\mathbb{Z})^*$ with no monochromatic solution to\n$a_1x_1 + \\cdots + a_kx_k = 0$? This seems to be open even when $k = 3$; Green [Gr24] suspects\nthe answer may be negative.\n\nThe point of the question is that the number of colours $f(k)$ must not depend on $p$.\n\nThe arity $k$ is required to be positive, as in [FoKl06]: for $k = 0$ the empty tuple is a\nmonochromatic solution with sum $0$ for every colouring, so no $f(0)$ could work.\n-/\n@[category research open, question, AMS 5 11]\ntheorem green_21.variants.fox_kleitman_modular : ∃ f : ℕ → ℕ,\n    ∀ (k p : ℕ), 0 < k → p.Prime → ∀ a : Fin k → ℤ,\n      (∀ I : Finset (Fin k), (p : ℤ) ∣ ∑ i ∈ I, a i → I = ∅) →\n      ∃ col : (ZMod p)ˣ → Fin (f k), ∀ x : Fin k → (ZMod p)ˣ,\n        (∀ i j, col (x i) = col (x j)) → ∑ i, (a i : ZMod p) * (x i : ZMod p) ≠ 0 := by\n  sorry\n\n/--\nThe largest $d \\leq r$ such that $\\sum_{i \\in I} a_i \\equiv 0 \\pmod{2^d}$ for some non-empty\nsubset $I \\subseteq [k]$, where $a_1, \\dots, a_k \\in \\mathbb{Z}/2^r\\mathbb{Z}$.\n\nCongruence mod $2^d$ of an element of $\\mathbb{Z}/2^r\\mathbb{Z}$ is expressed through its\ncanonical representative `ZMod.val`; this is unambiguous because $d$ is capped at $r$.\n-/\nnoncomputable def maxDepth {k r : ℕ} (a : Fin k → ZMod (2 ^ r)) : ℕ :=\n  sSup {d | d ≤ r ∧ ∃ I : Finset (Fin k), I.Nonempty ∧ 2 ^ d ∣ (∑ i ∈ I, a i).val}\n\n/--\nMilićević [ElJo23, Conjecture 11.1] conjectures the following 2-adic variant. For any\n$k \\in \\mathbb{N}$, there exists $K = K(k)$ such that the following is true. Let $r$ be a\npositive integer, and let $a_1, \\dots, a_k \\in \\mathbb{Z}/2^r\\mathbb{Z}$. Let $d$ be the largest\ninteger such that $\\sum_{i \\in I} a_i \\equiv 0 \\pmod{2^d}$ for some non-empty subset\n$I \\subset [k]$. Then there is a $K$-colouring of $\\mathbb{Z}/2^r\\mathbb{Z}$ such that all\nmonochromatic solutions $x = (x_1, \\dots, x_k)$ to the equation\n$a_1x_1 + \\cdots + a_kx_k = 0$ satisfy $x_i \\equiv 0 \\pmod{2^{r-d}}$ for all $i = 1, \\dots, k$.\n\nMilićević remarks that, if true, this would imply the Rado boundedness conjecture by a\ncompactness argument.\n-/\n@[category research open, AMS 5 11]\ntheorem green_21.variants.milicevic : ∀ k : ℕ, ∃ K : ℕ, ∀ r : ℕ, 0 < r →\n    ∀ a : Fin k → ZMod (2 ^ r), ∃ col : ZMod (2 ^ r) → Fin K,\n      ∀ x : Fin k → ZMod (2 ^ r), (∀ i j, col (x i) = col (x j)) →\n        ∑ i, a i * x i = 0 → ∀ i, 2 ^ (r - maxDepth a) ∣ (x i).val := by\n  sorry\n\n/--\nNot satisfying `RadoCondition` is Green's phrasing \"if $\\sum_{i \\in I} a_i = 0$ then\n$I = \\emptyset$\".\n-/\n@[category test, AMS 5 11]\ntheorem not_radoCondition_iff {k : ℕ} (a : Fin k → ℤ) :\n    ¬ RadoCondition a ↔ ∀ I : Finset (Fin k), ∑ i ∈ I, a i = 0 → I = ∅ := by\n  simp only [RadoCondition, not_exists, not_and, Finset.nonempty_iff_ne_empty]\n  exact ⟨fun h I hI => by_contra fun hne => h I hne hI, fun h I hne hI => hne (h I hI)⟩\n\n/--\nA tuple failing `RadoCondition` has no zero coefficient, since a singleton is a non-empty subset.\n-/\n@[category test, AMS 5 11]\ntheorem ne_zero_of_not_radoCondition {k : ℕ} {a : Fin k → ℤ} (ha : ¬ RadoCondition a) (i : Fin k) :\n    a i ≠ 0 := fun h => ha ⟨{i}, Finset.singleton_nonempty i, by simpa using h⟩\n\n/--\nIn the degenerate case $k = 0$ the equation reads $0 = 0$, so the empty tuple is a monochromatic\nsolution for every colouring and `minColours` takes its junk value `0`. The bound asserted by\n`green_21` is therefore vacuously satisfied at $k = 0$, and the content of the problem is\nunaffected.\n-/\n@[category test, AMS 5 11]\ntheorem minColours_eq_zero (a : Fin 0 → ℤ) : minColours a = 0 := by\n  have : {r | ∃ col : ℕ → Fin r, ∀ x : Fin 0 → ℕ, (∀ i, 0 < x i) →\n      (∀ i j, col (x i) = col (x j)) → ∑ i, a i * x i ≠ 0} = ∅ := by\n    ext r\n    simp only [Set.mem_ofPred_eq, Set.mem_empty_iff_false, iff_false, not_exists]\n    exact fun col h => h (fun i => i.elim0) (fun i => i.elim0) (fun i => i.elim0) (by simp)\n  rw [minColours, this, Nat.sInf_empty]\n\n/--\nA case where the infimum defining `minColours` is a genuine minimum rather than the junk value of\n`sInf ∅`. The coefficients $(1, 1, 1)$ fail `RadoCondition`, and since the $x_i$ are positive the\nequation $x_1 + x_2 + x_3 = 0$ has no solutions at all, so a single colour suffices; no colouring\nof $\\mathbb{N}$ into `Fin 0` exists, so $0$ is not attainable.\n-/\n@[category test, AMS 5 11]\ntheorem minColours_ones : minColours ![(1 : ℤ), 1, 1] = 1 := by\n  have h1 : 1 ∈ {r | ∃ col : ℕ → Fin r, ∀ x : Fin 3 → ℕ, (∀ i, 0 < x i) →\n      (∀ i j, col (x i) = col (x j)) → ∑ i, (![(1 : ℤ), 1, 1]) i * x i ≠ 0} := by\n    refine ⟨fun _ => 0, fun x hx _ => ?_⟩\n    have h0 := hx 0\n    have h1 := hx 1\n    have h2 := hx 2\n    simp only [Fin.sum_univ_three, Matrix.cons_val_zero, Matrix.cons_val_one, Matrix.head_cons,\n      Matrix.cons_val_two, Matrix.tail_cons, one_mul]\n    omega\n  have h0 : 0 ∉ {r | ∃ col : ℕ → Fin r, ∀ x : Fin 3 → ℕ, (∀ i, 0 < x i) →\n      (∀ i j, col (x i) = col (x j)) → ∑ i, (![(1 : ℤ), 1, 1]) i * x i ≠ 0} := by\n    rintro ⟨col, -⟩\n    exact (col 0).elim0\n  rw [minColours]\n  exact le_antisymm (Nat.sInf_le h1) (Nat.one_le_iff_ne_zero.2 fun h =>\n    h0 ((Nat.sInf_eq_zero.mp h).resolve_right (Set.nonempty_iff_ne_empty.mp ⟨1, h1⟩)))\n\nend Green21\n",
  "statement_hash": "295819be9fab903e1c3b5292590cbbbaf393d8340568e01ff310dba52bf93f26",
  "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."
}