Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 303

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Is it true that in any finite colouring of the integers there exists a monochromatic solution to 1a=1b+1c\frac 1 a = \frac 1 b + \frac 1 c with distinct a,b,ca, b, c?

This is true, as proved by Brown and Rödl [BrRo91].

This was formalized in Lean by Yuan using Seed-Prover.

Subjects:Combinatorics (math.CO); Number Theory (math.NT)
MSC classes:05, 11
Tags:question, formal_proof
Cite as:NS.01625 [math.CO] · NS.01625v1 for this version
Declaration:Erdos303.erdos_303
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:06a603a9b34912bde5882e0efd00492f5120977511fcf081ca6c808c36e7e61e
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/303.lean

Formal statement

theorem erdos_303 :
    -- For any finite colouring of the integers
    ∀ (𝓒 : ℤ → ℤ), (Set.range 𝓒).Finite →
      -- There exists integers `a, b, c`
      ∃ (a b c : ℤ),
      -- that are non-zero and distinct.
      [a, b, c, 0].Nodup ∧
      -- `a, b, c` satisfy the equation
      (1/a : ℝ) = 1/b + 1/c ∧
      -- `a, b, c` have the same color
      (𝓒 '' {a, b, c}).Subsingleton
Show the full Challenge.lean (57 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 303

*References:*
- [erdosproblems.com/303](https://www.erdosproblems.com/303)
- [BrRo91] Brown, Tom C. and Rödl, Voijtech, Monochromatic solutions to equations with unit
  fractions. Bull. Austral. Math. Soc. (1991), 387-392.
-/

@[expose] public section

namespace Erdos303

set_option linter.style.formal_proof_palomar false in
/--
Is it true that in any finite colouring of the integers there exists a monochromatic solution
to $\frac 1 a = \frac 1 b + \frac 1 c$ with distinct $a, b, c$?

This is true, as proved by Brown and Rödl [BrRo91].

This was formalized in Lean by Yuan using Seed-Prover.
-/
@[category research solved, question, AMS 5 11, formal_proof using lean4 at "https://www.erdosproblems.com/forum/thread/303"]
theorem erdos_303 :
    -- For any finite colouring of the integers
    ∀ (𝓒 : ℤ → ℤ), (Set.range 𝓒).Finite →
      -- There exists integers `a, b, c`
      ∃ (a b c : ℤ),
      -- that are non-zero and distinct.
      [a, b, c, 0].Nodup ∧
      -- `a, b, c` satisfy the equation
      (1/a : ℝ) = 1/b + 1/c ∧
      -- `a, b, c` have the same color
      (𝓒 '' {a, b, c}).Subsingleton := by
  sorry

end Erdos303

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos303.erdos_303 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_303 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-303
nosorry submit erdos-303 nosorry/erdos-303/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.