Theorem 4.2 — the algorithm of Figure 3 minimizes every real submodular function in steps
ProvedIwataFF.SFM.theorem_4_2There is an absolute constant such that for every and every real submodular function on the subsets of with , the algorithm of Figure 3 (with Fix and its scaling phases as defined in IwataFF.SFM.Phase and IwataFF.SFM.Main) satisfies:
- Progress. Every state reachable from the initial state that is not final has a successor.
- Running time. Every run from the initial state has
- Correctness. Every final state reachable from the initial state outputs a set with for every .
Since does not depend on , the bound is strongly polynomial: it depends on the size of the underlying set only, not on the function values.
Formalization Note A step is a phase start, a single push, a single augmentation with its reduction, a call of Fix, a return from Fix (with its contraction, arc addition or deletion), or the final step; the arithmetic cost of a step is not modeled, so "time" is the number of these operations. became quantified before and , with so that the bound does not vanish at . Progress rules out a model in which the algorithm gets stuck and the other two conjuncts hold vacuously. Fix is the scaling algorithm of §3 run until , not an oracle.
import Mathlib import Definitions.Def_IwataFF_SFM_Basic import Definitions.Def_IwataFF_SFM_Phase import Definitions.Def_IwataFF_SFM_Main
namespace IwataFF.SFM
/-- Theorem 4.2 (arXiv:math/0004089v1, p. 13): the algorithm in Figure 3 computes a minimizer of
a submodular function in `O(n⁷ log n)` steps (strongly polynomial): every reachable non-final
state has a successor, every run has at most `C · n⁷ · (⌊log₂ n⌋ + 1)` steps with `C` absolute,
and every final state's output minimizes `f`. -/
theorem theorem_4_2 :
∃ C : ℕ, ∀ n : ℕ, 1 ≤ n → ∀ f : Finset (Fin n) → ℝ,
SubmodularOn Finset.univ f → f ∅ = 0 →
(∀ s : MainState n, Relation.ReflTransGen Step (initMain f) s → ¬ IsFinal s →
∃ s' : MainState n, Step s s') ∧
(∀ (s : ℕ → MainState n) (k : ℕ), IsRun f s k → k ≤ C * n ^ 7 * (Nat.log 2 n + 1)) ∧
(∀ (s : MainState n) (X : Finset (Fin n)), Relation.ReflTransGen Step (initMain f) s →
s.mode = Mode.done X → ∀ Y : Finset (Fin n), f X ≤ f Y) := by sorry
end IwataFF.SFM
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The statement claims that a single natural number , fixed once and for all, works simultaneously for every ground-set size and every real-valued set function on satisfying the hypotheses below. The objects , , , , , and the mode value are defined in the imported bundle files (Def_IwataFF_SFM_Basic, _Phase, _Main). Their bodies are not shown in this declaration, so this read-back cannot unfold them. What they mean depends entirely on those definitions and is opaque here. The comment attached to the declaration describes an algorithm, a running-time class and a minimization guarantee. That comment is not part of the formal assertion, and nothing it says is assumed below.
Quantifiers and hypotheses. There exists such that, for every with , and for every function
(a real value on each subset of the -element index set ) satisfying:
- , a predicate from the bundle applied to the full finite set (or full family) of and to , which by name is a submodularity condition but is not unfolded here; and
- ,
the following three properties all hold.
-
Progress. Let be the bundle's one-step relation on states of type . It takes no argument , so any dependence on must be carried inside the states. Let be the bundle's initial state built from . Then for every state reachable from by zero or more transitions, if does not satisfy the bundle predicate , there exists a state with . This asserts that a successor exists; it does not assert that the successor is unique.
-
Run-length bound. For every sequence of states (an arbitrary function ) and every such that the bundle predicate holds, we have
computed in natural numbers, with the floor base-2 logarithm. What requires is not visible here: for example, whether the sequence starts at , whether consecutive entries are related by , or whether entry must be final. The statement only bounds those for which that predicate holds.
- Correctness of output. For every state reachable from by zero or more transitions, and every subset : if the mode field of equals , then
In other words, is a global minimizer of . This clause does not mention , and the code does not state how "mode is " relates to "". The statement also does not separately assert that a state with mode is ever reached. That would follow only from clauses 1–2 together with whatever the bundle definitions say about , and .
Degenerate cases. The case is excluded by the hypothesis . For there are exactly two subsets, and , and , so the bound in clause 2 is exactly . Clause 3 then says that a reachable "done" set satisfies . All arithmetic in the bound is in and involves no subtraction or division, so no truncation default arises there. is chosen once, before , so it cannot depend on or . It is permitted to be , which would be consistent only if holds for no .
Each clause can hold vacuously depending on the opaque definitions:
- clause 1, if every reachable state is ;
- clause 2, if is never satisfiable (or only for small );
- clause 3, if no reachable state ever has mode .
If together with were unsatisfiable for some , the whole statement would be vacuous for that . That too depends on the unseen definition of .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.