Proof of Theorem 4.1: , the formula for , and locally Lipschitz
ProvedNonsmoothNewton.AugLagrangian.eta_C1_grad_locLipLet and let be of class . Put , i.e.
Then:
- is continuously differentiable on ;
- its gradient is
- is locally Lipschitz.
This is the first step of the proof of Theorem 4.1: it establishes that each inequality term of the augmented Lagrangian is and that its gradient is regular enough (locally Lipschitz) for semismoothness to make sense.
Formalization Note The gradient is represented by the Fréchet derivative, a continuous linear functional on : in the first case , in the second . It corresponds to the gradient vector through the Riesz isometry.
import Mathlib import Definitions.Def_NonsmoothNewton_Shared_clarkeJac import Definitions.Def_NonsmoothNewton_AugLagrangian_SemismoothAt import Definitions.Def_NonsmoothNewton_AugLagrangian_augLagrangian open Filter Topology
namespace NonsmoothNewton.AugLagrangian
/-- Qi–Sun (1993), Section 4, proof of Theorem 4.1, pp. 363–364. For `r > 0` and `g ∈ C²`,
`η(x, s) = φ(r, g(x), s)` is `C¹`, its gradient is
`∇η(x, s) = ((s + r g(x)) ∇g(x), g(x))` if `s + r g(x) ≥ 0` and `(0, -s/r)` if
`s + r g(x) ≤ 0` (here as the Fréchet derivative, a linear functional on `ℝⁿ × ℝ`),
and `∇η` is locally Lipschitz. -/
theorem eta_C1_grad_locLip {n : ℕ} (r : ℝ) (hr : 0 < r) (g : EuclideanSpace ℝ (Fin n) → ℝ)
(hg : ContDiff ℝ 2 g) :
ContDiff ℝ 1 (eta r g) ∧
(∀ z : EuclideanSpace ℝ (Fin n) × ℝ, 0 ≤ z.2 + r * g z.1 →
fderiv ℝ (eta r g) z =
(z.2 + r * g z.1) • (fderiv ℝ g z.1).comp
(ContinuousLinearMap.fst ℝ (EuclideanSpace ℝ (Fin n)) ℝ)
+ g z.1 • ContinuousLinearMap.snd ℝ (EuclideanSpace ℝ (Fin n)) ℝ) ∧
(∀ z : EuclideanSpace ℝ (Fin n) × ℝ, z.2 + r * g z.1 ≤ 0 →
fderiv ℝ (eta r g) z =
(-(z.2 / r)) • ContinuousLinearMap.snd ℝ (EuclideanSpace ℝ (Fin n)) ℝ) ∧
LocallyLipschitz (fun z => fderiv ℝ (eta r g) z) := by sorry
end NonsmoothNewton.AugLagrangian
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let , let be a real number with , and let be twice continuously differentiable () on all of , which has its Euclidean structure. Let
where if , and otherwise. The domain of is . Write for its derivative, a linear map from to , and for the derivative of .
Conclusion. The statement asserts all four of the following.
- is continuously differentiable () on all of .
- At every with , and for every direction :
- At every with , and for every direction :
- The map is locally Lipschitz. Here is viewed as a linear functional, measured in operator norm. Every point of has a neighbourhood on which this map is Lipschitz with some constant.
Items 2 and 3 both use non-strict inequalities. At points with both apply, so the statement also asserts that the two formulas give the same functional there.
Degenerate cases:
- The hypothesis rules out the case with .
- By default the derivative of a non-differentiable function is taken to be . That convention never applies here, because item 1 asserts that is differentiable everywhere.
- . is a constant , and . The formulas become where , and where .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.