Lemma 3.5 — from a vertex with positive excess the source is reachable in the residual graph
ProvedGoldbergTarjan.FIFO.source_reachable_of_pos_excessnetwork-flowsp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1preflow
Let be a preflow on a flow network with source , and let be a vertex with positive excess,
Then the source is reachable from in the residual graph : there is a directed path from to all of whose edges have positive residual capacity .
This is what keeps the distance labels finite: Lemma 3.7 bounds the label of an active vertex along such a path.
Formalization Note Reachability is the reflexive–transitive closure of the residual-edge relation, so the case holds with the empty path.
Preamble
import Mathlib import Definitions.Def_GoldbergTarjan_FIFO_Network import Definitions.Def_GoldbergTarjan_FIFO_PushRelabel import Definitions.Def_GoldbergTarjan_FIFO_Algorithm import Definitions.Def_GoldbergTarjan_FIFO_Counts
Formal statement
namespace GoldbergTarjan.FIFO
/-- Lemma 3.5 (Goldberg–Tarjan 1988, p. 926): if `f` is a preflow and `v` is a vertex with
positive excess, then the source `s` is reachable from `v` in the residual graph `G_f`. -/
theorem source_reachable_of_pos_excess {V : Type} [Fintype V] [DecidableEq V]
(N : Network V) (f : V → V → ℝ) (hf : IsPreflow N f) (v : V) (hv : 0 < excess f v) :
ResidualReachable N f v N.s := by sorry
end GoldbergTarjan.FIFO
Source
Goldberg, Tarjan, A New Approach to the Maximum-Flow Problem, J. ACM 35(4), 1988, p. 926, Lemma 3.5
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. The theorem fixes:
- a finite type with decidable equality;
- a network with real capacities (with ), source and sink ;
- a function that is a preflow, meaning and for all , and for all ;
- a vertex with .
Claim. is reachable from in the residual graph. That is, there are vertices
with
Degenerate cases.
- If , the claim holds with . So the statement says something only for .
- may be the sink .
- No integrality of or is assumed.
- is forced by .
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.