Skip to content

Commit 351e286

Browse files
cyb3r17YaelDillies
andauthored
feat(ErdosProblems): 1071 (google-deepmind#1611)
Add formalization of Erdős Problem 1071 Formalizes both parts: - Part (a): Finite maximal set in unit square (solved by Danzer) - Part (b): Countably infinite maximal set in some region (open) closes google-deepmind#1111 --------- Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
1 parent ae1f506 commit 351e286

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/-
2+
Copyright 2026 The Formal Conjectures Authors.
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
https://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
-/
16+
import FormalConjectures.Util.ProblemImports
17+
18+
/-!
19+
# Erdős Problem 1071
20+
21+
*References:*
22+
* [erdosproblems.com/1071](https://www.erdosproblems.com/1071)
23+
* [Da85] Danzer, L., _Some combinatorial and metric problems in geometry_.
24+
Intuitive geometry (Siófok, 1985), 167-177.
25+
-/
26+
27+
open Set Metric EuclideanGeometry Order
28+
29+
namespace Erdos1071
30+
31+
/-- Two segments are disjoint if they only intersect at their endpoints (if at all). -/
32+
def SegmentsDisjoint (seg1 seg2 : ℝ² × ℝ²) : Prop :=
33+
segment ℝ seg1.1 seg1.2 ∩ segment ℝ seg2.1 seg2.2 ⊆ {seg1.1, seg1.2, seg2.1, seg2.2}
34+
35+
/-- Can a finite set of disjoint unit segments in a unit square be maximal?
36+
Solved affirmatively by [Da85], who gave an explicit construction. -/
37+
@[category research solved, AMS 52]
38+
theorem erdos_1071a :
39+
answer(True) ↔ ∃ S : Finset (ℝ² × ℝ²),
40+
(∀ seg ∈ S, dist seg.1 seg.2 = 1
41+
seg.1 0 ∈ Icc 0 1 ∧ seg.1 1 ∈ Icc 0 1
42+
seg.2 0 ∈ Icc 0 1 ∧ seg.2 1 ∈ Icc 0 1) ∧
43+
S.toSet.Pairwise SegmentsDisjoint ∧
44+
Maximal (fun T : Finset (ℝ² × ℝ²) =>
45+
(∀ seg ∈ T, dist seg.1 seg.2 = 1
46+
seg.1 0 ∈ Icc 0 1 ∧ seg.1 1 ∈ Icc 0 1
47+
seg.2 0 ∈ Icc 0 1 ∧ seg.2 1 ∈ Icc 0 1) ∧
48+
T.toSet.Pairwise SegmentsDisjoint) S := by
49+
sorry
50+
51+
/-- Is there a region $R$ with a maximal set of disjoint unit line segments that is countably infinite? -/
52+
@[category research open, AMS 52]
53+
theorem erdos_1071b :
54+
answer(sorry) ↔ ∃ (R : Set ℝ²) (S : Set (ℝ² × ℝ²)),
55+
S.Countable ∧ S.Infinite ∧
56+
Maximal (fun T : Set (ℝ² × ℝ²) =>
57+
(∀ seg ∈ T, dist seg.1 seg.2 = 1 ∧ seg.1 ∈ R ∧ seg.2 ∈ R) ∧
58+
T.Pairwise SegmentsDisjoint) S := by
59+
sorry
60+
61+
end Erdos1071

0 commit comments

Comments
 (0)