Voevodsky's Univalence Axiom in Homotopy Type Theory

Total Page:16

File Type:pdf, Size:1020Kb

Voevodsky's Univalence Axiom in Homotopy Type Theory Voevodsky’s Univalence Axiom in Homotopy Type Theory Steve Awodey, Álvaro Pelayo, and Michael A. Warren he Institute for Advanced Study in used in programming languages. As in program- Princeton is hosting a special program ming languages, these elaborately structured types during the academic year 2012–2013 can be used to express detailed specifications of on a new research theme that is based the objects classified, giving rise to principles of on recently discovered connections be- reasoning about them. To take a simple example, Ttween homotopy theory, a branch of algebraic the objects of a product type A × B are known to topology, and type theory, a branch of mathemati- be of the form ha; bi, and so one automatically cal logic and theoretical computer science. In this knows how to form them and how to decompose brief paper our goal is to take a glance at these them. This aspect of type theory has led to its developments. For those readers who would like to extensive use in verifying the correctness of com- learn more about them, we recommend a number puter programs. Type theories also form the basis of references throughout. of modern computer proof assistants, which are Type theory was invented by Bertrand Russell used for formalizing mathematics and verifying [20], but it was first developed as a rigorous the correctness of formalized proofs. For example, formal system by Alonzo Church [3], [4], [5]. It now the powerful Coq proof assistant [6] has recently has numerous applications in computer science, been used to formalize and verify the correctness especially in the theory of programming languages of the proof of the celebrated Feit-Thompson odd [19]. Per Martin-Löf [15], [11], [13], [14], among order theorem [7]. others, developed a generalization of Church’s One problem with understanding type theory system which is now usually called dependent, from a mathematical point of view, however, has constructive, or simply Martin–Löf type theory; always been that the basic concept of type is unlike this is the system that we consider here. It was that of set in ways that have been hard to make originally intended as a rigorous framework for precise. This difficulty has now been solved by constructive mathematics. the idea of regarding types not as strange sets In type theory objects are classified using a (perhaps constructed without using classical logic) primitive notion of type, similar to the data types but as spaces, regarded from the perspective of homotopy theory. Steve Awodey is professor of philosophy at Carnegie Mel- In homotopy theory one is concerned with lon University and a member of the Institute for Advanced spaces and continuous mappings between them, Study School of Mathematics (2012–2013). His email ad- dress is [email protected]. up to homotopy; a homotopy between a pair of continuous maps f : X ! Y and g : X ! Y is Álvaro Pelayo is assistant professor of mathematics at Wash- a continuous map H : X × [0; 1] ! Y satisfying ington University in St. Louis and a member of the Institute for Advanced Study School of Mathematics (December 2010– H(x, 0) = f (x) and H(x, 1) = g(x). The homotopy August 2013). His email address is [email protected]. H may be thought of as a “continuous deformation” edu. of f into g. The spaces X and Y are said to be Michael A. Warren is professor of mathematics at the homotopy equivalent, X ' Y , if there are continuous Institute for Advanced Study School of Mathematics (2011– maps going back and forth, the composites of 2013). His email address is [email protected]. which are homotopical to the respective identity DOI: http://dx.doi.org/10.1090/noti1043 mappings, i.e., if they are isomorphic “up to 1164 Notices of the AMS Volume 60, Number 9 homotopy". Homotopy equivalent spaces have the property, which he termed univalence and which same algebraic invariants (e.g., homology, or the is not usually assumed in type theory. Adding fundamental group) and are said to have the same univalence to type theory in the form of a new homotopy type. axiom has far-reaching consequences, many of Homotopy type theory is a new field of math- which are natural, simplifying, and compelling. The ematics which interprets type theory from a Univalence Axiom thus further strengthens the homotopical perspective. In homotopy type theory, homotopical view of type theory since it holds in one regards the types as spaces, or homotopy types, the simplicial model but fails in the view of types and the logical constructions (such as the product as sets. A × B) as homotopy-invariant constructions on The basic idea of the Univalence Axiom can be spaces. In this way, one is able to manipulate explained as follows. In type theory, one can have spaces directly, without first having to develop a universe U, the terms of which are themselves point-set topology or even define the real numbers. types, A : U, etc. Of course, we do not have U : U, Homotopy type theory is connected to several so only some types are terms of U—call these topics of interest in modern algebraic topology, the small types. Like any type, U has an identity such as 1-groupoids and Quillen model structures type IdU, which expresses the identity relation (see [18]); we will only mention one simple example A = B among small types. Thinking of types as below, namely the homotopy groups of spheres. spaces, U is a space, the points of which are To briefly explain the homotopical perspective spaces. To understand its identity type, we must of types, consider the basic concept of type theory, ask, “What is a path p : A B between spaces in namely that the term a is of type A, which is U?” The Univalence Axiom says that such paths written correspond to homotopy equivalences A ' B, as a : A: explained above (the actual notion of equivalence This expression is traditionally thought of as akin required is slightly different). A bit more precisely, to “a is an element of the set A”. However, in given any (small) types A and B, in addition to homotopy type theory we think of it instead as “a the type IdU(A, B) of identities between A and B is a point of the space A”. Similarly, every term there is the type Eq(A, B) of equivalences from A f : A ! B is regarded as a continuous function to B. Since the identity map on any object is an from the space A to the space B. equivalence, there is a canonical map, This perspective clarifies features of type theory IdU(A, B) ! Eq(A, B). which were puzzling from the perspective of types The Univalence Axiom states that this map is itself as sets, for instance, that one can have nontrivial an equivalence. At the risk of oversimplifying, we types X such that (X ! X) X + 1. But the key new idea of the homotopy interpretation is that can state this succinctly as the logical notion of identity a = b of two objects Univalence Axiom: (A = B) ' (A ' B). a; b : A of the same type A can be understood as In other words, identity is equivalent to equivalence. the existence of a path p : a b from point a From the homotopical point of view, this says to point b in the space A. This also means that that the universe U is something like a classifying two functions f ; g : A ! B are identical just in space for (small) homotopy types, which is a practi- case they are homotopic, since a homotopy is just cal and natural assumption. From the logical point a family of paths px : f (x) g(x) in B, one for of view, however, it is revolutionary: it says that each x : A. In type theory, for every type A there isomorphic things can be identified! Mathemati- is a (formerly somewhat mysterious) type IdA cians are, of course, used to identifying isomorphic of identities between objects of A; in homotopy structures in practice, but they generally do so type theory, this is just the path space AI of all with a wink, knowing that the identification is not continuous maps I ! A from the unit interval. (See “officially” justified by foundations. But in this new [2], [1], [18].) foundational scheme, not only are such structures At around the same time that Awodey and formally identified, but the different ways in which Warren advanced the idea of homotopy type theory, such identifications may be made themselves form Voevodsky showed how to model type theory using a structure that one can (and should!) take into Kan simplicial sets, a familiar setting for classical account. homotopy theory, thus arriving independently Part of the appeal of homotopy type theory at essentially the same idea around 2005. Both with the Univalence Axiom is the many interesting were inspired by the prior work of Hofmann and connections it reveals between logic and homotopy. Streicher, who had constructed a model of type Another remarkable aspect is that it can be carried theory using groupoids [9]. out in a computer proof assistant since type theory Voevodsky, moreover, recognized that this exhibits such good computational properties (see simplicial interpretation satisfies a further crucial [21], [8] on the use of computer proof assistants October 2013 Notices of the AMS 1165 in general). In practical terms, this means that it is univalent setting. A preliminary treatment in the possible to use the powerful, currently available construction of the p–adic numbers is given in [17].
Recommended publications
  • Linear Type Theory for Asynchronous Session Types
    JFP 20 (1): 19–50, 2010. c Cambridge University Press 2009 19 ! doi:10.1017/S0956796809990268 First published online 8 December 2009 Linear type theory for asynchronous session types SIMON J. GAY Department of Computing Science, University of Glasgow, Glasgow G12 8QQ, UK (e-mail: [email protected]) VASCO T. VASCONCELOS Departamento de Informatica,´ Faculdade de Ciencias,ˆ Universidade de Lisboa, 1749-016 Lisboa, Portugal (e-mail: [email protected]) Abstract Session types support a type-theoretic formulation of structured patterns of communication, so that the communication behaviour of agents in a distributed system can be verified by static typechecking. Applications include network protocols, business processes and operating system services. In this paper we define a multithreaded functional language with session types, which unifies, simplifies and extends previous work. There are four main contributions. First is an operational semantics with buffered channels, instead of the synchronous communication of previous work. Second, we prove that the session type of a channel gives an upper bound on the necessary size of the buffer. Third, session types are manipulated by means of the standard structures of a linear type theory, rather than by means of new forms of typing judgement. Fourth, a notion of subtyping, including the standard subtyping relation for session types (imported into the functional setting), and a novel form of subtyping between standard and linear function types, which allows the typechecker to handle linear types conveniently. Our new approach significantly simplifies session types in the functional setting, clarifies their essential features and provides a secure foundation for language developments such as polymorphism and object-orientation.
    [Show full text]
  • Sets in Homotopy Type Theory
    Predicative topos Sets in Homotopy type theory Bas Spitters Aarhus Bas Spitters Aarhus Sets in Homotopy type theory Predicative topos About me I PhD thesis on constructive analysis I Connecting Bishop's pointwise mathematics w/topos theory (w/Coquand) I Formalization of effective real analysis in Coq O'Connor's PhD part EU ForMath project I Topos theory and quantum theory I Univalent foundations as a combination of the strands co-author of the book and the Coq library I guarded homotopy type theory: applications to CS Bas Spitters Aarhus Sets in Homotopy type theory Most of the presentation is based on the book and Sets in HoTT (with Rijke). CC-BY-SA Towards a new design of proof assistants: Proof assistant with a clear (denotational) semantics, guiding the addition of new features. E.g. guarded cubical type theory Predicative topos Homotopy type theory Towards a new practical foundation for mathematics. I Modern ((higher) categorical) mathematics I Formalization I Constructive mathematics Closer to mathematical practice, inherent treatment of equivalences. Bas Spitters Aarhus Sets in Homotopy type theory Predicative topos Homotopy type theory Towards a new practical foundation for mathematics. I Modern ((higher) categorical) mathematics I Formalization I Constructive mathematics Closer to mathematical practice, inherent treatment of equivalences. Towards a new design of proof assistants: Proof assistant with a clear (denotational) semantics, guiding the addition of new features. E.g. guarded cubical type theory Bas Spitters Aarhus Sets in Homotopy type theory Formalization of discrete mathematics: four color theorem, Feit Thompson, ... computational interpretation was crucial. Can this be extended to non-discrete types? Predicative topos Challenges pre-HoTT: Sets as Types no quotients (setoids), no unique choice (in Coq), ..
    [Show full text]
  • Types Are Internal Infinity-Groupoids Antoine Allioux, Eric Finster, Matthieu Sozeau
    Types are internal infinity-groupoids Antoine Allioux, Eric Finster, Matthieu Sozeau To cite this version: Antoine Allioux, Eric Finster, Matthieu Sozeau. Types are internal infinity-groupoids. 2021. hal- 03133144 HAL Id: hal-03133144 https://hal.inria.fr/hal-03133144 Preprint submitted on 5 Feb 2021 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Types are Internal 1-groupoids Antoine Allioux∗, Eric Finstery, Matthieu Sozeauz ∗Inria & University of Paris, France [email protected] yUniversity of Birmingham, United Kingdom ericfi[email protected] zInria, France [email protected] Abstract—By extending type theory with a universe of defini- attempts to import these ideas into plain homotopy type theory tionally associative and unital polynomial monads, we show how have, so far, failed. This appears to be a result of a kind of to arrive at a definition of opetopic type which is able to encode circularity: all of the known classical techniques at some point a number of fully coherent algebraic structures. In particular, our approach leads to a definition of 1-groupoid internal to rely on set-level algebraic structures themselves (presheaves, type theory and we prove that the type of such 1-groupoids is operads, or something similar) as a means of presenting or equivalent to the universe of types.
    [Show full text]
  • On Modeling Homotopy Type Theory in Higher Toposes
    Review: model categories for type theory Left exact localizations Injective fibrations On modeling homotopy type theory in higher toposes Mike Shulman1 1(University of San Diego) Midwest homotopy type theory seminar Indiana University Bloomington March 9, 2019 Review: model categories for type theory Left exact localizations Injective fibrations Here we go Theorem Every Grothendieck (1; 1)-topos can be presented by a model category that interprets \Book" Homotopy Type Theory with: • Σ-types, a unit type, Π-types with function extensionality, and identity types. • Strict universes, closed under all the above type formers, and satisfying univalence and the propositional resizing axiom. Review: model categories for type theory Left exact localizations Injective fibrations Here we go Theorem Every Grothendieck (1; 1)-topos can be presented by a model category that interprets \Book" Homotopy Type Theory with: • Σ-types, a unit type, Π-types with function extensionality, and identity types. • Strict universes, closed under all the above type formers, and satisfying univalence and the propositional resizing axiom. Review: model categories for type theory Left exact localizations Injective fibrations Some caveats 1 Classical metatheory: ZFC with inaccessible cardinals. 2 Classical homotopy theory: simplicial sets. (It's not clear which cubical sets can even model the (1; 1)-topos of 1-groupoids.) 3 Will not mention \elementary (1; 1)-toposes" (though we can deduce partial results about them by Yoneda embedding). 4 Not the full \internal language hypothesis" that some \homotopy theory of type theories" is equivalent to the homotopy theory of some kind of (1; 1)-category. Only a unidirectional interpretation | in the useful direction! 5 We assume the initiality hypothesis: a \model of type theory" means a CwF.
    [Show full text]
  • A General Framework for the Semantics of Type Theory
    A General Framework for the Semantics of Type Theory Taichi Uemura November 14, 2019 Abstract We propose an abstract notion of a type theory to unify the semantics of various type theories including Martin-L¨oftype theory, two-level type theory and cubical type theory. We establish basic results in the semantics of type theory: every type theory has a bi-initial model; every model of a type theory has its internal language; the category of theories over a type theory is bi-equivalent to a full sub-2-category of the 2-category of models of the type theory. 1 Introduction One of the key steps in the semantics of type theory and logic is to estab- lish a correspondence between theories and models. Every theory generates a model called its syntactic model, and every model has a theory called its internal language. Classical examples are: simply typed λ-calculi and cartesian closed categories (Lambek and Scott 1986); extensional Martin-L¨oftheories and locally cartesian closed categories (Seely 1984); first-order theories and hyperdoctrines (Seely 1983); higher-order theories and elementary toposes (Lambek and Scott 1986). Recently, homotopy type theory (The Univalent Foundations Program 2013) is expected to provide an internal language for what should be called \el- ementary (1; 1)-toposes". As a first step, Kapulkin and Szumio (2019) showed that there is an equivalence between dependent type theories with intensional identity types and finitely complete (1; 1)-categories. As there exist correspondences between theories and models for almost all arXiv:1904.04097v2 [math.CT] 13 Nov 2019 type theories and logics, it is natural to ask if one can define a general notion of a type theory or logic and establish correspondences between theories and models uniformly.
    [Show full text]
  • Finding an Interpretation Under Which Axiom 2 of Aristotelian Syllogistic Is
    Finding an interpretation under which Axiom 2 of Aristotelian syllogistic is False and the other axioms True (ignoring Axiom 3, which is derivable from the other axioms). This will require a domain of at least two objects. In the domain {0,1} there are four ordered pairs: <0,0>, <0,1>, <1,0>, and <1,1>. Note first that Axiom 6 demands that any member of the domain not in the set assigned to E must be in the set assigned to I. Thus if the set {<0,0>} is assigned to E, then the set {<0,1>, <1,0>, <1,1>} must be assigned to I. Similarly for Axiom 7. Note secondly that Axiom 3 demands that <m,n> be a member of the set assigned to E if <n,m> is. Thus if <1,0> is a member of the set assigned to E, than <0,1> must also be a member. Similarly Axiom 5 demands that <m,n> be a member of the set assigned to I if <n,m> is a member of the set assigned to A (but not conversely). Thus if <1,0> is a member of the set assigned to A, than <0,1> must be a member of the set assigned to I. The problem now is to make Axiom 2 False without falsifying Axiom 1 as well. The solution requires some experimentation. Here is one interpretation (call it I) under which all the Axioms except Axiom 2 are True: Domain: {0,1} A: {<1,0>} E: {<0,0>, <1,1>} I: {<0,1>, <1,0>} O: {<0,0>, <0,1>, <1,1>} It’s easy to see that Axioms 4 through 7 are True under I.
    [Show full text]
  • The Axiom of Choice and Its Implications
    THE AXIOM OF CHOICE AND ITS IMPLICATIONS KEVIN BARNUM Abstract. In this paper we will look at the Axiom of Choice and some of the various implications it has. These implications include a number of equivalent statements, and also some less accepted ideas. The proofs discussed will give us an idea of why the Axiom of Choice is so powerful, but also so controversial. Contents 1. Introduction 1 2. The Axiom of Choice and Its Equivalents 1 2.1. The Axiom of Choice and its Well-known Equivalents 1 2.2. Some Other Less Well-known Equivalents of the Axiom of Choice 3 3. Applications of the Axiom of Choice 5 3.1. Equivalence Between The Axiom of Choice and the Claim that Every Vector Space has a Basis 5 3.2. Some More Applications of the Axiom of Choice 6 4. Controversial Results 10 Acknowledgments 11 References 11 1. Introduction The Axiom of Choice states that for any family of nonempty disjoint sets, there exists a set that consists of exactly one element from each element of the family. It seems strange at first that such an innocuous sounding idea can be so powerful and controversial, but it certainly is both. To understand why, we will start by looking at some statements that are equivalent to the axiom of choice. Many of these equivalences are very useful, and we devote much time to one, namely, that every vector space has a basis. We go on from there to see a few more applications of the Axiom of Choice and its equivalents, and finish by looking at some of the reasons why the Axiom of Choice is so controversial.
    [Show full text]
  • Constructivity in Homotopy Type Theory
    Ludwig Maximilian University of Munich Munich Center for Mathematical Philosophy Constructivity in Homotopy Type Theory Author: Supervisors: Maximilian Doré Prof. Dr. Dr. Hannes Leitgeb Prof. Steve Awodey, PhD Munich, August 2019 Thesis submitted in partial fulfillment of the requirements for the degree of Master of Arts in Logic and Philosophy of Science contents Contents 1 Introduction1 1.1 Outline................................ 3 1.2 Open Problems ........................... 4 2 Judgements and Propositions6 2.1 Judgements ............................. 7 2.2 Propositions............................. 9 2.2.1 Dependent types...................... 10 2.2.2 The logical constants in HoTT .............. 11 2.3 Natural Numbers.......................... 13 2.4 Propositional Equality....................... 14 2.5 Equality, Revisited ......................... 17 2.6 Mere Propositions and Propositional Truncation . 18 2.7 Universes and Univalence..................... 19 3 Constructive Logic 22 3.1 Brouwer and the Advent of Intuitionism ............ 22 3.2 Heyting and Kolmogorov, and the Formalization of Intuitionism 23 3.3 The Lambda Calculus and Propositions-as-types . 26 3.4 Bishop’s Constructive Mathematics................ 27 4 Computational Content 29 4.1 BHK in Homotopy Type Theory ................. 30 4.2 Martin-Löf’s Meaning Explanations ............... 31 4.2.1 The meaning of the judgments.............. 32 4.2.2 The theory of expressions................. 34 4.2.3 Canonical forms ...................... 35 4.2.4 The validity of the types.................. 37 4.3 Breaking Canonicity and Propositional Canonicity . 38 4.3.1 Breaking canonicity .................... 39 4.3.2 Propositional canonicity.................. 40 4.4 Proof-theoretic Semantics and the Meaning Explanations . 40 5 Constructive Identity 44 5.1 Identity in Martin-Löf’s Meaning Explanations......... 45 ii contents 5.1.1 Intensional type theory and the meaning explanations 46 5.1.2 Extensional type theory and the meaning explanations 47 5.2 Homotopical Interpretation of Identity ............
    [Show full text]
  • Equivalents to the Axiom of Choice and Their Uses A
    EQUIVALENTS TO THE AXIOM OF CHOICE AND THEIR USES A Thesis Presented to The Faculty of the Department of Mathematics California State University, Los Angeles In Partial Fulfillment of the Requirements for the Degree Master of Science in Mathematics By James Szufu Yang c 2015 James Szufu Yang ALL RIGHTS RESERVED ii The thesis of James Szufu Yang is approved. Mike Krebs, Ph.D. Kristin Webster, Ph.D. Michael Hoffman, Ph.D., Committee Chair Grant Fraser, Ph.D., Department Chair California State University, Los Angeles June 2015 iii ABSTRACT Equivalents to the Axiom of Choice and Their Uses By James Szufu Yang In set theory, the Axiom of Choice (AC) was formulated in 1904 by Ernst Zermelo. It is an addition to the older Zermelo-Fraenkel (ZF) set theory. We call it Zermelo-Fraenkel set theory with the Axiom of Choice and abbreviate it as ZFC. This paper starts with an introduction to the foundations of ZFC set the- ory, which includes the Zermelo-Fraenkel axioms, partially ordered sets (posets), the Cartesian product, the Axiom of Choice, and their related proofs. It then intro- duces several equivalent forms of the Axiom of Choice and proves that they are all equivalent. In the end, equivalents to the Axiom of Choice are used to prove a few fundamental theorems in set theory, linear analysis, and abstract algebra. This paper is concluded by a brief review of the work in it, followed by a few points of interest for further study in mathematics and/or set theory. iv ACKNOWLEDGMENTS Between the two department requirements to complete a master's degree in mathematics − the comprehensive exams and a thesis, I really wanted to experience doing a research and writing a serious academic paper.
    [Show full text]
  • Introduction to Synthese Special Issue on the Foundations of Mathematics
    Introduction to Synthese Special Issue on the Foundations of Mathematics Carolin Antos,∗ Neil Barton,y Sy-David Friedman,z Claudio Ternullo,x John Wigglesworth{ 1 The Idea of the Series The Symposia on the Foundations of Mathematics (SOTFOM), whose first edition was held in 2014 in Vienna, were conceived of and organised by the editors of this special issue with the goal of fostering scholarly interaction and exchange on a wide range of topics relating both to the foundations and the philosophy of mathematics. The last few years have witnessed a tremendous boost of activity in this area, and so the organisers felt that the time was ripe to bring together researchers in order to help spread novel ideas and suggest new directions of inquiry. ∗University of Konstanz. I would like to thank the VolkswagenStiftung for their generous support through the Freigeist Project Forcing: Conceptual Change in the Foun- dations of Mathematics and the European Union’s Horizon 2020 research and innova- tion programme for their funding under the Marie Skłodowska-Curie grant Forcing in Contemporary Philosophy of Set Theory. yUniversity of Konstanz. I am very grateful for the generous support of the FWF (Austrian Science Fund) through Project P 28420 (The Hyperuniverse Programme) and the VolkswagenStiftung through the project Forcing: Conceptual Change in the Foun- dations of Mathematics. zKurt Godel¨ Research Center for Mathematical Logic, University of Vienna, Au- gasse 2-6, A-1090 Wien. I wish to thank the FWF for its support through Project P28420 (The Hyperuniverse Programme). xUniversity of Tartu. I wish to thank the John Templeton Foundation (Project #35216: The Hyperuniverse.
    [Show full text]
  • Models of Type Theory Based on Moore Paths ∗
    Logical Methods in Computer Science Volume 15, Issue 1, 2019, pp. 2:1–2:24 Submitted Feb. 16, 2018 https://lmcs.episciences.org/ Published Jan. 09, 2019 MODELS OF TYPE THEORY BASED ON MOORE PATHS ∗ IAN ORTON AND ANDREW M. PITTS University of Cambridge Department of Computer Science and Technology, UK e-mail address: [email protected] e-mail address: [email protected] Abstract. This paper introduces a new family of models of intensional Martin-L¨oftype theory. We use constructive ordered algebra in toposes. Identity types in the models are given by a notion of Moore path. By considering a particular gros topos, we show that there is such a model that is non-truncated, i.e. contains non-trivial structure at all dimensions. In other words, in this model a type in a nested sequence of identity types can contain more than one element, no matter how great the degree of nesting. Although inspired by existing non-truncated models of type theory based on simplicial and cubical sets, the notion of model presented here is notable for avoiding any form of Kan filling condition in the semantics of types. 1. Introduction Homotopy Type Theory [Uni13] has re-invigorated the study of the intensional version of Martin-L¨oftype theory [Mar75]. On the one hand, the language of type theory helps to express synthetic constructions and arguments in homotopy theory and higher-dimensional category theory. On the other hand, the geometric and algebraic insights of those branches of mathematics shed new light on logical and type-theoretic notions.
    [Show full text]
  • Dependable Atomicity in Type Theory
    Dependable Atomicity in Type Theory Andreas Nuyts1 and Dominique Devriese2 1 imec-DistriNet, KU Leuven, Belgium 2 Vrije Universiteit Brussel, Belgium Presheaf semantics [Hof97, HS97] are an excellent tool for modelling relational preservation prop- erties of (dependent) type theory. They have been applied to parametricity (which is about preservation of relations) [AGJ14], univalent type theory (which is about preservation of equiv- alences) [BCH14, Hub15], directed type theory (which is about preservation of morphisms) and even combinations thereof [RS17, CH19]. Of course, after going through the endeavour of con- structing a presheaf model of type theory, we want type-theoretic profit, i.e. we want internal operations that allow us to write cheap proofs of the `free' theorems [Wad89] that follow from the preservation property concerned. While the models for univalence, parametricity and directed type theory are all just cases of presheaf categories, approaches to internalize their results do not have an obvious common ances- tor (neither historically nor mathematically). Cohen et al. [CCHM16] have used the final type extension operator Glue to prove univalence. In previous work with Vezzosi [NVD17], we used Glue and its dual, the initial type extension operator Weld, to internalize parametricity to some extent. Before, Bernardy, Coquand and Moulin [BCM15, Mou16] have internalized parametricity using completely different `boundary filling’ operators Ψ (for extending types) and Φ (for extending func- tions). Unfortunately, Ψ and Φ have so far only been proven sound with respect to substructural (affine-like) variables of representable types (such as the relational or homotopy interval I). More 1 recently, Licata et al. [LOPS18] have exploited the fact that the homotopyp interval I is atomic | meaning that the exponential functor (I ! xy) has a right adjoint | in order to construct a universe of Kan-fibrant types from a vanilla Hofmann-Streicher universe [HS97] internally.
    [Show full text]