Classical groups
Finite groups
Group schemes
Topological groups
Lie groups
Super-Lie groups
Higher groups
Cohomology and Extensions
Related concepts
natural deduction metalanguage, practical foundations
type theory (dependent, intensional, observational type theory, homotopy type theory)
computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory
In homotopy type theory, a fundamental characterization of delooping is that the delooping of a group is equivalent to the type of torsors for that group:
For a group internal to Set (0-truncated types) there is (up to appropriate universe-level adjustment) an equivalence
between:
the delooping groupoid (a pointed connected 1-type equipped with a group-compatible identification of its loop space/identity with ,
the moduli type of left -torsors.
We make this explicit below.
The key observation is that for every term , the path type
naturally carries a -torsor structure, where the group acts by path concatenation. This gives a function
and the theorem asserts that this function exhibits an equivalence.
This characterization reveals a relationship between algebraic symmetries and identity types: the group structure of is represented by loops in , while the points of can be recovered as torsors for those symmetries.
The following sections explain the construction, its mathematical proof, and its implementation in Cubical Agda, with explicit references to the machine-checked declarations.
Let be a group whose underlying type is a set (meaning: an h-set). A left -action on a set is an operation
satisfying the usual unit and associativity laws.
For , define the type of transporters by
A left -torsor is a left action on a set equipped with a term of type and a proof of
The first condition asserts mere inhabitation without selecting a distinguished element. The second says that every pair of points admits a unique transporter; one should verify that this is indeed the HoTT presentation of free and transitive.
For any chosen , the orbit map
is an equivalence. Given , consider the fiber of the orbit map over :
In homotopy type theory, a function is an equivalence if and only if every fiber is contractible. Therefore we have
Thus a choice of origin identifies a torsor with the group, but this identification is not part of the torsor structure.
The regular left torsor is itself, equipped with left multiplication.
Fix a univalent universe of small sets. Let
denote the moduli type of small left -torsors.
Its elements consist of carrier sets equipped with group actions and proofs of the torsor conditions. Since the relevant law fields are propositions, the structure identity principle applies.
For two torsors and , it identifies their path type with the type of equivariant equivalences:
Hence identity paths in the moduli type encode the symmetries of torsor structures.
The regular left torsor determines a distinguished point
The moduli type is connected.
Indeed, any torsor is merely inhabited. Given a temporary choice , the orbit map gives a -equivariant equivalence between the regular torsor and . The structure identity principle turns this into a path
Since connectedness requires only the propositional truncation of this path, the choice of can be eliminated.
Moreover, is a 1-type. By the structure identity principle, its identity types are equivalent to types of -equivariant equivalences between sets, which are themselves sets.
Thus the moduli type of torsors is a pointed connected -type.
At the regular basepoint, the loop type is
An equivariant automorphism of the regular left torsor satisfies
Taking gives
Consequently, every such automorphism is a right translation
for a unique . Evaluation at the group unit therefore gives an equivalence
Combining these equivalences yields
This is an equivalence of underlying types. Compatibility with the group structure requires additional coherence between composition of equivariant automorphisms and path concatenation.
In particular, if is the loop corresponding to the right translation under the structure identity principle, the composition convention used here gives
where the right-hand operation is path concatenation.
This explains how the multiplication of is represented by composition of identity paths in the moduli type of torsors.
The central result of the torsor delooping construction is that any delooping of a group is equivalent to the type of torsors for that group.
This is the content of Myers, Sati & Schreiber 2024, Lem 5.8.
Lemma (Any delooping is equivalent to the type of torsors).
Let be a group, and let be a delooping of : a pointed connected -type equipped with a looping equivalence
compatible with the group structures.
Then the assignment
defines an equivalence between and the type of left -torsors.
The group action on the identity type is induced by concatenation of identifications, using the inverse of the given looping equivalence.
Fix and define the path torsor
For , the inverse looping equivalence determines a loop .
Concatenation with this loop defines a left -action:
Here the operation on the right is path concatenation. The compatibility of the looping equivalence with the group structure ensures the unit and associativity laws.
This is the construction described in equation (160) of Myers, Sati & Schreiber 2024.
We first verify that is a left -torsor.
Mere inhabitation.
Since is connected, for every there merely exists an identification from to , expressed by .
This establishes mere inhabitation without choosing a distinguished path.
Existence of a transporter.
Let . We wish to construct a group element satisfying .
By path inversion and concatenation of identifications, the composite is a loop at . Applying the looping equivalence gives
By construction, , up to the canonical identification supplied by the equivalence and the groupoid laws for paths. Hence transports to .
This corresponds to the explicit construction in equation (161) of Myers, Sati & Schreiber 2024.
Uniqueness of the transporter.
Suppose another group element also satisfies . By definition of the action, we have .
Concatenating with and using the groupoid laws for paths gives . Since is an equivalence, it follows that .
More precisely, the type of transporters is
This is the fiber over of the orbit map . Since this map is the composite of the looping equivalence with concatenation by , both of which are equivalences, its fibers are contractible.
Thus satisfies the unique-transporter condition and, together with mere inhabitation, is a left -torsor.
This is the uniqueness argument corresponding to equation (162) of Myers, Sati & Schreiber 2024.
We have shown that the assignment defines a map . It remains to prove that is an equivalence.
The source is a pointed connected -type by assumption. As established above, the moduli type is also a pointed connected -type, with the regular torsor as its distinguished point.
At , the associated torsor is . The looping equivalence identifies this torsor with the regular left -torsor, giving the required basepoint identification.
Moreover, a path induces a -equivariant equivalence by concatenation:
Its inverse is given by concatenation with . Equivariance follows from associativity of path concatenation.
By the structure identity principle, this equivariant equivalence corresponds to a path in the moduli type.
At the basepoint, this construction induces an equivalence on loop types. Indeed, equivariant automorphisms of are determined by their value at the identity path, and the induced action on loops agrees with this identification.
We now apply the fundamental lemma for pointed connected types: a pointed map between connected types that induces an equivalence on loop types is itself an equivalence, in the present -truncated setting.
Consequently,
This completes the proof of the torsor characterization of deloopings.
The constructions described above have been formalized in Cubical Agda, using existing library interfaces for univalence, the structure identity principle, and Eilenberg–Mac Lane types.
The verified development consists of twelve modules, all checked with Agda’s --safe option. The source code and mathematical exposition are available in the nLab materials index:
The following declarations are local to this development; the underlying Cubical library provides the general-purpose type-theoretic interfaces.
LeftAction.agda defines LeftAction and Equivariant.
LeftTorsor.agda defines IsLeftTorsor and LeftTorsor, using mere inhabitation and contractible transporters.
Regular.agda constructs the regular left torsor regularLeftTorsor.
Morphisms.agda establishes that equivariant maps between left torsors are equivalences.
Moduli.agda constructs LeftTorsorModuli and establishes torsorPathEquiv through the structure identity principle.
Delooping.agda proves connectedness, the -type property, and torsorLoopEquivGroup.
LoopGroup.agda, SIPPathEmbedding.agda, and SIPCoherence.agda establish the composition coherence for regular-torsor loops, including regularTorsorLoop-comp.
EM1Comparison.agda constructs a comparison map from the library’s to and proves its basepoint loop-equivalence property.
UniverseLiftedComparison.agda proves liftedEm1ToTorsorEquiv, a universe-lifted equivalence between and the torsor moduli type.
PathTorsor.agda formalizes the path-torsor characterization associated with Myers, Sati & Schreiber 2024, Lem 5.8.
The last module introduces PointedLoopGroupData, consisting of connectedness, -truncation, a loop equivalence, and explicit unit and multiplication coherences.
It constructs pathTorsorAction, pathTorsorOrbitEquiv, pathTorsor, and pathTorsorModuli, together with the basepoint comparison and the equivalence induced on loop types.
Its main result, liftedPathTorsorModuliEquiv, establishes the universe-lifted equivalence
Here the formalization uses a chosen loop equivalence , inverse in direction to the equivalence used in the mathematical exposition above.
The universe lifting accounts for the universe level of the torsor moduli type. The final declaration is an equivalence of underlying types, with basepoint comparison paths established separately; no additional pointed-equivalence or group-isomorphism package is claimed.
All twelve modules pass Agda’s --safe type-checking mode with the pinned Cubical library.
The development concerns set-level groups and their homotopy-theoretic deloopings. The construction of particular groups, such as the multiplicative group of invertible complex numbers, and their subsequent applications to topological quantum gates remain future work.
For the complete mathematical explanation, statement-to-declaration index, and reproducibility information, see the accompanying mathematical companion paper.
David Jaz Myers, Hisham Sati, Urs Schreiber; §5.2, esp. Lem. 5.5–5.8 of: Topological Quantum Gates in Homotopy Type Theory, Comm. Math. Phys. 405, 172 (2024) [doi:10.1007/s00220-024-05020-8, arXiv:2303.02382]
The Cubical Agda library, providing univalence, the structure identity principle, higher inductive Eilenberg–Mac Lane types, and connected-type equivalence results;
Hongwei Wang: Torsors, Univalence, and Delooping: A Mathematical Companion to a Cubical Agda Formalization (2026), version 0.1 [pdf, sources, github, nLab materials]
Last revised on November 15, 2026 at 11:44:36. See the history of this page for a list of all contributions to it.