1. Introduction
Homology is a family of abelian groups, defined for spaces such as topological spaces or simplicial sets, which remain invariant under homotopy equivalence, that is, under continuous deformation (MacLane Reference MacLane2012). After its introduction, the question arose of how precise this invariant is and, in particular, whether it could uniquely characterize spheres (Poincaré Reference Poincaré1900). The answer is negative: there are spaces, known as homology spheres, that share the same homology groups as spheres but are not homotopy equivalent to them. Constructing such examples led Poincaré to investigate a family of spaces obtained by gluing faces of Platonic solids (Poincaré Reference Poincaré1895), which includes the homology sphere (Poincaré Reference Poincaré1904).
The hypercubical manifold.
One such space, the hypercubical manifold
$K$
, can be described as
-
(A) a 3-dimensional cube in which each pair of opposite square faces is identified after a quarter-turn rotation.
Modern expositions of this space can be found in Sarem (Reference Sarem2019) and de Saint Gervais (Reference de Saint Gervais2022). Its fundamental group is the quaternion group
$Q$
, and its universal cover is the 3-sphere
$\operatorname {S}^{3}$
. It is well known that any (sufficiently nice) space can be recovered as the quotient of its universal cover by the canonical action of its fundamental group (Hatcher Reference Hatcher2009, Proposition 1.40). Consequently, we have an alternative description of
$K$
as
-
(B) the quotient of the 3-sphere
$\operatorname {S}^{3}$
by a free action of the quaternion group
$Q$
.
Defining the hypercubical manifold in homotopy type theory.
In recent years, a variant of dependent type theory, homotopy type theory, has been introduced (Univalent Foundations Program 2013). In this setting, types can be interpreted as homotopy types, that is, spaces up to homotopy equivalence, thus allowing one to perform constructions on spaces in a synthetic way. Alternative versions of this type theory, such as the one implemented in Cubical Agda (Vezzosi et al. Reference Vezzosi, Mörtberg and Abel2021), allow for a generic implementation of higher inductive types (HITs), where one can use higher constructors in the definition of types, corresponding to attaching cells as in CW-complexes. Our goal in this paper is to define the hypercubical manifold in homotopy type theory (as well as higher-dimensional variants) and show that it satisfies the expected properties: in particular, we will show the equivalence of the above two definitions within the theory.
The hypercubical manifold can easily be constructed as a HIT (Laird Reference Laird2023) by translating the standard description (A) of the space as a CW-complex (many types corresponding to traditional spaces can be defined in this way (Vezzosi et al. Reference Vezzosi, Mörtberg and Abel2021, Section 2.4)). However, constructing
$K$
as a quotient of the 3-sphere by an action of
$Q$
, following the second definition (B), seems difficult to achieve, because there is no direct way of defining such an action. In order to do so, we would need to have a coherent description of it, that is, as a map
$\phi :\operatorname {B} Q\to \mathscr{U}$
where
$\operatorname {B} Q$
is a type internally representing the group
$Q$
(this is called a delooping of
$Q$
) and
$\mathscr{U}$
is the universe of all types, whose elements can be thought of here as spaces. Classical definitions of
$\operatorname {B} Q$
(as a type of
$Q$
-torsors (Wärn Reference Wärn2023) or as an Eilenberg-MacLane space (Licata and Finster Reference Licata and Finster2014)) have a universal property that only allows one to eliminate into groupoids, and there is thus no direct way of defining the map
$\phi$
because
$\operatorname {S}^{3}$
is not
$n$
-truncated for any
$n$
.
Here, we explain how we can still manage to define the coherent action of
$Q$
on
$\operatorname {S}^{3}$
in homotopy type theory, from a map
$K \to \operatorname {B} Q$
whose fiber is
$\operatorname {S}^{3}$
, and we show that the resulting homotopy quotient is equivalent to the definition of
$K$
as a HIT. This implies that the latter definition is “correct”: it is a quotient of
$\operatorname {S}^{3}$
by
$Q$
as expected. This construction uses two main ingredients: the action-fibration duality (Proposition5) in order to construct the map
$\phi$
and the flattening lemma (Lemma3) in order to compute its fibers. Note that Definition 1 uses a strict quotient, whereas we only have access to homotopy quotients in homotopy type theory, but the two coincide in the case of free actions, which can be seen through the Borel construction (Adem and Davis Reference Adem and Davis2002, Section 2.2).
Previous results imply that the groupoid truncation of
$K$
is a model of
$\operatorname {B} Q$
(this is a variant of the traditional construction of Eilenberg-MacLane spaces in homotopy type theory by Licata and Finster (Reference Licata and Finster2014)). However, the truncation is formal, and thus, for the same reasons as above, it is unsatisfactory from a computational point of view. From this perspective, it is much better to use the sequence of spaces obtained from the join construction in homotopy type theory Rijke (Reference Rijke2017, Reference Rijke2018), which provide increasingly good approximations of
$\operatorname {B} Q$
and actually converge toward
$\operatorname {B} Q$
. If we apply the join construction starting from
$K$
, we thus obtain a sequence of types
$K^{n}$
, which provide increasingly good approximations of
$\operatorname {B} Q$
in the sense that the canonical map
$K^{n}\to \operatorname {B} Q$
is
$(4n-2)$
-connected. We observe here that
$K^{n}$
comes from a quotient of the sphere
$\operatorname {S}^{4n-1}$
by a free action of
$Q$
and, from this point of view, can thus be thought of as a higher-dimensional analogue of the hypercubical manifold. The types
$K^{n}$
are interesting because they provide a good description of
$\operatorname {B} Q$
as a HIT, which is non-recursive (in particular, it avoids resorting to formal groupoid truncation), relatively “small” in terms of the number of constructors in each dimension, and are expected to be cellular and thus more amenable to computations (such as cohomology groups, as explained in the conclusion of the article).
Plan of the paper.
We begin by recalling the traditional definition of the hypercubical manifold in topological spaces in Section 2, as well as basic notation and constructions in homotopy type theory in Section 3. The main contributions of the paper can be found in Section 4, where we define the hypercubical manifold in homotopy type theory and show that the fiber of the canonical map
$K \to \operatorname {B} Q$
is
$\operatorname {S}^{3}$
by iteratively using the flattening lemma on skeleta of
$K$
. We then deduce all expected properties from this fiber sequence in Section 5. Finally, we introduce and motivate higher-dimensional generalizations of the hypercubical manifold and conclude in Section 6.
2. Topological Definition of the Hypercubical Manifold
Before turning to our implementation of the hypercubical manifold in homotopy type theory, we first recall its classical construction, based on a free action of the quaternion group on the 3-sphere. This whole section is to be read in the setting of classical set-theoretic mathematics (as opposed to homotopy type theory): all quotients are taken to be strict ones, etc.
2.1 The quaternion group
Consider the real 4-dimensional vector space
$\mathbb{H}$
generated by the basis vectors
$1$
,
$i$
,
$j$
, and
$k$
. This space is an algebra under the Hamilton product, with
$1$
as neutral element, and given on basis elements by
$i^2=j^2=k^2=-1$
,
$ij=k$
,
$ji=-k$
,
$jk=i$
,
$kj=-i$
,
$ki=j$
and
$ik=-j$
. The quaternion group is the 8-element group consisting of
$1,i,j,k$
and their negatives. This group can easily be shown to admit the presentation
where
$e$
denotes
$-1$
. The following alternative presentation will prove useful later in the paper.
Lemma 1. The quaternion group admits the presentation
Proof. We first show that the group admits the presentation
We have the following equivalent presentations:
\begin{align*}\begin{array}{l@{\quad}l} Q=\left \langle e,i,j,k\ \middle |\ i^2=e,j^2=e,k^2=e,ijk=e,e^2=1\right \rangle& \\[5pt] Q=\left \langle i,j,k\ \middle |\ j^2=i^2,k^2=i^2,ijk=i^2,i^4=1\right \rangle& \;\;\text{using $e=i^2$}\end{array} \end{align*}
In the second presentation above,
$ij=k$
is derivable because we have
$ijk=i^2$
, multiplying by
$k^3$
yields
$ijk^4=i^2k^3$
, and therefore,
$ij=k$
since
$k^4=i^4=1$
and
$i^2k^2=i^4=1$
. We thus have the following presentations:
\begin{align*} \begin{array}{l@{\quad}l} Q=\left \langle i,j,k\ \middle |\ j^2=i^2,k^2=i^2,ijk=i^2,i^4=1,ij=k\right \rangle & \\[5pt] Q=\left \langle i,j\ \middle |\ j^2=i^2,(ij)^2=i^2,ijij=i^2,i^4=1\right \rangle &\;\; \text{using $k=ij$} \end{array} \end{align*}
The relation
$(ij)^2=i^2$
is now redundant, so that we can remove it, and then, from the relation
$ijij=i^2=j^2$
, we can derive the equivalent relation
$iji=j$
by dividing by
$j$
, and we obtain (3):
We can now show that the presentation (3) is equivalent to (2). From (3), we can derive the missing relation
$i=jij$
by
\begin{align*} \begin{array}{ll@{\quad}l} jij&=iji^2j &\text{by}\;j=iji\\[-2pt] &=ij^4& \text{by}\;i^2=j^2\\[-2pt] &=i& \text{by}\;j^4=i^4=1 \end{array} \end{align*}
Conversely, from (2), we can derive the relations of (3) since
$i^2=jiji=j^2$
, and
$j=iji=jij^2i=ji^4$
, which implies
$1=i^4$
by division by
$j$
.
2.2 The hypercubical manifold
We write
$C=\left \{t1+xi+yj+zk\ \middle |\ t,x,y,z\in [-1,1]\right \}\subseteq \mathbb{H}$
for the unit cube in
$\mathbb{H}$
and
$\partial C\subseteq C$
for its boundary (consisting of the points such that at least one of the coordinates is either
$-1$
or
$1$
). Note that
$\partial C$
is homotopy equivalent to the 3-sphere
$\operatorname {S}^{3}$
. There is a natural action of
$Q$
on
$C$
by left multiplication. This action is not free since it fixes
$0$
, but it becomes free when restricted to
$\partial C$
. We write
for the quotient space of
$\partial C\simeq \operatorname {S}^{3}$
under this action and refer to it as the hypercubical manifold. It is not immediately clear from this description that
$K$
is actually a manifold (as opposed to a topological space), but this will not play a role here. Because the action is free and properly discontinuous as
$Q$
is finite, the quotient map
$\partial C\to K$
is covering with fiber
$Q$
(Hatcher Reference Hatcher2009, Proposition 1.40); that is, we have a fiber sequence
from which we deduce that the fundamental group of
$K$
is
$Q$
(Hatcher Reference Hatcher2009, Theorem 4.41).
The original definition of
$K$
(Poincaré Reference Poincaré1895, p. 66, Section 13, troisième exemple) is quite different in nature, with the equivalence explained in de Saint Gervais (Reference de Saint Gervais2022). Indeed, the hypercubical manifold can alternatively be described as a 3-dimensional cube, whose opposite faces are identified after a quarter-turn rotation:

Hence
$K$
can be represented as a CW-complex with two 0-cells (
$a$
and
$b$
), four 1-cells (
$x$
,
$y$
,
$z$
and
$w$
), three 2-cells (
$\alpha$
,
$\beta$
, and
$\gamma$
, corresponding to the front, right, and top faces),

and one 3-cell (
$A$
, representing the interior of the cube). This definition allows for a direct computation of the fundamental group
$\pi _1(K)$
. We first contract
$w$
to an identity (thus identifying
$a$
and
$b$
) to obtain the presentation
where the three relations correspond to the 2-cells (5). By removing
$z$
(which is equal to
$yx$
), renaming
$x$
to
$i$
and
$y$
to
$j$
, we recover the presentation of Lemma1 of the quaternion group.
2.3 Higher hypercubical manifolds
We now briefly discuss higher-dimensional generalizations of the hypercubical manifold. These arise quite naturally from our work, but to the best of our knowledge, have not been previously considered in the literature. Writing
$K^{1}$
for the hypercubical manifold, we observe that
$K^{1}$
is a “good approximation” of
$Q$
up to dimension
$2$
, in the sense that we have
More generally, we would like to have cellular spaces
$K^{n}$
, which coincide with
$Q$
up to dimension
$f(n)$
, where
$f$
is a strictly increasing function on the natural numbers, thus constructing a resolution of
$Q$
. In fact, the construction of
$K^{1}$
generalizes as follows.
Given
$n\in \mathbb{N}$
, we can consider the unit cube
$C^n\subseteq \mathbb{H}^n$
. We write
$\partial C^n$
for its boundary, which is homotopy equivalent to the
$(4n{-}1)$
-sphere
$\operatorname {S}^{4n-1}$
. As before, we have an action of
$Q$
on
$C^n$
, which restricts to a free action on
$\operatorname {S}^{4n-1}$
: we have that
$\operatorname {S}^{4n-1}$
can be expressed as the join of
$n$
copies of
$\operatorname {S}^{3}$
, and
$Q$
acts independently on each of these 3-spheres, as explained in the previous section. We define
as the quotient of the sphere under this action. By Hatcher (Reference Hatcher2009, Proposition 1.40), we thus have the fiber sequence
which simply encodes the fact that the map on the right has
$Q$
as fibers, from which we deduce that
$\pi _i(K^{n})=\pi _i(\!\operatorname {B} Q)$
for
$0\leq i\leq 4n-2$
, using the induced long exact sequence in homotopy (Hatcher Reference Hatcher2009, Theorem 4.41).
There is a canonical inclusion
$\mathbb{H}^n\to \mathbb{H}^{n+1}$
(obtained by adding
$0$
as last coordinate) which induces an inclusion
$\partial C^n\to \partial C^{n+1}$
, and thus a map
$K^{n}\to K^{n+1}$
. Taking the inductive limit yields a space
$K^{\infty }$
which has the same homotopy groups as
$\operatorname {B} Q$
(because homotopy groups commute with inductive limits (May Reference May1999, Chapter 9, Section 4)) and is thus homotopy equivalent to
$\operatorname {B} Q$
(Hatcher Reference Hatcher2009, Theorem 1B.8). However, this model has the advantage of being a CW-complex which can be explicitly described.
Again, all the constructions above are very “classical” in nature, in the sense that we use strict quotients of spaces, boundaries of spaces, and so on. We will see in the rest of the paper how to perform them in a homotopy-invariant way, so that they can be formalized in homotopy type theory.
3. Homotopy Type Theory
The goal of this section is to establish notation and recall the main tools of homotopy type theory used throughout the paper. A comprehensive introduction to the topic can be found in the HoTT Book (Univalent Foundations Program 2013).
3.1 Elementary constructions
We denote by
$\mathscr{U}$
the universe of all types (strictly speaking, one should assume a hierarchy of universes, but we will not detail this as it plays no essential role here). Given a type
$A:\mathscr{U}$
and a type family
$B:A\to \mathscr{U}$
, we write
$\Pi A.B$
, or
$\Pi (x:A).B\,x$
, or
$(x:A)\to B\,x$
for the associated dependent product type: its inhabitants are dependent functions, and we write
$\lambda x.t$
for the function that associates to
$x$
(of type
$A$
) the term
$t$
(of type
$B\,x$
). As usual, we write
$A\to B$
for the type of non-dependent functions (here, we suppose that
$B$
is a non-dependent type). Similarly, we write
$\Sigma A.B$
or
$\Sigma (x:A).B\,x$
for the type of dependent sums, whose elements are dependent pairs
$\langle t,u\rangle$
consisting of a term
$t$
(of type
$A$
) and a term
$u$
(of type
$Bt$
). The two dependent projections are, respectively, written
$\operatorname {fst}:\Sigma A.B\to A$
and
$\operatorname {snd}:(x:\Sigma A.B)\to B\,(\!\operatorname{fst} x)$
. Given two type families
$B:A\to \mathscr{U}$
and
$B':A'\to \mathscr{U}$
, and maps
$f:A\to A'$
and
$g:(x:A)\to B\,x\to B'\,(f\,x)$
, we write
$\Sigma f.g:\Sigma A.B\to \Sigma A'.B'$
for the canonically induced map. Given a natural number
$n$
, we still write
$n$
for the type with
$n$
elements and even occasionally use the comprehension notation such as
$\left \{a,b,c\right \}$
to denote the type
$3$
, where the three elements are called
$a$
,
$b$
, and
$c$
. In particular, we denote by
$0$
(resp.
$1$
) the initial (resp. terminal) type.
We write
$t\equiv u$
to indicate that two terms
$t$
and
$u$
are definitionally equal. Homotopy type theory also provides, for all elements
$t$
and
$u$
of common type
$A$
, a type
$t=u$
of propositional equalities (or identities) between
$t$
and
$u$
, also called paths because of their topological interpretation. We write
$\operatorname {refl}_{x}:x=x$
for the trivial path on a point
$x:A$
. Given paths
$p:x=y$
and
$q:y=z$
, we write
$p\cdot q:x=z$
for the path obtained by concatenation and
$\overline p:y=x$
for the inverse of
$p$
. Given an identity
$p:A=B$
between types
$A$
and
$B$
, we write
$p^\to :A\to B$
for the canonical function induced by transport (Univalent Foundations Program 2013, Lemma 2.3.1). Given a function
$f:A\to B$
and a path
$p:t=u$
in
$A$
, we write
$f^=(p):f(t)=f(u)$
(or even sometimes
$f(p)$
) for the canonical path in
$B$
(Univalent Foundations Program 2013, Lemma 2.2.1), which can be thought of as being obtained by applying
$f$
pointwise to
$p$
. All constructions in homotopy type theory are compatible with identities; in particular, all (co)limits are taken up to homotopy.
A pointed type consists of a type
$A$
together with an element of
$A$
, which we often denote by
$\star$
, and a pointed map is a function preserving the distinguished element. Given a pointed type
$A$
, we write
$\operatorname {\Omega } A\equiv (\!\star =\star )$
for the loop space of
$A$
.
Given a type
$A$
, we write
$\|A\|_{-1}$
(resp.
$\|{A}\|_{0}$
, resp.
$\|A\|_{1}$
) for its propositional (resp. set, resp. groupoid) truncation and
$|-|_{n}:A\to \|A\|_{n}$
for the canonical quotient map. In fact, the
$n$
-truncation
$\|A\|_{n}$
of
$A$
can be defined for any natural number
$n$
, and we say that
$A$
is
$n$
-connected when
$\|A\|_{n}$
is contractible, and we sometimes simply say connected for a
$0$
-connected type. By extension, a map
$f:A\to B$
is
$n$
-connected when the homotopy fiber
$\operatorname {fib}_{f}y$
(defined below) is
$n$
-connected for every
$y:B$
.
3.2 Fibrations
Any type family
$F:A\to \mathscr{U}$
can be thought of as a fibration with
$A$
as base space, whose fiber at
$x:A$
is simply
$F\,x$
. The total space of such a fibration is
$\Sigma A.F$
, which comes equipped with a projection map
onto the base space given by the first projection. Conversely, any map
$f:X\to A$
(exhibiting
$X$
as a type over
$A$
) induces a type family
$\operatorname {fib}_{f}:A\to \mathscr{U}$
, which associates to each element
$y:A$
its homotopy fiber defined as
which corresponds to the pullback

These constructions provide an equivalence between the two perspectives on fibrations, as type families indexed by
$A$
or as types over
$A$
. This is known as the Grothendieck duality (Univalent Foundations Program 2013, Theorem 4.8.3):
Proposition 2 (Grothendieck duality). For any type
$A:\mathscr{U}$
, we have an equivalence between type families and types over
$A$
We say that a pair of composable maps
with
$A$
pointed, is a fiber sequence when
$F=\operatorname {fib}_{f}\star$
and
$i$
is the canonical map given by the above pullback. This indicates that
$f$
can be regarded as a fibration whose fibers are all
$F$
(when
$A$
is connected, all the fibers are indeed merely equivalent to
$F$
). Fiber sequences play a role analogous to short exact sequences in abelian categories.
For reasons indicated above, given a type family
$F:A\to \mathscr{U}$
, it is often desirable to compute its total space
$\Sigma A.F$
. When
$A$
is constructed as a colimit (such as a coequalizer or a pushout), this total space can also be obtained as a similar colimit: this is called the flattening lemma. For pushouts, which is the variant we will use here, this fact can be formulated as follows (Univalent Foundations Program 2013, Lemma 8.5.3):
Lemma 3 (Flattening lemma for pushouts). Consider a pushout square

with
$p:(x:X)\to (i\circ f)(x)=(j\circ g)(x)$
witnessing its commutativity and a type family
The following square of total spaces is also a pushout:

where
is the map canonically induced by
$p$
.
A similar result holds when
$A$
is constructed as a coequalizer (Univalent Foundations Program 2013, Lemma 6.12.2).
3.3 Groups and actions
A group
$G$
is a set together with a multiplication and unit satisfying the usual axioms. A delooping of
$G$
is a pointed connected space
$\operatorname {B} G$
together with an isomorphism of groups
$\operatorname {\Omega }\operatorname {B} G\simeq G$
(where the group structure on
$\operatorname {\Omega }\operatorname {B} G$
is the one induced by concatenation of paths). A type with this property can be shown to exist and be unique (Wärn Reference Wärn2023), so that we can talk about the delooping of a group. In fact, the loop space provides an equivalence between pointed connected groupoids and groups (Bezem et al. Reference Bezem, Buchholtz, Cagne, Dundas and Grayson2026). This equivalence implies in particular that we have the following recursion principle:
Proposition 4.
Given a group
$G$
, a pointed groupoid
$X$
, and a group morphism
$f:G\to \operatorname {\Omega } X$
, there exists a unique pointed map
$\tilde f:\operatorname {B} G\to X$
such that the composite
$G \rightarrow \operatorname {\Omega }\operatorname {B} G \xrightarrow {\Omega \tilde {f}} \operatorname {\Omega } X$
is
$f$
.
A map
$\phi :\operatorname {B} G\to \mathscr{U}$
can be interpreted as an action of
$G$
on the type
$X\equiv \phi (\!\star\!)$
. Indeed, any
$a\in G$
corresponds to a path
$a:\star =\star$
in
$\operatorname {B} G$
and, thus induces, by transport, an endomorphism
$(\phi ^= a)^\to :X\to X$
. In the case where
$X$
is a set, this can be shown to correspond to the traditional notion of action. More generally, a map
$\operatorname {B} G\to \mathscr{U}$
can be thought of as an action of
$G$
on a higher type in a coherent way. With this point of view, the homotopy quotient of
$X$
by
$G$
is the type
$X{/\!\!/} G\equiv \Sigma (\!\operatorname {B} G).\phi$
. The Grothendieck duality (Proposition2), which states that the type of maps
$A\to \operatorname {B} G$
is equivalent to the type of families
$\operatorname {B} G\to \mathscr{U}$
, can thus be read as the following equivalence, which we call the action-fibration duality:
Proposition 5. A fiber sequence

corresponds to a coherent action of
$G$
on
$X$
(i.e., a map
$\phi :\operatorname {B} G\to \mathscr{U}$
with
$\phi (\!\star\!)=X$
) with
$A$
being the homotopy quotient
$X{/\!\!/} G$
.
In the above proposition, the action is obtained as the map
$\operatorname {fib}_{f}:\operatorname {B} G\to \mathscr{U}$
, whose total space is
$A=\Sigma (\!\operatorname {B} G).\operatorname {fib}_{f}$
, which is, by definition, the homotopy quotient of
$X$
by the action of
$G$
.
4. The Hypercubical Manifold in Homotopy Type Theory
We now show that the previous constructions can be carried out within the framework of homotopy type theory, which requires more than a straightforward translation. It is clear that we can use HITs to give a direct definition of
$K$
as a type consisting of two elements, four identities, three 2-identities, and one 3-identity (Laird Reference Laird2023). However, it is not at all obvious that this construction arises from a quotient of
$\operatorname {S}^{3}$
by an action of
$Q$
. Defining such an action amounts to constructing a map
$\phi :\operatorname {B} Q\to \mathscr{U}$
such that
$\phi (\!\star {}\!)=\operatorname {S}^{3}$
, but the induction principle for
$\operatorname {B} Q$
given in Proposition4 only allows eliminating into a groupoid, yet
$\mathscr{U}$
is not a groupoid nor is any subtype that contains
$\operatorname {S}^{3}$
(Univalent Foundations Program 2013, Corollary 6.4.3). Instead, since we know that the homotopy quotient of the action encoded by
$\phi$
is
$K$
, the map
$\phi$
corresponds to a fibration
$\operatorname {S}^{3}\to K \to \operatorname {B} Q$
by the action-fibration duality (Subsection 3.2), and this fibration is much easier to define directly. Note that the map
$\operatorname {S}^{3}\to K$
is the one considered in Subsection 2.2, so that there are eight
$n$
-cells in the fiber over each
$n$
-cell in the base. This is encoded by the following long fiber sequence combining the previous ones:

We will proceed in two steps. We first define a map
$\phi :K \to \operatorname {B} Q$
using the elimination principle of
$K$
(coming from its definition as a HIT). Then, we show that its fiber
$\operatorname {fib}_{\phi }(\!\star {}\!)$
(which we simply write as
$\operatorname {fib}_{\phi }$
) is precisely
$\operatorname {S}^{3}$
by the flattening lemma. More precisely, writing
$K^{k}$
for the
$k$
-skeleton of
$K$
, we reason by induction on
$k$
and compute the fiber of the restriction
$K^{k}\to \operatorname {B} Q$
to be the
$k$
-skeleton of
$\operatorname {S}^{3}$
, or more precisely, a cubical model of
$\operatorname {S}^{3}$
.
4.1 The hypercubical manifold
We are now ready to define the type that will play a central role in what follows:
Definition 6.
The hypercubical manifold
$K$
is the HIT generated by
-
• two elements
$a$
and
$b$
, -
• four identities
$x,y,z,w:a=b$
, -
• three identities between identities as in ( 5 ):
which can, respectively, be pictured as the squares
\begin{align*} \alpha \colon y\cdot \overline {z}=x\cdot \overline {w} \quad \beta \colon y\cdot \overline {w} &=z\cdot \overline {x} \quad \gamma \colon z\cdot \overline {w} =x\cdot \overline {y} \end{align*}

-
• one identity between identities between identities as in (4).
We will see in Proposition11 that the fundamental group of
$K$
is
$Q$
. This is expected from the topological constructions (see Subsection 2.2), but showing this directly is not easy (although it should be doable using the Seifert–van Kampen theorem (Univalent Foundations Program 2013, Section 8.7)).
Lemma 7.
The type
$K$
is connected.
Proof.
We must show that there merely exists a path from
$a$
to
$x$
for any
$x : K$
. By the induction principle of
$K$
, and the fact that the goal is a proposition, it is sufficient to provide paths of type
$a = a$
and
$a = b$
. We may take
$\operatorname {refl}_{a}$
and
$x$
, respectively.
4.2 Definition of the action
We now define the map
$\phi :K \to \operatorname {B} Q$
. To motivate its definition, we can start from the computation of Subsection 2.2, which identifies the fundamental group of
$K$
with
$Q$
(an alternative and more abstract starting point will also be given in Subsection 4.8). We see that the path
$x$
corresponds to
$i$
, the path
$y$
corresponds to
$j$
, the relation
$z=yx$
imposes that
$z$
should correspond to
$ji=-k$
, and the path
$w$
was contracted and should thus correspond to
$1$
. This suggests the following definition of the map
$\phi$
, using the elimination principle of
$K$
.
Definition 8.
We define a morphism
$\phi :K \to \operatorname {B} Q$
on 0-cells by
and on 1-cells by
The 2-cells are sent to 2-cells coming from the following relations, which are known to hold in
$Q$
:
On 3-cells,
$\phi$
is unambiguously defined because
$\operatorname {B} Q$
is a groupoid.
For
$k\in \mathbb{N}$
, we define
$K^{k}$
to be the
$k$
-skeleton of
$K$
; that is,
$K^{k}$
is defined as the HIT generated by the same
$i$
-cells for
$i\leq k$
(and none for
$i\gt k$
). We write
$\phi _k:K^{k}\to \operatorname {B} Q$
for the composite map
$K^{k}\hookrightarrow K \xrightarrow {\phi }\operatorname {B} Q$
. Our goal is now to compute the (homotopy) fiber
$\operatorname {fib}_{\phi _k}$
, by induction on
$k$
, using the flattening lemma, and ultimately show that
$\operatorname {fib}_{\phi }\equiv \operatorname {fib}_{\phi _3}=\operatorname {S}^{3}$
in Theorem 4.7.
4.3 Fiber of the 0-skeleton
The 0-skeleton
$K^{0}$
is a space consisting of two points
$a$
and
$b$
, and the induced map
$\phi _0:K^{0}\to \operatorname {B} Q$
is the constant map with
$\star {}$
as image. Its fiber is
\begin{align*} \operatorname {fib}_{\phi _0} &\equiv \Sigma (x:K^{0}).(\!\star {}=\phi _0(x)) \\ &= (\!\star {}=\phi (a)) \sqcup (\!\star {}=\phi (b)) \\ &= \left \{a,b\right \}\times (\!\star {}=\star {}) \\ &= \left \{a,b\right \}\times Q \end{align*}
so that we have a fiber sequence

4.4 Fiber of the 1-skeleton
The 1-skeleton
$K^{1}$
is that of the complex pictured in (4), with two 0-cells
$a$
and
$b$
and four 1-cells
$x$
,
$y$
,
$z$
, and
$w$
. It can be obtained from
$K^{0}$
as the coequalizer

where the maps
$\sigma$
and
$\tau$
, respectively, send an edge to its source and target; that is, they are the constant maps, respectively, equal to
$a$
and
$b$
.
Our aim is now to compute the fiber of
$\phi _1:K^{1}\to \operatorname {B} Q$
. We consider the type family
This family is defined so that we have
which can be computed using the flattening lemma for coequalizers (see Proposition 2 and Univalent Foundations Program (2013, Section 6.12)) to be the coequalizer

where
$e$
is defined as
(note that, above, both types
$(F_1\circ \iota _1\circ \sigma )(p)$
and
$(F_1\circ \iota _1\circ \tau )(p)$
are equal to
$\operatorname {\Omega }\operatorname {B} Q$
). We have
$F_1(\iota _1(\sigma (x)))\equiv (\!\star {}=\star {})=Q$
and similarly for
$y$
,
$z$
, and
$w$
, so that (6) can be rewritten as

By properties of transport in path types (Univalent Foundations Program 2013, Theorem 2.11.4), we thus have
$e\,p\,q=q\cdot \phi ^=\,p$
. Equivalently, in (7), we can thus define
by slightly overloading
$e$
, where
$\cdot$
denotes the multiplication in
$Q$
, and we implicitly identify
$\phi ^=(p)$
, which is an element of
$\operatorname {\Omega }\operatorname {B} Q$
with the corresponding element of
$Q$
.
The coequalizer (7) can be interpreted as a description of
$\operatorname {fib}_{\phi _1}$
as a 1-dimensional cell complex, with
$K^{0}\equiv \{a,b\}\times Q$
as 0-cells and
$\{x,y,z,w\}\times Q$
as 1-cells, the source and target of a 1-cell
$(p,q):\{x,y,z,w\}\times Q$
being, respectively,
$(a,q)$
and
$(b,q\cdot \phi ^=(p))$
. This complex is pictured in Figure 1. Here, we write
$ai$
(resp.
$ai^-$
) for
$(a,i)$
(resp.
$(a,-i)$
) and similarly for other cells, so that the general form of a 1-cell is

We can observe that this is the 1-skeleton of a tesseract (a 4-dimensional cube), which is homotopic to
$\operatorname {S}^{3}$
as expected.
The fiber of
$\phi _1$
(the 1-skeleton of a cubical model of
$\operatorname {S}^{3}$
).

Figure 1. Long description
A diagram representing the fiber of the 1-skeleton of a cubical model. The diagram features a complex network of labeled points and lines, illustrating the relationships and connections between different components. Key labeled points include ai, aj, ak, bi, bj, bk, b1, a1, wi, wj, wk, xi, xj, xk, yi, yj, yk, zi, zj, and zk. The lines connecting these points indicate the structure and flow within the model, with arrows showing the direction of relationships. The overall structure is symmetrical and interconnected, highlighting the intricate nature of the fiber in the 1-skeleton of a cubical model.
Cayley graph of
$Q$
generated by
$i$
and
$j$
.

Remark 9. The group
$Q$
is generated by
$i$
and
$j$
, and so, it admits the Cayley graph
$C$
shown in Figure 2. This graph describes a HIT (with the vertices as generators and edges as identities), which can be obtained as the fiber of the canonical map
$\operatorname {B}\{i,j\}^*\to \operatorname {B} Q$
, where
$\{i,j\}^*$
is the free group on two generators (see Champin et al. Reference Champin, Mimram and Oleon2024, Theorem 16). Similarly, we have a Cayley graph
$C'$
associated to
$\{x,y,z\}$
as generators (where
$x$
,
$y$
, and
$z$
, respectively, correspond to
$i$
,
$j$
, and
$-k$
). We have a map
$f:K^{1}\to \operatorname {B}\{x,y,z\}^*$
, which expresses that the target can be obtained from the source by contracting the 1-cell
$w$
to a point, that is,
We also have a map
$g:\operatorname {B}\{i,j\}^*\to \operatorname {B}\{x,y,z\}^*$
, which is the canonical inclusion of cells, respectively, sending
$x$
and
$y$
to
$i$
and
$j$
. These maps make the two triangles on the right commute:

where
$\twoheadrightarrow$
(resp.
$\hookrightarrow$
) indicates a map which is surjective (resp. injective) on loop spaces. In other words, these maps express that
$\operatorname {B}\{i,j\}^*$
can be obtained as a “subquotient” of
$K^{1}$
(quotienting by
$w$
and forgetting
$z$
). By the universal property of
$C'$
, which is a fiber, we have similar maps
$f'$
and
$g'$
as shown above between the fibers, expressing that
$C$
can be obtained as a subquotient of
$\operatorname {fib}_{\phi _1}$
, by quotienting all 1-cells of the form
$(w,q)$
with
$q\in Q$
(and thus identifying all 0-cells
$(b,q)$
with
$(a,q)$
) and forgetting all the 1-cells of the form
$(z,q)$
with
$q\in Q$
. It can be checked that if we perform these operations on
$K^{1}$
pictured in Figure 1, we recover the traditional Cayley graph pictured in Figure 2.
4.5 Fiber of the 2-skeleton
We write
$\square$
for the HIT corresponding to an empty square, generated by four 0-cells
$v_0,v_1,v_2,v_3$
and four 1-cells
$e_0,e_1,e_2,e_3$
attached as in the following picture:

We also write
for the HIT corresponding to a filled square, obtained from the previous one by attaching a 2-cell as expected. There is an induced canonical inclusion
The type
is contractible, and we will consider a particular equivalence
consisting of the terminal map
and the map
pointing at
$v_0$
. Since these form an equivalence, their composite is the identity on
, which is witnessed by a homotopy
Up to deformation (being an equivalence is a property), we can consider a particular definition for
$\varepsilon$
, which is obtained by induction on
, and satisfies
definitionally (on 1- and 2-cells, this is defined arbitrarily, using the fact that the filled square is contractible). This will slightly simplify subsequent computations.
The 2-skeleton
$K^{2}$
can be obtained from
$K^{1}$
as the pushout on the left

where the vertical map
$\psi$
sends each formal cell to its boundary, as pictured in (5), and the horizontal map
$\iota$
is the identity on the first component and the canonical inclusion of the boundary of the square. We write
$\tilde h:\tilde \rho \circ \iota =\iota _2\circ \psi$
for the canonical homotopy witnessing the commutativity of the square. By composing the upper-right corner with the equivalence
described above, we obtain the pushout figured on the right above, where
$\operatorname {fst}:\{\alpha ,\beta ,\gamma\}\times \square \to \{\alpha ,\beta ,\gamma \}$
is the first projection
$\operatorname {fst}\equiv (\!\operatorname {id}_{\{\alpha ,\beta ,\gamma \}}\times \tau )\circ \iota$
and
$\rho :\{\alpha ,\beta ,\gamma \}\to K^{2}$
, defined as
$\rho \equiv \tilde \rho \circ (\!\operatorname {id}_{\{\alpha ,\beta ,\gamma \}}\times \upsilon )$
sends
$\alpha$
to the corner of the square
$\alpha$
in
$K^{2}$
, corresponding to
$v_0$
, that is,
$a$
(and similarly for
$\beta$
and
$\gamma$
). Hence,
$\rho$
is the constant map equal to
$a$
. More interestingly, the family of equalities
$\tilde h$
is transformed into the family
$h:\rho \circ \operatorname {fst}=\iota _2\circ \psi$
obtained as the composite
$h=\tilde \varepsilon \cdot \tilde h$
where
$\tilde \varepsilon :\rho \circ \operatorname {fst}\equiv \tilde \rho \circ (\!\operatorname {id}_{\{\alpha ,\beta ,\gamma \}}\times (\upsilon \circ \tau ))\circ \iota =\tilde \rho \circ \iota$
is the equality canonically induced by
$\varepsilon$
.
As previously, we consider the type family
$F_2:K^{2}\to \mathscr{U}$
defined by
The flattening lemma for pushouts (Lemma3) ensures that
$\Sigma K^{2}.F_2$
can be computed as the pushout

The morphism
is defined as follows on
$(\omega ,s):\{\alpha ,\beta ,\gamma \}\times \square$
. We have a path
which, by applying
$F_2$
, induces a path
which, by transport, induces the desired map
Now, observe that for any
$\omega :\{\alpha ,\beta ,\gamma \}$
, we have
because
$\rho$
is the constant map at
$a : K^{2}$
, and thus, the upper-right corner of the pushout (8) is
the upper-left corner can be transformed similarly as
$\Sigma (\{\alpha ,\beta ,\gamma \}\times \square ).Q$
, which is equivalent to
$\{\alpha ,\beta ,\gamma \}\times Q\times \square$
. Finally, the lower left corner
is precisely the fiber
$\operatorname {fib}_{\phi _1}$
computed in the previous section. The pushout (8) can thus be slightly simplified as the pushout

The map
$\tilde \psi$
is defined, for
$\omega :\{\alpha ,\beta ,\gamma \}$
,
$q:Q$
and
$s:\square$
, by
The values of this map can be computed explicitly. We fix
$\omega \equiv \alpha$
(computing the images for
$\beta$
and
$\gamma$
is similar) and compute the image depending on
$s$
. When
$s$
is a vertex, we have:
-
• for
$v_0$
, the image is
$(a,q)$
, -
• for
$v_1$
, the image is
$(b,q\cdot \phi _2(x))\equiv (b,q\cdot i)$
because
$x$
is the path in
$\alpha$
corresponding to
$e_0\equiv \varepsilon (v_1)$
, -
• for
$v_2$
, the image is
$(b,q\cdot \phi _2(y))\equiv (b,q\cdot j)$
because
$y$
is the path in
$\alpha$
corresponding to
$e_1\equiv \varepsilon (v_2)$
, -
• for
$v_3$
, the image is
$(a,q\cdot \phi _2(x)\cdot \phi _2(\overline w))\equiv (a,q\cdot i)$
because
$x\cdot \overline w$
is the path in
$\alpha$
corresponding to
$e_0\cdot \overline {e_2}\equiv \varepsilon (v_3)$
.
The image of an edge
$e_i:v_j\to v_k$
is the edge whose first component is the edge in
$\alpha$
corresponding to
$e_i$
and the second component is the element of
$Q$
corresponding to the first component of the image of its source
$v_j$
. The squares
$\alpha$
,
$\beta$
, and
$\gamma$
are thus, respectively, sent to the following squares in
$\operatorname {fib}_{\phi _1}$
:

and

We, respectively, write
$(\alpha ,q)$
,
$(\beta ,q)$
, and
$(\gamma ,q)$
for these cells. Finally, the previous pushout states that
$\operatorname {fib}_{\phi _2}$
can be obtained from
$\operatorname {fib}_{\phi _1}$
by attaching cells along these boundaries for any
$q:Q$
.
4.6 Fiber of the 3-skeleton
The computation of the 3-skeleton can be performed similarly, as we now explain (with fewer details, the computations being similar). We write
for the standard cube, which is the HIT pictured on the left

we also write
for the variant with a 3-cell filling the interior of the cube. We have a map
sending the standard cube (on the left) to the expected cube in
$K^{2}$
(on the right above), where
$\alpha$
,
$\beta$
, and
$\gamma$
are, respectively, the front, right, and top faces of the cube. The type
$K$
can be obtained as the pushout on the left:

Since the type
is contractible, the pushout is equivalent to the one on the right, where the right vertical map is pointing to
$a$
(the image of
$v_{---}$
).
Consider the type family
$F:K \to \mathscr{U}$
defined by
$F(x)\equiv (\!\star {}=\phi (x))$
. By the flattening lemma for pushouts, we have a pushout as on the left, which can equivalently be computed as on the right:

thus, we have an explicit construction of
$\operatorname {fib}_{\phi }$
. The map
$\tilde \chi$
can be computed in a similar way to the above and sends, for
$q:Q$
, the cube
to

Finally, this provides us with a description of
$\operatorname {fib}_{\phi }$
as a HIT consisting of cubical cells (16 0-cells, 32 1-cells, 24 2-cells, 8 3-cells) which can easily be checked to form an empty 4-cube, which is homotopy equivalent to
$\operatorname {S}^{3}$
. We have also provided a computer-checked formalization of this result, consisting of an explicit construction of the equivalence between the above HIT and the standard tesseract in the proof assistant Agda (Mimram and Oleon Reference Mimram and Oleon2025). In the future, it would be interesting to perform a complete formalization of the above computations, although this is expected to be a considerable amount of work.
4.7 The fundamental fiber sequence
The previous computation can be summarized by the following fiber sequence.
Theorem. We have a fiber sequence
that we call the
$\text{fundamental fiber sequence}$
, which encodes a coherent action of
$Q$
on
$\operatorname {S}^{3}$
whose homotopy quotient is
$K$
.
This justifies considering our first definition of
$K$
as a HIT to be an appropriate definition of the hypercubical manifold (up to homotopy).
As a consequence, we have the following:
Lemma 10.
The map
$\phi$
is 2-connected.
Proof.
By Theorem 4.7, we have
$\|{\operatorname {fib}_{\phi }}\|_{2}=\|{\operatorname {S}^{3}}\|_{2}=1$
since
$\operatorname {S}^{3}$
is 2-connected (Univalent Foundations Program 2013, Corollary 8.2.2).
Proposition 11.
The fundamental group of the hypercubical manifold is
$\pi _1(K)=Q$
.
4.8 Recovering the Galois fibration
Taking groupoid truncations induces a commuting square

where the vertical map on the right is an equivalence because, by definition,
$\operatorname {B} Q$
is a groupoid. Moreover, since
$\phi$
is 1-connected (by Lemma10), the horizontal map at the bottom is an equivalence (Univalent Foundations Program 2013, Lemma 7.5.14). Thus, up to an automorphism of the codomain, the map
$\phi :K \to \operatorname {B} Q$
coincides with the map
$|-|_{1}:K \to \|K\|_{1}$
, which is known as the Galois fibration (Mimram and Oleon Reference Mimram and Oleon2026):
Lemma 12. We have a commuting triangle

where the bottom map is an equivalence.
Let us briefly explain the importance of this fibration. Given a pointed connected type
$A$
, we have that
$\|A\|_{1}$
is a connected groupoid whose fundamental group is
$\pi _1(A)$
since we have
where the first equality is (Univalent Foundations Program 2013, Theorem 7.3.12) and the second one is (Univalent Foundations Program 2013, Corollary 7.3.7). The fiber of the truncation map
$|-|_{1}:A\to \|A\|_{1}$
is the type on the left below
which, by Univalent Foundations Program (2013, Theorem 7.3.12) again, is equal to the type on the right: this latter type is precisely the universal cover of
$A$
along with the first projection
$\operatorname {fst}:\tilde A\to A$
as universal covering map. In other words, we have a fiber sequence
which, under the action-fibration duality (Proposition5), corresponds to the canonical action of
$\pi _1(A)$
on the universal cover. The fiber sequence of Theorem 4.7 is essentially of this form, with
$A\equiv K$
so we have shown:
Theorem.
The universal cover of the hypercubical manifold is
$\operatorname {S}^{3}$
.
Note that we have defined the map
$\phi :K \to \operatorname {B} Q$
in Definition8 by making an educated guess, but we could actually have computed it from the map
$|-|_{1}:K \to \|K\|_{1}$
.
5. Higher-Dimensional Hypercubical Manifolds
We now construct higher-dimensional variants of the hypercubical manifold: for every natural number
$n$
, we define a type
$K^{n}$
equipped with a canonical map
$\phi ^n:K^{n}\to \operatorname {B} Q$
. In particular, for
$n=1$
, we recover the previous constructions:
$K^{1}\equiv K$
and
$\phi ^1\equiv \phi$
. These will be such that there is a fiber sequence

exhibiting the fact that
$K^{n}$
is a quotient of
$\operatorname {S}^{4n-1}$
by an action of
$Q$
, and therefore, the map
$\phi ^n$
will be
$(4n{-}2)$
-connected. In this sense, the types
$K^{n}$
provide better and better approximations of
$\operatorname {B} Q$
as
$n$
increases.
In order to define these in type theory, we should draw inspiration from the topological definitions recalled in Subsection 2.3. For instance,
$K^{2}$
is obtained as a quotient of
$\operatorname {S}^{7}$
by
$Q$
. Recalling that
$\operatorname {S}^{7}$
can be constructed as a join
$\operatorname {S}^{7}=\operatorname {S}^{3}\ast \operatorname {S}^{3}$
of two copies of
$\operatorname {S}^{3}$
, the action of
$Q$
on
$\operatorname {S}^{7}$
can also be decomposed as a form of join of the action of
$Q$
on
$\operatorname {S}^{3}$
used to define
$K$
. This suggests defining
$\phi ^2$
as a join
$\phi ^2\equiv \phi \ast \phi$
and similarly for
$\phi ^n$
with arbitrary
$n$
(we will recall below how the join operation translates in type theory). This construction is reminiscent of the one of real projective spaces (Buchholtz and Rijke Reference Buchholtz and Rijke2017) and lens spaces (Mimram and Oleon Reference Mimram and Oleon2024), which are also obtained as joins of suitable maps to the delooping of their fundamental group.
5.1 The join operation in type theory
Given two types
$A$
and
$B$
, their join
$A\ast B$
(see Univalent Foundations Program 2013, Section 6.8) is the pushout of the product projections:

In type theory, the type
$A\ast B$
can be described as the HIT with
$A \to A\ast B$
and
$B \to A\ast B$
as base constructors and
$(a,b):A\times B\to A\ast B$
as a higher constructor adding paths
$a=b$
indexed by pairs
$(a,b):A\times B$
.
The operation
$\operatorname {S}^{0}\ast -$
is the suspension operation so that
$\operatorname {S}^{0} \ast \operatorname {S}^{n} = \operatorname {S}^{n+1}$
. The join operation is associative and commutative and admits
$0$
as a neutral element (Brunerie Reference Brunerie2016, Section 1.8), and we thus have the fact that
$\operatorname {S}^{n} \ast \operatorname {S}^{m} = \operatorname {S}^{n+m+1}$
. It can be shown that joins increase connectivity in the following sense (Brunerie Reference Brunerie2019, Proposition 3):
Proposition 13.
If
$A$
is
$m$
-connected and
$B$
is
$n$
-connected,
$A\ast B$
is
$(m{+}n{+}2)$
-connected.
We can generalize the join operation to pairs of morphisms with common codomain as follows. Given maps
$f:A\to C$
and
$g:B\to C$
, their join
$f\ast g$
is the universal map obtained from the pushout of the dependent projections
$\operatorname {fst}$
and
$\operatorname {snd}$
from their pullback
$A\times _CB$
:

The source
$A\ast _CB$
can be thought of as a “dependent join over
$C$
” in the sense that we have
$A\ast _1B=A\ast B$
: we recover the join operation on types by considering terminal maps. An important result about the join operation is the following (Rijke Reference Rijke2018, Theorem 2.3.15):
Proposition 14.
Given maps
$f:A\to C$
and
$g:B\to C$
, for any
$x:C$
, we have an equality
For this reason,
$A\ast _CB$
is also sometimes called the fiberwise join of
$A$
and
$B$
over
$C$
. As a direct consequence of the previous proposition, we have the following result:
Proposition 15. Given two fiber sequences

their join
is a fiber sequence.
Now consider two maps
$\phi _i:A_i\to \operatorname {B} G$
for
$i\in \{1,2\}$
and some group
$G$
: these maps can be understood as actions of
$G$
on
$F_i\equiv \operatorname {fib}_{\phi _i}$
by action-fibration duality. Their join
$\phi _1\ast \phi _2$
corresponds to the action of
$G$
on
$F_1\ast F_2$
obtained by letting
$G$
act as
$\phi _i$
on
$F_i$
seen as sitting inside of
$F_1\ast F_2$
through the canonical map
$F_i\to F_1\ast F_2$
(given by the definition as a HIT) and extended “by continuity” on other points.
Given a map
$f:A\to B$
, we write
$f^n$
for the iterated join of
$n$
copies of
$f$
. Combining Propositions13 and 14, we have that
$f^n$
is more and more connected as
$n$
increases. Taking the inductive limit as
$n$
goes to infinity, it can be shown that these maps converge toward the inclusion
$\operatorname {im}(f)\hookrightarrow B$
(Rijke Reference Rijke2018, Theorem 4.2.13).
5.2 Higher-dimensional hypercubical manifolds in type theory
We define the
$n$
-th higher hypercubical manifold as the type
as the iterated join of
$n$
copies of
$K$
, and
as the corresponding universal map. By iteratively joining the fundamental fiber sequence of Theorem 4.7 with itself using Proposition15, we obtain:
Proposition 16.
We have, for every
$n\in \mathbb{N}$
, a fiber sequence

As a direct consequence of the previous fiber sequence, and the fact that
$\operatorname {S}^{k}$
is
$(k{-}1)$
-connected (Univalent Foundations Program 2013, Corollary 8.2.2), we have
Proposition 17.
The canonical map
$\phi ^n:K^{n}\to \operatorname {B} Q$
is
$(4n{-}2)$
-connected.
By taking the inductive limit as explained above, we obtain a delooping
$K^\infty$
of
$Q$
:
Proposition 18. We have a fiber sequence
and thus
$\phi ^\infty$
is an equivalence.
Proof.
The fact that
$\phi ^\infty$
is an equivalence follows from the fact that it merely has a point and
$\operatorname {B} Q$
is connected.
Remark 19. Note that the previous construction would have worked starting from any map
$\phi :A\to \operatorname {B} Q$
(as long as
$A$
is inhabited), the pointing map
$1\to \operatorname {B} Q$
, for instance, in the sense that Proposition 18 would still hold.
6. Conclusion
We have defined the hypercubical manifold in homotopy type theory and shown the relevance of our construction by exhibiting the resulting type
$K$
as a quotient of the sphere
$\operatorname {S}^{3}$
under the canonical action of the fundamental group
$Q$
. We have also introduced higher-dimensional variants of these spaces.
As a direct application, it would be interesting to use
$K^{n}$
in order to compute the cohomology groups of
$Q$
in low dimensions (up to
$4n-2$
). Indeed, from the definition of the delooping
$\operatorname {B} G$
of any group
$G$
, one can obtain a cellular type (the analogue, in type theory, of a CW-complex) by applying the Milnor construction (Buchholtz and Rijke Reference Buchholtz and Rijke2017). In our case, this provides a cellular description of
$\operatorname {B} Q$
from which one can synthetically compute, in homotopy type theory, the cellular cohomology of
$Q$
, as the cohomology of
$\operatorname {B} Q$
by applying the constructions of Buchholtz and Hou (Reference Buchholtz and Hou2020). With integral coefficients, all these groups are already known, and we should for instance be able to recover
$H^2(Q)$
. This would first require showing that the types
$K^{n}$
are cellular, which is expected to hold but is left for future work.
We believe that the methodology introduced here is very general and should be applicable in order to define types corresponding to various well-known spaces, which can be obtained from polyhedra by gluing faces, including those considered by Poincaré (Reference Poincaré1895). In particular, we plan to investigate a definition of the homology sphere (Poincaré Reference Poincaré1904), which is defined in a similar way, although the combinatorics is more involved: it can be described as a cellular complex with 5 0-cells, 10 1-cells, 6 2-cells, and 1 3-cell, its fundamental group has 120 elements, and the fiber of the fundamental fibration is a model of
$\operatorname {S}^{3}$
with 600 0-cells, 1200 1-cells, 720 2-cells, and 120 3-cells. Another family of examples is given by suspensions of linear morphisms of the torus (Arnol’d and Avez Reference Arnol’d and Avez1967).
This paper also fits into the general program aiming at constructing the group
$\mathrm{SU}(2)$
in homotopy type theory, along with its higher coherences. This amounts to constructing a delooping of the 3-sphere, which is known to be isomorphic to
$\mathrm{SU}(2)$
, and would thus have a group structure induced by its identification as a loop space. Constructing such a delooping is thus an important open problem in homotopy type theory. It is also equivalent to defining all quaternionic projective spaces via the Milnor construction by generalizing the construction performed in the real case (Buchholtz and Rijke Reference Buchholtz and Rijke2017). A first important step in this direction is the construction and classification of the H-space structures on
$\operatorname {S}^{3}$
(Buchholtz and Rijke Reference Buchholtz and Rijke2018; Buchholtz et al. Reference Buchholtz, Christensen, Flaten and Rijke2025). The group
$\mathrm{SU}(2)$
canonically acts on itself (by left multiplication), resulting in a canonical action of
$\mathrm{SU}(2)$
on
$\operatorname {S}^{3}$
, of which the action of
$Q$
on
$\operatorname {S}^{3}$
is a special case (as are the actions of
$\mathbb{Z}_n$
on
$\operatorname {S}^{3}$
constructed by Mimram and Oleon (Reference Mimram and Oleon2024)). In particular, if we knew how to deloop
$\operatorname {S}^{3}$
, we could hope for a coherent version of the action of
$\mathrm{SU}(2)$
on itself, from which one could deduce all the free actions of finite groups on
$\operatorname {S}^{3}$
(because these are known to be subgroups of
$\mathrm{SU}(2)$
(Thurston and Levy Reference Thurston and Levy2000)).








ϕ1
S3
Q
i
j