Maximum augmentation captures a share of the gap:
ProvedEdmondsKarp.MaxCapacity.maxAug_gap_le_eps_mulLet be a network with integer capacities and let be an integer such that, for every partition of the nodes into and , at most arcs of have one end in and the other in . Let be the value of a maximum flow. Let be a run of the labeling method in which every augmentation is along an augmenting path giving the maximum possible augmentation, and put . Then for every ,
This is the core estimate of the proof of Theorem 2: a maximum augmentation removes at least a fraction of the remaining gap to the optimum.
import Mathlib import Definitions.Def_EdmondsKarp_MaxCapacity_Network import Definitions.Def_EdmondsKarp_MaxCapacity_Augmentation import Definitions.Def_EdmondsKarp_MaxCapacity_Run
namespace EdmondsKarp.MaxCapacity
/-- Proof of Theorem 2, p. 254: in a run of the labeling method with maximum augmentations, on a
network with integer capacities in which every `s`–`t` cut is crossed by at most `M > 1` arcs, if
`f*(t, s)` is the value of a maximum flow then `f*(t, s) − f^k(t, s) ≤ ε^k M` for every `k < K`,
where `ε^k = f^{k+1}(t, s) − f^k(t, s)`. -/
theorem maxAug_gap_le_eps_mul {V : Type} [Fintype V] [DecidableEq V] (N : Network V)
(hcap : IntegralCaps N) (M : ℕ) (hM : 1 < M) (hcross : CrossArcsBounded N M)
(g : V → V → ℝ) (hg : IsMaxFlow N g)
(K : ℕ) (f : ℕ → V → V → ℝ) (P : ℕ → List V) (hrun : IsMaxAugRun N K f P)
(k : ℕ) (hk : k < K) :
g N.t N.s - f k N.t N.s ≤ (f (k + 1) N.t N.s - f k N.t N.s) * (M : ℝ) := by sorry
end EdmondsKarp.MaxCapacity
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be any finite type with decidable equality, and let be any network on . It has source , sink with , a loop-free finite arc set not containing , and capacities on . Its arcs are .
- A flow is on arcs of , on , with outflow equal to inflow over the arcs of at every node.
- An augmenting path for is a list of distinct nodes from to whose consecutive pairs satisfy ( and ) or ( and ).
- Its value is the minimum over its steps of:
- if both directions are in ;
- if only ;
- if .
- is the augmented function (defined as in the Augmentation bundle). It adds on .
Hypotheses.
- for all .
- with .
- For every with and , at most arcs of (including , directions counted separately) have exactly one endpoint in .
- is a maximum flow: a flow with for every flow .
- , and sequences and form a run:
- is a flow;
- for each , is an augmenting path for with for every augmenting path for ;
- .
- .
Conclusion.
Degenerate cases. For there is no , so the statement is vacuous. It is also vacuous if no maximum flow exists or no such run exists. Hypothesis 3 can always be met by taking large, and is forced. No hypothesis requires or to be integer-valued.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.