§3.1, p. 1141 — a terminal set of Algorithm LS is a -approximate local optimum
ProvedNonmonotoneSubmod.LocalSearch.ls_terminal_approx_local_optimumLet be a set function on a finite ground set with , and let . If Algorithm LS has terminated at , that is, no addition step and no removal step of the algorithm applies to , then is a -approximate local optimum of :
This connects the algorithm to Definition 3.2, after which the analysis no longer refers to the algorithm.
Formalization Note Termination means that no step of the step relation (addition first, removal only when no addition applies) exists from . No condition on or is needed.
import Mathlib import Definitions.Def_NonmonotoneSubmod_LocalSearch_IsApproxLocalOptimum import Definitions.Def_NonmonotoneSubmod_LocalSearch_LSAlgorithm
namespace NonmonotoneSubmod.LocalSearch
/-- Feige–Mirrokni–Vondrák 2011, §3.1, p. 1141, sentence after Algorithm LS: if Algorithm LS has
terminated at `S` (no step 2 addition and no step 3 removal applies), then `S` is a
`(1 + ε/n²)`-approximate local optimum of `f` (Definition 3.2), where `n = |X|`. -/
theorem ls_terminal_approx_local_optimum {X : Type} [Fintype X] [DecidableEq X] (ε : ℝ)
(f : Finset X → ℝ) (S : Finset X) (hS : IsLSTerminal ε f S) :
IsApproxLocalOptimum f (ε / (Fintype.card X : ℝ) ^ 2) S := by sorry
end NonmonotoneSubmod.LocalSearch
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is a finite ground set with elements.
- is any real number.
- gives a real number for every subset . No other assumption is made about : it need not be nonnegative or submodular.
- is a subset of .
- is the acceptance factor.
Hypothesis (terminal set). No step of the local-search relation applies at . A step from to would be either:
- (addition) some with and ; or
- (removal) every satisfies , and some has , with .
Conclusion. is a -approximate local optimum of with :
Degenerate cases:
- : evaluates to , so both the acceptance factor and equal . The only set, , is terminal and satisfies the conclusion vacuously.
- : the statement still applies, with .
- : the statement still applies; nothing restricts the sign of .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.