Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

6.6, p. 465 — a non-outer vertex v meets an edge e of M, and M − e is a maximum matching of G − v

Proved
PathsTreesFlowers.Invariance.max_matching_erase_6_6

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

gallai-edmondshungarian-forestmatchingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let MMM be a maximum matching of a finite graph GGG, and let G∗G^*G∗ and J1,…,JnJ_1, \dots, J_nJ1​,…,Jn​ be obtained from (G,M)(G, M)(G,M) by construction 6.0, with outer vertices O(G)O(G)O(G) as in 6.2. Let vvv be a vertex of GGG with v∉O(G)v \notin O(G)v∈/O(G). Then:

  1. vvv meets an edge eee of MMM;
  2. for every edge e∈Me \in Me∈M meeting vvv,
M−e is a maximum matching of G−v,M - e \text{ is a maximum matching of } G - v,M−e is a maximum matching of G−v,

where G−vG - vG−v is the graph obtained from GGG by deleting vvv and its adjoining edges.

This is the key step of Witzgall's proof of the converse half of 6.2 (a).

Formalization Note G−vG - vG−v is the subgraph induced on the vertices other than vvv; a maximum matching of it is a matching of GGG avoiding vvv of largest cardinality among such matchings. The configuration is the structure Config60.

Preamble
import Mathlib
import Definitions.Def_EdmondsMatching65_Polyhedron_Graph
import Definitions.Def_PathsTreesFlowers_Invariance_Basic
import Definitions.Def_PathsTreesFlowers_Invariance_Shrink
import Definitions.Def_PathsTreesFlowers_Invariance_Config
Formal statement
namespace PathsTreesFlowers.Invariance

/-- 6.6, p. 465: a non-outer vertex `v` meets an edge `e` of `M`, and for such an edge `M − e` is
a maximum matching of `G − v` (the subgraph induced on the vertices other than `v`). -/
theorem max_matching_erase_6_6 {V E : Type} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : EdmondsMatching65.Polyhedron.Graph V E)
    (M : Finset E) (C : Config60 G M) (v : V) (hv : v ∉ outerSet C) :
    (∃ e ∈ M, v ∈ G.ends e) ∧
    ∀ e ∈ M, v ∈ G.ends e → IsMaxMatchingIn G (induced G (Finset.univ.erase v)) (M.erase e) := by sorry

end PathsTreesFlowers.Invariance
Source
Edmonds, Paths, trees, and flowers, Canad. J. Math. 17 (1965), p. 465, 6.6 (first two paragraphs)
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