Euler upper bound for a drawable simple graph
OpenWilliamsonShmoys.planar_edge_count_upper_bound__p2m_64c9133b_a623_45e5_bf52_4877372e6864_a1approximation-algorithmsplanar-graphstreewidth
Every drawable finite simple graph on at least three vertices has at most 3|V|−6 edges. This is the Euler upper bound and applies whether or not the graph is connected.
Preamble
import Definitions.Def_WilliamsonShmoys_PlanarDrawingOn import Mathlib set_option autoImplicit false open WilliamsonShmoys
Formal statement
theorem WilliamsonShmoys.planar_edge_count_upper_bound__p2m_64c9133b_a623_45e5_bf52_4877372e6864_a1
{V : Type} [Fintype V] [LinearOrder V]
(G : SimpleGraph V)
(hG : WilliamsonShmoys.HasPlanarDrawingOn G)
(hcard : 3 <= Fintype.card V) :
letI : DecidableRel G.Adj := Classical.decRel G.Adj
G.edgeFinset.card <= 3 * Fintype.card V - 6 := 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).