cable_steiner_opt
For a list I of cables in the plane, each cable given as a list of segments, a segment being a pair of endpoints each given as a pair (x, y) ∈ ℚ × ℚ of rational coordinates (the type List (List ((ℚ × ℚ) × (ℚ × ℚ))), with a point (x, y) read as the point of EuclideanSpace ℝ (Fin 2) with coordinates x, y; a cable is the union rat_segments_union of the closed segments between its listed endpoints), the optimum of Euclidean Cable Steiner Tree: the infimum (sInf of a set of reals) of the total Euclidean length Σ dist(a, b) over all finite sets T of pairs (a, b) of points of EuclideanSpace ℝ (Fin 2) such that the union of all cables (the union of their closed segments) together with the union of the closed segments [a, b], (a, b) ∈ T, is a connected (nonempty) subset of the plane.
Statement
noncomputable def cable_steiner_opt (I : List (List ((ℚ × ℚ) × (ℚ × ℚ)))) : ℝ
- Defined in
- arXiv:2611.24611 (Inapproximability of Euclidean Steiner Tree), Definition 5 (Euclidean Cable Steiner Tree), in the plane; the optimum is written as an infimum over feasible networks.
- Verified
- 23 Nov 2026
- Axioms
- none listed
- Built on 1
- rat_segments_unionFor a list S of pairs of rational points of the plane, the subset of EuclideanSpace ℝ (Fin 2) that is the union, over the pairs (a, b) in…
- Used by 2
- cable_steiner_opt_singletonFor a single cable c whose union is connected, the cable Steiner optimum of [c] is 0.
- cable_steiner_opt_two_pointsFor two one-point cables p and q (degenerate segments), the cable Steiner optimum is the Euclidean distance between p and q.
Read back from the Lean
cable_steiner_opt I is a definition that takes an argument I : List (List ((ℚ × ℚ) × (ℚ × ℚ))) (a list of lists of pairs of rational coordinates in the plane, representing cables/components composed of line segments) and returns a real number defined as the infimum (sInf) of the set of all $L \in ℝ$ for which there exists a finite set $T$ of pairs of points in $\mathbb{R}^2$ (endpoints of added segments) such that:
1. The union of all segments in all lists of $I$ (embedded into $\mathbb{R}^2$) together with the union of all segments between endpoints $t.1$ and $t.2$ for $t \in T$ forms a connected subset of $\mathbb{R}^2$ (in the sense of Mathlib's IsConnected, meaning it is nonempty and preconnected).
2. $L$ equals the sum of the Euclidean distances between the endpoints of the segments in $T$ (∑ t ∈ T, dist t.1 t.2).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- The optimum of planar Euclidean Cable Steiner Tree: the infimum of the total length of a finite set of added segments (arbitrary real endpoints, i.e. Steiner points anywhere) whose union with the cables is connected. -/ noncomputable def cable_steiner_opt (I : List (List ((ℚ × ℚ) × (ℚ × ℚ)))) : ℝ := sInf {L : ℝ | ∃ T : Finset (EuclideanSpace ℝ (Fin 2) × EuclideanSpace ℝ (Fin 2)), IsConnected ((⋃ c ∈ I, rat_segments_union c) ∪ ⋃ t ∈ T, segment ℝ t.1 t.2) ∧ L = ∑ t ∈ T, dist t.1 t.2}