Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3, pp. 92–93 — the disjoint matching paths satisfy parity

Proved
ChinesePostman.Matching.parity_of_edge_disjoint_paths

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

chinese-postmanmatchingmultigraphp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1parity

Let MMM pair all odd-degree nodes of a finite loopless multigraph, and choose edge-simple paths for its pairs that share no edge across distinct pairs. Define xe=1x_e=1xe​=1 when edge eee lies on one of these paths and xe=0x_e=0xe​=0 otherwise. Then there are nonnegative integers wvw_vwv​ such that

∑e∋vxe=2wv+1v odd(v∈N).\sum_{e\ni v}x_e=2w_v+\mathbf1_{v\text{ odd}}\qquad(v\in N).e∋v∑​xe​=2wv​+1v odd​(v∈N).

Thus the union of the matching paths is a feasible parity correction.

Formalization Note Reversed orientations of the same matching path count as one path; the indicator uses their union. No lengths or connectivity are needed for this parity claim.

Preamble
import Mathlib
import Definitions.Def_ChinesePostman_Matching_Setting
Formal statement
namespace ChinesePostman.Matching


/-- §3, pp. 92–93: the union of disjoint matching paths satisfies the parity equations. -/
theorem parity_of_edge_disjoint_paths
    {V E : Type*} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : EdmondsMatching65.Polyhedron.Graph V E) (f : V → V) (hf : IsOddPerfectMatching G f)
    (P : V → List V × List E) (hP : MatchingPaths G f P) :
    IsParitySolution G (pathIndicator G P) := by sorry
end ChinesePostman.Matching
Source
Edmonds and Johnson, Matching, Euler tours and the Chinese postman, Math. Programming 5 (1973), pp. 92–93, §3, paragraph following uncrossing, https://doi.org/10.1007/BF01580113
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