Count edges from triangular face data
ProvedWilliamsonShmoys.triangular_plane_map_edge_cardapproximation-algorithmsplanar-graphstreewidth
From finite triangular face data with each graph edge on exactly two faces and Euler’s relation, count incidences in two ways and derive the edge-count formula. This counting step does not need additional hypotheses on the number of vertices.
Preamble
import Definitions.Def_WilliamsonShmoys_PlanarDrawingOn
Formal statement
theorem WilliamsonShmoys.triangular_plane_map_edge_card
{V : Type} [Fintype V] [LinearOrder V]
(L : SimpleGraph V)
(hFaces : ∃ (F : Type) (faceInst : Fintype F)
(boundary : F → Finset (Sym2 V)),
(∀ f, (boundary f).card = 3) ∧
(∀ f, ∀ e ∈ boundary f, e ∈ L.edgeSet) ∧
(∀ e ∈ L.edgeSet,
((@Finset.univ F faceInst).filter (fun f => e ∈ boundary f)).card = 2) ∧
Fintype.card V + @Fintype.card F faceInst = L.edgeSet.ncard + 2) :
L.edgeSet.ncard + 6 = 3 * Fintype.card V := by sorrySource
David P. Williamson and David B. Shmoys, The Design of Approximation Algorithms, Cambridge University Press, 2011, author electronic manuscript, Section 10.2, proof of Theorem 10.11, pp. 270-272. https://doi.org/10.1017/CBO9780511921735. Bounded tree-width of the pieces: Robertson–Seymour (planar graphs of radius r have tree-width at most 3r+1) / Bodlaender (k-outerplanar graphs have tree-width at most 3k-1).