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 847

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.02563 (2026-01-19); no independent check recorded on aiXiv. · erdosproblems.com: disproved (Lean) (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. disproves For any 0<μ<1/20<\mu<1/2 there is A⊆NA\subseteq\mathbb{N} such that every finite colouring of AA has a monochromatic three-term arithmetic progression, yet every nn-element subset of AA contains a 3-AP-free subset of size ≥μn\ge\mu n. So AA need not be a finite union of 3-AP-free sets (Reiher, Rödl and Sales). — aiXiv:2609.02563, 2026-01-19 · 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:

Let A⊂NA \subset \mathbb{N} be an infinite set for which there exists some ϵ>0\epsilon > 0 such that in any subset of AA of size nn there is a subset of size at least ϵn\epsilon n which contains no three-term arithmetic progression.

Is it true that AA is the union of a finite number of sets which contain no three-term arithmetic progression?

A negative answer was given by Reiher, Rödl, and Sales [RRS24], who proved that, for any 0<μ<1/20<\mu<1/2, there exists A⊆NA\subseteq \mathbb{N} such that every finite colouring of AA contains a three-term arithmetic progression, and yet every subset of AA of size nn contains a subset of size ≥μn\geq \mu n without a three-term arithmetic progression.

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

Formal statement

theorem erdos_847 : ¬ ∀ (A : Set ℕ), Infinite A → HasFew3APs A →
    ∃ n, ∃ (S : Fin n → Set ℕ), (∀ i, ThreeAPFree (S i)) ∧ A = ⋃ i : Fin n, S i
Show the full Challenge.lean (62 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 847

*References:*
- [erdosproblems.com/847](https://www.erdosproblems.com/847)
- [RRS24] Reiher, Christian and R\"odl, Vojt\v ech and Sales, Marcelo, Colouring versus density in integers and {H}ales-{J}ewett cubes. J. Lond. Math. Soc. (2) (2024)
  [arXiv:2311.08556](https://arxiv.org/abs/2311.08556)
-/

@[expose] public section

namespace Erdos847

/--
`HasFew3APs A` means that $A \subset \mathbb{N}$ is a set for which there exists some $\epsilon > 0$ such that
in any subset of $A$ of size $n$ there is a subset of size at least $\epsilon n$ which contains no
three-term arithmetic progression.
-/
def HasFew3APs (A : Set ℕ) := ∃ (ε : ℝ), ε > 0 ∧ ∀ (B : Set ℕ), B ⊆ A → Finite B →
  ∃ (C : Set ℕ), C ⊆ B ∧ C.ncard ≥ ε * B.ncard ∧ ThreeAPFree C

set_option linter.style.formal_proof_palomar false in
/--
Let $A \subset \mathbb{N}$ be an infinite set for which there exists some $\epsilon > 0$ such that
in any subset of $A$ of size $n$ there is a subset of size at least $\epsilon n$ which contains no
three-term arithmetic progression.

Is it true that $A$ is the union of a finite number of sets which contain no three-term arithmetic
progression?

A negative answer was given by Reiher, Rödl, and Sales [RRS24], who proved that, for any
$0<\mu<1/2$, there exists $A\subseteq \mathbb{N}$ such that every finite colouring of $A$ contains
a three-term arithmetic progression, and yet every subset of $A$ of size $n$ contains a subset of
size $\geq \mu n$ without a three-term arithmetic progression.
-/
@[category research solved, question, AMS 11,
  formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/dfe2d78128b493c572cf525b1b8edf4897fb7664/src/latest/ErdosProblems/Erdos847.lean#L113"]
theorem erdos_847 : ¬ ∀ (A : Set ℕ), Infinite A → HasFew3APs A →
    ∃ n, ∃ (S : Fin n → Set ℕ), (∀ i, ThreeAPFree (S i)) ∧ A = ⋃ i : Fin n, S i := by
  sorry

end Erdos847

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

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