§3, pp. 92–93 — parity optimum equals odd-node matching optimum
ProvedChinesePostman.Matching.parity_problem_eq_odd_node_matchingLet be a connected finite loopless multigraph with nonnegative edge lengths . Write for its odd-degree nodes, for attained shortest-path distances, for the cost of a nonnegative integral parity solution, and for the length of a 1-matching of . There exists at least one 1-matching of , and
Here the first quantifier ranges over 1-matchings and the second over parity solutions. Since 1-matchings of exist, the first clause also produces a parity solution, so both minima are attained and equal:
This is the reduction of the parity problem (3.1)–(3.4) to a minimum 1-matching on the complete graph of odd nodes with shortest-path lengths; together with §2 it reduces the Chinese postman problem to matching.
Formalization Note Distances require an attaining edge-simple path and a lower bound over every walk, so is never a junk infimum; connectivity makes this satisfiable. The odd-node set is computed from , and a 1-matching of is a fixed-point-free involution of (identity off ) with . The existence clause is not a hypothesis: it is a consequence (handshake lemma) stated so that the two minima are attained. The page derives the solution from an optimum matching; the first clause is stated for every matching, which the uncrossing step shows.
import Mathlib import Definitions.Def_ChinesePostman_Matching_Setting
namespace ChinesePostman.Matching
/-- §3, pp. 92–93: parity solutions and perfect matchings of odd nodes
have the same attained minimum cost. -/
theorem parity_problem_eq_odd_node_matching
{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, IsOddPerfectMatching G f) ∧
(∀ f : V → V, IsOddPerfectMatching G f →
∃ x : E → ℕ, IsParitySolution G x ∧ (∀ e, x e ≤ 1) ∧
cost c x ≤ matchingLength G d f) ∧
(∀ x : E → ℕ, IsParitySolution G x →
∃ f : V → V, IsOddPerfectMatching G f ∧
matchingLength G d f ≤ cost c x) := by sorry
end ChinesePostman.Matching
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.