Variations on Realizability. Simple examples realizing axioms of choice

Similar documents
by Say that A is replete (wrt ) if it is orthogonal to all f: X Y in C such that f : Y X is iso, ie for such f and all there is a unique such that the

A New Category for Semantics

A Note on Extensional PERs

Models of Intuitionistic Set Theory in Subtoposes of Nested Realizability Toposes

A constructive theory of classes and sets

A categorical structure of realizers for the Minimalist Foundation

Continuous Functionals of Dependent Types and Equilogical Spaces

University of Oxford, Michaelis November 16, Categorical Semantics and Topos Theory Homotopy type theor

Algebraic set theory and CZF

denition is that the space X enters the picture only through its poset of open subsets and the notion of a cover. Grothendieck's second basic observat

Topological and Limit-space Subcategories of Countably-based Equilogical Spaces

What are Iteration Theories?

Injective Convergence Spaces and Equilogical Spaces via Pretopological Spaces

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello.

The equivalence axiom and univalent models of type theory.

arxiv:math/ v1 [math.lo] 22 Jul 2005

Unbounded quantifiers and strong axioms in topos theory

Real-cohesion: from connectedness to continuity

Concrete Models for Classical Realizability

More on Geometric Morphisms between Realizability Toposes

Boolean Algebra and Propositional Logic

Mathematical Logic. Well-foundedness in realizability. M. Hofmann J. van Oosten T. Streicher. 1 Introduction

P.J.W. Hofstra and J. van Oosten. Department of Mathematics. Utrecht University. June 6, 2001

The Adjoint Functor Theorem.

Boolean Algebra and Propositional Logic

Developing Theories of Types and Computability via Realizability

Well-foundedness in Realizability

Lecture 1: Overview. January 24, 2018

Developing Theories of Types and. Computability via Realizability. Lars Birkedal. December 28, 1999 CMU-CS Carnegie Mellon University

A Grothendieck site is a small category C equipped with a Grothendieck topology T. A Grothendieck topology T consists of a collection of subfunctors

Higher toposes Internal logic Modalities Sub- -toposes Formalization. Modalities in HoTT. Egbert Rijke, Mike Shulman, Bas Spitters 1706.

Synthetic Computability

Synthetic Computability (Computability Theory without Computers)

An introduction to toposes. Richard Pettigrew Department of Philosophy University of Bristol

On constructions of partial combinatory algebras and their relation to topology. Niels Voorneveld. Master thesis Department of Mathematics

A NOTE ON ARITHMETIC IN FINITE TYPES. 1. Introduction

Olivia Caramello. University of Insubria - Como. Deductive systems and. Grothendieck topologies. Olivia Caramello. Introduction.

The Locale of Random Sequences

An adjoint construction for topological models of intuitionistic modal logic Extended abstract

Dialectica Interpretations A Categorical Analysis

via Topos Theory Olivia Caramello University of Cambridge The unification of Mathematics via Topos Theory Olivia Caramello

Categorical Models of Constructive Logic

Formally real local rings, and infinitesimal stability.

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 2

Iterated realizability as a comma construction

arxiv: v1 [math.lo] 10 Jan 2013

Equality and dependent type theory. CIRM, May 31

1. Introduction to commutative rings and fields

1. Introduction to commutative rings and fields

Morita Equivalence. Eamon Quinlan

The Relation Reflection Scheme

An Outline of Algebraic Set Theory

Partial Metrics and Quantale-valued Sets. by Michael Bukatin, Ralph Kopperman, Steve Matthews, and Homeira Pajoohesh

Aspects of Predicative Algebraic Set Theory I: Exact Completion (DRAFT)

The Realizability Approach to Computable Analysis and Topology

Category Theory. Travis Dirle. December 12, 2017

ELEMENTARY QUOTIENT COMPLETION

Synthetic Probability Theory

Theorem 5.3. Let E/F, E = F (u), be a simple field extension. Then u is algebraic if and only if E/F is finite. In this case, [E : F ] = deg f u.

Category theory and set theory: algebraic set theory as an example of their interaction

Some glances at topos theory. Francis Borceux

A General Semantics for Evaluation Logic

A Note on Bootstrapping Intuitionistic Bounded Arithmetic

Zeta types and Tannakian symbols

The Morita-equivalence between MV-algebras and abelian l-groups with strong unit

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 2

Type Theory and Univalent Foundation

On the normal completion of a Boolean algebra

CRITERIA FOR HOMOTOPIC MAPS TO BE SO ALONG MONOTONE HOMOTOPIES

Lecture 6: Finite Fields

Lecture 21: Crystalline cohomology and the de Rham-Witt complex

A Non-Topological View of Dcpos as Convergence Spaces

Introduction to Turing categories

CONTINUOUS COHESION OVER SETS

3. The Sheaf of Regular Functions

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 37

Homotopy Type Theory

Adjunctions! Everywhere!

Part V. 17 Introduction: What are measures and why measurable sets. Lebesgue Integration Theory

Canonical extension of coherent categories

Topological Domain Theory

D-MODULES: AN INTRODUCTION

Linear Algebra, Summer 2011, pt. 3

What are Axioms of Set Theory?

Higher Order Containers

Elementary (ha-ha) Aspects of Topos Theory

A Constructive Model of Uniform Continuity

Games on Graphs and Sequentially Realizable Functionals Extended Abstract

The Integers. Peter J. Kahn

Lattice Theory Lecture 4. Non-distributive lattices

Metric spaces and metrizability

Categories, Proofs and Programs

A Model of Guarded Recursion via Generalised Equilogical Spaces

HOMOLOGY THEORIES INGRID STARKEY

TROPICAL SCHEME THEORY

An introduction to locally finitely presentable categories

Chern classes à la Grothendieck

A higher-order temporal logic for dynamical systems

A Taste of Categorical Logic Tutorial Notes

Intuitionism, Generalized Computability and Effective Operations

Transcription:

Variations on Realizability Simple examples realizing axioms of choice J.M.E. Hyland July 1, 1999 8x 2 X9y 2 Y'(x y)!9f 2 Y X 8x 2 X'(x f (x)) 1

Motivation M.E.Maietti: How close to a topos can one get without the axiom of choice forcing the law of excluded middle? Maietti's strong requirements Types form a l.c.c. category Propositions as \proof invariant" types Weakly generic Prop : Type Propositional axiom of choice Coequalizers exist, but are not eective! 2

Comments on Maietti's question 1. If coequalizers are eective then a quotient of a weakly generic Prop: Type will be strongly generic. The rst two requirements plus a strongly generic Prop: Type gives a topos. (Of course, coequalizers are eective in a topos.) In a topos, the axiom of choice implies the law of excluded middle. (Diaconescu for the argument in the internal logic see Scott's \Identity and Existence in Intuitionistic Logic.") 2. This formulation may not be fair to Maietti. Variations which she may prefer are possible. Note in particular that the l.c.c. assumption gives an extensional type theory. So the constructive signicance of the propositional axiom of choice is problematic. With extensionality we have the following basic facts (already in Troelstra SLN 344). (i) The AC from N N to N (i.e., AC 1 0 ) is already incompatible with Church's Thesis. (Basic recursion theory.) (ii) The AC from N (N N ) to N (i.e, AC 2 0 ) is incompatible with weak uniformity principles. (This and related issues are discussed in Troelstra and van Dalen.) More generally, type theory (in which, e.g., we can formulate Bishop's Constructive Mathematics) makes sense with intensional equality only. And so quotients of equivalence relations cannot be expected to be eective. 2-1

Aim Describe some realizability models where types form l.c.c. category take (some) propositions of the topos for which propositional ACholds types closed under coequalizers and/or propositional quotients And get a feel for realizability calculations!? 3

Note that we get nowhere near Maietti's question. However, we want togive a feel for the subject. Dana Scott originally formulated the idea to think of realizability in terms of non-standard truth-values. An analogy is with complete Boolean algebras and Boolean-valued models: realizability models are what you get when you take the analogy seriously. As they are mathematical structures we can certainly argue about them \from the outside." But we get more insight when we can identify (analogues of) standard mathematical arguments which are valid in the internal logic. Isketch what I hope is a telling example. 3-1

Simple Realizability (A ) a partial applicative structure. P(I) = P (A) I ` where for p q 2 P (A), p! q = f a 2 A j8b 2 p a b 2 q g ' ` in P(I) i \ ('(i)! (i)) 6= i2i P(I) models intuitionistic propositional logic. For u : J! I, have 9 u a u a8 u. There is a generic proposition. 4

Some Variations Relative realizability and other variations on ` Modied realizability Restricted realizability Extensional realizability Iterations of triposes Dialectica interpretations 5

An example of relative realizabilitywas mentioned in the talk by Lars Birkedal. Jaap van Oosten mentioned in his talk examples of modied and extensional realizability I believe thatthedialectica interpretation can also be phrased as a realizability like topos. (I think I worked this out once: the idea derives from Girard's dissertation as analyzed by Troelstra.) Certainly the beautiful Diller-Nahm variant of the Dialectica interpretation gives toposes. Work of this nature comes from Munster couched in terms of models for constructive set theory (Diller and his student Barr). In this talk I concentrate on the examples of restricted realizability and extensional realizability. 5-1

Geometric Morphisms R f f P with f a f f left exact (preserves >, ^) Left exactness in terms of >, and! : f (T )=T f (p! f r) f p! r 6

Stating left exactness in terms of > and! is useful since a tripos can be dened just by giving >,!, and 8. Realizability toposes are most naturally presented in just this form. 6-1

Restricted Realizability (For simplicity) Let (D ) be a Scott domain model for the lambda calculus which isa complete lattice. (E.g., P!, D1, ::: ). Set R(I) =f ' 2P(I) =P (D) I j each ' i is closed under _g Lesson 1 R(I) is a tripos (it's what we might call a subtripos of P(I): that is, it is closed under the basic operations >,!, 8.) Lesson 2 There is an inclusion of triposes R!P and so an inclusion Set[R]! Set[P]. 7

The proof of Lesson 2 is an example of a proof derived from internal mathematics: The inclusion map i : R! P respects the tripos structure (Lesson 1) and so intuitively it preserves limits (i.e., >, ^, 8). So we try to construct a left adjoint i : P!Rto i : R!Pusing the adjoint functor theorem. In poset (or preordered set) form that suggests the formula i (p) =^f r j p i(r) g: We transform this (as in the coding of algebraic data types in 2nd order -calculus) into the formula i (p) =8r((p! r)! r) in the tripos logic. (Formally we calculate that in P but the answer is in R.) It is then routine to check that this (surely familiar) formula does what is required. WARNING: Taking for i (p) the closure of p under _ is hopelessly wrong. 7-1

Modest Sets Objects which are separated (assemblies) orthogonal to 2 form a good reective subcategory 8

Concretely we have objects (X ) of the topos such that ( jx xj = jx 0 x 0 j if x = x 0 jx x 0 j = otherwise: \Modest sets" is Scott's terms: I originally called them \eective objects" as generalizing the eective operations. Most published work on realizability interpretations has been concerned with such objects. Hyland, Robinson and Rosolini developed an idea of Freyd's to give an account oftheinternal/indexed category of such objects, the \discrete objects," in any standard realizability topos. For other realizability toposes, the situation is more subtle (as observed by Streicher). 8-1

Continuous Functionals As motivation for nice modest sets. 9

The continuous functionals (Kreisel) or countable functionals (Kleene) were rst considered in the 1950s in connection with the foundation of analysis and generalized recursion theory. (The Constructivity volume 1959: note Kreisel's paper also has his modied realizability.) Kleene's recursion theoretic interests were taken up in the 1970s and it was also recognized then that the continuous functionals are (the global sections of) the higher types in various realizability and sheaf models. Recently the subject has come back into play with developments around Equilogical Spaces (see the papers by Bauer, Birkedal and Scott by Rosolini and by Menni and Simpson). For us the main point is that choice principles hold in appropriate realizability models based on domains. 9-1

Flat Sets Some possibilities: Modest sets which are 1. 2-separated, i.e., X! 2 2X (regular) monic 2. 2-replete 3. Orthogonal to Claim By \small category theory" these are all reective subcategories. 10

Items 1 and 2 are brutal, 3 is much less brutal. Concerning the claim: The modest sets form a small internal category in the realizability topos and that category is complete for limits of separable diagrams. (Hyland, Robinson and Rosolini there is a good accessible account by Robinson.) Each of the conditions mentioned can be described internally in the separable part of the topos. Intuitively, the objects satisfying any condition are closed under limits so one should be able to use the adjoint functor theorem to show that the inclusion of the full subcategory has a left adjoint. (One can make this precise in a crude way avoiding internal aspects as explained in Hyland and Moggi's CTCS paper.) 10-1

Axiom of Choice Realizing 8x9y X Y If X is modest (separable) and Y is at (and modest) both in Set[R] then 8x 2 X9y 2 Y'(x y)!9f 2 Y X 8x 2 X'(x f(x)) holds in the Set[P] logic. 11

Extensional Realizability (A ) partial applicative structure P(I) =(P (A) I `) R(I) = (PER(A) I `) ordinary realizability extensional realizability Think of R(I) as the preorder reection of the category of \I-indexed PER's." Relation between P and R: P c j j d R chaotic forgetful discrete Observation 1 d aj jac Observation 2 (d j j) is connected (unit iso), so R is a local tripos over P. So Set[R] is a local topos over Set[P]. 12

Modest Sets All Set[P] Set[R] commute with. Thus Set c : Mod EMod is a reective subcategory. 13

Axiom of Choice Realizing 8x9y X Y If X is a modest (separable) chaotic and Y is modest then 8x 2 X9y 2 Y'(x y)!9f 2 Y X 8x 2 X'(x f(x)) holds in the topos logic. 14

Extensional realizability is more familiar and easier to calculate with than restricted realizability. Suppose X is separable, Y modest. Let c realize 8x 2 X9y 2 Y'(x y). So if a realizes x 2 X then data from c(a), c 1 (a) say, must realize a suitable y 2 Y. But any two a a 0 realizing x are related so c 1 (a) andc 1 (a 0 ) are related so as Y is modest, y is uniquely determined. Thus there is a function f : X! Y tracked by c 1. 14-1