Lemma 2.2 (ii): the Armijo condition holds for small steps along the projection arc
ProvedSpectralProjGrad.SPG1.armijo_along_projection_arcLet be closed and convex, let have continuous partial derivatives on an open set , with gradient , let be the orthogonal projection onto , and let . Write . For every there exists such that for all ,
This is the Armijo sufficient-decrease condition along the projection arc: every sufficiently short step on the arc achieves at least a fraction of the first-order predicted decrease. It is what guarantees that the backtracking of SPG1 stops.
Formalization Note The paper defines only for ; the same formula at gives for , and the Lean statement uses it, so the case reads .
import Mathlib import Definitions.Def_SpectralProjGrad_Shared_IsProjOnto import Definitions.Def_SpectralProjGrad_Shared_scaledProjGrad
namespace SpectralProjGrad.SPG1
/-- Lemma 2.2 (ii): for every `x ∈ Ω` there is `s_x > 0` such that for all `t ∈ [0, s_x]`,
`f(P(x - t g(x))) - f(x) ≤ γ ⟨g(x), g_t(x)⟩`, where `g_t(x) = P(x - t g(x)) - x`
(at `t = 0` the same formula gives `g_0(x) = P(x) - x`). -/
theorem armijo_along_projection_arc {n : ℕ}
{Ω U : Set (EuclideanSpace ℝ (Fin n))} {f : EuclideanSpace ℝ (Fin n) → ℝ}
{P : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n)} {γ : ℝ}
(hΩ_closed : IsClosed Ω) (hΩ_convex : Convex ℝ Ω)
(hU_open : IsOpen U) (hΩU : Ω ⊆ U) (hf : ContDiffOn ℝ 1 f U)
(hP : SpectralProjGrad.Shared.IsProjOnto Ω P)
(hγ : γ ∈ Set.Ioo 0 1)
(x : EuclideanSpace ℝ (Fin n)) (hx : x ∈ Ω) :
∃ sx : ℝ, 0 < sx ∧ ∀ t ∈ Set.Icc 0 sx,
f (P (x - t • gradient f x)) - f x ≤ γ * inner ℝ (gradient f x) (SpectralProjGrad.Shared.scaledProjGrad P f t x) := by sorry
end SpectralProjGrad.SPG1
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix and let:
- (Euclidean inner product);
- ;
- ;
- .
Hypotheses.
- is closed and convex.
- is open with .
- is on .
- holds. This is an imported predicate whose code is not shown; its name suggests is the projection onto .
- .
- .
Conclusion. There exists a real such that for every with :
Here is scaledProjGrad , an imported definition whose code is not shown; the comment describes it as . The number may depend on and on all the data. is the genuine gradient, because lies in the open set on which is .
Degenerate cases.
- The interval includes . There the claim reads . Whether this is trivial (for example and ) depends on the unseen definitions.
- The claim is also required at points where .
- If both sides are .
- makes the statement vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.