Finite termination — if , the stage point attaining solves Problem
ProvedBiconvexProg.BranchBound.finite_terminationLet satisfy the standing hypotheses of Problem , and consider any run of the branch-and-bound algorithm. Suppose that at some stage the best bounds coincide, , and let be a stage whose point attains the best upper bound, . Then and
so is a global solution of Problem .
This is the algorithm's stopping test. The paper states it at Stage 2 ("If , we are done") and uses it at every stage.
Formalization Note The paper's remark is made at Stage 2 and generalized here to an arbitrary stage, as the algorithm's description implies.
import Mathlib import Definitions.Def_BiconvexProg_BranchBound_run
namespace BiconvexProg.BranchBound
/-- Finite termination (p. 278, stated there for stage 2): if at some stage the best lower and
upper bounds coincide, `v_bᵏ = V_bᵏ`, then every earlier stage point `(xˡ, yˡ)`, `l ≤ k`, that
attains `V_bᵏ` is a global solution of Problem 𝒫. -/
theorem finite_termination {n : ℕ} {S : Set ((Fin n → ℝ) × (Fin n → ℝ))}
{f g : (Fin n → ℝ) → ℝ} {Ω : Box n} (hP : IsProblemP S f g Ω)
{nodes : ℕ → Multiset (Box n)} {sel : ℕ → Box n} {idx : ℕ → Fin n}
{pt : ℕ → (Fin n → ℝ) × (Fin n → ℝ)} (hrun : IsRun S f g Ω nodes sel idx pt)
(k l : ℕ) (hl : l ≤ k) (hVl : objective f g (pt l) = bestUpper f g pt k)
(heq : bestLower f g sel pt k = bestUpper f g pt k) :
pt l ∈ S ∩ Ω.toSet ∧ IsMinOn (objective f g) (S ∩ Ω.toSet) (pt l) := by sorry
end BiconvexProg.BranchBound
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. , , , and are as below, and .
Hypotheses.
- The standing hypotheses hold:
- ;
- and ;
- is convex and continuous on , and is convex and continuous on ;
- is closed and convex;
- .
- is a run:
- , and ;
- for all and ;
- maximises the coordinate gap ;
- is with one copy of removed, plus the four children of split at .
- Natural numbers satisfy
Here , and . is the real supremum of values of convex minorants, and is if that set is empty or unbounded.
Claim. , and for every .
Degenerate cases: , an empty and infeasibility are excluded. is allowed, in which case and is the point chosen in itself.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.