Analysis in Univalent Type Theory

Total Page:16

File Type:pdf, Size:1020Kb

Analysis in Univalent Type Theory Analysis in Univalent Type Theory Auke Bart Booij A thesis submitted to the School of Computer Science University of Birmingham College of Engineering and Physical Sciences for the degree of University of Birmingham DOCTOR OF PHILOSOPHY January 2020 ii ABSTRACT Some constructive real analysis is developed in univalent type theory (UTT). We develop var- ious types of real numbers, and prove several equivalences between those types. We then study computation with real numbers. It is well known how to compute with real numbers in intensional formalizations of mathematics, where equality of real numbers is specied by an imposed equivalence relation on representations such as Cauchy sequences. However, be- cause in UTT equality of real numbers is captured directly by identity types, we are prevented from making any nontrivial discrete observations of arbitrary real numbers. For instance, there is no function which converts real numbers to decimal expansions, as this would not be continuous. To avoid breaking extensionality, we thus restrict our attention to real numbers that have been equipped with a simple structure called a locator. In order to compute, we modify existing constructions in analysis to work with locators, including Riemann integrals, intermediate value theorems and dierential equations. Hence many of the proofs involving locators look familiar, showing that the use of locators is not a conceptual burden. We discuss the possibility of implementing the work in proof assistants and present a Haskell prototype. iii iv ACKNOWLEDGEMENTS This dissertation exists thanks to the detailed, patient and sympathetic supervision of Martín Escardó and Benedikt Ahrens. Thanks to the Birmingham Theory group, and in particular the CARGO category theory reading group for many opportunities to have (often opinionated) discussions on constructive mathematics. Thanks to Thorsten Altenkirch, Andrej Bauer, Mark Bickford, Ulrik Buchholtz, Achim Jung, Milly Maietti, Peter Schuster, Bas Spitters, Steve Vickers and various anonymous re- viewers for their input and inspiring discussions. Thanks to Hajime Ishihara and Tomoaki Hashizaki for their care and company during my stay at the Japan Advanced Institute of Sci- ence and Technology. Thanks to Sebastian Faust for welcoming me in his group without ques- tion after my move to Darmstadt. Thanks to my parents, family, and friends for continued support throughout my studies. Kristina, thank you for your love and support. Thanks to the computing facilities team at the School of Computer Science for providing the most thankless service in IT: fast and stable Wi-Fi. This project has received funding from the School of Computer Science at the University of Birmingham, and from the European Union’s Horizon 2020 research and innovation pro- gramme under the Marie Skłodowska-Curie grant agreement No 731143. v vi CONTENTS 1 Introduction1 1.1 Summary of contributions.............................4 2 Univalent mathematics7 2.1 Case study: propositional logic...........................8 2.1.1 Formalizing the theorem statement....................8 2.1.2 Formalizing the proof........................... 10 2.2 Proofs versus derivations.............................. 11 2.3 Case study: every natural is either even or odd.................. 12 2.3.1 Formalizing the theorem statement.................... 13 2.3.2 Formalizing the proof........................... 22 2.4 Case study: surjective maps, images of maps................... 27 2.4.1 Formalizing the theorem statement.................... 28 2.4.2 Formalizing the proof........................... 36 2.5 Extensionality.................................... 36 2.5.1 Function extensionality.......................... 37 2.5.2 Contractibility............................... 39 2.5.3 Computation rules for higher-inductive types.............. 41 2.5.4 Univalence................................. 42 2.5.5 Consequences of extensionality...................... 45 vii viii CONTENTS 2.6 Subtypes and embeddings............................. 46 2.6.1 Lattice-like structure of HProp ...................... 50 2.6.2 Quantication over subtypes....................... 52 2.6.3 Identications in subtypes......................... 53 2.7 Case study: quotient types............................. 54 2.8 Classical principles................................. 56 2.9 Notes......................................... 58 3 Fixpoints in dcpos 61 3.1 Dcpos......................................... 62 3.2 Fixpoints....................................... 64 3.3 Notes......................................... 66 4 Real numbers 67 4.1 Algebraic structure of numbers.......................... 69 4.2 Rationals....................................... 75 4.3 Archimedean property............................... 76 4.4 Cauchy completeness of real numbers....................... 77 4.5 HoTT book reals................................... 81 4.6 Dedekind reals.................................... 89 4.7 Notes......................................... 92 5 Universal properties of real numbers 95 5.1 Subsets of the Dedekind reals............................ 97 5.1.1 Minimality of the HoTT book reals.................... 98 5.1.2 Euclidean reals and interval objects.................... 100 5.2 Homotopy-initiality of the Euclidean reals.................... 101 5.3 Interval objects................................... 111 5.4 Notes......................................... 116 CONTENTS ix 6 Locators 119 6.1 Denition...................................... 120 6.2 Terminology for locators.............................. 122 6.3 Locators for rationals................................ 122 6.4 The logic of locators................................. 123 6.5 Bounded search................................... 127 6.6 Computing bounds................................. 128 6.7 Locators for algebraic operations.......................... 130 6.8 Locators for limits.................................. 137 6.9 Calculating digits.................................. 138 6.10 Dedekind cuts structure............................... 141 6.11 Notes......................................... 145 7 Some constructive analysis with locators 147 7.1 Preliminaries..................................... 147 7.2 Integrals....................................... 150 7.3 Intermediate value theorems............................ 151 7.4 Notes......................................... 153 8 Metric spaces 155 8.1 Basic denitions in pseudometric spaces..................... 156 8.2 Function spaces................................... 159 8.3 Banach xed point theorem............................ 163 8.4 Picard-Lindelöf.................................... 167 8.5 Notes......................................... 170 9 Computation in proof assistants 173 9.1 From inference rules to proof assistants...................... 173 9.2 Locators....................................... 174 9.3 Metric spaces..................................... 176 x CONTENTS 9.4 Haskell prototype.................................. 177 10 Closing remarks 181 Index 185 Bibliography 189 Chapter 1 INTRODUCTION Traditionally important parts of mathematics can be developed in a constructive setting, as Bishop showed in his self-proclaimed constructivist propaganda [18]. Like most mathemati- cians before Bishop, including constructive mathematicians such as Brouwer, Bishop worked informally, although he did envision formal systems that allowed for computationally execut- ing the nite routines he described [17, 19]. Martin-Löf [75] proposed a formal system in which Bishop’s work was supposed to be formalizable. This formal system and several of its variations are now known as Martin-Löf Type Theory (MLTT). Interpretation of Bishop’s mathematics in MLTT has been described in e.g. Coquand and Spiwack [35, Section 3]. It is well known how to compute with real numbers in such an intensional formalization, with equality of real numbers specied by an imposed equivalence relation on representa- tions [20, 36, 77], such as Cauchy sequences, sequences of nested intervals, or streams of digits. It has to be checked explicitly that functions on the representations preserve these equivalence relations. Discrete observations, such as nite decimal approximations, can be made because representations are given, but a dierent representation of the same real number can result in a dierent observation, and hence discrete observations are necessarily non-extensional. Interpretation of the so-called identity types remained an issue in MLTT. Such identity types represent the logical notion of equality, and so mirroring rst-order logic, were not given any structure beyond being thought of as containing at most one element, despite this seem- ingly not being provable in MLTT. The genie was let out of the bottle by the development of 1 2 a model of MLTT in groupoids, where identity types can contain more than one element [53]. The potential non-uniqueness of identications was exploited in an explanation of identity types originating from homotopy theory [46, 11, 59]. The development of homotopy theory in terms of type theory led to the univalence axiom which reinforces this explanation and makes non-uniqueness of identications provable. The resulting univalent type theory (UTT), which we discuss in Chapter2, allows to for- malize mathematics with the identity types in a much more central role than in plain MLTT. For example, we can dene types of real numbers whose identity types directly capture the intended equality of real numbers, rather than this equality
Recommended publications
  • 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]
  • Fomus: Foundations of Mathematics: Univalent Foundations and Set Theory - What Are Suitable Criteria for the Foundations of Mathematics?
    Zentrum für interdisziplinäre Forschung Center for Interdisciplinary Research UPDATED PROGRAMME Universität Bielefeld ZIF WORKSHOP FoMUS: Foundations of Mathematics: Univalent Foundations and Set Theory - What are Suitable Criteria for the Foundations of Mathematics? Convenors: Lukas Kühne (Bonn, GER) Deborah Kant (Berlin, GER) Deniz Sarikaya (Hamburg, GER) Balthasar Grabmayr (Berlin, GER) Mira Viehstädt (Hamburg, GER) 18 – 23 July 2016 IN COOPERATION WITH: MONDAY, JULY 18 1:00 - 2:00 pm Welcome addresses by Michael Röckner (ZiF Managing Director) Opening 2:00 - 3:30 pm Vladimir Voevodsky Multiple Concepts of Equality in the New Foundations of Mathematics 3:30 - 4:00 pm Tea / coffee break 4:00 - 5:30 pm Marc Bezem "Elements of Mathematics" in the Digital Age 5:30 - 7:00 pm Parallel Workshop Session A) Regula Krapf: Introduction to Forcing B) Ioanna Dimitriou: Formalising Set Theoretic Proofs with Isabelle/HOL in Isar 7:00 pm Light Dinner PAGE 2 TUESDAY, JULY 19 9:00 - 10:30 am Thorsten Altenkirch Naïve Type Theory 10:30 - 11:00 am Tea / coffee break 11:00 am - 12:30 pm Benedikt Ahrens Univalent Foundations and the Equivalence Principle 12:30 - 2.00 pm Lunch 2:00 - 3:30 pm Parallel Workshop Session A) Regula Krapf: Introduction to Forcing B) Ioanna Dimitriou: Formalising Set Theoretic Proofs with Isabelle/HOL in Isar 3:30 - 4:00 pm Tea / coffee break 4:00 - 5:30 pm Clemens Ballarin Structuring Mathematics in Higher-Order Logic 5:30 - 7:00 pm Parallel Workshop Session A) Paige North: Models of Type Theory B) Ulrik Buchholtz: Higher Inductive Types and Synthetic Homotopy Theory 7:00 pm Dinner WEDNESDAY, JULY 20 9:00 - 10:30 am Parallel Workshop Session A) Clemens Ballarin: Proof Assistants (Isabelle) I B) Alexander C.
    [Show full text]
  • Univalent Foundations
    Univalent Foundations Talk by Vladimir Voevodsky from Institute for Advanced Study in Princeton, NJ. September 21 , 2011 1 Introduction After Goedel's famous results there developed a "schism" in mathemat- ics when abstract mathematics and constructive mathematics became largely isolated from each other with the "abstract" steam growing into what we call "pure mathematics" and the "constructive stream" into what we call theory of computation and theory of programming lan- guages. Univalent Foundations is a new area of research which aims to help to reconnect these streams with a particular focus on the development of software for building rigorously verified constructive proofs and models using abstract mathematical concepts. This is of course a very long term project and we can not see today how its end points will look like. I will concentrate instead its recent history, current stage and some of the short term future plans. 2 Elemental, set-theoretic and higher level mathematics 1. Element-level mathematics works with elements of "fundamental" mathematical sets mostly numbers of different kinds. 2. Set-level mathematics works with structures on sets. 3. What we usually call "category-level" mathematics in fact works with structures on groupoids. It is easy to see that a category is a groupoid level analog of a partially ordered set. 4. Mathematics on "higher levels" can be seen as working with struc- tures on higher groupoids. 3 To reconnect abstract and constructive mathematics we need new foundations of mathematics. The ”official” foundations of mathematics based on Zermelo-Fraenkel set theory with the Axiom of Choice (ZFC) make reasoning about objects for which the natural notion of equivalence is more complex than the notion of isomorphism of sets with structures either very laborious or too informal to be reliable.
    [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]
  • Set-Theoretic Foundations
    Contemporary Mathematics Volume 690, 2017 http://dx.doi.org/10.1090/conm/690/13872 Set-theoretic foundations Penelope Maddy Contents 1. Foundational uses of set theory 2. Foundational uses of category theory 3. The multiverse 4. Inconclusive conclusion References It’s more or less standard orthodoxy these days that set theory – ZFC, extended by large cardinals – provides a foundation for classical mathematics. Oddly enough, it’s less clear what ‘providing a foundation’ comes to. Still, there are those who argue strenuously that category theory would do this job better than set theory does, or even that set theory can’t do it at all, and that category theory can. There are also those who insist that set theory should be understood, not as the study of a single universe, V, purportedly described by ZFC + LCs, but as the study of a so-called ‘multiverse’ of set-theoretic universes – while retaining its foundational role. I won’t pretend to sort out all these complex and contentious matters, but I do hope to compile a few relevant observations that might help bring illumination somewhat closer to hand. 1. Foundational uses of set theory The most common characterization of set theory’s foundational role, the char- acterization found in textbooks, is illustrated in the opening sentences of Kunen’s classic book on forcing: Set theory is the foundation of mathematics. All mathematical concepts are defined in terms of the primitive notions of set and membership. In axiomatic set theory we formulate . axioms 2010 Mathematics Subject Classification. Primary 03A05; Secondary 00A30, 03Exx, 03B30, 18A15.
    [Show full text]
  • Higher Algebra in Homotopy Type Theory
    Higher Algebra in Homotopy Type Theory Ulrik Buchholtz TU Darmstadt Formal Methods in Mathematics / Lean Together 2020 1 Homotopy Type Theory & Univalent Foundations 2 Higher Groups 3 Higher Algebra Outline 1 Homotopy Type Theory & Univalent Foundations 2 Higher Groups 3 Higher Algebra Homotopy Type Theory & Univalent Foundations First, recall: • Homotopy Type Theory (HoTT): • A branch of mathematics (& logic/computer science/philosophy) studying the connection between homotopy theory & Martin-Löf type theory • Specific type theories: Typically MLTT + Univalence (+ HITs + Resizing + Optional classicality axioms) • Without the classicality axioms: many interesting models (higher toposes) – one potential reason to case about constructive math • Univalent Foundations: • Using HoTT as a foundation for mathematics. Basic idea: mathematical objects are (ordinary) homotopy types. (no entity without identity – a notion of identification) • Avoid “higher groupoid hell”: We can work directly with homotopy types and we can form higher quotients. (But can we form enough? More on this later.) Cf.: The HoTT book & list of references on the HoTT wiki Homotopy levels Recall Voevodsky’s definition of the homotopy levels: Level Name Definition −2 contractible isContr(A) := (x : A) × (y : A) ! (x = y) −1 proposition isProp(A) := (x; y : A) ! isContr(x = y) 0 set isSet(A) := (x; y : A) ! isProp(x = y) 1 groupoid isGpd(A) := (x; y : A) ! isSet(x = y) . n n-type ··· . 1 type (N/A) In non-homotopical mathematics, most objects are n-types with n ≤ 1. The types of categories and related structures are 2-types. Univalence axiom For A; B : Type, the map id-to-equivA;B :(A =Type B) ! (A ' B) is an equivalence.
    [Show full text]
  • An Introduction to Univalent Foundations for Mathematicians
    BULLETIN (New Series) OF THE AMERICAN MATHEMATICAL SOCIETY Volume 55, Number 4, October 2018, Pages 427–450 http://dx.doi.org/10.1090/bull/1616 Article electronically published on March 5, 2018 AN INTRODUCTION TO UNIVALENT FOUNDATIONS FOR MATHEMATICIANS DANIEL R. GRAYSON Abstract. We offer an introduction for mathematicians to the univalent foun- dations of Vladimir Voevodsky, aiming to explain how he chose to encode mathematics in type theory and how the encoding reveals a potentially viable foundation for all of modern mathematics that can serve as an alternative to set theory. Contents Introduction 427 Dedication 429 1. What is a type? 430 2. The type of natural numbers 431 3. Identity types 432 4. Other types 435 5. Formalization of mathematics 437 6. Univalence 441 7. The interpretation 444 8. Further developments 445 Acknowledgments 447 About the author 447 References 447 Introduction The traditional foundation for mathematics, chosen more than a century ago, pins down basic issues, such as what numbers “really are”, by giving them a spe- cific arbitrary internal structure based on sets,1 which is irrelevant to modern daily mathematical discourse. Bertrand Russell’s contemporaneously proposed alterna- tive foundation [47] was based on the theory of types. In Russell’s foundation, each variable is to be accompanied by a type, which is drawn from a hierarchy of types of increasing complexity and which provides the variable’s range of values, the aim being to prevent the formulation of paradoxical concepts, such as the set Received by the editors February 7, 2018. 2010 Mathematics Subject Classification. Primary 03B35, 03B15.
    [Show full text]
  • Florida State University Libraries
    )ORULGD6WDWH8QLYHUVLW\/LEUDULHV 2020 Justifying Alternative Foundations for Mathematics Jared M. Ifland Follow this and additional works at DigiNole: FSU's Digital Repository. For more information, please contact [email protected] THE FLORIDA STATE UNIVERSITY COLLEGE OF ARTS & SCIENCES JUSTIFYING ALTERNATIVE FOUNDATIONS FOR MATHEMATICS By JARED M. IFLAND A Thesis submitted to the Department of Philosophy in partial fulfillment of the requirements for graduation with Honors in the Major Degree Awarded: Spring, 2020 The members of the Defense Committee approve the thesis of Jared M. Ifland defended on July 17, 2020. ______________________________ Dr. James Justus Thesis Director ______________________________ Dr. Ettore Aldrovandi Outside Committee Member ______________________________ Dr. J. Piers Rawling Committee Member Abstract: It is inarguable that mathematics serves a quintessential role in the natural sciences and that ZFC — extended by large cardinal axioms — provides a foundation for vast swaths of contemporary mathematics. As such, it is understandable that the naturalistic philosopher may inquire into the ontological status of mathematical entities and sets. Many have argued that the indispensability of mathematics from scientific enterprise warrants belief in mathematical platonism, but it is unclear how knowledge of entities that exist independently of the natural world is possible. Furthermore, indispensability arguments are notoriously antithetical to mathematical practice: mathematicians typically do not refer to scientific
    [Show full text]
  • Univalent Foundations of Mathematics
    Univalent Foundations of Mathematics Steve Awodey Carnegie Mellon University and Institute for Advanced Study IAS Mathematics Members Seminar November 2012 Introduction A new connection has recently come to light between Logic and Topology, namely an interpretation of the constructive type theory of Martin-L¨ofinto homotopy theory. I Homotopy can be used to construct models of systems of constructive logic. I Constructive type theory can be used as a formal calculus to reason about homotopy. I The computational implementation of type theory allows computer verified proofs in homotopy theory, and elsewhere. I The homotopical interpretation suggests some new logical constructions and axioms. Univalent Foundations combines these into a new program for foundations of mathematics. The Univalence Axiom is a new principle of reasoning. Type theory Martin-L¨ofconstructive type theory consists of: I Types: X ; Y ;:::; A × B; A ! B;::: I Terms: x : A; b : B; ha; bi; λx:b(x);::: I Dependent Types: x : A ` B(x) P I B(x) Q x:A I x:A B(x) I Equations s = t : A Formal calculus of typed terms and equations. Presented as a deductive system by rules of inference. Intended as a foundation for constructive mathematics. Propositions as Types The system has a dual interpretation: I once as mathematical objects: types are \sets" and their terms are \elements", which are being constructed, I once as logical objects: types are \propositions" and their terms are \proofs", which are being derived. This is also known as the Curry-Howard correspondence: P Q 0 1 A + B A × B A ! B x:A B(x) x:A B(x) ? T A _ B A ^ B A ) B 9x:AB(x) 8x:AB(x) Gives the system its constructive character.
    [Show full text]
  • Or, Equivalence and Interpretation
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Philsci-Archive Interpretation and Equivalence; or, Equivalence and Interpretation Neil Dewar March 10, 2017 Here as always the theory itself sets the framework for its interpretation. Everett (1957) Introduction Philosophers of science spend a lot of time “interpreting” scientific theories. In this paper, I try to get a handle on what it is they might be up to. My main contention is that a certain picture of interpretation is widespread (though implicit) in contemporary philosophy of science: a picture according to which interpretation of theories is relevantly analogous to the interpretation of foreign literature. On this picture, which we might call the external account of theory-interpretation, meaning is to be imported into the equations by putting them in correspondence with some discourse whose signs and symbols are already endowed with significance. Of course, the prevalence of this picture wouldn’t be much of a problem if that picture were the only way to think about interpretation, or was clearly the best way to do so (though even then, there would be a value to bringing it out into the light). I contend, however, that it is neither. There is an alternative way of thinking about interpretation—what we can call the “internal” account of interpretation—which instead takes interpretation to be a matter of delineating a theory’s internal semantic architecture. At a minimum, I hope to convince you the internal picture highlights an aspect of interpretation that 1 we are otherwise at risk of neglecting.
    [Show full text]
  • Semi-Simplicial Types in Logic-Enriched Homotopy Type Theory
    Semi-simplicial Types in Logic-enriched Homotopy Type Theory Fedor Part1 and Zhaohui Luo∗2 1 Royal Holloway, University of London Email: [email protected] 2 Royal Holloway, University of London Email: [email protected] Abstract The problem of defining Semi-Simplicial Types (SSTs) in Homotopy Type Theory (HoTT) has been recognized as important during the Year of Univalent Foundations at the Institute of Ad- vanced Study [14]. According to the interpretation of HoTT in Quillen model categories [5], SSTs are type-theoretic versions of Reedy fibrant semi-simplicial objects in a model category and sim- plicial and semi-simplicial objects play a crucial role in many constructions in homotopy theory and higher category theory. Attempts to define SSTs in HoTT lead to some difficulties such as the need of infinitary assumptions which are beyond HoTT with only non-strict equality types. Voevodsky proposed a definition of SSTs in Homotopy Type System (HTS) [26], an exten- sion of HoTT with non-fibrant types, including an extensional strict equality type. However, HTS doesn’t have the desirable computational properties such as decidability of type checking and strong normalization. In this paper, we study a logic-enriched homotopy type theory, an alternative extension of HoTT with equational logic based on the idea of logic-enriched type theories [1, 17]. In contrast to Voevodsky’s HTS, all types in our system are fibrant and it can be implemented in existing proof assistants. We show how SSTs can be defined in our system and outline an implementation in the proof assistant Plastic [8].
    [Show full text]
  • Univalent Foundations and the Unimath Library
    Univalent Foundations and the UniMath Library The Architecture of Mathematics Anthony Bordg1 2 We give a concise presentation of the Univalent Foundations of mathematics outlining the main ideas, followed by a discussion of the UniMath library of formalized mathemat- ics implementing the ideas of the Univalent Foundations (section 1), and the challenges one faces in attempting to design a large-scale library of formalized mathematics (sec- tion 2). This leads us to a general discussion about the links between architecture and mathematics where a meeting of minds is revealed between architects and mathemati- cians (section 3). On the way our odyssey from the foundations to the “horizon” of mathematics will lead us to meet the mathematicians David Hilbert and Nicolas Bour- baki as well as the architect Christopher Alexander. 1 The Univalent Foundations and the UniMath Library 1.1 The Univalent Foundations of Mathematics The Univalent Foundations[1] of mathematics designed by Vladimir Voevodsky builds arXiv:1710.02723v7 [math.LO] 17 Nov 2019 upon Martin-Löf type theory[2], a logical system for constructive mathematics with nice computational properties that makes mathematics amenable to proof-checking by computers (i.e. by a piece of software called a proof assistant). Certified or type-checked proofs should not be mistaken for automated proofs. Even if proof assistants come with various levels of automation, either built-in for elementary steps or user-defined via the 1University of Cambridge, Department of Computer Science and Technology, 15 JJ Thomson Avenue, Cambridge CB3 0FD, UK. website: https://sites.google.com/site/anthonybordg/home 2Work on this paper was supported by grant GA CR P201/12/G028 1 so-called tactics for less basic steps, the proof assistant only checks that man-made proofs written with it are correct.
    [Show full text]