Simple paths exclude reversed arcs and endpoint re-entry
ProvedEdmondsKarp.ShortestPath.pathArcs_simplegraph-theorynetwork-flow
Let be a finite list of pairwise distinct vertices. If is a consecutive pair of , then , the reversed pair does not occur in , is not the first vertex, and is not the last vertex.
Preamble
import Definitions.Def_EdmondsKarp_ShortestPath_Augmentation open EdmondsKarp.ShortestPath
Formal statement
theorem EdmondsKarp.ShortestPath.pathArcs_simple {V : Type} [Fintype V] [DecidableEq V] (P : List V)
(hP : P.Nodup) (u v : V) (h : (u, v) ∈ pathArcs P) :
u ≠ v ∧ (v, u) ∉ pathArcs P ∧ P.head? ≠ some v ∧ P.getLast? ≠ some u := by sorrySource
Auxiliary lemma for the simple-path convention in Edmonds and Karp (1972), Theoretical Improvements in Algorithmic Efficiency for Network Flow Problems, J. ACM 19(2), pp. 248–264, §1.1 p. 249. DOI: 10.1145/321694.321699.