Title:Erdős Problem 1069
Statement:Given any points in , the number of -rich lines (lines which contain of the points) is, provided ,
Erdős [Er87b] describes this as a conjecture of himself, Croft, and Purdy. It was proved by Szemerédi and Trotter [SzTr83]. We take , since for there are infinitely many -rich lines.
| Subjects: | Combinatorics (math.CO); Metric Geometry (math.MG) |
| MSC classes: | 05, 52 |
| Cite as: | NS.00558 [math.CO] · NS.00558v1 for this version |
| Declaration: | Erdos1069.erdos_1069 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 8ed69dffa536d3e2b9f87c63024065fb8d9b9d5ccdef3671c81b5a45754ae748 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/1069.lean |
Formal statement
theorem erdos_1069 :
∃ C : ℝ, 0 < C ∧ ∀ (n k : ℕ) (s : Finset ℝ²), s.card = n → 2 ≤ k →
(k : ℝ) ≤ Real.sqrt n →
((richLines s k).ncard : ℝ) ≤ C * (n : ℝ) ^ 2 / (k : ℝ) ^ 3Show the full Challenge.lean (80 lines) — definitions included
module
public import FormalConjecturesUtil
public import FormalConjectures.ErdosProblems.«211»
/-!
# Erdős Problem 1069
*References:*
- [erdosproblems.com/1069](https://www.erdosproblems.com/1069)
- [Er87b] Erdős, P., *Some combinatorial and metric problems in geometry*. Intuitive geometry
(Siófok, 1985) (1987), 167-177.
- [Sa87] Sah, C.-H., *The rich line problem of P. Erdős*. (1987), 123-125.
- [SzTr83] Szemerédi, E. and Trotter, Jr., W. T., *Extremal problems in discrete geometry*.
Combinatorica (1983), 381-392.
-/
@[expose] public section
open EuclideanGeometry
namespace Erdos1069
/-- The $k$-rich lines of a finite set `s` of points in the plane: the lines of `ℝ²` which
contain at least $k$ points of `s`. -/
def richLines (s : Finset ℝ²) (k : ℕ) : Set (AffineSubspace ℝ ℝ²) :=
{L | IsLine L ∧ k ≤ ((s : Set ℝ²) ∩ (L : Set ℝ²)).ncard}
/-- For $k \geq 2$ there are only finitely many $k$-rich lines, since each is spanned by two of
the points, so `Set.ncard` counts them. -/
@[category API, AMS 5 52]
theorem richLines_finite (s : Finset ℝ²) {k : ℕ} (hk : 2 ≤ k) : (richLines s k).Finite := by
refine (Erdos211.determinedLines s).finite_toSet.subset ?_
rintro L ⟨hL, hcard⟩
exact Finset.mem_coe.2 (Erdos211.determinedLines_eq.2 ⟨hL, hk.trans hcard⟩)
/--
Given any $n$ points in $\mathbb{R}^2$, the number of $k$-rich lines (lines which contain
$\geq k$ of the points) is, provided $k\leq n^{1/2}$,
$$\ll \frac{n^2}{k^3}.$$
Erdős [Er87b] describes this as a conjecture of himself, Croft, and Purdy. It was proved by
Szemerédi and Trotter [SzTr83]. We take $k \geq 2$, since for $k \leq 1$ there are infinitely
many $k$-rich lines.
-/
@[category research solved, AMS 5 52]
theorem erdos_1069 :
∃ C : ℝ, 0 < C ∧ ∀ (n k : ℕ) (s : Finset ℝ²), s.card = n → 2 ≤ k →
(k : ℝ) ≤ Real.sqrt n →
((richLines s k).ncard : ℝ) ≤ C * (n : ℝ) ^ 2 / (k : ℝ) ^ 3 := by
sorry
/--
When $k=n^{1/2}$ the lattice points show that there can be $\geq(2+o(1))n^{1/2}$ many
$n^{1/2}$-rich lines: for $n=m^2$ the $m\times m$ grid has $2m$ lines with $m$ points each.
Erdős thought that perhaps this is best possible, but Sah [Sa87] gave a construction achieving
$\geq (3+o(1))n^{1/2}$ many $n^{1/2}$-rich lines.
-/
@[category textbook, AMS 5 52]
theorem erdos_1069.variants.lattice (m : ℕ) (hm : 2 ≤ m) :
∃ s : Finset ℝ², s.card = m ^ 2 ∧ 2 * m ≤ (richLines s m).ncard := by
sorry
end Erdos1069
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos1069.erdos_1069 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_1069 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-1069 nosorry submit erdos-1069 nosorry/erdos-1069/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-1069-variants-lattice — textbook
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.