Two-phase Newton complexity bound
ProvedConvexOptimization.newton_two_phase_iteration_boundThe two-phase complexity bound for Newton's method with backtracking — inequality (9.36) of Boyd & Vandenberghe, the goal of this mission.
Let be twice differentiable with gradient field and Hessian field , and assume, for constants and ,
Let be a global minimizer, , fix backtracking parameters , , and let be any damped Newton sequence with backtracking. Put
Then for every accuracy with and every satisfying
the iterate is -optimal:
The two summands are the two phases: at most damped iterations, each buying a fixed decrease , followed by a quadratically convergent phase whose length grows like — six iterations already give . The bound is dimension-free, and its dependence on the accuracy is doubly logarithmic rather than logarithmic, which is the precise sense in which Newton's method outperforms every first-order method.
Formalization Note The hypothesis is stated as ε ≤ m ^ 3 / (2 * L ^ 2); it is needed because the book's count is valid once the quadratic phase has genuinely begun, and for the literal bound (9.36) fails. The quantities and are inlined into the hypothesis on rather than introduced as abbreviations, and is Mathlib's Real.logb 2. The iterates are governed by the mission's damped-Newton predicate, so the conclusion holds for every faithful run. Source: B&V §9.5.3, p. 491, eq. (9.36).
import Mathlib import Definitions.Def_ConvexOptimization_IsBacktrackingStep import Definitions.Def_ConvexOptimization_IsDampedNewtonSequence open scoped RealInnerProductSpace ENNReal open MeasureTheory
theorem ConvexOptimization.newton_two_phase_iteration_bound {n : ℕ} (m M L α β ε : ℝ)
(hm : 0 < m) (hmM : m ≤ M) (hL : 0 < L)
(hα0 : 0 < α) (hα : α < 1 / 2) (hβ0 : 0 < β) (hβ1 : β < 1)
(hε0 : 0 < ε) (hεsmall : ε ≤ m ^ 3 / (2 * L ^ 2))
(f : EuclideanSpace ℝ (Fin n) → ℝ)
(g : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n))
(hg : ∀ x, HasGradientAt f (g x) x)
(H : EuclideanSpace ℝ (Fin n) →
EuclideanSpace ℝ (Fin n) →L[ℝ] EuclideanSpace ℝ (Fin n))
(hH : ∀ x, HasFDerivAt g (H x) x)
(hHm : ∀ x v, m * ‖v‖ ^ 2 ≤ ⟪H x v, v⟫)
(hHM : ∀ x v, ⟪H x v, v⟫ ≤ M * ‖v‖ ^ 2)
(hHL : ∀ x y, ‖H x - H y‖ ≤ L * ‖x - y‖)
(xstar : EuclideanSpace ℝ (Fin n)) (hstar : IsMinOn f Set.univ xstar)
(x : ℕ → EuclideanSpace ℝ (Fin n))
(hnewton : IsDampedNewtonSequence f g H α β x)
(K : ℕ)
(hK : (f (x 0) - f xstar) /
(α * β * (min 1 (3 * (1 - 2 * α)) * m ^ 2 / L) ^ 2 * m / M ^ 2) +
Real.logb 2 (Real.logb 2 (2 * m ^ 3 / L ^ 2 / ε)) ≤ (K : ℝ)) :
f (x K) - f xstar ≤ ε := by
sorry
Read-back
What the Lean code literally says, in plain math · claude-fable-5
For every (including ) and reals with , , , , , , and , given: with gradient field (for every , is the gradient of at ); a Hessian field (for every , is Fréchet-differentiable at with derivative ); the bounds for all ; the operator-norm Lipschitz condition for all ; a global minimizer of over the whole space ( for all , assumed to exist as data); a sequence that is a damped-Newton backtracking sequence, meaning for every there exist and with , for some natural , , ( or Armijo fails at ), and ( unconstrained); and a natural number satisfying the real inequality
where the first denominator is exactly with , the doubly-divided expression means , and is the real base-2 logarithm with the junk convention that the logarithm of a nonpositive argument is (here makes the inner argument , hence the inner and the outer , so neither hits the junk case); then the conclusion is:
asserted at the single index (though since is any natural number satisfying the displayed inequality, the statement applies to every such ).
Confirmed by the mission captain (proposal self-audit).