Documentation

CslibFrontier.Foundations.Combinatorics.SimpleGraph.TutteBerge

The Tutte–Berge formula #

For a finite simple graph G = (V, E) and a vertex set U, write o(G - U) for the number of connected components of G - U with an odd number of vertices. The Tutte–Berge formula ([Ber58]; [Sch17], Theorem 5.1) states that the maximum size ν(G) of a matching is

ν(G) = min_U (|V| + |U| - o(G - U)) / 2.

Here it is stated with vertex counts: a matching M covers 2|M| vertices, so the formula reads max_M |V(M)| = min_U (|V| + |U| - o(G - U)).

Main results #

References #

Isomorphic graphs have equally many odd components.

Deleting U from a finite graph leaves |V| - |U| vertices.

Weak duality #

theorem SimpleGraph.Subgraph.IsMatching.exists_of_mem_oddComponents {V : Type u_1} {G : SimpleGraph V} {M : G.Subgraph} [Finite V] (hM : M.IsMatching) {U : Set V} (c : (⊤.deleteVerts U).coe.ConnectedComponent) (hc : c ∈ (⊤.deleteVerts U).coe.oddComponents) :
∃ x ∈ M.vertsᶜ ∪ U, ∃ v ∈ c.supp, ↑v = x ∨ M.Adj (↑v) x

Every odd component of G - U contains a vertex that M leaves uncovered or matches into U. This generalizes Mathlib's ConnectedComponent.odd_matches_node_outside from perfect matchings to arbitrary matchings.

Tutte–Berge, weak duality ([Sch17], Theorem 5.1, easy direction): a matching M and a vertex set U of a finite graph satisfy |V(M)| + o(G - U) ≤ |V| + |U|.

Strong duality via universal vertices #

Tutte–Berge, strong duality ([Ber58]; [Sch17], Theorem 5.1): a finite graph has a matching M and a vertex set U with |V(M)| + o(G - U) = |V| + |U|.

A maximum matching attains the Tutte–Berge bound: some vertex set U has |V(M)| + o(G - U) = |V| + |U|.

A matching of a finite graph is maximum iff some vertex set U attains the Tutte–Berge bound |V(M)| + o(G - U) = |V| + |U|. Such a U certifies that M is maximum.

The Tutte–Berge formula ([Ber58]; [Sch17], Theorem 5.1): twice the size of a maximum matching M of a finite graph is the least value of |V| + |U| - o(G - U) over vertex sets U. The subtraction is truncated, but by weak duality it never truncates.