The HoTT book complex number are the complex numbers constructed over the HoTT book real number, as developed in Section 11.3 of UFP 2013.
Let denote the type of HoTT book real numbers. The corresponding complex number type is defined as the Cartesian product , equipped with the usual complex addition and multiplication.
Although the underlying construction is elementary, establishing its algebraic properties within constructive mathematics is non-trivial and depends on the corresponding properties of the HoTT book reals. In particular, the treatment of nonzero elements and multiplicative inverses requires distinguishing constructive apartness from the mere negation of equality.
The resulting multiplicative group of units, , admits a delooping . This provides a natural setting for studying group actions on complex numbers, local systems, and monodromy in homotopy type theory.
We define the HoTT book complex number as an ordered pair of HoTT book real numbers:
By the formation rule for the product type, belongs to the same universe as .
Since is a set (0-type), for any two complex numbers and , there is an equivalence of identity types:
Since the product of two propositions is again a proposition, is also a set. In other words,
is inhabited.
Unlike the HoTT book real number, which is constructed as a higher inductive-inductive type, the HoTT book complex number is defined by an ordinary product type, without introducing additional higher inductive constructors.
Let and be elements of . The addition and multiplication are defined by
The additive and multiplicative identities are and , respectively. The imaginary unit satisfies .
The additive inverse is , while the complex conjugate is .
These operations give the structure of a commutative ring, inherited from the algebraic properties of .
In constructive mathematics, the negation of equality does not in general provide sufficient information to construct a multiplicative inverse. Hence, the notion of apartness plays an important role in the algebraic structure of .
Recall that the HoTT book real number is equipped with a strict order, which induces the apartness relation defined by or .
For any and in , define the complex apartness relation by
In particular, expresses that at least one of its real components is apart from zero.
This is stronger than merely assuming in constructive logic.
For , define its squared modulus by . By the algebraic properties of the HoTT book real number, one has , where the right-hand side is identified with a real number embedded in .
If , then . Hence is multiplicatively invertible in , and the inverse of is given by
This construction satisfies .
Conversely, every multiplicatively invertible element of is apart from zero. Thus, the multiplicatively invertible elements may be characterized by their apartness from zero.
The group of units of consists of its multiplicatively invertible elements. We denote it by .
Equivalently, using the apartness characterization above, its underlying type may be written as
The group operation is inherited from complex multiplication, with identity element and inverses as defined above.
Since is a set and apartness is proposition-valued, is also a set. Hence it defines an ordinary group in homotopy type theory.
In the following discussion, is regarded as a discrete group, without imposing any additional topological or continuity structure on its multiplication.
For a group whose underlying type is a set, a delooping is a pointed connected 1-type whose loop space recovers as a group.
In particular, the multiplicative group admits a delooping , satisfying
One construction of this delooping uses the moduli type of -torsors, with the regular torsor as the distinguished base point.
Thus, may be represented by the moduli type of -torsors.
Its nontrivial loop structure arises from the multiplicative group, rather than from any nontrivial higher homotopy of the underlying complex number type.
The multiplicative group acts on the additive group by scalar multiplication:
Since each is invertible, is an additive group automorphism.
By the correspondence between group actions and dependent type families over their deloopings, this action determines a dependent family of sets
whose fiber over the base point is equivalent to .
transport along the loop corresponding to recovers multiplication by , up to the chosen identifications and conventions for group actions and path composition.
This gives a homotopy-theoretic interpretation of complex scalar multiplication in terms of transport and monodromy.
The formalization of the HoTT book complex number and its multiplicative delooping is an ongoing research project at the Center for Quantum and Topological Systems (CQTS).
The project develops the constructive algebraic structure of in Cubical Agda, based on the HoTT book real number, with the aim of obtaining a reusable formalization of the discrete group and its delooping .
The mathematical development involves the following constructions:
These constructions are intended to be accompanied by machine-checked definitions and formal proofs, together with mathematical explanations of their correspondence to the formal code.
The formalization is work in progress. The definitions and mathematical properties described above should not be interpreted as claims that their complete Cubical Agda implementations have already been verified.
The motivation is to connect constructive number systems in homotopy type theory with the computational interpretation of topological transformations through dependent types.
Although the underlying complex number type is simply a product type of two real number types, constructing its multiplicative group in a fully constructive setting requires careful treatment of apartness and invertibility.
The resulting group provides a concrete instance of the general correspondence between groups, their deloopings, and monodromy actions on dependent fibers.
The computational question is whether these abstract correspondences can be realized through explicit operations in Cubical Agda, such that transport along loops recovers the intended complex multiplication and admits meaningful computational behavior.
This is distinct from merely establishing the existence of the corresponding equivalences and group actions.
In the homotopy-theoretic formulation of topological quantum computation, complex coefficients and multiplicative twisting play a central role in the construction of local systems and twisted cohomology.
In particular, the homotopy-theoretic description of topological quantum gates by MySS 2024 involves twisting data valued in the delooping of the discrete multiplicative group of nonzero complex numbers.
Such twisting data may be expressed by a map of the form
The associated complex-valued dependent type family provides a setting in which transport along paths in induces monodromy on the corresponding fibers.
For the topological quantum gate construction, the relevant spaces include classifying spaces associated with braid groups, while the twisting data enter the definition of complex-valued twisted cohomology.
The formalization of and its delooping is therefore a foundational component of a broader programme aimed at the computational realization of topological quantum transformations in Cubical Agda.
A complete computational realization of the quantum gate construction requires further formalization beyond the complex number system and its delooping.
Univalent Foundations Project, Section 11.3 of: Homotopy Type Theory – Univalent Foundations of Mathematics (2013)
Jackson Brough, Formalizing the Real Numbers in Homotopy Type Theory with Cubical Agda, 2026. arXiv:2604.24782.
David Jaz Myers, Hisham Sati Urs Schreiber: : Topological Quantum Gates in Homotopy Type Theory, Comm. Math. Phys. 405 172 (2024) [doi:10.1007/s00220-024-05020-8, arXiv:2303.02382]
Last revised on November 19, 2026 at 15:40:36. See the history of this page for a list of all contributions to it.