4 research outputs found
Domain Theory in Constructive and Predicative Univalent Foundations
We develop domain theory in constructive and predicative univalent
foundations (also known as homotopy type theory). That we work predicatively
means that we do not assume Voevodsky's propositional resizing axioms. Our work
is constructive in the sense that we do not rely on excluded middle or the
axiom of (countable) choice. Domain theory studies so-called directed complete
posets (dcpos) and Scott continuous maps between them and has applications in
programming language semantics, higher-type computability and topology. A
common approach to deal with size issues in a predicative foundation is to work
with information systems, abstract bases or formal topologies rather than
dcpos, and approximable relations rather than Scott continuous functions. In
our type-theoretic approach, we instead accept that dcpos may be large and work
with type universes to account for this. A priori one might expect that complex
constructions of dcpos result in a need for ever-increasing universes and are
predicatively impossible. We show that such constructions can be carried out in
a predicative setting. We illustrate the development with applications in the
semantics of programming languages: the soundness and computational adequacy of
the Scott model of PCF and Scott's model of the untyped
-calculus. We also give a predicative account of continuous and
algebraic dcpos, and of the related notions of a small basis and its rounded
ideal completion. The fact that nontrivial dcpos have large carriers is in fact
unavoidable and characteristic of our predicative setting, as we explain in a
complementary chapter on the constructive and predicative limitations of
univalent foundations. Our account of domain theory in univalent foundations is
fully formalised with only a few minor exceptions. The ability of the proof
assistant Agda to infer universe levels has been invaluable for our purposes.Comment: PhD thesis, extended abstract in the pdf. v5: Fixed minor typos in
6.2.18, 6.2.19 and 6.4.
Analysis in univalent type theory
Some constructive real analysis is developed in univalent type theory (UTT). We develop various 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 specified by an imposed equivalence relation on representations such as Cauchy sequences. However, because 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 \emph{locator}. In order to compute, we modify existing constructions in analysis to work with locators, including Riemann integrals, intermediate value theorems and differential 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