Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

5.7, p. 463 — the theorem holds for a graph with a matching leaving at most one exposed vertex

Proved
PathsTreesFlowers.Duality.lemma_5_7

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

matchingodd-set-coverp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1perfect-matching

Let MMM be a matching of a finite graph GGG with at most one exposed vertex (a perfect matching, or a matching with one exposed vertex). Then there is an odd-set cover S\mathcal SS of GGG with

cap⁡(S)=∣M∣.\operatorname{cap}(\mathcal S) = |M|.cap(S)=∣M∣.

Together with weak duality this proves the matching-duality theorem for such graphs; it is the base case of Edmonds' induction on the number of exposed vertices.

Formalization Note The paper names specific covers: for a perfect matching, one singleton and the set of all other vertices; for one exposed vertex, the set of all vertices. These fail in degenerate cases (two vertices joined by an edge: two singletons, capacity 2≠12 \ne 12=1; one vertex and no edge: one singleton, capacity 1≠01 \ne 01=0), while the claim that the theorem holds remains true there. The statement therefore asserts the existence of a cover, not the page's specific families.

Preamble
import Mathlib
import Definitions.Def_EdmondsMatching65_Polyhedron_Graph
import Definitions.Def_PathsTreesFlowers_Duality_Basic
import Definitions.Def_PathsTreesFlowers_Duality_OddSetCover
Formal statement
namespace PathsTreesFlowers.Duality

theorem lemma_5_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)
    (hexp : (Finset.univ.filter (IsExposed G M)).card ≤ 1) :
    ∃ S : Finset (Finset V), IsOddSetCover G S ∧ capacitySum S = M.card := by sorry

end PathsTreesFlowers.Duality
Source
Edmonds, Paths, trees, and flowers, Canad. J. Math. 17 (1965), p. 463, 5.7
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me