simplicial: the Levi-Civita connection of a Regge manifold - #119
simplicial: the Levi-Civita connection of a Regge manifold#119luiswirth wants to merge 1 commit into
Conversation
Parallel transport across a facet is the unique isometry of the two cells' frames that restricts to the transition differential on the shared facet and carries the direction out of the source to the direction into the target: the unfolding of the pair into one flat frame. It exists because both cells read the facet's metric off the same edge lengths, so the connection is a derived quantity of the Regge primitive and needs no embedding. Piecewise flatness leaves no interior degrees of freedom and no contractible dual loop with holonomy, so the whole connection is one matrix per interior facet and all curvature concentrates on the codimension-2 hinges, where the holonomy rotates the normal plane by the deficit angle. This generalizes vertex_gaussian_curvature, whose 2D angle defect was the n = 2 case of deficit_angle; only the lumped-area density stays 2D, and the duplicate implementation is gone. The laws: metric compatibility, agreement of the shared facet metric, functoriality, trivial holonomy on a flat mesh, agreement of the holonomy rotation angle with the deficit angle, and Gauss-Bonnet. The sign of the unfolding is pinned against an embedding, where transport must be the ambient identity read in the two local frames -- a test, since the definition may not consult coordinates. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DBMLrofgVMniugqfwti7p2
|
Four design points, before this gets implemented. The connection is not a method on the metric
A transport is not a matrix
It also settles the The normal is a kernel, not an eigenvector"Least eigenvector of the normal equations of Two smaller thingsThe Regge action "Hinge" and Separately, the sign paragraph reads worse than the design is. The stated side condition (restrict to the transition differential, carry the direction out of the source to the direction into the target) already pins the sign intrinsically; the embedding confirms it rather than defining it. Worth saying that outright, or a reader concludes the definition consults coordinates. |
A Regge manifold is piecewise flat, but nothing in the crate could ask what its curvature was: the metric was only ever used within a cell, and no two cells' frames were ever compared. This adds that comparison, which is the Levi-Civita connection, and the curvature that falls out of it.
Parallel transport
MeshLengthsSq::transportgives the unique linear isometryIt exists because both cells read the shared facet's metric off the same squared edge lengths, so their restrictions agree. A bag of unrelated
CellGramianswould admit no such gluing. The connection is therefore a derived quantity of the Regge primitive, computed with no embedding anywhere, which is the point.Frames are deliberately not orthonormalized. Orthonormalizing each cell would be an arbitrary gauge choice per cell, so a transport satisfies$T^\top g_{K'} T = g_K$ rather than literally being a matrix of $O(p,q)$ — the same statement with no choice in it. A holonomy, source and target being one chart, does land in $O(g_K)$ .
Curvature
Piecewise flatness leaves no interior degrees of freedom (a cell's frame already identifies all its tangent spaces) and no holonomy around a contractible dual loop (the region unfolds flat and the product telescopes). So the whole connection is one matrix per interior facet, and all of its curvature concentrates on the codimension-2 hinges, where the holonomy fixes the hinge's tangent space and rotates the normal plane by the deficit angle. Curvature is a 2-form, hence measured against area, which is why the hinges are codimension 2: vertices in 2D, edges in 3D, triangles in 4D, one mechanism.
Added on top of transport:
transport_along,holonomy,holonomy_angle,dihedral_angle,deficit_angle, andRidge::is_boundary(the codimension-2 reading ofFacet::is_boundary, and the condition under which there is no loop to transport around).Totality
The normal direction is obtained as the least eigenvector of the normal equations of$B^\top g$ , which stays an $n \times n$ eigenproblem in every dimension — the empty tangent space of a 1-manifold included — so there is no base case anywhere.
Noneis returned on the two genuine degeneracies rather than papered over: a null normal (degenerate facet metric, no unit vector to be had) and a signature mismatch across the facet (no isometry exists).Tests
The sign of the unfolding is pinned against an embedding, where transport must be$A_{K'}^{-1} A_K$ : a reflection satisfies the isometry law just as well and fails only this. It is a test rather than the definition precisely because the definition may not consult coordinates.
One removal
vertex_gaussian_curvaturecarried its own 2D angle-defect loop, with a doc comment stating that the crate did not yet carry the general computation. Its angle defect was thedeficit_angle, so it now goes through it; only the lumped-area density is genuinely 2-dimensional. Its pre-existing exact Gauss-Bonnet test passes unchanged.Not included
The$\Lambda^k$ extension of transport is
exterior_powerof the matrix, butexteriorandsimplicialare siblings, so it belongs inderhamrather than here. Andholonomy_angleis the Riemannian reading: on an indefinite signature the holonomy may be a boost, whose invariant is a rapidity and not an angle. The doc says so instead of the code pretending otherwise.🤖 Generated with Claude Code
https://claude.ai/code/session_01DBMLrofgVMniugqfwti7p2