Self-pairings of inner-product type #
A pairing of a space with itself that is symmetric and positive definite behaves like an inner
product in every way the theory needs, without carrying a NormedAddCommGroup structure of its
own. That matters because Moreau's theorem gets applied on U × X, which carries the supremum
norm and so has no InnerProductSpace ℝ instance, even though prodPairing (innerₗ U) (innerₗ X)
is a perfectly good inner product on it. Moving to WithLp 2 (U × X) instead would replace the
topology instance, so ClosedFn, Continuous and IsClosed would stop transferring
definitionally; generalising the pairing costs one class and leaves the topology alone.
Main definitions #
IsInnerPairing B—Bis symmetric, positive semidefinite, and definite.IsContinuousInnerPairing B— an inner pairing whose quadratic formx ↦ B x xis continuous. This is the only topological fact Moreau's theorem needs, and it holds forinnerₗ Eon any real inner-product space, with no finite-dimensionality.pairingNorm B x— the induced norm√(B x x).
Main results #
self_pairing_add,self_pairing_sub,self_pairing_combo_le— the quadratic expansions, and convexity of½ B z zwith its defect visible. These replacenorm_add_sq_realand friends.pairing_sq_le_mul— Cauchy–Schwarz for a positive semidefinite symmetric form. Onlyself_nonnegis used, not definiteness: the proof splits onB y y = 0, and semidefiniteness alone forcesB x y = 0in that branch.pairingNorm_add_le— the triangle inequality, sopairingNormis a genuine norm.exists_pairingNorm_le_and_le_pairingNorm— in finite dimensions the induced norm is equivalent to the ambient one, so nothing stated throughpairingNormsays anything new about the topology.
Implementation notes #
IsInnerPairing is a Prop-class rather than a structure carrying data: the form B is already a
LinearMap, and the class only records the three properties, so an inner-product space's own
innerₗ E picks the instance up automatically. Definiteness is stated as B x x = 0 → x = 0,
which is the form proofs apply; self_pos supplies the other.
No InnerProductSpace instance is manufactured from IsInnerPairing: doing so through
InnerProductSpace.ofCore would produce a second NormedAddCommGroup on E, which is the clash
this module exists to avoid.
A pairing of E with itself that is symmetric and positive definite — an inner product in
all but the NormedAddCommGroup structure.
The pairing is symmetric.
The pairing is positive semidefinite.
The pairing is definite.
Instances
A symmetric pairing is its own flip. This is what lets closedFn_conj — which asks for
IsContinuousPairing B.flip — be applied to an inner pairing without a detour.
Expansions #
The quadratic identities ‖x ± y‖² = ‖x‖² ± 2⟪x, y⟫ + ‖y‖² and their companions.
Convexity of the quadratic form, with the defect a b B (u - v) (u - v) ≥ 0 visible. This
is the one inequality that makes w z = ½ B z z a convex function.
Cauchy–Schwarz in norm form.
The triangle inequality: pairingNorm B is a norm.
Inner pairings with a continuous quadratic form #
An inner pairing whose quadratic form is continuous. This does not follow from
IsContinuousPairing, which gives continuity only in the first variable with the second held
fixed.
- continuous_self : Continuous fun (x : E) => (B x) x
The quadratic form is continuous.
Instances
Polarization makes the diagonal do all the work: a symmetric form whose quadratic form is
continuous is continuous in each variable separately, so IsContinuousInnerPairing subsumes
IsContinuousPairing.
The flip of an inner pairing is continuous, which instance search cannot see through
LinearMap.flip on its own.
The flip of a compatible inner pairing is compatible: for a symmetric pairing the two conditions coincide.
The inner product of an inner-product space #
The inner product of a real inner-product space is an inner pairing.
The inner product of a real inner-product space has a continuous quadratic form, ‖·‖ ^ 2,
with no finite-dimensionality needed.
Products #
A product of inner pairings is an inner pairing: U × X has no InnerProductSpace
structure, but prodPairing (innerₗ U) (innerₗ X) is an inner pairing on it.
A product of continuous inner pairings has a continuous quadratic form.
Equivalence with the ambient norm, in finite dimensions #
x ↦ B x x is continuous, being a continuous bilinear form evaluated on the diagonal. No
IsContinuousPairing hypothesis is needed, since in finite dimensions every linear map out of E
is continuous.
In finite dimensions every inner pairing has a continuous quadratic form.
pairingNorm B is continuous.
The induced norm is equivalent to the ambient one. Positive definiteness makes B x x
strictly positive on the unit sphere, which is compact in finite dimensions, so it has a positive
minimum and a finite maximum there; homogeneity spreads both bounds over all of E.