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 1071

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Can a finite set of disjoint unit segments in a unit square be maximal? Solved affirmatively by [Da85], who gave an explicit construction.

This was formalized in Lean by Alexeev using Aristotle and ChatGPT.

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

Formal statement

theorem erdos_1071.parts.i :
    ∃ S : Finset (ℝ² × ℝ²),
      Maximal (fun T : Finset (ℝ² × ℝ²) =>
        (∀ seg ∈ T, dist seg.1 seg.2 = 1 ∧
          seg.1 0 ∈ Icc 0 1 ∧ seg.1 1 ∈ Icc 0 1 ∧
          seg.2 0 ∈ Icc 0 1 ∧ seg.2 1 ∈ Icc 0 1) ∧
          (T : Set (ℝ² × ℝ²)).Pairwise SegmentsDisjoint) S
Show the full Challenge.lean (74 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 1071

*References:*
* [erdosproblems.com/1071](https://www.erdosproblems.com/1071)
* [Da85] Danzer, L., _Some combinatorial and metric problems in geometry_.
  Intuitive geometry (Siófok, 1985), 167-177.
-/

@[expose] public section

open Set Metric EuclideanGeometry Order

namespace Erdos1071

/-- Two segments are disjoint if they only intersect at their endpoints (if at all). -/
def SegmentsDisjoint (seg1 seg2 : ℝ² × ℝ²) : Prop :=
  segment ℝ seg1.1 seg1.2 ∩ segment ℝ seg2.1 seg2.2 ⊆ {seg1.1, seg1.2, seg2.1, seg2.2}

set_option linter.style.formal_proof_palomar false in
/--
Can a finite set of disjoint unit segments in a unit square be maximal?
Solved affirmatively by [Da85], who gave an explicit construction.

This was formalized in Lean by Alexeev using Aristotle and ChatGPT.
-/
@[category research solved, question, AMS 52, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.24.0/ErdosProblems/Erdos1071.lean"]
theorem erdos_1071.parts.i :
    ∃ S : Finset (ℝ² × ℝ²),
      Maximal (fun T : Finset (ℝ² × ℝ²) =>
        (∀ seg ∈ T, dist seg.1 seg.2 = 1 ∧
          seg.1 0 ∈ Icc 0 1 ∧ seg.1 1 ∈ Icc 0 1 ∧
          seg.2 0 ∈ Icc 0 1 ∧ seg.2 1 ∈ Icc 0 1) ∧
          (T : Set (ℝ² × ℝ²)).Pairwise SegmentsDisjoint) S := by
  sorry

set_option linter.style.formal_proof_palomar false in
/-- Is there a region $R$ with a maximal set of disjoint unit line segments that is countably infinite?
Here a unit line segment is a rotated and translated copy of the open interval $(0,1)$, and it is
required to be contained in $R$.
Solved affirmatively by [Fo99], who gave an explicit construction.

This was formalized in Lean by Alexeev using Aristotle and ChatGPT.
-/
@[category research solved, question, AMS 52, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.24.0/ErdosProblems/Erdos1071b.lean"]
theorem erdos_1071.parts.ii :
    ∃ (R : Set ℝ²) (S : Set (ℝ² × ℝ²)),
      IsOpen R ∧ IsConnected R ∧ S.Countable ∧ S.Infinite ∧
      Maximal (fun T : Set (ℝ² × ℝ²) =>
        (∀ seg ∈ T, dist seg.1 seg.2 = 1 ∧ openSegment ℝ seg.1 seg.2 ⊆ R) ∧
        T.Pairwise SegmentsDisjoint) S := by
  sorry

end Erdos1071

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

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