Eq. (37) — the second differential of the perspective y f(s/y)
ProvedPhiDivRobust.Barrier.perspective_second_differentialLet be three times continuously differentiable on and let . For all , and every direction ,
The bracket equals , so the formula shows in particular that the perspective of a convex function is convex on the quadrant. It is the quadratic form against which the third differential is compared in (36).
Formalization Note The second differential is iteratedFDeriv ℝ 2 g (s, y) applied to , and is iteratedDeriv 2 f. regularity of on is the standing hypothesis of Theorem 2 made explicit (the page uses and requires the barrier to be ); would suffice for this identity.
import Mathlib import Definitions.Def_PhiDivRobust_Barrier_perspective
namespace PhiDivRobust.Barrier
theorem perspective_second_differential (f : ℝ → ℝ) (hf : ContDiffOn ℝ 3 f (Set.Ioi 0))
(s y : ℝ) (hs : 0 < s) (hy : 0 < y) (h : ℝ × ℝ) :
iteratedFDeriv ℝ 2 (perspective f) (s, y) (fun _ => h) =
iteratedDeriv 2 f (s / y) *
(h.1 ^ 2 / y - 2 * s * h.1 * h.2 / y ^ 2 + s ^ 2 * h.2 ^ 2 / y ^ 3) := by sorry
end PhiDivRobust.Barrier
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is three times continuously differentiable on the open half-line .
- is its perspective on .
- and are real numbers.
- is an arbitrary direction.
Claim. The second Fréchet derivative of at , applied twice to , satisfies
Here is the second derivative of as a function on , evaluated at . Algebraically, the bracket equals . No convexity of is assumed.
Degenerate cases:
- The values of at arguments play no role.
- The hypotheses exclude the division-by-zero conventions: every denominator is a positive power of .
- For both sides are .
- For or for proportional to , the bracket is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.