Dirac: a series-parallel network has two vertices of degree at most two
ProvedChvatalPolytopes.SeriesParallel.dirac_two_vertices_degree_le_twoLet be a series-parallel network, i.e. a finite graph containing no homeomorph of , with at least two vertices. Then there are two distinct vertices with
This result of Dirac is what lets the proof of Theorem 7.1 pick a vertex of degree at most two and reduce the graph.
Formalization Note The hypothesis is made explicit: as printed ("every series-parallel network includes at least two vertices of degree at most two") the statement fails for the one-vertex graph and the empty graph. Degrees are Mathlib's SimpleGraph.degree.
import Mathlib import Definitions.Def_ChvatalPolytopes_SeriesParallel_IsSeriesParallel
namespace ChvatalPolytopes.SeriesParallel
/-- Dirac's theorem (cited in Chvátal 1975, p. 150, as [6, Satz 5]): every series-parallel network
includes at least two vertices of degree at most two.
The hypothesis `2 ≤ |V|` is made explicit: as printed the statement fails for the graph with one
vertex (and for the empty graph), which has fewer than two vertices at all. -/
theorem dirac_two_vertices_degree_le_two {V : Type*} [Fintype V] [DecidableEq V]
(G : SimpleGraph V) [DecidableRel G.Adj] (hG : IsSeriesParallel G)
(hV : 2 ≤ Fintype.card V) :
∃ a b : V, a ≠ b ∧ G.degree a ≤ 2 ∧ G.degree b ≤ 2 := by sorry
end ChvatalPolytopes.SeriesParallel
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a finite vertex set and a simple graph on .
The hypotheses are:
-
is series-parallel. This means there are no four distinct vertices together with paths in from to , for all six pairs , such that:
- each repeats no vertex;
- each contains no other than and ;
- two paths for different pairs have only branch vertices in common.
Walks for are also formally required to exist but face no conditions. The six paths need not form an induced subgraph, and a copy of itself counts as such a structure.
-
.
The conclusion is that there exist two distinct vertices with
Here is the number of neighbours in .
Degenerate cases. Graphs with are excluded by hypothesis. When , every graph is automatically series-parallel, because four distinct vertices do not exist. Every vertex then has degree at most , so the conclusion holds for any pair of distinct vertices. Infinite vertex sets are not covered.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.