Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3, (3.10), p. 94 — weak duality: v ≤ z for x in the postman polyhedron and y dual feasible

Proved
ChinesePostman.Polyhedron.weak_duality

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

chinese-postmanlp-dualityp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1weak-duality

Let GGG be a finite graph (parallel edges allowed, no loops) and c∈REc\in\mathbb R^Ec∈RE any vector of edge lengths. Let xxx lie in the postman polyhedron (xe≥0x_e\ge 0xe​≥0 for all eee, and ∑{xe:e meets S}≥1\sum\{x_e : e\text{ meets }S\}\ge 1∑{xe​:e meets S}≥1 for every odd set SSS), and let (yS)S odd(y_S)_{S\text{ odd}}(yS​)S odd​ be feasible for the dual problem: yS≥0y_S\ge 0yS​≥0 for every odd set SSS (3.7) and ∑{yS:e meets S}≤ce\sum\{y_S : e\text{ meets }S\}\le c_e∑{yS​:e meets S}≤ce​ for every edge eee (3.8). Then

v=∑{yS:S odd} ≤ ∑e∈Ecexe=z.v=\sum\{y_S : S\text{ odd}\}\ \le\ \sum_{e\in E} c_e x_e = z .v=∑{yS​:S odd} ≤ e∈E∑​ce​xe​=z.

This is the weak form of linear programming duality for the postman linear program; it is what makes the complementary slackness conditions (3.11), (3.12) sufficient for optimality.

Formalization Note No sign condition is put on ccc; the page does not use one here.

Preamble
import Mathlib
import Definitions.Def_ChinesePostman_Polyhedron_Setting
Formal statement
namespace ChinesePostman.Polyhedron

theorem weak_duality {V E : Type} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : Graph V E) (c : E → ℝ)
    (x : E → ℝ) (hx : x ∈ postmanPolyhedron G)
    (y : Finset V → ℝ) (hy : IsDualFeasible G c y) :
    dualValue G y ≤ objective c x := by sorry

end ChinesePostman.Polyhedron
Source
Edmonds and Johnson, Matching, Euler tours and the Chinese postman, Math. Programming 5 (1973), p. 94, §3, (3.7)–(3.10)
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