Lemma 3 — if is pseudo-extreme in Problem , then is pseudo-extreme in Problem
ProvedEdmondsKarp.Scaling.double_pseudoExtremeLet and be positive integers with () and let be costs. For , if is a pseudo-extreme flow in Problem (capacities and ), then is a pseudo-extreme flow in Problem (capacities and ).
In particular is a flow of Problem . This is what allows the scaling method to start each phase from twice the final flow of the previous phase.
import Mathlib import Definitions.Def_EdmondsKarp_Scaling_Transport import Definitions.Def_EdmondsKarp_Scaling_Augmentation import Definitions.Def_EdmondsKarp_Scaling_Run
namespace EdmondsKarp.Scaling
/-- Lemma 3 (p. 260): if `f` is a pseudo-extreme flow in Problem `p` (`p ≥ 1`), then `2f` is a
pseudo-extreme flow in Problem `p - 1`. -/
theorem double_pseudoExtreme {m n : ℕ} (hm : 1 ≤ m) (hn : 1 ≤ n) (a : Fin m → ℕ) (b : Fin n → ℕ)
(d : Fin m → Fin n → ℝ) (ha : ∀ i, 0 < a i) (hb : ∀ j, 0 < b j)
(hsum : ∑ i, a i = ∑ j, b j) (hd : ∀ i j, 0 ≤ d i j) (p : ℕ) (hp : 1 ≤ p) (x : Flow m n)
(hx : IsPseudoExtreme (problem a b d p) x) :
IsPseudoExtreme (problem a b d (p - 1)) ((2 : ℝ) • x) := by sorry
end EdmondsKarp.Scaling
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let and . Take natural numbers and , and reals .
Hypotheses.
- and ;
- , as natural numbers;
- ;
- is a natural number;
- is a pseudo-extreme flow in Problem .
Problem is the transport problem with capacities and and costs . Pseudo-extreme means: is a flow there (nonnegative, , , conservation at all nodes), and potentials exist with everywhere and wherever that quantity is .
Conclusion. is a pseudo-extreme flow in Problem , whose capacities are and . Here doubles every component, including the return value.
Degenerate cases.
- Since , the index is a genuine predecessor; no truncated subtraction occurs.
- is not required to be maximum.
- For large all capacities in Problem are , and must then be the zero function. In that case .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.