Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem (P), p. 126 — the vertices of the polyhedron C are exactly the matching vectors of G

Proved
EdmondsMatching65.Polyhedron.theorem_P_vertices_eq_matching_vectors

by mikedeng1 · 1 vote · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

extreme-pointsmatchingp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1polyhedral-combinatorics

Let GGG be a finite graph with node set VVV and edge set EEE. Let C⊆REC\subseteq\mathbb R^EC⊆RE be the polyhedron of vectors x=(xe)e∈Ex=(x_e)_{e\in E}x=(xe​)e∈E​ satisfying

  1. xe≥0x_e\ge 0xe​≥0 for every edge eee;
  2. ∑e meets vxe≤1\sum_{e\text{ meets }v}x_e\le 1∑e meets v​xe​≤1 for every node vvv;
  3. ∑e has both ends in Sxe≤r\sum_{e\text{ has both ends in }S}x_e\le r∑e has both ends in S​xe​≤r for every set SSS of 2r+12r+12r+1 nodes, rrr a strictly positive integer;

and let PPP be the set of matching vectors: the vectors with all components 000 or 111 that satisfy (2), i.e. the incidence vectors of matchings of GGG.

Theorem (P). PPP is the set of vertices (extreme points) of CCC:

ext⁡(C)=P.\operatorname{ext}(C)=P .ext(C)=P.

Consequently, for any real edge weights ccc, the maximum weight of a matching equals the maximum of the linear form ∑ecexe\sum_e c_e x_e∑e​ce​xe​ over CCC: maximum-weight matching is a linear program over a polyhedron described by explicit inequalities. This is the first polyhedral description of the matching polytope of a general (non-bipartite) graph.

Formalization Note The graph is given by a finite node type VVV, a finite edge type EEE and, for each edge, the unordered pair of its ends (no loops). Parallel edges are allowed, which covers the contracted graphs of Theorem (M); a simple graph is the special case of an injective end map. Vectors xxx have one real coordinate per edge.

Preamble
import Mathlib
import Definitions.Def_EdmondsMatching65_Polyhedron_Graph
import Definitions.Def_EdmondsMatching65_Polyhedron_MatchingPolyhedron
Formal statement
namespace EdmondsMatching65.Polyhedron

theorem theorem_P_vertices_eq_matching_vectors {V E : Type*} [Fintype V] [DecidableEq V]
    [Fintype E] [DecidableEq E] (G : Graph V E) :
    Set.extremePoints ℝ (matchingPolyhedron G) = matchingVectors G := by sorry

end EdmondsMatching65.Polyhedron
Source
Edmonds, Maximum Matching and a Polyhedron With 0,1-Vertices, J. Res. NBS 69B (1965), p. 126, §2, Theorem (P)
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 4, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me