Title:Green's Open Problem 23
Statement:Suppose that is finitely coloured. Are there of the same colour such that $x^2 + y^2$ is a square?
Solved in [FrKlMo25].
| Subjects: | Combinatorics (math.CO); Number Theory (math.NT) |
| MSC classes: | 05, 11 |
| Tags: | question |
| Cite as: | NS.04002 [math.CO] · NS.04002v1 for this version |
| Declaration: | Green23.green_23 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 5840d5530c36f0fa413de328c147a880228015d0fad3feba55162201e1e009c7 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/GreensOpenProblems/23.lean |
Formal statement
theorem green_23 :
-- For every finite colouring of the natural numbers
∀ (k : ℕ) (c : ℕ → Fin k),
-- there exist two numbers of the same colour whose squares sum to a square
∃ x y : ℕ,
0 < x ∧ 0 < y ∧ -- Exclude trivial x^2 + 0^2 = x^2 solution
c x = c y ∧ -- Same colour
IsSquare (x^2 + y^2)Show the full Challenge.lean (51 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Green's Open Problem 23
References:
- [Green, Ben. "100 open problems." (2024).](https://people.maths.ox.ac.uk/greenbj/papers/open-problems.pdf#problem.23)
- [FrKlMo25] Frantzikinakis, N., O. Klurman, and J. Moreira. "Partition regularity of Pythagorean pairs." Forum of Mathematics, Pi 13. Cambridge University Press (2025).
-/
@[expose] public section
namespace Green23
/--
Suppose that $\mathbb{N}$ is finitely coloured. Are there $x,y$ of the same colour such that $x^2 +
y^2$ is a square?
Solved in [FrKlMo25].
-/
@[category research solved, question, AMS 5 11]
theorem green_23 :
-- For every finite colouring of the natural numbers
∀ (k : ℕ) (c : ℕ → Fin k),
-- there exist two numbers of the same colour whose squares sum to a square
∃ x y : ℕ,
0 < x ∧ 0 < y ∧ -- Exclude trivial x^2 + 0^2 = x^2 solution
c x = c y ∧ -- Same colour
IsSquare (x^2 + y^2)
:= by
sorry
end Green23
To prove it: keep every definition of Challenge.lean unchanged and prove Green23.green_23 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_green_23 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch green-23 nosorry submit green-23 nosorry/green-23/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.