Lemma 2.1 (ii): iff is constrained stationary
ProvedSpectralProjGrad.SPG2.scaledProjGrad_eq_zero_iff_stationaryLet be closed and convex, let have continuous partial derivatives on an open set , with gradient , and let be the orthogonal projection onto . Let . For every and every ,
So the vanishing of the scaled projected gradient is exactly first-order stationarity; with it justifies the stopping test of Step 1 of SPG2.
Formalization Note The standing assumptions of the paper (closed convex , of class on an open ) and the parameter constraint are carried as hypotheses exactly as on p. 3.
import Mathlib import Definitions.Def_SpectralProjGrad_Shared_IsProjOnto import Definitions.Def_SpectralProjGrad_Shared_scaledProjGrad import Definitions.Def_SpectralProjGrad_Shared_IsConstrainedStationary
namespace SpectralProjGrad.SPG2
/-- Lemma 2.1 (ii): for `x̄ ∈ Ω` and `t ∈ (0, α_max]`, the scaled projected gradient
`g_t(x̄) = P(x̄ - t ∇f(x̄)) - x̄` vanishes iff `x̄` is a constrained stationary point. -/
theorem scaledProjGrad_eq_zero_iff_stationary {n : ℕ}
{Ω U : Set (EuclideanSpace ℝ (Fin n))} {f : EuclideanSpace ℝ (Fin n) → ℝ}
{P : EuclideanSpace ℝ (Fin n) → EuclideanSpace ℝ (Fin n)} {αmin αmax : ℝ}
(hΩ_closed : IsClosed Ω) (hΩ_convex : Convex ℝ Ω)
(hU_open : IsOpen U) (hΩU : Ω ⊆ U) (hf : ContDiffOn ℝ 1 f U)
(hP : SpectralProjGrad.Shared.IsProjOnto Ω P)
(hαmin : 0 < αmin) (hαmin_lt : αmin < αmax)
(t : ℝ) (ht : t ∈ Set.Ioc 0 αmax)
(xbar : EuclideanSpace ℝ (Fin n)) (hxbar : xbar ∈ Ω) :
SpectralProjGrad.Shared.scaledProjGrad P f t xbar = 0 ↔ SpectralProjGrad.Shared.IsConstrainedStationary Ω f xbar := by sorry
end SpectralProjGrad.SPG2
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix and work in with the Euclidean norm. The inputs are:
- sets ;
- a function ;
- a map ;
- reals and ;
- a point .
Hypotheses.
- is closed and convex.
- is open and .
- is continuously differentiable () on .
- satisfies the imported predicate . Its body is not shown here; by name it says that is the projection onto .
- .
- .
- .
Conclusion.
Here is the imported . Its body is not shown; its name and usage elsewhere suggest . "Constrained stationary" is the imported predicate , whose body is also not shown. So the exact content of both sides depends on these hidden definitions.
enters only through , which forces .
Degenerate cases.
- If is empty, the hypothesis cannot hold, so the statement is vacuous.
- If , every vector is . The left side is then automatically true, so the statement says that the single point is constrained stationary, provided the other hypotheses are met.
- The hypotheses do not fix a lower bound on other than . In particular, is allowed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.