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 105

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: related results only — No resolution or quantitative progress on record; related results below. · erdosproblems.com: disproved (Lean) (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. Lean formalization Machine-checked disproofs of a variant of Erdős Problem #105 (the case ∣A∣=∣B∣+4|A|=|B|+4 is false) and of TxGraffiti conjectures 2 and 3. Conjecture 2, Z(G)≤α(G)+1Z(G)\le\alpha(G)+1, fails for a 24-vertex graph. Conjecture 3, i(G)≤μ∗(G)i(G)\le\mu^*(G), fails for a 3-regular graph on 48 vertices. — aiXiv:2610.03026, 2026-10-28 · 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,B⊂R2A,B\subset \mathbb{R}^2 be disjoint sets of size nn and n−3n-3 respectively, with not all of AA contained on a single line. Is there a line which contains at least two points from AA and no points from BB?

This has been disproved by Xichuan in the comments, who has found three explicit counterexamples.

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

Formal statement

theorem erdos_105 :
    ¬ ∀ A B : Finset ℝ², Disjoint A B → A.card = B.card + 3 →
      ¬ Collinear ℝ (A : Set ℝ²) →
      ∃ p ∈ A, ∃ q ∈ A, p ≠ q ∧ ∀ b ∈ B, b ∉ line[ℝ, p, q]
Show the full Challenge.lean (93 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 105

*References:*
- [erdosproblems.com/105](https://www.erdosproblems.com/105)
- [Be83] Beck, József, *On the lattice property of the plane and some problems of Dirac, Motzkin
  and Erdős in combinatorial geometry*. Combinatorica (1983), 281-297.
- [ErPu95] Erdős, P. and Purdy, G., *Two combinatorial problems in the plane*. Discrete Comput.
  Geom. (1995), 441-443.
- [SzTr83] Szemerédi, Endre and Trotter, Jr., William T., *Extremal problems in discrete
  geometry*. Combinatorica (1983), 381-392.
-/

@[expose] public section

open EuclideanGeometry

namespace Erdos105

set_option linter.style.formal_proof_palomar false in
/--
Let $A,B\subset \mathbb{R}^2$ be disjoint sets of size $n$ and $n-3$ respectively, with not all
of $A$ contained on a single line. Is there a line which contains at least two points from $A$
and no points from $B$?

This has been disproved by Xichuan in the comments, who has found three explicit
counterexamples.
-/
@[category research solved, question, AMS 5 52, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos105.lean"]
theorem erdos_105 :
    ¬ ∀ A B : Finset ℝ², Disjoint A B → A.card = B.card + 3 →
      ¬ Collinear ℝ (A : Set ℝ²) →
      ∃ p ∈ A, ∃ q ∈ A, p ≠ q ∧ ∀ b ∈ B, b ∉ line[ℝ, p, q] := by
  sorry

/--
A construction of Hickerson shows that this fails with $n-2$.
-/
@[category research solved, AMS 5 52]
theorem erdos_105.variants.hickerson : ¬ ∀ A B : Finset ℝ², Disjoint A B →
    A.card = B.card + 2 → ¬ Collinear ℝ (A : Set ℝ²) →
    ∃ p ∈ A, ∃ q ∈ A, p ≠ q ∧ ∀ b ∈ B, b ∉ line[ℝ, p, q] := by
  sorry

/--
A result independently proved by Beck [Be83] and Szemerédi and Trotter [SzTr83] (see [211])
implies it is true with $n-3$ replaced by $cn$ for some constant $c>0$.
-/
@[category research solved, AMS 5 52]
theorem erdos_105.variants.beck_szemeredi_trotter : ∃ c > (0 : ℝ),
    ∀ A B : Finset ℝ², Disjoint A B → (B.card : ℝ) ≤ c * A.card →
      ¬ Collinear ℝ (A : Set ℝ²) →
      ∃ p ∈ A, ∃ q ∈ A, p ≠ q ∧ ∀ b ∈ B, b ∉ line[ℝ, p, q] := by
  sorry

set_option linter.style.formal_proof_palomar false in
/--
It remains possible that this holds with $n-4$ (or in general with $n-O(1)$ or $(1-o(1))n$).

This fails with $n-4$ as well: Core_65536 gives an explicit counterexample in the
[forum](https://www.erdosproblems.com/forum/thread/105#post-8033) (24 July 2026), with $|A| = 10$
and $|B| = 6$ and integer coordinates, in which every line through two points of $A$ contains a
point of $B$. The incidences have been verified in Lean.
-/
@[category research solved, question, AMS 5 52, formal_proof using lean4 at
  "https://github.com/kusasyu36/erdos105-sub-four/blob/a2d073034d2d15af216d8bd71771f1eda13b3de3/Erdos105SubFour.lean#L93"]
theorem erdos_105.variants.sub_four :
    ¬ ∀ A B : Finset ℝ², Disjoint A B → A.card = B.card + 4 →
      ¬ Collinear ℝ (A : Set ℝ²) →
      ∃ p ∈ A, ∃ q ∈ A, p ≠ q ∧ ∀ b ∈ B, b ∉ line[ℝ, p, q] := by
  sorry

end Erdos105

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

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