Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3, p. 92 — uncross the matched shortest paths

Proved
ChinesePostman.Matching.exists_edge_disjoint_shortest_paths

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

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

Let GGG be a connected finite loopless multigraph with nonnegative edge lengths cec_ece​. Let d(u,v)d(u,v)d(u,v) be an attained shortest-path distance for every pair of nodes, and let MMM be a 1-matching of the odd-degree nodes. There is another 1-matching M′M'M′ with no larger length and a shortest path for each matched pair such that paths belonging to different pairs share no original edge:

L(M′)≤L(M),ℓ(Puv)=∑e∈Puvce=d(u,v)for every pair {u,v}∈M′,L(M')\le L(M),\qquad \ell(P_{uv})=\sum_{e\in P_{uv}}c_e=d(u,v)\quad\text{for every pair }\{u,v\}\in M',L(M′)≤L(M),ℓ(Puv​)=e∈Puv​∑​ce​=d(u,v)for every pair {u,v}∈M′,

where L(M)=∑{u,v}∈Md(u,v)L(M)=\sum_{\{u,v\}\in M}d(u,v)L(M)=∑{u,v}∈M​d(u,v) and PuvP_{uv}Puv​ is the edge-simple path chosen for the pair {u,v}\{u,v\}{u,v}. The edge-disjoint paths permit a zero-or-one assignment of additional traversals.

Formalization Note Each path is indexed by both endpoints; the second orientation is the reverse of the first, and edge disjointness applies only to distinct matched pairs.

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


/-- §3, p. 92: overlapping shortest paths of matching edges can be uncrossed. -/
theorem exists_edge_disjoint_shortest_paths
    {V E : Type*} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : EdmondsMatching65.Polyhedron.Graph V E) (hG : Connected G) (c : E → ℝ) (hc : ∀ e, 0 ≤ c e)
    (d : V → V → ℝ) (hd : ∀ i j, IsShortestPathLength G c i j (d i j))
    (f : V → V) (hf : IsOddPerfectMatching G f) :
    ∃ f' : V → V, IsOddPerfectMatching G f' ∧
      matchingLength G d f' ≤ matchingLength G d f ∧
      ∃ P : V → List V × List E, MatchingPaths G f' P ∧
        ∀ v ∈ oddNodes G, walkLength c (P v).2 = d v (f' v) := by sorry
end ChinesePostman.Matching
Source
Edmonds and Johnson, Matching, Euler tours and the Chinese postman, Math. Programming 5 (1973), p. 92, §3, uncrossing paragraph, 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