§2.2 — a pseudo-extreme maximum flow of the Hitchcock problem is extreme
ProvedEdmondsKarp.Scaling.pseudoExtreme_max_isExtremeConsider the Hitchcock network of Figure 1 with , positive capacities , with , and nonnegative costs . If is a maximum flow and is pseudo-extreme, that is, there are real , with
for all , then is extreme.
This is the fact on which the scaling method rests: it only has to maintain the two conditions (5a)–(5b), and the maximum flow it ends with in Problem is then of minimum cost. The balance is needed; for unbalanced problems the implication fails in general.
import Mathlib import Definitions.Def_EdmondsKarp_Scaling_Transport
namespace EdmondsKarp.Scaling
/-- §2.2, p. 259 (unnumbered): for the Hitchcock problem (`∑ a_i = ∑ b_j`), a pseudo-extreme maximum
flow is extreme. -/
theorem pseudoExtreme_max_isExtreme {m n : ℕ} (hm : 1 ≤ m) (hn : 1 ≤ n) (T : Transport m n)
(ha : ∀ i, 0 < T.a i) (hb : ∀ j, 0 < T.b j) (hsum : ∑ i, T.a i = ∑ j, T.b j)
(hd : ∀ i j, 0 ≤ T.d i j) (x : Flow m n) (hmax : IsMaxFlow T x)
(hpe : IsPseudoExtreme T x) :
IsExtreme T x := by sorry
end EdmondsKarp.Scaling
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let and . Let be a transport problem.
Hypotheses.
- for all , and for all ;
- ;
- for all ;
- is a maximum flow for : a flow (nonnegative, , , conservation at all nodes) whose return value is at least that of every flow;
- is pseudo-extreme for : there exist reals and with for all , and whenever .
Conclusion. is extreme: for every flow for with the same return value as ,
Degenerate cases. The hypotheses exclude , and zero capacities. No other degenerate cases arise.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.