Discrete differential geometry in homotopy type theory
Greg Langmead
TL;DR
The work develops a HoTT-based framework for discrete differential geometry by modeling simplicial complexes with higher inductive types and defining principal circle bundles, connections, curvature, and vector fields via pushouts and realizations. It establishes a total-curvature versus total-index relation on oriented 2D complexes, illustrated through an octahedron model of the sphere, and provides a concrete vector-field example with explicit computations. The central contributions include a HoTT-compatible construction of tangent bundles on discrete surfaces, a formalization of flat connections as local trivialisations, and a total-construction theorem linking local geometric data to global invariants, paving the way toward Gauss–Bonnet and Poincaré–Hopf-type results in homotopy type theory. The work also outlines open questions, such as general existence of connections beyond special combinatorial cases and the need for an Euler characteristic analogue within this framework, with potential for formalization and connections to CW-complex approaches in HoTT.
Abstract
Type families on higher inductive types such as pushouts can capture homotopical properties of differential geometric constructions including connections, curvature, and vector fields. We define a class of pushouts based on simplicial complexes, then define principal bundles, connections, and curvature on these. We provide an example of a tangent bundle but do not prove when these must exist. We define vector fields, and the index of a vector field. Our main result is a theorem relating total curvature and total index, a key step to proving the Gauss-Bonnet theorem and the Poincaré-Hopf theorem, but without an existing definition of Euler characteristic to compare them to. We draw inspiration in part from the young field of discrete differential geometry, and in part from the original classical proofs, which often make use of triangulations and other discrete arguments.
