FormalConjectures/GreensOpenProblems/23.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1

1 declarations, 1 contain sorry, 0 declared as axioms

Green's Open Problem 23

References:

Imports (1)
  1. theorem Green23.green_23 Suppose that $\mathbb{N}$ is finitely coloured sorry line 39 source

    Source documentation

    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].

    depends on sorry what this means

    Statement uses: Iff, True, Nat, Fin, Exists, And, LT.lt, OfNat.ofNat, Eq, IsSquare, HAdd.hAdd, HPow.hPow

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    18 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem green_23 :
      answer(True) ↔
        -- 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
    …

    Mentions: c