FormalConjectures/ErdosProblems/214.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
10 declarations, 6 contain sorry, 0 declared as axioms
Erdős Problem 214
References:
- 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.
Imports (1)
- def
Erdos214.unitSquareThe four vertices of a unit square line 40 sourceSource documentation
The four vertices of a unit square.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Fin,OfNat.ofNat,Nat,EuclideanSpace,RealProof uses:
Matrix.vecCons,WithLp.toLp,ENNReal,Matrix.vecEmpty11 instances, coercions and auxiliary constants left out.
def unitSquare : Fin 4 → ℝ² := ![!₂[0, 0], !₂[1, 0], !₂[1, 1], !₂[0, 1]]
- def
Erdos214.UnitDistanceAvoidingColouring the points ofSblue and the points ofSᶜred gives a red/blue colouring of $\mathbb{R}^2$; it is unit-distance-avoiding if no two blue points are distance $1$ apart line 44 sourceSource documentation
Colouring the points of
Sblue and the points ofSᶜred gives a red/blue colouring of $\mathbb{R}^2$; it is unit-distance-avoiding if no two blue points are distance $1$ apart.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Set,EuclideanSpace,Real,Fin,OfNat.ofNat,NatProof uses:
Membership.mem,Ne,Dist.dist,ENNReal14 instances, coercions and auxiliary constants left out.
def UnitDistanceAvoiding (S : Set ℝ²) : Prop := ∀ x ∈ S, ∀ y ∈ S, dist x y ≠ 1
- def
Erdos214.HasRedCopiesAny unit-distance-avoiding colouring contains a congruent red copy of every set ofnpoints line 48 sourceSource documentation
Any unit-distance-avoiding colouring contains a congruent red copy of every set of
npoints.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Set,EuclideanSpace,Real,Fin,OfNat.ofNat, Erdos214.UnitDistanceAvoiding,Function.Injective,Exists,And,Membership.mem,Compl.compl,Congruent,ENNReal14 instances, coercions and auxiliary constants left out.
def HasRedCopies (n : ℕ) : Prop := …
- def
Erdos214.kThe largest integerksuch that any unit-distance-avoiding colouring contains a congruent red copy of every set ofkpoints line 54 sourceSource documentation
The largest integer
ksuch that any unit-distance-avoiding colouring contains a congruent red copy of every set ofkpoints.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
SupSet.sSup,Set.ofPred, Erdos214.HasRedCopies1 instances, coercions and auxiliary constants left out.
noncomputable def k : ℕ := sSup {n | HasRedCopies n} …Mentions: Erdos214.HasRedCopies
- theorem
Erdos214.erdos_214Let $S\subset \mathbb{R}^2$ be such that no two points in $S$ are distance $1$ apart sorry line 64 sourceSource documentation
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.
depends on sorry what this means
Statement uses:
Iff,True,Set,EuclideanSpace,Real,Fin,OfNat.ofNat,Nat, Erdos214.UnitDistanceAvoiding,Exists,And,Membership.mem,Compl.compl,Congruent,ENNReal, Erdos214.unitSquareProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous28 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_214 : answer(True) ↔ ∀ S : Set ℝ², UnitDistanceAvoiding S → ∃ p : Fin 4 → ℝ², (∀ i, p i ∈ Sᶜ) ∧ (p ≅ unitSquare) := by …Mentions: Erdos214.UnitDistanceAvoiding, Erdos214.unitSquare
- theorem
Erdos214.erdos_214.variants.juhaszThe 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 sorry line 74 sourceSource documentation
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.
depends on sorry what this means
Statement uses: Erdos214.HasRedCopies,
OfNat.ofNat,NatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_214.variants.juhasz : HasRedCopies 4 := by …
Mentions: Erdos214.HasRedCopies
- theorem
Erdos214.erdos_214.variants.egmrssErdős, Graham, Montgomery, Rothschild, Spencer, and Straus [EGMRSS75] had earlier showed that $3\leq k\leq 10^{12}$ sorry line 82 sourceSource documentation
Erdős, Graham, Montgomery, Rothschild, Spencer, and Straus [EGMRSS75] had earlier showed that $3\leq k\leq 10^{12}$.
depends on sorry what this means
Statement uses:
And,LE.le,Nat,OfNat.ofNat, Erdos214.k,HPow.hPowProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous12 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_214.variants.egmrss : 3 ≤ k ∧ k ≤ 10 ^ 12 := by …
Mentions: Erdos214.k
- theorem
Erdos214.erdos_214.variants.juhasz_twelve_pointsJuhász [Ju79] also improved the upper bound to $k\leq 11$ sorry line 89 sourceSource documentation
Juhász [Ju79] also improved the upper bound to $k\leq 11$.
depends on sorry what this means
Statement uses:
Not, Erdos214.HasRedCopies,OfNat.ofNat,NatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_214.variants.juhasz_twelve_points : ¬ HasRedCopies 12 := by …
Mentions: Erdos214.HasRedCopies
- theorem
Erdos214.erdos_214.variants.csizmadia_tothThe upper bound was improved further by Csizmadia and Tóth [CsTo94] to $k\leq 7$ sorry line 96 sourceSource documentation
The upper bound was improved further by Csizmadia and Tóth [CsTo94] to $k\leq 7$.
depends on sorry what this means
Statement uses:
Not, Erdos214.HasRedCopies,OfNat.ofNat,NatProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_214.variants.csizmadia_toth : ¬ HasRedCopies 8 := by …
Mentions: Erdos214.HasRedCopies
- theorem
Erdos214.erdos_214.variants.boundsThe best known bounds currently are $$4\leq k\leq 7.$$ sorry line 104 sourceSource documentation
The best known bounds currently are $$4\leq k\leq 7.$$
depends on sorry what this means
Statement uses:
And,LE.le,Nat,OfNat.ofNat, Erdos214.kProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem erdos_214.variants.bounds : 4 ≤ k ∧ k ≤ 7 := by …
Mentions: Erdos214.k