Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

6.2 (c), p. 464 — G* is obtained from G by shrinking the connected components of O(G)⁺

Proved
PathsTreesFlowers.Invariance.theorem_6_2_c

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

gallai-edmondsmatchingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1shrinking

Let MMM be a maximum matching of a finite graph GGG, and let G∗=G/PG^* = G/\mathcal PG∗=G/P 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 O(G)+O(G)^+O(G)+ be the subgraph of GGG consisting of the vertices O(G)O(G)O(G) and all edges of GGG joining them. Then G∗G^*G∗ is obtained from GGG by shrinking the connected components of O(G)+O(G)^+O(G)+: for all vertices u,vu, vu,v of GGG,

u,v lie in the same part of P  ⟺  u=v  or  u,v lie in the same connected component of O(G)+.u, v \text{ lie in the same part of } \mathcal P \iff u = v \ \text{ or } \ u, v \text{ lie in the same connected component of } O(G)^+.u,v lie in the same part of P⟺u=v  or  u,v lie in the same connected component of O(G)+.

In particular the vertices outside O(G)O(G)O(G) are not shrunk, each non-pseudo outer vertex is a one-vertex component of O(G)+O(G)^+O(G)+, and each pseudovertex of G∗G^*G∗ is the vertex set of a component of O(G)+O(G)^+O(G)+. Hence G∗G^*G∗ is determined by GGG alone.

Formalization Note "Same connected component of O(G)+O(G)^+O(G)+" is the reflexive–transitive closure of adjacency by an edge of GGG with both end-points in O(G)O(G)O(G), required together with u,v∈O(G)u, v \in O(G)u,v∈O(G).

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.2 (c), p. 464: `G*` is obtained from `G` by shrinking the connected components of `O(G)⁺`.
Two vertices lie in the same part of `P` (the same vertex of `G*`) iff they are equal or both
lie in `O(G)` and are joined by a sequence of edges of `G` with all end-points in `O(G)`. -/
theorem theorem_6_2_c {V E : Type} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : EdmondsMatching65.Polyhedron.Graph V E)
    (M : Finset E) (C : Config60 G M) :
    ∀ u v : V, C.P.part u = C.P.part v ↔
      (u = v ∨ (u ∈ outerSet C ∧ v ∈ outerSet C ∧
        Relation.ReflTransGen
          (fun x y => x ∈ outerSet C ∧ y ∈ outerSet C ∧ ∃ e : E, G.ends e = s(x, y)) u v)) := by sorry

end PathsTreesFlowers.Invariance
Source
Edmonds, Paths, trees, and flowers, Canad. J. Math. 17 (1965), p. 464, 6.2 (c); proof in 6.4, second paragraph
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