Ported for Lean Pool: imports relocated and code adapted to Lean/Mathlib v4.34.0.
Semijet calculus (QuadraticControl) #
Part of the calculus lemmas for second-order superjets and subjets.
Split from Calculus.lean; see the umbrella module docstring.
If rho(t) = o(t^2), then rho(t) / t -> 0 along any filter approaching
0 through nonzero points.
First-order scalar coefficient extraction from a two-sided neighborhood.
If rho(t) = o(t^2) and
0 <= a t + b t^2 + rho(t) for all t sufficiently close to 0, then
a = 0. The proof divides by t on the right and left one-sided
neighborhoods and compares the two limits.
A scalar o(t^2) comparison lemma for extracting second-order coefficients.
In standard mathematical terms, if f(t) = o(t^2) as t -> 0 and
c t^2 <= f(t) for all t sufficiently close to 0, then c <= 0.
The proof works on the punctured neighborhood of 0, divides by t^2, and
passes to the limit.
A full-neighborhood superjet of the zero function has zero gradient.
The proof restricts the superjet inequality to every affine line through the base point and applies the scalar first-order extraction lemma.
The Hessian quadratic form of a zero-function superjet is nonnegative once the gradient part is known to vanish.
This is the line-restriction step needed to control quadratic bumps. Applied to a superjet of a quadratic model after subtracting the recentered quadratic expansion, it gives the quadratic-form inequalities that imply Loewner order under the necessary Hermitian hypothesis.
A zero-function superjet with zero gradient has nonnegative Hessian, provided the Hessian is Hermitian.
The Hermitian hypothesis is the unavoidable bridge from scalar quadratic-form inequalities to mathlib's Loewner order on real matrices.
Hessian control for a full-neighborhood superjet of a quadratic model, after the first-order part has been identified.
Subtracting the exact recentered quadratic expansion turns the superjet into a zero-function superjet. The preceding zero-function lemma then gives nonnegative Hessian difference, hence the desired Loewner inequality.
Full-neighborhood superjet control for a quadratic model, up to the necessary Hermitian hypothesis on the Hessian difference.
The gradient equality is forced by subtracting the exact quadratic expansion
and applying superjet_zero_univ_gradient_eq_zero; the Hessian inequality is
then the preceding Loewner-control lemma.
Interior-domain superjet control for a quadratic model.
This is the local version used by smooth Perron bumps: once the base point is interior to the PDE domain, superjets relative to the domain can be read as full-neighborhood superjets and controlled by the canonical recentered quadratic jet.
Interior-domain superjet control for a quadratic model after symmetrizing the tested Hessian.
This avoids asking every raw superjet Hessian difference to be Hermitian. Instead, the quadratic's own Hessian is Hermitian and the arbitrary tested Hessian is replaced by its symmetric part, which defines the same quadratic touching polynomial.
Recover Loewner order from quadratic-form inequalities, once the Hessian difference is known to be Hermitian.
The Hermitian hypothesis is essential in the current jet setup: quadratic models only see the symmetric part of a matrix, while mathlib's Loewner order is an order on Hermitian differences.
If J is a superjet of u and K is a superjet of v, then J + K is a
superjet of u + v. This is the formal version of CIL Remark 2.6(ii)'s
inclusion J^{2,+}(u+v) ⊇ J^{2,+}u + J^{2,+}v.
Subtracting a constant from a function does not change its superjet fibers.
In quantified mathematical form, for every real number δ,
J ∈ J^{2,+}_C (u - δ)(x) if and only if J ∈ J^{2,+}_C u(x).
Subtracting a constant from a function does not change its subjet fibers.
In quantified mathematical form, for every real number δ,
J ∈ J^{2,-}_C (u - δ)(x) if and only if J ∈ J^{2,-}_C u(x).
Convex combinations of superjets remain superjets. This is the concrete form of
convexity of the fiber J^{2,+}_C u(x).
Convex combinations of subjets remain subjets. This is the concrete form of
convexity of the fiber J^{2,-}_C u(x).