Lemma 3.5 — from a vertex with positive excess the source is reachable in the residual graph
ProvedGoldbergTarjan.Generic.positive_excess_reaches_sourceLet be a flow network with source , let be a preflow and let be a vertex with positive excess, . Then
Lemma 3.5 is the structural fact behind the label bound of Lemma 3.7: excess can always be returned to the source.
import Mathlib import Definitions.Def_GoldbergTarjan_Generic_Preflow
namespace GoldbergTarjan.Generic
/-- 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 positive_excess_reaches_source {V : Type} [Fintype V]
(N : Network V) (f : V → V → ℝ) (v : V)
(hf : IsPreflow N f) (hv : 0 < excess f v) :
ResidualReachable N f v N.s := by sorry
end GoldbergTarjan.Generic
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The statement concerns an arbitrary finite type , a network with capacities , source and sink , a real function on , and a vertex . Two hypotheses are assumed.
- is a preflow:
- ;
- ;
- for every .
- has positive excess:
Conclusion. is reachable from in the residual graph. That is, there is a finite sequence with and for every .
Degenerate cases. The vertex is not restricted: it may be , and it may be . If , the conclusion holds trivially through the empty path. No labeling is involved.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.