The unit-distance arc graph construction
OpenUnitDistanceArcGraphFor every finite point set in the Euclidean plane, there is a simple graph whose vertex type is the finite set and whose edge set is finite such that
The graph is obtained from the unit-distance relations by selecting polygonal arcs and then replacing the resulting geometric arcs by an ordinary polygonal drawing. Thus its edge count records the unit-distance count up to the vertex correction, while its crossing number is controlled quadratically by the size of . This construction is the geometric bridge that allows the crossing lemma to be applied to unit distances.
Formalization Note Lean represents the finite point set as a Finset, regards G as a graph on the subtype of elements of P, and records finiteness of the graph edge set with an explicit Fintype G.edgeSet instance.
import Definitions.Def_CrossingNumber import Definitions.Def_unitDist open Classical open scoped Real noncomputable section
lemma UnitDistanceArcGraph (P : Finset (EuclideanSpace ℝ (Fin 2))) :
∃ G : SimpleGraph P, ∃ (_ : Fintype G.edgeSet),
(unitDist P : ℝ) - (P.card : ℝ) ≤ (G.edgeFinset.card : ℝ) ∧
(CrossingNumber G : ℝ) ≤ 2 * (P.card : ℝ) ^ 2 := by sorry