Lemma 3.9 — at most saturating pushes
ProvedGoldbergTarjan.Generic.saturating_push_count_leLet be a flow network with vertices and edges (pairs of positive capacity), and let be an execution of the generic algorithm, started from the initial state of Fig. 2 with the simple labeling. Then the number of saturating pushes among its steps (pushes Push after which ) satisfies
This is the second of the three counts whose sum bounds the number of basic operations in Theorem 3.11; it also bounds the total increase of the potential used in Lemma 3.10.
import Mathlib import Definitions.Def_GoldbergTarjan_Generic_Run
namespace GoldbergTarjan.Generic
/-- Lemma 3.9 (Goldberg–Tarjan 1988, p. 927). The number of saturating push operations is at
most `2nm`, where `n = |V|` and `m = |E|`. -/
theorem saturating_push_count_le {V : Type} [Fintype V] [DecidableEq V]
(N : Network V) (σ : ℕ → State V) (K : ℕ) (hrun : IsRun N σ K) :
saturatingPushCount N σ K ≤ 2 * Fintype.card V * N.numEdges := 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 with decidable equality, , a network with capacities , a sequence of states , and . Let be the number of ordered pairs with .
Hypothesis. is a run of length from the initial state, each step being an applicable push or relabel.
Conclusion. Count the indices for which some pair satisfies both of the following:
- the step from to is an applicable ;
- afterwards .
This number is at most .
Degenerate cases. If , then and the statement asserts that no such saturating push occurs. For , the count is . always.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.