Lemma 2.1 (ii): iff is constrained stationary
ProvedSpectralProjGrad.SPG1.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 SPG1.
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.SPG1
/-- 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.SPG1
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix and let:
- be sets (Euclidean inner product and norm);
- be a function;
- be a map;
- .
Hypotheses.
- is closed and convex.
- is open and .
- is continuously differentiable () on .
- holds. This predicate is defined in an imported file whose code is not shown; its name suggests that is the projection onto , but its exact content cannot be read from the given code.
- .
- is a real number with .
- .
Conclusion.
Here is scaledProjGrad . Both scaledProjGrad and IsConstrainedStationary are defined in imported files whose code is not shown. The comment describes as , and the name suggests the right side is a first-order stationarity condition for on . Neither description can be verified from the code given.
How the parameters enter. appears only in the hypotheses; its only effect is to force . The equivalence is claimed for every .
Degenerate cases.
- If the hypothesis cannot hold, so the statement is vacuous.
- If every vector is , so the left side is automatically true. The statement then asserts that the stationarity predicate holds at the single point, which depends on the unseen definition.
- Whether the hypothesis can be satisfied at all (for example for empty ) depends on its unseen definition.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.