3.7 (Berge), p. 453 — M is not maximum iff (G, M) contains an alternating path joining two exposed vertices
ProvedPathsTreesFlowers.Duality.berge_3_7augmenting-pathbergematchingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be a matching in a finite graph . Then is not of maximum cardinality if and only if there is an alternating path in with at least one edge whose two end-points are both exposed for :
Such a path is augmenting (3.6): exchanging its edges in and out of yields a matching larger by one. This is Berge's characterization of maximum matchings, the basis of every augmenting-path algorithm.
Formalization Note "An alternating path joining two exposed vertices" requires at least one edge (two distinct end-points). A one-vertex path joins its vertex to itself (3.3), and an exposed vertex alone would make the statement false.
Preamble
import Mathlib import Definitions.Def_EdmondsMatching65_Polyhedron_Graph import Definitions.Def_PathsTreesFlowers_Duality_Basic
Formal statement
namespace PathsTreesFlowers.Duality
theorem berge_3_7 {V E : Type} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
(G : EdmondsMatching65.Polyhedron.Graph V E)
(M : Finset E) (hM : EdmondsMatching65.Polyhedron.IsMatching G M) :
¬ IsMaxMatching G M ↔
∃ (vs : List V) (es : List E), IsAlternatingPath G M vs es ∧ es ≠ [] ∧
(∀ a ∈ vs.head?, IsExposed G M a) ∧ (∀ b ∈ vs.getLast?, IsExposed G M b) := by sorry
end PathsTreesFlowers.Duality
Source
Edmonds, Paths, trees, and flowers, Canad. J. Math. 17 (1965), p. 453, 3.7 (Berge, 1)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.