Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 965

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: claimed solved — Claimed disproved in aiXiv:2609.02549 (2026-01-02); no independent check recorded on aiXiv. · erdosproblems.com: disproved (Lean) (a claim recorded elsewhere, not verified on nosorry)
2 results recorded on aiXiv
  1. disproves In ZFC there is a 2-colouring of R\mathbb{R} such that no set A⊆RA\subseteq\mathbb{R} with ∣A∣=ℵ1|A|=\aleph_1 has all sums a+ba+b (a≠b∈Aa\neq b\in A) of one colour. More generally, for every k≥1k\ge1 there is a 2-colouring of R\mathbb{R} under which, for every uncountable AA, the sums of kk distinct elements of AA are not monochromatic. — aiXiv:2609.02549, 2026-01-02 · claimed by its authors; no independent check recorded on aiXiv
  2. conditional Assuming the continuum hypothesis, for every k≥1k\ge1 there is a 2-colouring of R\mathbb{R} such that for every uncountable A⊆RA\subseteq\mathbb{R} the set of sums a1+⋯+aka_1+\cdots+a_k of distinct elements of AA is not monochromatic (Hindman–Leader–Strauss). — aiXiv:2609.02549, 2026-01-02 · claimed by its authors; no independent check recorded on aiXiv

From aixiv.online, an open archive of AI-assisted research, synced daily. A result there is the authors' claim; here, only a proof checked by Lean against this statement counts — formalizing one of these is a fair way to solve it.

Statement:

Erdős asks in [Er75b] if for every 2-coloring of ℝ, there is an uncountable set A⊆RA ⊆ ℝ such that all sums a+ba + b for a,b∈A,a≠ba, b ∈ A, a ≠ b have the same colour.

In [Ko16] Péter Komjáth constructed a counterexample. The same result was proven independently in [SWCol] by Sokoup and Weiss.

Subjects:Logic (math.LO); Combinatorics (math.CO)
MSC classes:03, 05
Tags:question, formal_proof
Cite as:NS.03793 [math.LO] · NS.03793v1 for this version
Declaration:Erdos965.erdos_965
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:eca3b31ad90f8c4fd6739aa0458089dcbc4ffe25219a6c97f15e0f427e90b515
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/965.lean

Formal statement

theorem erdos_965 :
    ¬ ∀ f : ℝ → Fin 2, ∃ A : Set ℝ, ¬ A.Countable ∧
      ∀ᵉ (a ∈ A) (b ∈ A) (c ∈ A) (d ∈ A), a ≠ b → c ≠ d → f (a + b) = f (c + d)
Show the full Challenge.lean (68 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 965

For every 2-coloring of ℝ, is there an uncountable set $A ⊆ ℝ$ such that
all sums $a + b$ for $a, b ∈ A, a ≠ b$ have the same colour?

*References:*
- [erdosproblems.com/965](https://www.erdosproblems.com/965)
- [Er75b] Erdős, Paul, Problems and results in combinatorial number theory. Journées Arithmétiques de Bordeaux (Conf., Univ. Bordeaux, Bordeaux, 1974) (1975), 295-310.
- [HLS17] Hindman, Neil and Leader, Imre and Strauss, Dona, Pairwise sums in colourings of the reals. Abh. Math. Semin. Univ. Hambg. (2017), 275--287.
- [Ko16] Komjáth, Péter, A certain 2-coloring of the reals. Real Anal. Exchange (2016), 227--231.
- [SWCol] Sokoup Dániel and Weiss, William, Sums and Anti-Ramsey Colourings of ℝ. https://danieltsoukup.github.io/academic/finset_colouring.pdf
-/

@[expose] public section

namespace Erdos965

set_option linter.style.formal_proof_palomar false in
/--
Erdős asks in [Er75b] if for every 2-coloring of ℝ, there is an uncountable set $A ⊆ ℝ$ such that
all sums $a + b$ for $a, b ∈ A, a ≠ b$ have the same colour.

In [Ko16] Péter Komjáth constructed a counterexample.
The same result was proven independently in [SWCol] by Sokoup and Weiss.
-/
@[category research solved, question, AMS 3 5,
  formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/dfe2d78128b493c572cf525b1b8edf4897fb7664/src/latest/ErdosProblems/Erdos965.lean#L42"]
theorem erdos_965 :
    ¬ ∀ f : ℝ → Fin 2, ∃ A : Set ℝ, ¬ A.Countable ∧
      ∀ᵉ (a ∈ A) (b ∈ A) (c ∈ A) (d ∈ A), a ≠ b → c ≠ d → f (a + b) = f (c + d) := by
  sorry

/--
For every 2-coloring of ℝ, is there some $k ≥ 2$ and an uncountable set $A ⊆ ℝ$ such that all
sums $a_1 + \cdots + a_k$ of $k$ distinct elements of $A$ have the same colour?

In fact, in both [Ko16] and [SWCol] a single 2-coloring of ℝ is constructed such that for every
$k ≥ 2$ and every uncountable $A ⊆ ℝ$ the sums of $k$ distinct elements of $A$ are not
monochromatic.
-/
@[category research solved, question, AMS 3 5]
theorem erdos_965.variants.generalization :
    ¬ ∀ f : ℝ → Fin 2, ∃ k ≥ 2, ∃ A : Set ℝ, ¬ A.Countable ∧ ∀ s t : Finset ℝ,
      ↑s ⊆ A → ↑t ⊆ A → s.card = k → t.card = k → f (s.sum id) = f (t.sum id) := by
  sorry

end Erdos965

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

nosorry fetch erdos-965
nosorry submit erdos-965 nosorry/erdos-965/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.