Proof of Theorem 5.1, p. 113 — the last-exit edges leave every node set not containing
ProvedChinesePostman.NextNode.exists_last_exit_leavingLet be a connected finite loopless multigraph, a node and next-node lists that describe an Euler tour from . Then every node has a nonempty list, so its last exit exists, and for every nonempty set of nodes with
In words: the collection of directed edges , , has exactly one edge leaving each and has an edge leaving every node set that avoids , since otherwise the tour, once it reaches , would stay in .
This is the cut property from which the paper concludes that is an arborescence (condition (iii) of Theorem 5.1).
Formalization Note The page writes the edges as ; the argument ("the Euler tour would eventually reach and stay in ") holds for the last exits and fails for the first exits , and the paper's converse proof uses . The statement uses , the head of the list. Connectivity is used for the nonemptiness of the lists of nodes ; even degrees are not needed.
import Mathlib import Definitions.Def_ChinesePostman_NextNode_Setting
namespace ChinesePostman.NextNode
/-- Proof of Theorem 5.1, p. 113 (necessity of (iii)): if next-node lists describe an Euler tour of
a connected graph, then every node `n ≠ r` has a last exit `L_n(1)`, and every nonempty set `S` of
nodes not containing `r` has a node `n ∈ S` whose last exit `L_n(1)` lies outside `S`. -/
theorem exists_last_exit_leaving {V E : Type} [Fintype V] [DecidableEq V] [Fintype E]
[DecidableEq E] (G : Graph V E) (hconn : Connected G) (r : V) (L : V → List V)
(h : DescribesEulerTour G r L) :
(∀ n, n ≠ r → L n ≠ []) ∧
∀ S : Finset V, S.Nonempty → r ∉ S →
∃ n ∈ S, ∃ m, (L n).head? = some m ∧ m ∉ S := by sorry
end ChinesePostman.NextNode
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.