The Connes Distance Formula
Anchor (Master): Connes *Noncommutative Geometry* (1994) Ch. VI; Connes 'Compact metric spaces, Fredholm modules, and hyperfiniteness' (1989); Rieffel 'Metrics on state spaces' (1999)
Intuition Beginner
Distance is usually something you measure with a ruler laid along the ground. Noncommutative geometry measures it the opposite way: not by walking between two places, but by asking how far apart you can make the readings of a thermometer at those two places, while forbidding the temperature from changing too fast as you move. If the temperature is only allowed to rise by at most one degree per metre, then the difference in readings between two spots can never exceed the number of metres between them. Push that difference as high as it will go, and you have measured the distance.
The "speed limit on change" is supplied by one special operator, the same Dirac operator that ran the spectral triple 39.06.01. Comparing a function against that operator tells you the function's steepest slope. So the recipe is: among all functions whose slope stays under control, find the pair of readings at the two points that are spread as far apart as possible. That largest spread is the distance.
The payoff is that this recipe never mentions a path, a curve, or even points. You can run it on a "space" that has no points at all — separating two states of a noncommutative algebra instead — so distance survives into worlds where ordinary geometry breaks down.
Visual Beginner
The distance between two points is the largest gap in readings you can open up using a function whose slope never exceeds one.
The dictionary reads: the operator caps how fast a function may change; capping the change is the same as a speed limit; a traveller obeying the speed limit covers at most the distance between the points; and the function that uses the full speed limit the whole way opens a gap exactly equal to the distance.
Worked example Beginner
Take the line segment from to with ordinary distance, and cap the slope of every function at one. Pick the two endpoints, and . Which function spreads their readings the furthest while keeping its slope no larger than one?
Try the function that just copies the position: its value at a point is itself. Its slope is exactly everywhere, right at the cap. Its reading at the point is , and its reading at the point is , so the gap between the two readings is .
Can any allowed function do better? A function with slope capped at can climb by at most unit of height over the unit of distance from to . So no allowed function opens a gap larger than . The position function already reaches that ceiling.
What this tells us: the largest achievable gap is , which is exactly the distance from to . The formula returned the right distance, and it did so by squeezing functions against a slope cap rather than by measuring along the segment.
Check your understanding Beginner
Formal definition Intermediate+
Let be a spectral triple 39.06.01: a unital -algebra represented faithfully by bounded operators on a Hilbert space , with self-adjoint, of compact resolvent, and bounded for every . Write for the C*-algebra completion, and let denote its state space: the set of positive linear functionals with , a weak- compact convex set whose extreme points are the pure states 39.01.02.
Define the Lipschitz seminorm by $$ L(a) = \big| [D, a] \big|, $$ the operator norm of the commutator. Because for scalars and is a derivation, is a seminorm with kernel containing the scalars . The Connes distance between two states is $$ d_D(\varphi, \psi) ;=; \sup\Big{, |\varphi(a) - \psi(a)| ;:; a \in \mathcal{A},\ L(a) = \big| [D, a] \big| \le 1 ,\Big} ;\in; [0, +\infty]. $$ The supremum may be (for instance when lie in different connected pieces of a disconnected geometry), so is an extended metric: a function valued in satisfying symmetry, the triangle inequality, and whenever the representation is such that (the irreducible / connected case) [Connes 1989].
Two reductions are routine. First, the supremum is unchanged if restricted to self-adjoint : writing with self-adjoint, has real and imaginary parts coming from , each with since gives . Second, the kernel of being the scalars means adding a constant to changes neither nor , so one may normalise .
The motivating commutative case is the canonical triple of a closed Riemannian spin manifold 39.06.01. The pure states of are exactly the evaluations at points (Gelfand duality 39.01.02); these are the Dirac masses . The commutator is Clifford multiplication by the differential, and , so is the Lipschitz constant of for the geodesic distance.
Counterexamples to common slips
- The constraint is , not . Bounding would bound and produce a fixed diameter rather than a metric; it is the commutator norm — the "slope" — that must be capped, and the value is then free to be large.
- is an extended metric, not a metric: is a legitimate value. For a disconnected manifold no -Lipschitz function is constrained between the components, so points in different components are at infinite distance. Finiteness on all of is an extra hypothesis (Rieffel's compact-quantum-metric-space condition), not automatic.
- The distance is computed between states, not algebra elements. The points enter as the pure states ; the algebra elements are the test functions in the supremum. Confusing the two — treating as a point — inverts the roles in the formula.
Key theorem with proof Intermediate+
Theorem (Connes distance formula; commutative reduction). Let be the canonical spectral triple of a closed Riemannian spin manifold , and let with associated pure states (Dirac masses) , . Then $$ d_{\not{!D}}(\delta_p, \delta_q) ;=; \sup\Big{, |f(p) - f(q)| ;:; f \in C^\infty(M),\ \big| [\not{!D}, f] \big| \le 1 ,\Big} ;=; d_g(p, q), $$ the geodesic distance between and . The metric on pure states recovered from is exactly the Riemannian distance. [Connes Ch. VI §1; Connes 1989]
Proof. By the self-adjoint reduction it suffices to take real-valued. The key identity is that the commutator of the Dirac operator with a function is Clifford multiplication by its differential,
$$
[\not{!D}, f] = c(df),
$$
because obeys the Leibniz rule and the connection terms cancel against each other in the commutator 39.06.01. Clifford multiplication by a one-form has operator norm equal to its pointwise Riemannian length, , fibre by fibre, so
$$
\big| [\not{!D}, f] \big| = \sup_{x \in M} |df_x|g = \big| |df| \big|\infty = \operatorname{Lip}_g(f).
$$
Hence the constraint is precisely the constraint that be -Lipschitz for the geodesic distance.
Upper bound. Let be -Lipschitz and let be any unit-speed path from to of length . Then $$ |f(p) - f(q)| = \Big| \int_0^\ell \frac{d}{dt} f(\gamma(t)), dt \Big| = \Big| \int_0^\ell df_{\gamma(t)}(\dot\gamma(t)), dt \Big| \le \int_0^\ell |df_{\gamma(t)}|_g, dt \le \ell. $$ Taking the infimum over paths gives , so the supremum over -Lipschitz is at most .
Lower bound. Consider the distance-to- function . The triangle inequality shows is -Lipschitz, and , . The function is smooth away from and the cut locus; mollifying it on that small set produces a smooth -Lipschitz with . Letting shows the supremum is at least .
Combining the two bounds, the supremum equals .
Bridge. The distance formula builds toward the entire metric layer of noncommutative geometry, and it appears again in 39.07.01 where cyclic cohomology supplies the higher-degree integration data that complements this degree-zero metric. The foundational reason it works is exactly the identity : the single operator converts the metric question "how far apart are and ?" into the algebraic question "how far apart can a slope-capped function spread their values?", and this is exactly the dual of the supremum that defines the Lipschitz norm in metric geometry. The construction generalises the Gelfand picture of 39.01.02: there the pure states recover the points of a commutative algebra as a topological space, and here the operator upgrades that topological recovery to a metric one, so putting these together the algebra supplies the points and the commutator with supplies the distances. The bridge is that is to the Riemannian metric what the algebra is to the topology — the same slogan that organises the reconstruction theorem 39.06.01, now made quantitative.
Exercises Intermediate+
Lean formalization Intermediate+
lean_status: none — Mathlib has metric spaces, ℝ≥0∞-valued extended pseudometrics, the operator norm, the state space of a C*-algebra as a WeakDual subset, and the basic theory of bounded and unbounded operators, but it does not assemble the Lipschitz-seminorm and the associated state-space metric into a single named construction, nor does it carry Rieffel's compact-quantum-metric-space axioms or the commutative identification .
The intended statement reads schematically:
import Mathlib.Topology.MetricSpace.Basic
import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Basic
variable {A H : Type*} [CStarAlgebra A]
[NormedAddCommGroup H] [InnerProductSpace ℂ H]
/-- The Connes distance on the state space induced by a Lipschitz seminorm
`L a = ‖[D, a]‖`. (Schematic: `L` and the unbounded `D` need the not-yet-bundled
NCG infrastructure; the result is an `ℝ≥0∞`-valued extended metric.) -/
noncomputable def connesDist (L : A → ℝ≥0∞) (φ ψ : stateSpace A) : ℝ≥0∞ :=
⨆ (a : A) (_ : L a ≤ 1), ENNReal.ofReal |φ.toFun a - ψ.toFun a|The commutative theorem — that for the canonical triple of a spin manifold this recovers the geodesic distance between Dirac masses — needs the spin-geometry and elliptic stack and is a far-horizon target alongside the spectral-triple bundling of 39.06.01.
Advanced results Master
The metric topology and compact quantum metric spaces. The extended metric on need not be finite, and even when finite it need not induce the weak- topology. Rieffel isolated the conditions under which it does: a Lip-norm is a seminorm on a dense subspace of the self-adjoint part of , with kernel exactly the scalars, such that the associated is finite and metrizes the weak- topology on . The pair is then a compact quantum metric space [Rieffel 1999]. For the canonical triple of a closed manifold is a Lip-norm, recovering the Wasserstein- metric on probability measures and, on pure states, the geodesic distance. The Lip-norm axiom is the correct noncommutative formulation of "bounded diameter plus the metric recovers the topology", and it is what makes Gromov–Hausdorff convergence of noncommutative spaces meaningful.
Pure states, mixed states, and Monge–Kantorovich duality. On the commutative algebra the states are the probability measures on (Riesz representation), pure states are the Dirac masses, and the distance formula reads $$ d_D(\mu, \nu) = \sup\Big{ \big| \textstyle\int f, d\mu - \int f, d\nu \big| : |[D, f]| \le 1 \Big} = W_1(\mu, \nu), $$ the Kantorovich–Rubinstein dual of the Wasserstein- optimal-transport cost. The Connes distance is therefore the genuine noncommutative generalisation of optimal transport: the Lipschitz-test-function (Kantorovich) side survives verbatim when is noncommutative, while the Monge side — couplings of measures — has no literal analogue because there are no points to transport between. On pure states the duality restricts to the ground geodesic distance, and the convex geometry of extends this to all mixtures.
Finite spectral triples and the internal distance. For a finite-dimensional triple with a sum of matrix algebras, is a finite-dimensional convex body and is computed by finite-dimensional optimisation. The two-point case with off-diagonal gives , turning the discrete pair into a segment of length once mixed states are admitted. In the noncommutative Standard Model the internal algebra carries a built from the fermion Yukawa matrices, and the resulting internal distances are governed by the inverse mass scales; the Higgs field appears as the "coordinate" along the internal segment, and the spectral distance between the two sheets of is set by the top-quark Yukawa coupling [Iochum-Krajewski-Martinetti 2001]. The Higgs potential is then the curvature cost of varying this internal distance over .
Distance in the product geometry. For an almost-commutative triple with product Dirac operator , the spectral distance between two points-times-internal-states is not in general the Pythagorean sum of the geodesic and internal distances. The orthogonality of the manifold and internal directions in does yield a Pythagorean lower bound, and equality holds when the optimal test function factorises; but the constraint couples the two commutators and through the single operator-norm bound, so the exact distance can be strictly larger than the naive sum and requires solving the coupled variational problem. This subtlety is the reason explicit Standard-Model distance computations are delicate.
Failure of finiteness and the role of irreducibility. If the kernel of exceeds the scalars — equivalently if some non-scalar has — then fails to separate states and is only a pseudometric: states agreeing on the commutant of are at distance zero. Irreducibility of the representation, or more precisely the condition , restores the separation property. This is the metric counterpart of the connectedness needed for the reconstruction theorem 39.06.01: a reducible describes a disconnected or degenerate geometry on which distances collapse or diverge.
Synthesis. The distance formula is the central insight that the metric of a geometry is encoded in a single operator, and putting these together with the reconstruction theorem 39.06.01 gives the full dictionary: the algebra recovers the topology, the Dirac operator recovers the metric, and the supremum form is exactly the Kantorovich dual that makes "distance" survive the loss of points. The foundational reason the construction is robust is that it never refers to paths — it is built from and the linear functionals , both of which generalise verbatim — so the formula is dual to optimal transport on the commutative side and generalises it on the noncommutative side. The Lip-norm axioms of Rieffel are what guarantee this metric recovers the weak- topology, so the commutative case is exactly Gelfand duality 39.01.02 with a metric refinement; and the finite-dimensional internal distances are the bridge to physics, where the inverse Yukawa masses become the internal lengths and the Higgs is the coordinate measuring them. The central insight is that one self-adjoint operator simultaneously carries dimension (its eigenvalue growth), integration (its Dixmier trace), and now metric (its commutators) — three faces of the same spectral datum.
Full proof set Master
Proposition (the distance formula defines a genuine extended metric on the state space). Let for states on . Symmetry is immediate, since the admissible set is closed under and with the roles of exchangeable. The triangle inequality holds because for each fixed admissible , , and the right side, independent of , dominates the supremum. Non-negativity is clear, and forces . Conversely means for every with ; rescaling, for every with bounded, i.e. for all of , and since is weak- dense in and states are weak- continuous, . The value is admissible, so is an extended metric.
Proposition ( for the canonical triple). Let be real-valued on a closed spin manifold and . The Leibniz rule for the spin connection gives , hence , so . Clifford multiplication by a one-form satisfies pointwise, so has operator norm on each fibre, and . The right side is the least with for all — by integrating along minimising geodesics for the upper bound and by differentiating along a geodesic realising the supremum of for the lower bound — which is the geodesic Lipschitz constant . Hence .
Proposition (recovery of the geodesic distance between Dirac masses). With the evaluation pure states, by the previous proposition. For -Lipschitz and a minimising geodesic of length , , giving . The function is -Lipschitz with , ; smoothing on the cut locus produces admissible with , so . Therefore .
Proposition (two-point distance equals ). For acting diagonally on with and , the commutator is . The singular values of an anti-diagonal matrix with entries are , so . The pure states are , so , maximised subject to at . Hence . The same computation with mixed states gives , so , exhibiting the state space as a segment of length .
Proposition (commutative Connes distance equals the Wasserstein- distance). For , compact metric, with a Dirac operator giving , states are probability measures by the Riesz representation theorem, . Then , which is exactly the Kantorovich–Rubinstein formula for . The dropping of the absolute value (replacing by ) does not change the supremum because the constraint set is symmetric under . Restricting to , recovers , the ground metric.
Connections Master
Spectral triples and the reconstruction theorem
39.06.01— the distance formula is the metric half of the spectral-triple package: where the reconstruction theorem recovers the smooth manifold and its dimension from , the formula recovers its Riemannian distance, so this unit supplies the quantitative metric that the reconstruction theorem only asserts exists.Commutative C-algebras and Gelfand duality
39.01.02* — Gelfand duality identifies the pure states of with the points of and gives the topology; the Connes distance refines that topological recovery to a metric one, so the two together upgrade "algebra recovers space" to "algebra-with- recovers metric space".Cyclic cohomology and the Chern character
39.07.01— the distance is the degree-zero metric datum, while cyclic cohomology supplies the higher-degree integration current; the noncommutative integral and the distance formula are the two extreme-degree readings of the same operator .Optimal transport and the Wasserstein metric
23.07.04pending — the commutative distance on all states is exactly the Kantorovich–Rubinstein dual of the Wasserstein- optimal-transport cost, so the Connes formula is the noncommutative generalisation of optimal transport, with the Lipschitz-dual side surviving and the coupling side dissolving when points disappear.Riemannian geodesic distance
03.06.02pending — the commutative theorem identifies the spectral distance between Dirac masses with the geodesic distance , so this unit is the spectral re-encoding of the classical length-minimising-path definition of Riemannian distance.
Historical & philosophical context Master
The distance formula first appears in Connes' 1989 paper Compact metric spaces, Fredholm modules, and hyperfiniteness [Connes 1989], where he observed that a Fredholm module — and in particular a spectral triple — equips the state space of the algebra with a metric defined purely by the commutator constraint , and that for the canonical triple of a Riemannian manifold this metric reproduces the geodesic distance. It is consolidated in Chapter VI of Noncommutative Geometry (1994) [Connes Ch. VI §1] as the metric pillar of the program, complementing the dimension (eigenvalue growth) and integration (Dixmier trace) pillars. The slogan "the metric is encoded in the operator " dates from this period and is the precise sense in which Riemannian geometry becomes spectral.
The recognition that the formula is the Kantorovich–Rubinstein dual of optimal transport, and the axiomatic isolation of when the resulting metric recovers the weak- topology, are due to Marc Rieffel, whose Metrics on state spaces (1999) [Rieffel 1999] introduced Lip-norms and compact quantum metric spaces and connected the construction to Gromov–Hausdorff convergence. The explicit computation of distances in finite and almost-commutative geometries — the two-point segment of length , the internal Standard-Model distances governed by Yukawa masses — was carried out by Iochum, Krajewski, Martinetti and others around 2000 [Iochum-Krajewski-Martinetti 2001], establishing the picture in which the Higgs field is the coordinate measuring the spectral distance between the two sheets of the almost-commutative manifold.
Bibliography Master
- Connes, A., "Compact metric spaces, Fredholm modules, and hyperfiniteness", Ergodic Theory and Dynamical Systems 9 (1989), 207–220.
- Connes, A., Noncommutative Geometry, Academic Press, 1994. Ch. VI §1.
- Rieffel, M. A., "Metrics on state spaces", Documenta Mathematica 4 (1999), 559–600.
- Rieffel, M. A., "Gromov-Hausdorff distance for quantum metric spaces", Memoirs of the American Mathematical Society 168 (2004), no. 796.
- Iochum, B., Krajewski, T. & Martinetti, P., "Distances in finite spaces from noncommutative geometry", Journal of Geometry and Physics 37 (2001), 100–125.
- Martinetti, P. & Wulkenhaar, R., "Discrete Kaluza-Klein from scalar fluctuations in noncommutative geometry", Journal of Mathematical Physics 43 (2002), 182–204.
- Villani, C., Optimal Transport: Old and New, Grundlehren der mathematischen Wissenschaften 338, Springer, 2009. Ch. 6 (Kantorovich-Rubinstein duality).
Operator-algebras spine, noncommutative-geometry chapter. The metric heart of NCG: the Connes distance formula on the state space, its commutative reduction to the geodesic distance via , finite/two-point examples, and Monge-Kantorovich duality. Builds on spectral triples (39.06.01) and Gelfand duality (39.01.02).