ELEMENTARY TOPOI: SETS, GENERALIZED

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

Category Theory. Categories. Definition.

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

Adjunctions! Everywhere!

Review of category theory

Category Theory. Travis Dirle. December 12, 2017

PART I. Abstract algebraic categories

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

Boolean Algebra and Propositional Logic

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

CATEGORY THEORY. Cats have been around for 70 years. Eilenberg + Mac Lane =. Cats are about building bridges between different parts of maths.

Boolean Algebra and Propositional Logic

SJÄLVSTÄNDIGA ARBETEN I MATEMATIK

3. Categories and Functors We recall the definition of a category: Definition 3.1. A category C is the data of two collections. The first collection

LIMITS AND COLIMITS. m : M X. in a category G of structured sets of some sort call them gadgets the image subset

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

Algebraic Geometry

Elements of Category Theory

GALOIS CATEGORIES MELISSA LYNN

1. Introduction and preliminaries

Direct Limits. Mathematics 683, Fall 2013

Representable presheaves

Category Theory (UMV/TK/07)

Postulated colimits and left exactness of Kan-extensions

Joseph Muscat Categories. 1 December 2012

William J. CookLogic via Topoi NCSU William J. CookLogic via Topoi. Logic via Topoi. CSC591Z: Computational Applied Logic Final Presentation

Lecture 2 Sheaves and Functors

Unbounded quantifiers and strong axioms in topos theory

COMMUTATIVE ALGEBRA LECTURE 1: SOME CATEGORY THEORY

Lecture 9: Sheaves. February 11, 2018

Pointless Topology. Seminar in Analysis, WS 2013/14. Georg Lehner ( ) May 3, 2015

Lecture 9 - Faithfully Flat Descent

A brief Introduction to Category Theory

Elementary (ha-ha) Aspects of Topos Theory

Adjoints, naturality, exactness, small Yoneda lemma. 1. Hom(X, ) is left exact

Topos Theory. Lectures 21 and 22: Classifying toposes. Olivia Caramello. Topos Theory. Olivia Caramello. The notion of classifying topos

Derived Algebraic Geometry IX: Closed Immersions

Category Theory. Steve Awodey. Carnegie Mellon University

Some glances at topos theory. Francis Borceux

C2.7: CATEGORY THEORY

An introduction to locally finitely presentable categories

GENERALIZED ABSTRACT NONSENSE: CATEGORY THEORY AND ADJUNCTIONS

Categories and Modules

Commutative Algebra Lecture 3: Lattices and Categories (Sept. 13, 2013)

Limit Preservation from Naturality

Abstract and Variable Sets in Category Theory 1

III A Functional Approach to General Topology

arxiv: v1 [math.ct] 21 Oct 2010

Assume the left square is a pushout. Then the right square is a pushout if and only if the big rectangle is.

Locally cartesian closed categories

The Universal Coefficient Theorem

DERIVED CATEGORIES OF STACKS. Contents 1. Introduction 1 2. Conventions, notation, and abuse of language The lisse-étale and the flat-fppf sites

1 Introduction. 2 Categories. Mitchell Faulk June 22, 2014 Equivalence of Categories for Affine Varieties

Topos Theory. Jaap van Oosten Department of Mathematics Utrecht University

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 2

1 Categories, Functors, and Natural Transformations. Discrete categories. A category is discrete when every arrow is an identity.

FUNCTORS BETWEEN REEDY MODEL CATEGORIES OF DIAGRAMS

3. The Sheaf of Regular Functions

The Adjoint Functor Theorem.

Filters in Analysis and Topology

Lecture 15: Duality. Next we spell out the answer to Exercise It is part of the definition of a TQFT.

NON-SYMMETRIC -AUTONOMOUS CATEGORIES

The equivalence axiom and univalent models of type theory.

ON SOME BASIC CONSTRUCTIONS IN CATEGORIES OF QUANTALE-VALUED SUP-LATTICES. 1. Introduction

Categories and functors

Fuzzy sets and presheaves

Algebraic Geometry Spring 2009

Lectures on Homological Algebra. Weizhe Zheng

Compactness in Toposes

CATEGORICAL GROTHENDIECK RINGS AND PICARD GROUPS. Contents. 1. The ring K(R) and the group Pic(R)

Representation of monoids in the category of monoid acts. 1. Introduction and preliminaries

Category theory for computer science. Overall idea

Enriched Categories. Stephen Fitz

Infinite constructions in set theory

Lecture 2: Syntax. January 24, 2018

Morita Equivalence. Eamon Quinlan

A BRIEF INTRODUCTION TO ZFC. Contents. 1. Motivation and Russel s Paradox

sset(x, Y ) n = sset(x [n], Y ).

POL502: Foundations. Kosuke Imai Department of Politics, Princeton University. October 10, 2005

MODEL STRUCTURES ON PRO-CATEGORIES

SETS AND FUNCTIONS JOSHUA BALLEW

EXT, TOR AND THE UCT

Unbounded quantifiers via 2-categorical logic

SOME OPERATIONS ON SHEAVES

Dual Adjunctions Between Algebras and Coalgebras

LECTURE 1: SOME GENERALITIES; 1 DIMENSIONAL EXAMPLES

Amalgamable diagram shapes

Universal Algebra for Logics

The interplay between Grothendieck topoi and logic

1. The Method of Coalgebra

HOMOTOPY THEORY OF MODULES OVER OPERADS AND NON-Σ OPERADS IN MONOIDAL MODEL CATEGORIES

U-Sets as a probabilistic set theory

Coreflections in Algebraic Quantum Logic

Notes on ordinals and cardinals

GENERAL ABSTRACT NONSENSE

CONTINUITY. 1. Continuity 1.1. Preserving limits and colimits. Suppose that F : J C and R: C D are functors. Consider the limit diagrams.

Notes about Filters. Samuel Mimram. December 6, 2012

NOTES ON ATIYAH S TQFT S

DEFINITIONS: OPERADS, ALGEBRAS AND MODULES. Let S be a symmetric monoidal category with product and unit object κ.

AMALGAMATIONS OF CATEGORIES

Transcription:

ELEMENTARY TOPOI: SETS, GENERALIZED CHRISTOPHER HENDERSON Abstract. An elementary topos is a nice way to generalize the notion of sets using categorical language. If we restrict our world to categories which satisfy a few simple requirements we can discuss and prove properties of sets without ever using the word set. This paper will give a short background of category theory in order to prove some interesting properties about topoi. Contents 1. Categorical Basics 1 2. Subobject Classifiers 6 3. Exponentials 7 4. Elementary Topoi 9 5. Lattices and Heyting Algebras 10 6. Factorizing Arrows 12 7. Slice Categories as Topoi 13 8. Lattice Objects and Heyting Algebra Objects 17 9. Well-Pointed Topoi 22 10. Concluding Remarks 22 Acknowledgments 23 References 23 1. Categorical Basics Definition 1.1. A category, C is made up of: Objects: A, B, C,... Morphisms: f, g, h,... This is a generalization of functions between objects. If f is a morphism in a category C then there are objects A, B in C such that f is a morphism from A to B, as below. We call A = dom(f) (the domain ) and B = cod(f) (the codomain ). A f B Date: August 5, 2009. 1

2 CHRISTOPHER HENDERSON If we have morphisms f : A B and g : B C then there exists an arrow h : A C such that the following diagram commutes: A f B h g C Here we are only asserting some rule of composition. We denote h = g f. This rule of composition must satisfy associativity, so that for f : A B, g : B C, h : C D, we have that: h (g f) = (h g) f Lastly, for every object A in C, there is a morphism id A : A A such that for any other morphisms g : A B and h : B A, we have that: g = g id A, h = id A h Remark 1.2. We will sometimes, for convenience, write f g as fg and we will rarely use parentheses. Also, we may refer to morphisms as arrows. Definition 1.3. The dual of a category C is a category C op, which has all the same objects in C, but with all morphisms reversed. Explicitly, for f : A B, f op : B A is a morphism in C op. Definition 1.4. Two objects A, B C are isomorphic if there exist morphisms f : A B, g : B A such that fg = id B and gf = id A. Definition 1.5. An arrow m : C D is monic if for any pair B f C such g that mf = mg, then f = g. An arrow e : A B is epi if for any parallel arrows f, g with fe = ge then f = g. We denote a monic by C m D and an epi by A e B. A monic is just the generalization of a one-to-one function and an epi is the generalization of an onto function. It should be noted that it is not in general true that in categories where objects have underlying sets (like Set, Top, Grp, etc.) a monic is one-to-one and an epi is surjective. Example 1.6. Define a category with the two sets {a, b} and {c} as objects and with morphisms id {a,b}, id {c}, f, g, gf where f : {a, b} {c} and g : {c} {a, b}. Clearly f(a) = c = f(b), but define g(c) = a. Clearly f is not one-to-one, but it is indeed monic. Lemma 1.7. If m : A B, n : B C, with nm monic, then m must be monic. Proof. Suppose there are g, h : D A such that mg equals mh. Then composotion on the left gives that nmg equals nmh. Since nm is monic, g equals h. Definition 1.8. A terminal object of C, denoted 1, is an object such that for any object A in C, there is exactly one arrow! A : A 1. Definition 1.9. An initial object of C, denoted 0, is an object which is a terminal object in C op.

ELEMENTARY TOPOI: SETS, GENERALIZED 3 Note that our definition of initial object is just a fancy way of describing an object that has exactly one morphism! A : 0 A for every object A. In the category where objects are all sets and morphisms are all functions between sets, a terminal object is any set with one element and an initial object is the empty set. In other categories, initial and terminal objects are simply generalizations of this idea. Proposition 1.10. In a category C, all terminal objects are isomorphic. Similarly, all initial objects are isomorphic. Proof. Let 1, 1 be two terminal objects. Then there are unique arrows f : 1 1, g : 1 1. Note that fg : 1 1. But id 1 : 1 1. Thus by uniqueness fg = id 1. Similarly, gf = id 1. The result for initial objects follows from the fact that an initial object is a terminal object in the dual category. π Definition 1.11. A diagram A 1 P π2 B is a product of A and B if for any arrows φ 1 : C A, φ 2 : C B, there is a unique arrow h : C P making the following diagram commute: C φ 1 φ 2 h A P B We usually denote the product P as A B. Exercise 1.12. The following hold in any category C with products and terminal objects: A B = B A, A 1 = A Remark 1.13. We should note that it follows from Exercise 1.12 and duality that in any category with coproducts (denoted by + ) and initial objects: A + B = B + A, π 2 A + 0 = A Definition 1.14. The pullback of a diagram: A a C b B is an object P with morphisms p 1 : P A, p 2 : P B such that bp 2 = ap 1 and such that for any other object P with morphisms p 1 : P A, p 2 : P B such that bp 2 = ap 1, then there is a unique arrow h : P P such that the diagram below commutes: P p 1 h p 2 P p2 B p 1 A a C We usually denote the pullback P as A C B. In the category Set, described above, the pullback of the diagram above would be isomorphic to the set {(x, y) : x A, y B, a(x) = b(y)}. The pullback is just a generalization of this notion. b

4 CHRISTOPHER HENDERSON Definition 1.15. An equalizer of morphisms A f B is a morphism E e A g such that fe = ge and such that for any morphism U u A with fu = gu, there is a unique morphism U γ E such that the following diagram commutes: E e A f B g u U γ In the category Set, an equalizer is simply the set {a A : f(a) = g(a)}. Proposition 1.16. An equalizer is monic. Proof. Let m : A B be the equalizer of arrows x, y : B C. Suppose there are arrows f, g : D A such that mg = mf. Then ymg = ymf = xmf = xmg. Thus there is a unique arrow u : D A such that the following commutes: A m B x C y mf=mg D u But both f and g make that diagram commute. So, by uniqueness, we get that u = f and u = g. Thus f = g, and so m must be monic. The preceding (terminal objects, pullbacks, equalizers, and products) are all examples of limits. While we will not define what a limit is in this paper, it suffices to simply think of these four examples. When we discuss a colimit, one may simply consider initial objects, pushouts, coequalizers, and coproducts (which are respectively terminal objects, pullbacks, equalizers, and products in the dual category). The reader should consider a category C to have all finite limits if it has a terminal object and all pullbacks. It wouldn t be fruitful to define limits and to give a proof that having all finite limits is equivalent to having a terminal object and all pullbacks, so we continue without doing so. The reader unfamiliar with categorical language can skip the proof of the following theorem. Theorem 1.17. All limits (and colimits) are unique up to isomorphism. Proof. This is a consequence of Proposition 1.9 and the fact that limits are defined as terminal objects in the category of cones and colimits are terminal objects in the category of co-cones. Definition 1.18. If C, D are categories then a (covariant) functor F : C D satisfies the following: If A is an object of C then F (A) is an object in D If f : A B is a morphism is D then F (f) : F (A) F (B) is a morphism D F (id A ) = id F (A) F (f g) = F (f) F (g)

ELEMENTARY TOPOI: SETS, GENERALIZED 5 Definition 1.19. If C, D are categories with functors C F G D, then a natural transformation, α : F G is a family of morphisms α C : F C GC for every C which is an object of C, such that for any f : A B in C the following diagram commutes: F A α A GA F f F B α B GB Natural transformations are in fact morphisms between functors, and they serve in defining an important type of functor, which we will define now: form an adjunc- Definition 1.20. If C, D are categories then functors C F D G tion if for any C C, D D, there an isomorphism Gf φ : Hom D (F C, D) = Hom C (C, GD) which is natural in both C and D. Here, Hom C (O 1, O 2 ) denotes the set of morphisms in category C from O 1 to O 2. In this case we say that F is the left adjoint of G, or equivalently that G is the right adjoint of F. What we mean by natural in C is that given h : C C, and denoting composition on the right by h, the following diagram commutes: Hom(F C, D) φ C,D Hom(C, GD) (F h) h Hom(F C, D) φ C,D Hom(C, GD) In other words, given f : F C D we get that: φ C,D (f)h = φ C,D(f(F h)) What we mean by natural in D is that given a morphism g : D D, and denoting composition on the left by g, the following diagram commutes: Hom(F C, D) φ C,D Hom(C, GD) g (Gg) Hom(F C, D ) φ C,D Hom(C, GD ) In other words, given f : F C D we get that: Ggφ C,D (f) = φ C,D (gf) One important property of adjunctions is that functors which are right adjoints preserve limits and functors which are left adjoints preserve colimits. By this we mean that a functor F : C D preserves limits if it takes limits in C to limits in D. While we state this without proof, one can find proofs of this fact in any book on Category Theory.

6 CHRISTOPHER HENDERSON 2. Subobject Classifiers In our attempts to generalize the notion of a set, we need to generalize two important concepts: subsets and characteristic functions. A key property of sets is that a subset S A is uniquely determined by a characteristic function φ S. Thus, if we know the characteristic map of S then we can recover S. Remark 2.1. The reader should consider a category C to have all finite limits if it has a terminal object and all pullbacks. Definition 2.2. A subobject of an object A is a monic S m Remark 2.3. We consider two subobjects, n, m to be equivalent if there is an isomorphism φ such that n = mφ. A subobject is actually an equivalence class of monics, but, for the purposes of this paper, we ignore this point of rigor. For an object A, we denote the set of subobjects of A by Sub C (A). One can easily define a functor using hom-sets; namely, Hom(, B) : C op Set is a functor which takes X C to Hom(X, B) and which takes f : X Y to f : Hom(Y, B) Hom(X, B), recalling that f is composition of f on the right. Similarly we can create a functor Sub( ) : C op Set, which takes an object A to the set Sub(A) and which takes a morphism f : B A to Sub(f) : Sub(A) Sub(B), defined by the pullback square below. P Sub(f)(m) X B f A It is a quick exercise to show that this is, in fact, a functor since it preserves equivalence classes. Definition 2.4. Two subobjects A, B of S in a C are disjoint subobjects if the diagram below is a pullback. 0 A B Definition 2.5. In a category C with finite limits, a subobject classifier is an object Ω and a monic true : 1 Ω such that for any subobject, m : S A there is a unique arrow φ : A Ω making the following square a pullback: m S! S 1 A φ Ω As it turns out, not all categories have subobject classifiers, but we will soon restrict ourselves to only considering those that do. Example 2.6. In the category Set, the subobject classifier is true : { } {0, 1}, with true( ) = 1. m true A.

ELEMENTARY TOPOI: SETS, GENERALIZED 7 Example 2.7. The slice category C/B of a category C over an object B, has morphisms with codomain B as objects and commutative triangles as morphisms. Given a category C with finite limits and a subobject classifier Ω, we can define a subobject classifier for C/B. Given the product below, we define true : id B ω 1 to be the unique arrow satisfying: B id B φ idb true B ω 1 B Ω ω 2 Ω Noting that id B is the terminal object in C/B, it is an easy exercise to show that true : id B ω 1 is the subobject classifier for C/B. Proposition 2.8. Any two subobject classifiers 1 t t Ω, 1 Ω are isomorphic. Proof. We then get two commutative squares, which, it is important to note, are pullbacks, as below, making the outer square a pullback (this is trivial to check): t 1 id1 1 t id 1 1 Ω φ Ω α Ω But by the definition of a subobject classifier, there is a unique arrow which makes the diagram a pullback, and since the diagram below is a pullback, then α φ = id Ω : t t 1 id1 1 t Ω idω Ω Similarly, we can show that φ α = id Ω, and thus Ω = Ω. Proposition 2.9. A category C with finite limits and small hom-sets 1 has a subobject classifier if and only if there is an object Ω and an isomorphism which is natural in X. θ X : Sub C (X) = Hom C (X, Ω) This should not be surprising since it is clearly true in the category Set. Namely, a subset of a given set X defines a characteristic function X φ {0, 1} = Ω, just as a function, φ : X {0, 1}, defines a subset of X. 3. Exponentials Observe that given two sets A, B, Hom(B, A) is itself a set. We will denote this hom-set, veiwed as an object in Set, by the exponential notation A B. But more carefully, we should note that for any function f : A B C we get a function 1 We say that a category C has small hom-sets if for all objects A, B C, Hom(A, B) is a set.

8 CHRISTOPHER HENDERSON g : A Hom(B, C) given by g(a)( ) = f(a, ). Thus, exponentials satisfy, in the category Set, (3.1) Hom(A B, C) = Hom(A, C B ) So if we work backwards, we can define the general notion of an exponent A B. If we consider B : C C to be a functor (on a category C with finite products), then we can define ( ) B : C C to be it s right adjoint (when such a functor exists). Definition 3.2. Given an objects A, B, we define the exponent A B to be the right adjoint ( ) B of B applied to the object A. In fact, the above definition of exponentials works with categories, where we define C D to be the category of functors from D to C. This allows us to consider the next example. Example 3.3. Given functors F, G : C op Set the exponential functor is F G (C) = Hom(Hom(, C) G, F ). Proposition 3.4. In any category with a terminal object, finite products, and exponentials, the following hold: (3.5) 1 X = 1 X 1 = X (3.6) (A B) C = A C B C A B C = (A B ) C Proof. We begin with the first of (3.5). Hom(Y X, 1) = Hom(Y, 1 X ). But Hom(Y X, 1) = {! Y X }, and so there is exactly one morphism Y 1 X for each object Y. This means that 1 X is a terminal object, and thus isomorphic to 1. For the second of (3.5), examine: Hom(Y, X) = Hom(Y 1, X) = Hom(Y, X 1 ). Where the first isomorphism follows from Y = Y 1 and the second from the definition of exponential. This means that X = X 1. For the first of (3.6), examine: Hom(Y, A C B C ) = Hom(Y, A C ) Hom(Y, B C ) = Hom(Y C, A) Hom(Y C, B) Giving us that (A B) C = A C B C. For the second of (3.5), examine: = Hom(Y C, A B) = Hom(Y, (A B) C ) Hom(Y, (A B ) C ) = Hom(Y C, A B ) = Hom(Y (C B), A) = Hom(Y (B C), A) = Hom(Y, A (B C) ) Giving us that (A B ) C = A (B C).

ELEMENTARY TOPOI: SETS, GENERALIZED 9 4. Elementary Topoi As it turns out, one can find categories which generalize the notion of a set simply by requiring a few of the structures already discussed, leading to the next definition: Definition 4.1. An elementary topos (plural: topoi) is any category, C, which has the following properties: (1) C has all finite limits and colimits (2) C has exponentials (3) C has a subobject classifier Example 4.2. The following categories are topoi: (1) The category with one object and one (identity) arrow. (2) Set. (3) Set n, whose objects are n-tuples of sets and whose morphisms are n-tuples of functions. (4) Set Cop. (5) The slice category C/B, where C is a topos and B C. This will be discussed in more detail later, as it provides a nice backdoor to proving some useful properties. (6) G-Sets, whose objects are G-sets with G-actions and whose morphisms are functions between G-sets, which respect the G-action. There is a second, equivalent, manner in which to define a topos, which we will state now because it brings to light the concept of the transpose of a morphism. Definition 4.3. A topos is a category C with: (1) Pullbacks, (2) A terminal object denoted 1, (3) An object Ω and a monic arrow true : 1 Ω such that for any monic m : S B, there is a unique arrow φ : B Ω making the following diagram a pullback: m S! 1 B φ Ω We often write φ as char(s) or char(m). (4) For an object B, there is an object P B and an arrow ɛ B : B P B Ω such that for every f : B A Ω there is a unique arrow g : A P B such that the following commutes: true B A f 1 g B P B ɛ B Ω We call g the P-transpose of f, and we call f the P-transpose of g. We denote this f = ĝ.

10 CHRISTOPHER HENDERSON Remark 4.4. Note that by examining the similarities between the definition of the exponential as a right adjoint and the definition of the power object P B of an object B, we see that we can consider P B to be Ω B. Lemma 4.5. In a topos, every monic is an equalizer and every arrow which is both monic and epi is an isomorphism. Proof. Since we are working in a topos, the most obvious place to look for a pair of morphisms for which a monic A m B could be the equalizer would be in the definition of a subobject classifier. Thus we examine A m B char(m) true B Ω, where true B = true! B. It follows from the definition of a subobject classifier and the definition of a terminal object that true B m = char(m) m and that m is in fact the equalizer of these arrows. m! A A 1 B! B Ω char(m) Now, suppose m is both a monic and an epi. Then there is some pair B f g C such that m is the equalizer of such a pair. But since m is an epi and fm = gm, then f = g. Thus since f id B = g id B, there is some unique map u : B A such that mu = id B. This also gives us that mum = id B m = m = m id A, and since m is monic then um = id A. Thus, m is an isomorphism. Remark 4.6. Observe that, Lemma 4.5 along with Proposition 1.14 gives that in a topos an arrow is an equalizer if and only it is monic. In addition, one can quickly derive that any isomorphism is a monic and an epi as a consequence of the existence of an inverse. Thus, an arrow is monic and epi if and only if it is an isomorphism. true 5. Lattices and Heyting Algebras Definition 5.1. A lattice is a partially ordered set, when considered as a category, with x y iff x y, that has all finite limits and colimits. In the usual definition of a lattice, there are two important operations, : L L L defined equationally as x x = x = x x 1 x = x 0 x = x x (y x) = x = (x y) x We define x y to be x y and x y to be x + y. It is a quick exercise to show that the operations defined in this manner satisfy the equations above. For our purposes, we insist that all lattices be distributive; namely, that all x, y, z in our lattice must satisfy (x (y z)) = (x y) (x z). Intuitively we can view as union or or whereas can be viewed as intersection or and. Proposition 5.2. In a lattice, x (y z) = (x y) (x z).

ELEMENTARY TOPOI: SETS, GENERALIZED 11 Proof. (x y) (x z) = [(x y) x] [(x y) z] = x [(x z) (y z)] = [x (x z)] (y z) = x (y z) Definition 5.3. A Heyting algebra is a lattice which, when viewed as a poset and thus a category, has exponentials. Essentially what we have done is taken the notion of a lattice and restricted those we will consider to those which are also topoi when viewed as categories. Observe that when we apply our definition of exponential to our conception of a lattice, denoting y x by (x y), we get: z (x y) if and only if z x y Proposition 5.4. In a Heyting algebra the following hold: (5.5) (5.6) (5.7) (x 1) = 1 (1 x) = x ((y z) x) = (z (y x)) ((x z) y) = ((x y) (x z)) z (x y) if and only if x (z y) (x (y z)) = ((x y) (x z)) Proof. (5.5) follows from Proposition 3.3, while (5.6) come from the definiton of y = y as the left adjoint of x = ( ) x (thus, the former preserving colimits and the latter preserving limits). For (5.7): z (x y) iff z x y iff x z y iff x (z y) Proposition 5.8. In a Heyting algebra the following hold: (5.9) (5.10) (5.11) (x x) = 1 x (x y) = x y, y (x y) = y x (y z) = (x y) (x z) Thus, a Heyting algebra satisfies all those identities we would expect a structure to which we impart the language of logic to satisfy. In fact, we can even define an object to be, intuitively, the negation of x as x = (x 0). This in fact satisfies some of the identities we would expect: x x x y implies y x x = x (x y) = x y Given the extra condition, x = x, a Heyting algebra is, in fact, a Boolean algebra. As it turns out there are lots of familiar structures which are Heyting algebras. Some examples are Sub(X) for any object X in a topos (we will prove this later), Set Cop, and Boolean Algebras. We will take this idea further, in Section 8, by examining objects in topoi which have similar internal structures.

12 CHRISTOPHER HENDERSON 6. Factorizing Arrows In Set, given a function f : X Y, we can easily decompose it as an onto function e : X Z and a one-to-one function m : Z Y as follows: let e(x) = f(x), Z = f(x), and m(z) = z. In fact, we will see that this decomposition can be generalized for all topoi. Definition 6.1. A morphism f : X Y factors through m : Z Y if there is some morphism t : X Z such that f = mt. Definition 6.2. A morphism m : X Y is the image of f : W Y if f = me for some morphism e : W X and if whenever f factors through a monic h, m factors through h. Lemma 6.3. In a topos, every arrow f has an image m and factors as f = me, where e is an epi. Proof. First we construct the factorization. Given f : A B, find x, y : B P which are the pushout of f with itself. Let m : M B be the equalizer of this pair and using the definition of equalizer, we get a unique arrow e : A M such that f = me. Now to show that m is the image of f. Note that by Proposition 1.14, we know that m is monic. Suppose there is some monic arrow h such that f factors through f h as in: A g N h B. Then using Lemma 4.5 we have that there are two arrows x, y : B C whose equalizer is h. But then x h = y h implies that: x f = (x h)g = (y h)g = y f By the definition of a pushout there is a unique arrow u : P C such that ux = x and uy = y. But this gives: x m = uxm = uym = y m Then by definition of h as an equalizer of x, y, there is a unique arrow v : M N such that hv = m. Thus m factors through h, i.e. if f factors through h then so does m. This completes the proof that m is the image of f. Now we must show that e is epi. We apply our factorization above to e to get that e = m e where A e M m M. Since f = mm e and the composition of two monics is monic, then m must factor through mm by some unique arrow u : M M. Thus m = mm u, and since m is monic then id M = m u. Also, m um = id M m = m = m id M gives that um = id M. Thus m is an isomorphism. This means that if s, t : M C is the pushout of m, i.e. sm = tm, then: sm (m ) 1 = tm (m ) 1 s = t

ELEMENTARY TOPOI: SETS, GENERALIZED 13 Now suppose there are arrows g, h : M P such that ge = he. By the definition of a pushout, this gives a unique arrow v : C P as below: A e e M m M e m s=t s=t M C h v g P Thus, g = vs = h. So e is epi. Proposition 6.4. If f = me and f = m e with m, m monic, and e, e epi, then any map (r, t) from f to f defines a unique map of m, e to m, e as below: A e E m B r u t A e E m B By quick inspection we see that Proposition 6.4 gives us that for any arrow, factorization is unique up to isomorphism. 7. Slice Categories as Topoi We first assert, without proof, the following theorem which will allow us to apply our earlier machinery to slice categories. Theorem 7.1. If C is a topos and B is an object in C, then C/B is a topos. Slice categories are important topoi for two reasons: they provide a nice backdoor to prove some useful facts about topoi (like Corollaries 7.3, 7.4, 7.5, and 7.7 and Proposition 7.9) and they provide a nice example of a topoi whose objects don t have an underlying set. Theorem 7.2. For any arrow k : B A in a topos C we can create a changeof-base functor k : C/A C/B which has both a right and a left adjoint. Remark 7.3. Our functor k is merely taking the pullback f : B A X B of an arrow f : X A. Proof. For the left adjoint Σ k, we simply use composition with k. To check that this is a left adjoint we need to verify Hom(Σ k h, g) = Hom(h, k g) for h : H B and g : G A. However, it is easy to see that a map γ : H G is a map from Σ k h = kh to g if and only if it gives a unique map from h to k g, as is evident by

14 CHRISTOPHER HENDERSON considering the following diagrams: H γ G Σ k h=kh g A H h γ G k g G B k A g For a right adjoint we first notice that pullback along two morphisms gives us the notion of product in slice categories. Thus, if we define the right adjoint k to be ( ) k we complete the proof as: Hom(k g, h) = Hom(k g, h) = Hom(g, h k ) Corollary 7.4. In a topos, the pullback of an epi is epi. Proof. Take an epi e : X A and notice that e is epi if and only if the square below is a pushout: X e A e A id A A This is also a pushout in the slice category. Now take a morphism k : B A and note that k e is the pullback of e. But k is a left adjoint (i.e. has a right adjoint), so it preserves all colimits. Thus, the square below must be a pushout: id A B A X k e B B k e id B B id B In other words, k e, the pullback of e, is epi. Corollary 7.5. In a topos, any arrow k : A 0 is an isomorphism. Remark 7.6. This should seem pretty natural since, in Set, 0 is the empty set and the only functions which have the empty set as codomain, have it also as domain. Proof. We begin by noticing that the unique arrow! 0 : 0 0 is both initial and terminal in C/0. Using Lemma 7.2, we know that the pullback of! 0 must be both initial and final in the category C/A. Also,! A : 0 B is the unique (up to isomorphism) initial object in C/A.

ELEMENTARY TOPOI: SETS, GENERALIZED 15 This gives that the square below is a pullback and, since id 0 is both monic and epi, then so is g (by Corollary 7.3). Thus, g is an isomorphism by Lemma 4.5. 0 id 0 0 g A k 0 id 0 Since kg = id 0 then we get that: k = kg(g 1 ) = id 0 (g 1 ) = g 1 Corollary 7.7. Every arrow k : 0 B is monic. Proof. Suppose there is g : A 0, then A = 0. Thus A is an initial object and so g is the unique map from A to 0. While in Set this seems obvious, it took a considerable amount of machinery to prove in general. The work, however, was worthwhile as we can now prove the following: Theorem 7.8. For any object A in a topos, Sub(A) is a Heyting Algebra. Proof. Let the reader be aware that we will abuse notation in this proof; when we write S Sub(A), we actually refer to S s A. We first need to show that Sub(A) is in fact a lattice. To do this we will explicitly constuct some of the important features of a lattice. For an initial object, we apply Corollary 7.7 to get 0 as a subobject of A. For a terminal object we simply use A. To define, which we will denote here by, we simply take the pullback below: B C C B A B + C C f B e If we factor f : S +T A as S + T S T m A, we get, which we denote here by. The reader can quickly check that the properties asked of the maps, in the definition of a lattice hold with our definition of,. Thus, Sub(A) is a lattice as we have already taken care of finite limits since we have a terminal object, A, and pullbacks S T. Now we need to show that it is indeed a Heyting Algebra. In order to do this we need only construct exponentials. We assert without proof that Sub C (A) = Sub C/A (1) (however, this is quite immediate), and thus we shall prove that in any topos Sub(1) has exponentials. Take two subobjects S, T of 1 and we define S T = θ 1 (θ(s) θ(t ) ) where A

16 CHRISTOPHER HENDERSON θ : Sub(1) = Hom(1, Ω). To check that this is valid: Hom(U T, S) = Hom(θ(U) θ(t ), θ(s)) = Hom(θ(U), θ(s) θ(t ) ) = Hom(θ 1 (θ(u)), θ 1 (θ(s) θ(t ) )) = Hom(U, S T ) Thus Sub C/A (1) = Sub C (A) has exponentials and is a Heyting algebra. One interesting consequence of this is that in any topos Hom(A, Ω) is a Heyting algebra since it is isomorphic to Sub(A). More specifically, Hom(1, Ω) is a Heyting algebra. Intuitively, we can think of any morphism 1 Ω as specifying an element of Ω and so we get that Ω, in some sense, has the structure of a Heyting algebra. Proposition 7.9. If S and T are disjoint subobjects of B, then S + T = S T. Proof. By definition of the coproduct, we get an arrow f : S + T B such that the following commutes: i 2 S + T T i 1 f S B Moreover, by examination, we see that this is also a coproduct in C/B. Note that the diagrams below are pullbacks (the left by hypothesis, the right because t is monic): s t 0! S T id T T! T t B s Then, since T = T + 0, the following diagram on the left (in C/B) becomes the diagram on the right (in C/T ) because, by Lemma 7.2, we know that pullback along t preserves coproducts: id T T t B t S i1 i S + T T f s t 2 B Thus the following is a pullback: t! 0 T! id T id T id T T T T i 2 S + T id T T t This means that the pullback of t along f is i 2. Similarly we get that the pullback of s along f is i 1. Now, since pullback along f preserves coproducts, we know that the following diagram is a coproduct in C/(S + T ): B f

ELEMENTARY TOPOI: SETS, GENERALIZED 17 T i2 S + T i 1 S i 2 id S+T i 1 S + T This means that the pullback of f along itself is the identity. But this means that f is monic and thus, S +T is a subobject of B. Thus the image of f is itself, finishing the proof, as S T = cod( image of f ) = cod(f) = S + T. Since the concept of coproduct is loosely that of disjoint union, the preceding should be a reassuring result. Proposition 7.10. In a topos, if f : A C and g : B D are epi, then f g : A B C D is epi. Remark 7.11. f g is the unique map which satisfies: A A B π 2 B f f g C C D φ2 φ 1 Proof. By examination, we see that the following are pullbacks: D g A B π1 A C B π2 A f id B C B φ1 C f id C g C D φ2 D g Thus, by Lemma 7.2, f id B and id C g are epi. Then the composition (id C g) (f id B ) = f g is epi. 8. Lattice Objects and Heyting Algebra Objects Definition 8.1. A lattice object is an object L in a topos, along with arrows, : L L L and, : 1 L, such that the following two diagrams commute: L L 1 L L L 1 L L L 1 τ L L L 1 L L 1 L = L 1 L L L = 1 = L = L 1 1 L L L

18 CHRISTOPHER HENDERSON where the diagonal arrow and the twist arrow τ are defined as the unique arrows satisfying: L L L 1 1 π 2 τ L L L π 2 L L L L π 2 L Note that the large top diagram is simply generalizing the rule that x = (x y) x = x (y x) in categorical language, and the large bottom diagram is generalizing the rule that x = x and x = x. We intuitively think of as representing true and as representing false. Definition 8.2. A Heyting algebra object is a lattice object H in a topos with an additional operation : H H H which satisfies the diagrams given by the identities in Propostion 5.8. Example 8.3. In the category Set, given an object (i.e. a set), X, the power set of X is a Heyting algebra object. The maps, correspond to, respectively. The maps, correspond to X and {} respectively. is given by Y Z = Y Z c. Motivated by the observation that x y = x if and only if x y we define an object L as the equalizer: L e L L L From this we can also characterize the rules for reflexivity, antisymmetry and transitivity in our categorical language. Characterization 8.4. (Reflexivity) The diagonal factors through L as below: L L L e L Characterization 8.5. (Antisymmetry) Define L as the monic L e L L τ L L and take the pullback: L L L L L L Then antisymmetry is that the arrow L L L L factors as: L l L L L

ELEMENTARY TOPOI: SETS, GENERALIZED 19 Characterization 8.6. (Transitivity) [Mac Lane/Moerdijk] Define C to be pullback: u C v L e L L L e L L π2 L Then transitivity is that the arrow ev, π 2 eu : C L L factors through e : L L L. Characterization 8.7. (Transitivity) [Henderson] Define P to be the pullback: p 2 P L L p 1 L L 1 e e 1 L L L Then transitivity is that the arrow ( φ 1 φ 2 )p : P L L factors through e : L L L, where we let p = (1 e)p 2 = (e 1)p 1, the projections. π L 1 (L L) φ 1 (L L) L We include Characterization 8.7 because we feel that it is more intuitive than Characterization 8.6. We include a proof that the two characterizations are equivalent because, although unimportant mathematically, the author is proud of his characterization. Theorem [Henderson] 8.8. Both characterizations (8.6 and 8.7) of transitivity are the same (i.e. P = C and ev, π 2 eu = ( φ 1 φ 2 )p, as defined above). Proof. Given projections φ 1, φ 2,, π 2 we can choose projections α 1, α 2 as follows. Let α 1 = φ 1 and let α 2 be the unique arrow which makes the diagram below commute: L L L π 2φ 1 α 2 φ 2 L L L π2 L Now, what we hope is that the ev, π 2 eu = ev, eu, and to prove this we examine the following diagram: C ev γ eu π 2eu α 1 L L L L α 2 L L π2 L = ev = = L L L L L L L φ 1 φ 2 φ 2 L

20 CHRISTOPHER HENDERSON By inspection, the diagram without the arrow γ commutes. Thus if we let γ = ev, π 2 eu, let us check that the whole diagram commutes, which will give us that γ is in fact ev, eu as well. This amounts only to checking that α 2 γ = eu. We know already that π 2 α 2 γ = φ 2 γ = π 2 eu, so we need only check that α 2 γ = eu: Thus observing that α 2 γ = π 2 φ 1 γ by choice of α 2 = π 2 ev = eu by Mac Lane s construction (1 e) ev, u = ev, eu = γ = ev, π 2 eu = (e 1) v, π 2 eu the diagram below commutes, giving us a unique arrow l: C v,π 2eu l P p 1 L L ev,u p 2 L L 1 e e 1 L L L Now we claim that the arrow l is monic. We will show that ev, u is monic, and thus that l is monic by Lemma 1.7, since p 2 l = ev, u. Suppose there are arrows a, b : A C such that ev, u a = ev, u b. Let β 1, β 2 be the projections for L L. Then from the following diagram, we get that eva = evb and ub = ua: a A C ev ev,u L L L β 1 b u Consider the commutative diagram below that we obtain from the above equations. Since putting b in place of q makes the diagram commute, if we show that putting a in place of q makes the diagram commute, the uniqueness of q will then imply that a = b. A ua q u C L vb The diagram, above, will commute with a in place of q if and only if va = vb. So we continue by examining the product below (left). Since the diagram on the left v π1e β 2 L L L π 2e

ELEMENTARY TOPOI: SETS, GENERALIZED 21 commutes, then the diagram on the right commutes with both eva and evb as the center downward arrow. C A ev eu=π 2ev eva=evb ev π 2eva=eua=eub=π 2evb L L L π2 L L L L π2 L Thus, by uniqueness, we get that eva = evb. But since e is an equalizer by construction, it is monic. This gives that vb = va. As we noted before, this suffices to show that a = b. Thus ev, u is monic, as claimed. Finally, we will show that l is in fact an isomorphism, completing the proof. We will do this by showing that C is in fact also a pullback of the same diagram that P is a pullback of. For this, it only remains to show that if there is an object C and maps p 1, p 2 such that the diagram below commutes, then there is a unique arrow from C to C which makes the diagram commute. So, suppose there are two maps a and b which make the following commute: C b a p 1 C π 1ev,u l p v,π 2 2ev P p 1 L L p 2 1 e L L e 1 L L L Since P is a pullback, there is a unique arrow C P making the diagram commute. Thus la = lb. However, we know that l is monic, so this implies that b = a. Thus, C is a pullback of the diagram, making l an isomorphism l : C = P. Now observe that: ( φ 1 φ 2 )pl = ( φ 1 φ 2 )(e 1) v, π 2 eu = ( φ 1 φ 2 ) ev, π 2 eu Then the diagram below gives us that ( φ 1 φ 2 ) ev, π 2 eu is in fact equal to ev, π 2 eu : C ev π 2eu ev,π 2eu L L L L L φ2 L φ 1 φ 1 φ 2 L L L π1 L id L Thus we get that l : ( φ 1 φ 2 )p = ev, π 2 eu, as desired.

22 CHRISTOPHER HENDERSON 9. Well-Pointed Topoi In order to get one step closer to full generalization of sets, we add one last requirement. Though it is beyond the scope of this paper, it is interesting to note that a topos with this last requirement allows one to give an alternative foundation to classical mathematics. Definition 9.1. A topos C is generated by a collection G of objects of C if for all f, g : A B such that f g, there exists a morphism u : G A such that fu gu. Definition 9.2. A topos C is well-pointed if it is generated by 1. One nice property of a well-pointed topos is that terminal objects have only one proper subobject. This is exactly what we would hope for, since in the category Set, a terminal object is a one-point set and it s only proper subset is the empty set. Lemma 9.3. The only subobjects of 1 in a well-pointed topos are 1 and 0. Proof. 0 is a subobject of 1 by Corollary 7.7. Thus, take U u 1 and assume U 0. We can get an arrow s : 1 U as the map which we get from the definition of well-pointed applied to char(id U ) char(!), where! : 0 U. Then since id 1 is the unique arrow from 1 to itself, we get that id 1 = ut. This also gives us that utu = uid U, but since u is monic, this implies that tu = id U. This gives that u : U = 1. We will now conclude by stating, without proof, some interesting theorems that provided the motivation for our study of elementary topoi. For the purposes of this paper, a Boolean topos is one in which for every object E the Heyting algebra Sub(E) is also a Boolean algebra. Theorem 9.4. A well-pointed topos is Boolean. Theorem 9.5. If C is a topos which is generated by subobjects of 1 and which has the property that for each object E, Sub(E) is a complete Boolean algebra, then C satisfies the axiom of choice. Theorem 9.6. There exists a Boolean topos satisfying the axiom of choice in which the continuum hypothesis fails. 10. Concluding Remarks In this paper we have presented a lot constructions and results dealing with topoi, but the reader may be wondering Where do we go from here/why do we care about topoi? Throughout the paper we have repeated the phrase This is a generalization of blank in the category of Set to all topoi, and for good reason. The notion of a topos is a very good generalization of a set, so good in fact that one can use topos theory to give a proof of the independence of the Axiom of Choice and the Continuum Hypothesis as we noted at the end of the last section. We can even go so far as to create a foundation for classical mathematics alternative to the traditional Zermelo-Frænkel set theory axioms by expanding our notion of a topos to well-pointed topoi. One interesting property about this new

ELEMENTARY TOPOI: SETS, GENERALIZED 23 foundation is that the basic concept is that of a function, or a morphism in a topos, rather than set membership. Acknowledgments. I d like to thank my mentor Claire Tomesch for all of her assistance, be it in helping me find and pursue this incredibly interesting topic or in sifting through endless e-mails and illegible drafts. References [1] Saunder Mac Lane, and Ieke Moerdijk. Sheaves in Geometry and Logic. Spring-Verlag, 1992. [2] Saunders Mac Lane. Categories for the Working Mathematician. Springer-Verlag, 1971. [3] Steve Awodey. Category Theory. Oxford University Press, 2006.