Homotopy type theory
Homotopy type theory (HoTT) interprets type theory from a homotopical perspective. In homotopy type theory, we regard the types as “spaces” (as studied in homotopy theory) or higher groupoids, and the logical constructions (such as the product ) as homotopy-invariant constructions on these spaces. In this way, we are able to manipulate spaces directly without first having to develop point-set topology (or any combinatorial replacement for it, such as the theory of simplicial sets). To briefly explain this perspective, consider first the basic concept of type theory, namely that the term is of type , which is written:
This expression is traditionally thought of as akin to:
“ is an element of the set .”
However, in homotopy type theory we think of it instead as:
“ is a point of the space .”
Similarly, every function in type theory is regarded as a continuous map from the space to the space .
We should stress that these “spaces” are treated purely homotopically, not topologically. For instance, there is no notion of “open subset” of a type or of “convergence” of a sequence of elements of a type. We only have “homotopical” notions, such as paths between points and homotopies between paths, which also make sense in other models of homotopy theory (such as simplicial sets). Thus, it would be more accurate to say that we treat types as -groupoids; this is a name for the “invariant objects” of homotopy theory which can be presented by topological spaces, simplicial sets, or any other model for homotopy theory. However, it is convenient to sometimes use topological words such as “space” and “path”, as long as we remember that other topological concepts are not applicable.
(It is tempting to also use the phrase homotopy type for these objects, suggesting the dual interpretation of “a type (as in type theory) viewed homotopically” and “a space considered from the point of view of homotopy theory.” The latter is a bit different from the classical meaning of “homotopy type” as an equivalence class of spaces modulo homotopy equivalence, although it does preserve the meaning of phrases such as “these two spaces have the same homotopy type”.)
The idea of interpreting types as structured objects, rather than sets, has a long pedigree, and is known to clarify various mysterious aspects of type theory. For instance, interpreting types as sheaves helps explain the intuitionistic nature of type-theoretic logic, while interpreting them as partial equivalence relations or “domains” helps explain its computational aspects. It also implies that we can use type-theoretic reasoning to study the structured objects, leading to the rich field of categorical logic. The homotopical interpretation fits this same pattern: it clarifies the nature of identity (or equality) in type theory, and allows us to use type-theoretic reasoning in the study of homotopy theory.
The key new idea of the homotopy interpretation is that the logical notion of identity of two objects of the same type can be understood as the existence of a path from point to point in the space . This also means that two functions can be identified if they are homotopic, since a homotopy is just a (continuous) family of paths in , one for each . In type theory, for every type there is a (formerly somewhat mysterious) type of identifications of two objects of ; in homotopy type theory, this is just the path space of all continuous maps from the unit interval. In this way, a term represents a path in .
The idea of homotopy type theory arose around 2006 in independent work by Awodey and Warren [1] and Voevodsky [3], but it was inspired by Hofmann and Streicher’s earlier groupoid interpretation [2]. Indeed, higher-dimensional category theory (particularly the theory of weak -groupoids) is now known to be intimately connected to homotopy theory, as proposed by Grothendieck and now being studied intensely by mathematicians of both sorts. The original semantic models of Awodey–Warren and Voevodsky use well-known notions and techniques from homotopy theory which are now also in use in higher category theory, such as Quillen model categories and Kan simplicial sets.
Voevodsky recognized that the simplicial interpretation of type theory satisfies a further crucial property, dubbed univalence, which had not previously been considered in type theory (although Church’s principle of extensionality for propositions turns out to be a very special case of it). Adding univalence to type theory in the form of a new axiom has far-reaching consequences, many of which are natural, simplifying and compelling. The univalence axiom also further strengthens the homotopical view of type theory, since it holds in the simplicial model and other related models, while failing under the view of types as sets.
References
- 1 Steve Awodey and Michael A. Warren. Homotopy theoretic models of identity types. Mathematical Proceedings of the Cambridge Philosophical Society, 146:45–55 2009
- 2 Hofmann,Martin and Streicher,Thomas. The groupoid interpretation of type theory. In Twenty-five years of constructive type theory (Venice,1995),volume 36 of Oxford Logic Guides, pages 83–111. Oxford University Press, 1998.
- 3 Vladimir Voevodsky,Date-Modified. A very short note on the homotopy -calculus. \urlhttp://www.math.ias.edu/ vladimir/Site3/Univalent_Foundations_files/Hlambda_short_current.pdf, 2006.
Title | Homotopy type theory |
---|---|
\metatable |