§II — a construction with fewer than N − 1 links can be extended by P1 or P2
ProvedShortestConnection.Principles.construction_extendsLet be a connected simple graph on a finite set of terminals with real edge lengths , and let be a construction by P1 and P2 with
Then there is a link such that is again a construction by P1 and P2.
This makes explicit the "can be connected" of the two principles: as long as the network is not yet connected, some isolated terminal or isolated fragment admits an application of P1 or P2. Together with the preceding milestones it shows that complete constructions exist.
Formalization Note The connectivity of is an implicit hypothesis of the paper, stated explicitly here. In an incomplete graph only edges of are possible links.
import Mathlib import Definitions.Def_ShortestConnection_Principles_SpanningSubtree import Definitions.Def_ShortestConnection_Principles_Construction
namespace ShortestConnection.Principles
/-- Prim 1957, §II, pp. 1391–1392 (P1 and P2: an isolated terminal or fragment "can be
connected"; "an N-terminal network is connected by N-1 applications"): in a connected labelled
graph, a construction by P1 and P2 with fewer than `N - 1` links can always be extended by one
more application of P1 or P2. This is the "can be connected" of the principles made explicit.
Implicit hypothesis made explicit: `G` is connected. -/
theorem construction_extends {V : Type*} [Fintype V] [DecidableEq V]
(G : SimpleGraph V) (hG : G.Connected) (w : Sym2 V → ℝ) (l : List (Sym2 V))
(hl : IsConstruction G w l) (hlen : l.length < Fintype.card V - 1) :
∃ e : Sym2 V, IsConstruction G w (l ++ [e]) := by sorry
end ShortestConnection.Principles
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a finite type with decidable equality and elements. Let be a connected simple graph on , and let be any real-valued length on unordered pairs. Let be a construction for and : each entry is a P1 or P2 application relative to the set of earlier entries.
- P1: a pair with touched by no earlier non-degenerate link, , and for all -neighbours of .
- P2: a pair with having an earlier link, not reachable from by earlier links, , and at most the length of every -edge from 's earlier-link component to its complement.
Assume further that the list is short: , with natural-number subtraction.
The theorem asserts that some unordered pair exists such that appending to the end of gives a list that is still a construction. In other words, is a P1 or P2 application relative to the set of all entries of .
Degenerate cases. Connectedness of excludes empty . If or , then , and forces with empty. If , the hypothesis can never hold, so the statement is vacuous. The appended is only asserted to exist. Nothing is said about uniqueness or about which principle applies. Ties and arbitrary real values of are allowed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.