Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

4.14, second statement, p. 458, with the choice used in 6.5 — a matching of G₂ extends through the complete expansion of a pseudovertex

Proved
PathsTreesFlowers.Invariance.lemma_4_14_expansion

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

blossommatchingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1pseudovertexshrinking

Let GGG be a finite graph and P2\mathcal P_2P2​ a partition of its vertices; write G2=G/P2G_2 = G/\mathcal P_2G2​=G/P2​. Let UUU be a part of P2\mathcal P_2P2​ obtained by successively shrinking odd circuits (an odd-circuit set), so that p=Up = Up=U is a pseudovertex of G2G_2G2​ whose complete expansion is U+U^+U+. Let P1\mathcal P_1P1​ be the partition obtained from P2\mathcal P_2P2​ by splitting UUU into single vertices, so that G1=G/P1G_1 = G/\mathcal P_1G1​=G/P1​ is the graph obtained from G2G_2G2​ by completely expanding ppp. Let M2M_2M2​ be any matching of G2G_2G2​. Then:

  1. there is a matching MPM_PMP​ of U+U^+U+ leaving exactly one vertex of UUU exposed such that
MP∪M2 is a matching of G1;M_P \cup M_2 \text{ is a matching of } G_1;MP​∪M2​ is a matching of G1​;
  1. if moreover no edge of M2M_2M2​ meets ppp, then for every u∈Uu \in Uu∈U the matching MPM_PMP​ can be chosen to leave exactly uuu exposed in UUU.

Since ∣MP∣=(∣U∣−1)/2|M_P| = (|U|-1)/2∣MP​∣=(∣U∣−1)/2 does not depend on M2M_2M2​, any augmentation in G2G_2G2​ yields a corresponding augmentation in G1G_1G1​. Part 2 is the choice made in the proof of 6.5 ("If u∗u^*u∗ is pseudo, then by (4.14) M′M'M′ can be chosen so that uuu is exposed in the expansion").

Formalization Note Edges keep their identity under shrinking, so the edges of G1G_1G1​ and G2G_2G2​ are subtypes of the edges of GGG; "MP∪M2M_P \cup M_2MP​∪M2​ is a matching of G1G_1G1​" says there is a matching M1M_1M1​ of G1G_1G1​ whose underlying edges of GGG are exactly MP∪M2M_P \cup M_2MP​∪M2​. "M2M_2M2​ meets ppp" means ppp is an end-point of an edge of M2M_2M2​ in G2G_2G2​.

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

open EdmondsMatching65.Polyhedron (IsMatching)

/-- 4.14, second statement, p. 458, with the choice used in 6.5 (p. 465). Let `G₂ = shrink G P₂`
and let `U` be a part of `P₂` obtained by successively shrinking odd circuits (the complete
expansion of the pseudovertex `p = U`), and let `P₁` be `P₂` with `U` split into singletons, so
that `G₁ = shrink G P₁` is obtained from `G₂` by completely expanding `p`. For every matching
`M₂` of `G₂` there is a matching `M_P` of `U⁺` leaving exactly one vertex of `U` exposed such that
`M_P ∪ M₂` is a matching of `G₁`; and if no edge of `M₂` meets `p`, the exposed vertex of `U` can
be any prescribed `u ∈ U`. -/
theorem lemma_4_14_expansion {V E : Type} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : EdmondsMatching65.Polyhedron.Graph V E)
    (P₁ P₂ : Finpartition (Finset.univ : Finset V)) (U : Finset V) (hU : U ∈ P₂.parts)
    (hodd : IsOddCircuitSet G U)
    (hP : P₁.parts = P₂.parts.erase U ∪ U.image (fun u => ({u} : Finset V)))
    (M₂ : Finset (ShrinkE G P₂)) (hM₂ : IsMatching (shrink G P₂) M₂) :
    (∃ MP : Finset E, MP ⊆ (induced G U).edges ∧ IsMatching G MP ∧
      (∃ u ∈ U, ∀ w ∈ U, (PathsTreesFlowers.Duality.IsExposed G MP w ↔ w = u)) ∧
      ∃ M₁ : Finset (ShrinkE G P₁), IsMatching (shrink G P₁) M₁ ∧
        M₁.map (Function.Embedding.subtype _) = MP ∪ M₂.map (Function.Embedding.subtype _)) ∧
    ((∀ e ∈ M₂, (⟨U, hU⟩ : {W // W ∈ P₂.parts}) ∉ (shrink G P₂).ends e) →
      ∀ u ∈ U, ∃ MP : Finset E, MP ⊆ (induced G U).edges ∧ IsMatching G MP ∧
        (∀ w ∈ U, (PathsTreesFlowers.Duality.IsExposed G MP w ↔ w = u)) ∧
        ∃ M₁ : Finset (ShrinkE G P₁), IsMatching (shrink G P₁) M₁ ∧
          M₁.map (Function.Embedding.subtype _) = MP ∪ M₂.map (Function.Embedding.subtype _)) := by sorry

end PathsTreesFlowers.Invariance
Source
Edmonds, Paths, trees, and flowers, Canad. J. Math. 17 (1965), p. 458, 4.14, second statement (italic paragraph after 'Applying the above matching operation…'); p. 465, 6.5 (choice of the exposed vertex)
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