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 139

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

Erdős Problem 139: Let rk(N)r_k(N) be the size of the largest subset of 1,...,N{1,...,N} which does not contain a non-trivial kk-term arithmetic progression. Prove that rk(N)=o(N)r_k(N) = o(N).

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

Formal statement

theorem erdos_139 (k : ℕ) (hk : 1 < k) :
    Filter.Tendsto (fun N => (r k N / N : ℝ)) Filter.atTop (𝓝 0)
Show the full Challenge.lean (52 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 139

*Reference:* [erdosproblems.com/139](https://www.erdosproblems.com/139)
-/

@[expose] public section


open scoped Topology

namespace Erdos139

noncomputable abbrev r := Set.IsAPOfLengthFree.maxCard

set_option linter.style.formal_proof_palomar false in
/--
**Erdős Problem 139**:
Let $r_k(N)$ be the size of the largest subset of ${1,...,N}$ which does not contain a non-trivial
$k$-term arithmetic progression. Prove that $r_k(N) = o(N)$.
-/
@[category research solved, AMS 5 11, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos139.lean#L36"]
theorem erdos_139 (k : ℕ) (hk : 1 < k) :
    Filter.Tendsto (fun N => (r k N / N : ℝ)) Filter.atTop (𝓝 0) := by
  sorry

/-
TODO(lezeau): add the various known bounds as variants.
-/

end Erdos139

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

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