Planar simple graph edge upper bound
ProvedWilliamsonShmoys.WilliamsonShmoys_planar_edge_count_upper__p2m_2a9c79db_1ecc_4cf4_ab9e_7f8c5fd1a388_a5approximation-algorithmsplanar-graphstreewidth
Every finite simple graph on at least three vertices with a crossing-free drawing has at most 3|V|−6 edges. This packages the general planar upper-bound work, including disconnected graphs, and removes it from the parent. A proof route is to establish the planar Euler bound for connected components and count face-edge incidences, combining the component bounds while preserving the at-least-three-vertices condition.
Preamble
import Definitions.Def_WilliamsonShmoys_PlanarDrawingOn import Mathlib set_option autoImplicit false open WilliamsonShmoys
Formal statement
theorem WilliamsonShmoys.WilliamsonShmoys_planar_edge_count_upper__p2m_2a9c79db_1ecc_4cf4_ab9e_7f8c5fd1a388_a5
{V : Type} [Fintype V] [LinearOrder V]
(G : SimpleGraph V) (hV : 3 <= Fintype.card V)
(hG : HasPlanarDrawingOn G) :
letI : DecidableRel G.Adj := Classical.decRel G.Adj
G.edgeFinset.card + 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).