homotopy.io: a proof assistant for finitely-presented globular $n$-categories
Nathan Corbyn, Lukas Heidemann, Nick Hu, Chiara Sarti, Calin Tataru, Jamie Vicary
TL;DR
homotopy.io provides a browser-based proof assistant for finitely-presented semistrict globular $n$-categories, enabling graphical construction and manipulation of $n$-diagrams via a point-and-click interface. It encodes $n$-cells as inductive zigzag diagrams and implements core operations—collapse, contraction, expansion, typechecking, and layout—with a memoisation-enabled rendering pipeline in Rust/WASM. The system supports coherent invertible generators across all dimensions, allows formalization of higher-categorical proofs (e.g., Eckmann–Hilton) in an in-browser environment, and outlines extensions toward Hopf modules, functors, and duals. By combining a lightweight frontend with a rigorous semistrict higher-category model, homotopy.io aims to accelerate proof development, visualization, and sharing in higher category theory research.
Abstract
We present the proof assistant homotopy.io for working with finitely-presented semistrict higher categories. The tool runs in the browser with a point-and-click interface, allowing direct manipulation of proof objects via a graphical representation. We describe the user interface and explain how the tool can be used in practice. We also describe the essential subsystems of the tool, including collapse, contraction, expansion, typechecking, and layout, as well as key implementation details including data structure encoding, memoisation, and rendering. These technical innovations have been essential for achieving good performance in a resource-constrained setting.
