Lemma 2.1 (i):
ProvedSpectralProjGrad.SPG2.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 ,
With this says that the SPG2 direction is a descent direction whose slope is bounded by its squared length, uniformly over the admissible step range; it is the basic estimate behind the nonmonotone Armijo test (3).
Formalization Note The two inequalities of the chain are stated as a conjunction.
import Mathlib import Definitions.Def_SpectralProjGrad_Shared_IsProjOnto import Definitions.Def_SpectralProjGrad_Shared_scaledProjGrad
namespace SpectralProjGrad.SPG2
/-- 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.SPG2
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Fix and work in with the standard inner product and Euclidean norm. The inputs are:
- sets ;
- a function ;
- a map ;
- reals ;
- a point .
Hypotheses.
- is closed and convex.
- is open and .
- is on .
- satisfies the imported predicate . Its body is not shown.
- .
- .
- .
Conclusion. Write for the imported . Its body is not shown; it is presumably . Then both of the following hold:
Both inequalities are non-strict. enters only through .
Degenerate cases.
- Since , the quantity is never a division-by-zero default. The same holds for , because .
- If , the statement is vacuous.
- If , all quantities are and both inequalities read .
- If , both inequalities become and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.