Documentation

TauCeti.Analysis.SpecialFunctions.ContinuousFunctionalCalculus.GeometricMean

The geometric mean of two positive elements #

For a strictly positive element a of a unital algebra carrying a continuous functional calculus and a nonnegative element b, the geometric mean

geometricMean a b = √a * √(√a⁻¹ * b * √a⁻¹) * √a

is the unique nonnegative solution x of the Riccati equation x * a⁻¹ * x = b. For positive definite matrices, and for positive operators on a real Hilbert space, this is the classical geometric mean. The element geometricMean a⁻¹ b, characterised here as the unique nonnegative solution of x * a * x = b, is the linear map transporting a centred Gaussian law of covariance a to one of covariance b, that is, the linear Brenier map from a nondegenerate source Gaussian to a possibly degenerate target Gaussian.

The definition is phrased through Mathlib's CFC.conjSqrt, so all of the identities below reduce to associativity together with CFC.sqrt_mul_sqrt_self and the uniqueness of nonnegative square roots (CFC.sqrt_unique).

Main declarations #

References #

Conjugation by a square root preserves nonnegativity.

A factor between two square-root conjugations by c moves inside a single conjugation by c, where it is itself conjugated by c.

The geometric mean geometricMean a b = √a * √(√a⁻¹ * b * √a⁻¹) * √a of two elements of a unital algebra with a continuous functional calculus. The intended range of the definition is a strictly positive and b nonnegative; the value is 0 whenever a fails to be nonnegative.

Equations
Instances For

    Outside the intended range, the geometric mean takes the junk value 0.

    The geometric mean of a and b solves the Riccati equation x * a⁻¹ * x = b.

    The Riccati equation x * a⁻¹ * x = b has at most one nonnegative solution.

    theorem TauCeti.geometricMean_eq_iff {A : Type u_1} [PartialOrder A] [Ring A] [StarRing A] [TopologicalSpace A] [StarOrderedRing A] [Algebra ℝ A] [ContinuousFunctionalCalculus ℝ A IsSelfAdjoint] [NonnegSpectrumClass ℝ A] {a b x : A} [IsSemitopologicalRing A] [T2Space A] (ha : IsStrictlyPositive a := by cfc_tac) (hb : 0 ≤ b := by cfc_tac) (hx : 0 ≤ x := by cfc_tac) :

    The geometric mean of a and b is characterised as the nonnegative solution of the Riccati equation x * a⁻¹ * x = b.

    The geometric mean of two strictly positive elements is strictly positive.

    The geometric mean is symmetric in its two arguments.

    The arithmetic--geometric mean inequality for positive elements: geometricMean a b + geometricMean a b ≤ a + b.

    The transport identity: geometricMean a⁻¹ b solves x * a * x = b. Read through the covariances of two centred Gaussian laws, this is the linear Brenier map from the first to the second.

    The equation x * a * x = b has at most one nonnegative solution.