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 171

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 for every ϵ>0\epsilon>0 and integer t≥1t\geq 1, if NN is sufficiently large and AA is a subset of [t]N[t]^N of size at least ϵtN\epsilon t^N then AA must contain a combinatorial line PP (a set P={p1,…,pt}P=\{p_1,\ldots,p_t\} where for each coordinate 1≤j≤t1\leq j\leq t the jjth coordinate of pip_i is either ii or constant).

The 'density Hales-Jewett' problem. This was proved by Furstenberg and Katznelson [FuKa91]. A new elementary proof, which gives quantitative bounds, was proved by the Polymath project [Po12].

Combinatorial lines are Mathlib's Combinatorics.Line (Fin t) (Fin N) (which have at least one non-constant coordinate).

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

Formal statement

theorem erdos_171 : ∀ ε : ℝ, 0 < ε → ∀ t : ℕ, 1 ≤ t → ∀ᶠ N : ℕ in atTop,
    ∀ A : Finset (Fin N → Fin t), ε * t ^ N ≤ A.card →
      ∃ l : Combinatorics.Line (Fin t) (Fin N), ∀ i : Fin t, l i ∈ A
Show the full Challenge.lean (63 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 171

*References:*
- [erdosproblems.com/171](https://www.erdosproblems.com/171)
- [ErGr79] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory: van der Waerden's theorem and related topics*. Enseign. Math. (1979), 325-344.
- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number
  theory*. Monographies de L'Enseignement Mathematique (1980).
- [FuKa91] Furstenberg, H. and Katznelson, Y., *A density version of the Hales-Jewett Theorem*.
  Journal d'Analyse Mathématique (1991), 64-119.
- [Po12] Polymath, D. H. J., *A new proof of the density Hales–Jewett theorem*. Ann. Math.
  (2012), 1283-1327.
-/

@[expose] public section

open Filter

namespace Erdos171

set_option linter.style.formal_proof_palomar false in
/--
Is it true that for every $\epsilon>0$ and integer $t\geq 1$, if $N$ is sufficiently large and
$A$ is a subset of $[t]^N$ of size at least $\epsilon t^N$ then $A$ must contain a combinatorial
line $P$ (a set $P=\{p_1,\ldots,p_t\}$ where for each coordinate $1\leq j\leq t$ the $j$th
coordinate of $p_i$ is either $i$ or constant).

The 'density Hales-Jewett' problem. This was proved by Furstenberg and Katznelson [FuKa91]. A
new elementary proof, which gives quantitative bounds, was proved by the Polymath project
[Po12].

Combinatorial lines are Mathlib's `Combinatorics.Line (Fin t) (Fin N)` (which have at least one
non-constant coordinate).
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos171.lean#L42"]
theorem erdos_171 : ∀ ε : ℝ, 0 < ε → ∀ t : ℕ, 1 ≤ t → ∀ᶠ N : ℕ in atTop,
    ∀ A : Finset (Fin N → Fin t), ε * t ^ N ≤ A.card →
      ∃ l : Combinatorics.Line (Fin t) (Fin N), ∀ i : Fin t, l i ∈ A := by
  sorry

end Erdos171

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

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