Lemma 2.1 (i):
ProvedSpectralProjGrad.SPG1.inner_gradient_scaledProjGrad_leLet be closed and convex, let have continuous partial derivatives on an open set , with gradient , and let be the orthogonal projection onto . Let and write . For every and every ,
The scaled projected gradient is therefore a descent direction whenever it is nonzero, with a decrease rate that is uniform over the admissible step range; this is what makes the sufficient-decrease term in the Armijo test (1) negative.
Formalization Note Both inequalities are stated as one conjunction. The standing assumptions of p. 3 are carried as hypotheses.
import Mathlib import Definitions.Def_SpectralProjGrad_Shared_IsProjOnto import Definitions.Def_SpectralProjGrad_Shared_scaledProjGrad
namespace SpectralProjGrad.SPG1
/-- Lemma 2.1 (i): for `x ∈ Ω` and `t ∈ (0, α_max]`,
`⟨g(x), g_t(x)⟩ ≤ -(1/t) ‖g_t(x)‖₂² ≤ -(1/α_max) ‖g_t(x)‖₂²`. -/
theorem inner_gradient_scaledProjGrad_le {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)
(x : EuclideanSpace ℝ (Fin n)) (hx : x ∈ Ω) :
inner ℝ (gradient f x) (SpectralProjGrad.Shared.scaledProjGrad P f t x) ≤ -(1 / t) * ‖SpectralProjGrad.Shared.scaledProjGrad P f t x‖ ^ 2 ∧
-(1 / t) * ‖SpectralProjGrad.Shared.scaledProjGrad P f t x‖ ^ 2 ≤ -(1 / αmax) * ‖SpectralProjGrad.Shared.scaledProjGrad P f t x‖ ^ 2 := 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 and norm);
- ;
- ;
- .
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. Write for scaledProjGrad . This is an imported definition whose code is not shown; the comment describes it as . Both of the following hold:
Since is on the open set , is the genuine gradient. appears only in the hypotheses, where it forces .
Degenerate cases.
- The second inequality follows from alone, whatever is.
- is strictly positive, so is never a division by zero.
- If the statement is vacuous.
- If both sides are and the claim holds trivially.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.