Two-phase iteration count from a residual certificate
ProvedConvexOptimization.two_phase_iteration_count_of_suboptimalityconvexoptimizationnewtonmethodoptimizationalgorithms
Let be an objective gap and a phase-detecting residual. Fix positive constants such that ,
and assume the certificate
Suppose that above the threshold the gap decreases by a fixed amount,
and below the threshold the scaled residual squares,
Then every satisfying
satisfies .
This is the reusable discrete bookkeeping theorem behind the two-phase Newton complexity estimate: fixed decrease bounds the damped phase, while repeated squaring produces the doubly logarithmic quadratic-phase budget.
Preamble
import Mathlib
Formal statement
theorem ConvexOptimization.two_phase_iteration_count_of_suboptimality
(gap measure : ℕ → ℝ) (m decrease scale threshold ε₀ ε : ℝ)
(hm : 0 < m) (hdecrease : 0 < decrease) (hscale : 0 < scale)
(hthreshold : 0 < threshold) (hε₀ : 0 < ε₀) (hε : 0 < ε)
(hεsmall : ε ≤ ε₀ / 4)
(hnormalization : ε₀ * scale ^ 2 = 1 / (2 * m))
(hscaledThreshold : scale * threshold ≤ 1 / 2)
(hgap_nonneg : ∀ k, 0 ≤ gap k)
(hmeasure_nonneg : ∀ k, 0 ≤ measure k)
(hdamped : ∀ k, threshold ≤ measure k →
gap (k + 1) ≤ gap k - decrease)
(hquadratic : ∀ k, measure k < threshold →
scale * measure (k + 1) ≤ (scale * measure k) ^ 2)
(hsuboptimality : ∀ k, gap k ≤ measure k ^ 2 / (2 * m))
(K : ℕ)
(hK : gap 0 / decrease +
Real.logb 2 (Real.logb 2 (ε₀ / ε)) ≤ (K : ℝ)) :
gap K ≤ ε := by
sorrySource
Boyd and Vandenberghe, Convex Optimization, Cambridge University Press, 2004 (seventh printing with corrections, 2009), https://web.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf, section 9.5.3, pp. 488-489, equations (9.32)-(9.36).