Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§3, pp. 93–94 — in (3.3) the condition w_n ≥ 0 is automatic for integer w

Proved
ChinesePostman.Polyhedron.w_nonneg_automatic

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

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

Let GGG be a finite graph (parallel edges allowed, no loops) and bn∈{0,1}b_n\in\{0,1\}bn​∈{0,1} the parity of the degree of node nnn. Let x∈ZEx\in\mathbb Z^Ex∈ZE and w∈ZNw\in\mathbb Z^Nw∈ZN satisfy xe≥0x_e\ge 0xe​≥0 for every edge and

∑e∈Eanexe−2wn=bn(n∈N).(3.3)\sum_{e\in E}a_{ne}x_e-2w_n=b_n\qquad (n\in N). \tag{3.3}e∈E∑​ane​xe​−2wn​=bn​(n∈N).(3.3)

Then wn≥0w_n\ge 0wn​≥0 for every node nnn.

Hence the restrictions wn≥0w_n\ge 0wn​≥0 can be dropped, and the variables wnw_nwn​ eliminated, which is the step from the polyhedron in (x,w)(x,w)(x,w) of p. 91 to the polyhedron in xxx alone.

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

theorem w_nonneg_automatic {V E : Type} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : Graph V E) (x : E → ℤ) (w : V → ℤ)
    (hx : ∀ e, 0 ≤ x e) (h33 : ∀ n, incidentSum G x n - 2 * w n = bParity G n) :
    ∀ n, 0 ≤ w n := by sorry

end ChinesePostman.Polyhedron
Source
Edmonds and Johnson, Matching, Euler tours and the Chinese postman, Math. Programming 5 (1973), pp. 93–94, §3, after (3.6)
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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me