Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 5.1, p. 113 — at the stop, every node meeting an untraversed edge is not rrr and its last exit Ln(1)L_n(1)Ln​(1) is unused

Proved
ChinesePostman.NextNode.last_exit_unused_of_unused

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

euler-tournext-node-listp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let GGG, rrr and LLL be as in the previous step, with (i) and (ii). Follow the tour specified by the lists from rrr until it stops, with tnt_ntn​ departures made from each node nnn. Let SSS be the set of nodes incident to untraversed edges: the nodes nnn with an unused entry in LnL_nLn​, together with the nodes nnn that occur as an unused entry of some list LmL_mLm​. Then for every n∈Sn \in Sn∈S

n≠randLn(1) is unused, i.e. kn−tn≥1.n \ne r \quad\text{and}\quad L_n(1) \text{ is unused, i.e. } k_n - t_n \ge 1 .n=randLn​(1) is unused, i.e. kn​−tn​≥1.

In words, for n∈Sn \in Sn∈S the edge (n,Ln(1))(n, L_n(1))(n,Ln​(1)) has not been traversed, since it is the last edge specified by the next-node list, and r∉Sr \notin Sr∈/S.

Together with condition (iii) this yields the contradiction that closes the converse of Theorem 5.1.

Formalization Note The conclusion "Ln(1)L_n(1)Ln​(1) is unused" is stated as: the list LnL_nLn​ is nonempty and its first entry is also the first entry of the unused part Ln(1),…,Ln(kn−tn)L_n(1), \dots, L_n(k_n - t_n)Ln​(1),…,Ln​(kn​−tn​). Untraversed edges are expressed through unused list entries; by (ii), the edges between nnn and mmm correspond to the entries mmm in LnL_nLn​ and nnn in LmL_mLm​.

Preamble
import Mathlib
import Definitions.Def_ChinesePostman_NextNode_Setting
Formal statement
namespace ChinesePostman.NextNode

/-- Proof of Theorem 5.1, p. 113 (converse, second step): under (i) and (ii), when the traversal
from `r` stops, every node `n` incident to an untraversed edge (an unused entry of `L n`, or an
unused occurrence of `n` in some list `L m`) is different from `r`, and its last exit `L_n(1)` is
still unused. -/
theorem last_exit_unused_of_unused {V E : Type} [Fintype V] [DecidableEq V] [Fintype E]
    (G : Graph V E) (r : V) (L : V → List V) (h1 : CondI G L) (h2 : CondII G L) (n : V)
    (hn : unused L (follow L r).2 n ≠ [] ∨ ∃ m, n ∈ unused L (follow L r).2 m) :
    n ≠ r ∧ ∃ m, (L n).head? = some m ∧ (unused L (follow L r).2 n).head? = some m := by sorry

end ChinesePostman.NextNode
Source
Edmonds and Johnson, Matching, Euler tours and the Chinese postman, Math. Programming 5 (1973), p. 113, §5, proof of Theorem 5.1 (converse, the set S of nodes incident to untraversed edges)
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