High-contrast homogenization: Entry.Geometry.ProjectiveMetric #
Imported from the Apache-2.0 HighContrastHomogenization development at commit
7a13dbcd8d6609264a713373f5c69ceeac870472.
Metric support for the projective distance #
For positive definite matrices m₀ m₁ : Mat d, the projective distance
projectiveDistance m₀ m₁ is half the logarithm of the optimal relative Loewner spread.
The spectral thresholds specMin and specBound of the normalized relative matrix
normalizedMat m₀ m₁ are attained at its eigenvalues, and they are exactly the sharp
lower and upper thresholds of the relative comparisons t • m₀ against m₁, so the
distance is 1 / 2 * Real.log (U / L) for those two thresholds. The distance is
nonnegative, vanishes exactly on the positive-scalar equivalence classes, is invariant
under positive scaling of its right endpoint, and satisfies the triangle inequality;
from the identity it equals half the logarithm of the eccentricity ‖m‖ * ‖m⁻¹‖.
These are the metric facts used by l.projective.step, and the triangle inequality is
used in the finite run of p.global.selection.
The lower and upper Loewner thresholds are attained eigenvalues.
The normalized relative matrix of two positive matrices is positive definite.
Lower relative Loewner comparisons are exactly the lower spectral threshold of the normalized relative matrix.
Upper relative Loewner comparisons are exactly the upper spectral threshold of the normalized relative matrix.
The projective distance is the logarithm of the optimal relative Loewner spread.
The projective distance between positive matrices is nonnegative.
The projective distance is invariant under positive scaling in the right endpoint.
The projective distance vanishes exactly on the positive-scalar equivalence relation.
The projective distance satisfies the triangle inequality on positive matrices.
The projective distance from the identity is the logarithm of the eccentricity expression using Mathlib's L2 operator norm.