Title:Erdős Problem 214
Statement:Let be such that no two points in are distance apart. Must the complement of contain four points which form a unit square?
The answer is yes, proved by Juhász [Ju79], who proved more generally that the complement of must contain a congruent copy of any set of four points.
| Subjects: | Combinatorics (math.CO); Metric Geometry (math.MG) |
| MSC classes: | 05, 52 |
| Tags: | question, formal_proof |
| Cite as: | NS.01360 [math.CO] · NS.01360v1 for this version |
| Declaration: | Erdos214.erdos_214 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60 |
| Statement hash: | 3eff04822e7acff24a4286bdc07dd5d40980074bfefd68bf5146a0f151e23fe2 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/214.lean |
Formal statement
theorem erdos_214 :
∀ S : Set ℝ², UnitDistanceAvoiding S →
∃ p : Fin 4 → ℝ², (∀ i, p i ∈ Sᶜ) ∧ (p ≅ unitSquare)Show the full Challenge.lean (109 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 214
*References:*
- [erdosproblems.com/214](https://www.erdosproblems.com/214)
- [CsTo94] Csizmadia, György and Tóth, Géza, *Note on a Ramsey-type problem in geometry*.
J. Combin. Theory Ser. A (1994), 302-306.
- [EGMRSS75] Erdős, P. and Graham, R. L. and Montgomery, P. and Rothschild, B. L. and Spencer, J.
and Straus, E. G., *Euclidean Ramsey theorems. II*. (1975), 529-557.
- [Ju79] Juhász, Rozália, *Ramsey type theorems in the plane*. J. Combin. Theory Ser. A (1979),
152-160.
-/
@[expose] public section
open scoped Congruent EuclideanGeometry
namespace Erdos214
/-- The four vertices of a unit square. -/
def unitSquare : Fin 4 → ℝ² := ![!₂[0, 0], !₂[1, 0], !₂[1, 1], !₂[0, 1]]
/-- Colouring the points of `S` blue and the points of `Sᶜ` red gives a red/blue colouring of
$\mathbb{R}^2$; it is unit-distance-avoiding if no two blue points are distance $1$ apart. -/
def UnitDistanceAvoiding (S : Set ℝ²) : Prop := ∀ x ∈ S, ∀ y ∈ S, dist x y ≠ 1
/-- Any unit-distance-avoiding colouring contains a congruent red copy of every set of `n`
points. -/
def HasRedCopies (n : ℕ) : Prop :=
∀ S : Set ℝ², UnitDistanceAvoiding S → ∀ K : Fin n → ℝ², Function.Injective K →
∃ p : Fin n → ℝ², (∀ i, p i ∈ Sᶜ) ∧ (p ≅ K)
/-- The largest integer `k` such that any unit-distance-avoiding colouring contains a congruent
red copy of every set of `k` points. -/
noncomputable def k : ℕ := sSup {n | HasRedCopies n}
set_option linter.style.formal_proof_palomar false in
/--
Let $S\subset \mathbb{R}^2$ be such that no two points in $S$ are distance $1$ apart. Must the
complement of $S$ contain four points which form a unit square?
The answer is yes, proved by Juhász [Ju79], who proved more generally that the complement of $S$
must contain a congruent copy of any set of four points.
-/
@[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/Erdos214.lean"]
theorem erdos_214 :
∀ S : Set ℝ², UnitDistanceAvoiding S →
∃ p : Fin 4 → ℝ², (∀ i, p i ∈ Sᶜ) ∧ (p ≅ unitSquare) := by
sorry
/--
The answer is yes, proved by Juhász [Ju79], who proved more generally that the complement of $S$
must contain a congruent copy of any set of four points.
-/
@[category research solved, AMS 5 52]
theorem erdos_214.variants.juhasz : HasRedCopies 4 := by
sorry
/--
Erdős, Graham, Montgomery, Rothschild, Spencer, and Straus [EGMRSS75] had earlier showed that
$3\leq k\leq 10^{12}$.
-/
@[category research solved, AMS 5 52]
theorem erdos_214.variants.egmrss : 3 ≤ k ∧ k ≤ 10 ^ 12 := by
sorry
/--
Juhász [Ju79] also improved the upper bound to $k\leq 11$.
-/
@[category research solved, AMS 5 52]
theorem erdos_214.variants.juhasz_twelve_points : ¬ HasRedCopies 12 := by
sorry
/--
The upper bound was improved further by Csizmadia and Tóth [CsTo94] to $k\leq 7$.
-/
@[category research solved, AMS 5 52]
theorem erdos_214.variants.csizmadia_toth : ¬ HasRedCopies 8 := by
sorry
/--
The best known bounds currently are
$$4\leq k\leq 7.$$
-/
@[category research solved, AMS 5 52]
theorem erdos_214.variants.bounds : 4 ≤ k ∧ k ≤ 7 := by
sorry
end Erdos214
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos214.erdos_214 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_214 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-214 nosorry submit erdos-214 nosorry/erdos-214/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-214-variants-juhasz — known result
- erdos-214-variants-egmrss — known result
- erdos-214-variants-juhasz-twelve-points — known result
- erdos-214-variants-csizmadia-toth — known result
- erdos-214-variants-bounds — known result
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.