Shared definitions for external theorem compatibility #
These mirror definitions from the source project so external theorems can be stated and proved using the same types.
Ambient space #
@[reducible, inline]
The ambient Euclidean space ℝ^d (matching PLAcceleratedNesterovLean).
Equations
Instances For
Tubular neighborhoods #
structure
PLAcceleratedNesterovLean.IsTubularNeighborhood
{E : Type u_1}
[PseudoMetricSpace E]
(S U : Set E)
:
A tubular neighborhood of S is an open set U ⊇ S such that every point in U has a unique nearest point in S.
- isOpen : IsOpen U
Instances For
Optimization definitions #
The infimal value f⋆ = inf_x f(x).
Equations
- PLAcceleratedNesterovLean.Ext.fStar f = ⨅ (x : E), f x
Instances For
def
PLAcceleratedNesterovLean.Ext.PolyakLojasiewicz
{E : Type u_1}
[NormedAddCommGroup E]
[InnerProductSpace ℝ E]
(f : E → ℝ)
(μ : ℝ)
(U : Set E)
:
μ-PŁ condition using ‖fderiv‖ (PLMB compatibility layer).
Equations
Instances For
noncomputable def
PLAcceleratedNesterovLean.Ext.gradient
{E : Type u_1}
[NormedAddCommGroup E]
[InnerProductSpace ℝ E]
[FiniteDimensional ℝ E]
(f : E → ℝ)
(x : E)
:
E
The gradient of f at x (Riesz representative of fderiv ℝ f x).
Equations
- PLAcceleratedNesterovLean.Ext.gradient f x = (InnerProductSpace.toDual ℝ E).symm (fderiv ℝ f x)
Instances For
noncomputable def
PLAcceleratedNesterovLean.Ext.hessianQuadForm
{E : Type u_1}
[NormedAddCommGroup E]
[InnerProductSpace ℝ E]
[FiniteDimensional ℝ E]
(f : E → ℝ)
(x ξ : E)
:
The Hessian quadratic form ξᵀ D²f(x) ξ = ⟨D(∇f)(x)·ξ, ξ⟩.
Equations
- PLAcceleratedNesterovLean.Ext.hessianQuadForm f x ξ = inner ℝ ((fderiv ℝ (PLAcceleratedNesterovLean.Ext.gradient f) x) ξ) ξ