Distortion cocycles and metric completion
The distortion API measures finite maps between spaces with positive metrics and records obstructions to a common metric completion. Its conventions build on metric packets.
1. Intrinsic anisotropy packet
For an invertible finite-dimensional map
with positive-definite Hermitian metrics, choose factors \(Q_s=R_s^*R_s\) and \(Q_t=R_t^*R_t\). Define
and
The singular values of B_Q(T) are independent of the chosen metric factors.
If coordinates change by G_s,G_t and the metrics are transported
covariantly, the new representative differs by unitary factors. Therefore
D_Q(T) and the geometric-mean volume scale are coordinate invariants of the
metric-decorated map.
Import the implementation explicitly from
komorebi_math.nonlinear.distortion.
2. Distortion cocycle law
For composable metric maps,
hence
is subadditive:
For a transport path, intermediate metric factors cancel exactly, so the same law applies edge by edge.
For a closed word with holonomy H, every metric satisfies
Thus, with
any edge distortion budget obeys
where traversal multiplicity is counted without orientation cancellation. This is a necessary cycle/word obstruction.
3. Fundamental cycles alone are insufficient
Let
Both A and B_t have eigenvalues +i,-i; each is individually
unitarizable and has spectral distortion lower bound one. But
so
Consequently, for every common metric Q,
and therefore
The bound is attained by a metric with coordinate ratio 1/t, so
For t=9, the exact optimum is 9. A generating-cycle test can therefore
miss an obstruction that appears only after word composition.
4. Conformal metric completion
A conformal metric completion of an invertible transport graph consists of
positive metrics Q_v and positive edge length scales lambda_e satisfying
Rescale every vertex metric to determinant one and define
Then the conformal equations are equivalent to
After spanning-tree propagation this reduces to one root metric Q satisfying
for every closed word. Therefore:
Conformal metric-completion criterion. A finite invertible transport graph admits a conformal positive-definite metric completion if and only if its determinant-normalized holonomy representation is unitarizable. Equivalently, its normalized holonomy image is conjugate into a unitary group; in finite dimensions this is equivalent to relative compactness of that image.
The equivalence with relative compactness uses the classical Haar-averaging construction for a compact group.
5. Metric-completion trichotomy
Normalize candidate root metrics by det Q = 1, and for a finite set of
normalized holonomy generators define
There are three operational cases.
- Completion:
Delta_* = 0and the infimum is attained. Then the normalized representation preserves a positive metric. - Gap obstruction:
Delta_* > 0. Some anisotropy remains under every positive metric. - Escape obstruction:
Delta_* = 0but the infimum is not attained. Every sequenceQ_kwithF(Q_k) -> 0must havecond(Q_k) -> infinityalong a subsequence, and in fact no such near-minimizing sequence can have uniformly bounded condition number.
The third claim is a compactness theorem. If det Q_k=1 and cond(Q_k) were
uniformly bounded, all eigenvalues would be bounded above and away from zero.
A convergent subsequence would then limit to a positive-definite Q_*; by
continuity F(Q_*)=0, contradicting nonattainment.
This turns numerical conditioning into an obstruction certificate: a system may be arbitrarily close to metric completion only by sending its metric packet to the boundary of the positive cone.
Unipotent model
For
all eigenvalues have modulus one, so the spectral lower bound is exactly one. There is nevertheless no positive-definite invariant metric. Taking
gives
For sampled small positive s, numerical evaluation gives the diagnostic trend
Thus the unipotent obstruction is a zero-gap/nonattainment obstruction rather than a positive spectral gap.
6. Curvature and metric compatibility
Metric compatibility is distinct from flatness. A connection can preserve a positive metric while having nonzero curvature.
On a trivial real rank-three bundle over a planar base, use the constant connection matrices
Both are skew-symmetric, so the Euclidean metric is parallel. Yet
A finite rectangular loop at side length 0.2 produced nontrivial holonomy
with Frobenius distance 0.05637743157883952 from the identity, while its
orthogonality residual was only 4.624480671433126e-17.
So nonzero curvature and nontrivial holonomy are compatible with exact metric transport. For a fixed connection the relevant question is instead whether its holonomy preserves a positive metric. Curvature contributes to the holonomy algebra, but flatness is much stronger than metric compatibility.
7. Verification
The regression suite checks:
- coordinate covariance of metric distortion;
- submultiplicativity under composition;
- the exact two-generator mixed-word minimax example;
- the unipotent zero-gap/nonattainment model;
- determinant normalization preserving anisotropy.
Deterministic stress cases additionally compare coordinate covariance and composition bounds across varied finite matrices and positive metrics. These checks concern the represented numerical inputs and declared tolerances.
8. Scope
- The finite graph criterion uses classical unitarizability and compactness.
- Spectral word inequalities are necessary, not sufficient, for completion.
- Checking only fundamental holonomy generators is not sufficient; mixed words can expose obstructions.
Delta_* = 0does not imply an invariant metric unless the infimum is attained.- The API does not solve the global optimization problem for
Delta_*. - Nonlinear metric completion requires a holonomy-compatible parallel metric. A curvature value alone does not decide that existence question.