Ported for Lean Pool: imports relocated and code adapted to Lean/Mathlib v4.34.0.
Taylor bridges for test functions #
This file packages Taylor-style little-oh remainders into the abstract second-order expansion predicate used by the viscosity solution definitions.
Mathlib's symmetry predicate for the second derivative gives the bundled bilinear symmetry used by the Taylor model derivative.
The second-order Taylor polynomial written using Fréchet derivative data rather than coordinate gradients and Hessian matrices.
Equations
Instances For
Fixed quadratic models are smooth.
In quantified mathematical form, for fixed x0, r, p, and X, the
function
x ↦ r + p · (x - x0) + (1 / 2) ⟪X(x - x0), x - x0⟫
is C^k for every differentiability order k.
For a symmetric bilinear second derivative, the derivative of the Fréchet
quadratic model at x is Dφ + D²φ (x - x₀).
Derivative of the residual after subtracting the Fréchet second-order model.
If the first-derivative map has derivative D²φ at x₀, then the derivative
residual for the second-order Taylor model is o(‖x - x₀‖).
A Fréchet second-order Taylor expansion with coordinate derivative data gives the abstract second-order expansion predicate used for viscosity test functions.
Version of hasSecondOrderExpansionWithin_of_frechetLittleO with explicit
Fréchet derivative maps. The equalities identify those maps with the coordinate
jet data.
Mean-value upgrade from a little-oh first-derivative residual to a second-order little-oh residual on a convex domain.
If the residual after subtracting the Fréchet second-order Taylor polynomial has
first derivative o(‖x - x₀‖), then it has the little-oh remainder needed for
the viscosity expansion predicate.
A derivative-residual form of the Fréchet Taylor bridge. This is often easier to feed from continuity of the second derivative than the final little-oh remainder itself.
Smooth-test-function bridge from first- and second-derivative data. The
hypotheses say that Dφ_at is the Fréchet derivative of φ on C, that
Dφ_at has derivative D²φ at x₀, and that this derivative data matches the
coordinate jet.
Canonical fderivWithin version of the smooth-test-function bridge. This
specializes hasSecondOrderExpansionWithin_of_frechetC2Data to mathlib's
chosen first and second derivative maps.
Canonical fderivWithin theorem with differentiability hypotheses. The
derivative maps are mathlib's fderivWithin choices.
C^2 functions on a uniquely differentiable convex domain have the abstract
second-order expansion associated to their canonical fderivWithin data.