C AHIERS DE
TOPOLOGIE ET GÉOMÉTRIE DIFFÉRENTIELLE CATÉGORIQUES
J. L AMBEK
P. J. S COTT
Algebraic aspects of topos theory
Cahiers de topologie et géométrie différentielle catégoriques, tome 22, n
o2 (1981), p. 129-140
<
http://www.numdam.org/item?id=CTGDC_1981__22_2_129_0>
© Andrée C. Ehresmann et les auteurs, 1981, tous droits réservés.
L’accès aux archives de la revue « Cahiers de topologie et géométrie différentielle catégoriques » implique l’accord avec les conditions générales d’utilisation (
http://www.numdam.org/conditions). Toute utilisation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit contenir la présente mention de copyright.
Article numérisé dans le cadre du programme
ALGEBRAIC ASPECTS OF TOPOS THEORY
by J. L AMBEK and P. J. SCOTT
CAHIERS DE TOPOLOGIE E T GEOMETRIE DIFFERENTIELLE
Vol. XXII - 2
(1981)
3e COLLOQUE
SUR LES CATEGORIES DEDIE A CHARLES EHRESMANNAmiens,
Juillet 1980When
working
withfields,
one sometimes has to go into thealgebraic
category of
(commutative) rings.
Forexample,
toadjoin
an indeterminatex to a field F one fonns the
ring F[x],
from which a fieldF(x)
may be obtainedby constructing
itsring
ofquotients.
For similar reasons the notion of«dogma»
was introducedin [13]
to capture thealgebraic
aspectof toposes :
Dogmas
areessentially
the same asVolger’s
«semanticalcategories » [17]
and
B6nabou’s
«formal toposes ».They
are also related to models of «typetheory»
in the sense of Chruch[3]
and Henkin[9]
and models of «illativecombinatory logics
in the sense ofCurry
andFeys [5].
Every one
knows that groups andrings
are sets withoperations satisfying
certain identities. In the same waycategories
anddogmas
may be viewed asgraphs
withoperations
andidentities,
as are cartesian clos- edcate gories [11]
and monoidal closedcategories [10]. Thus,
acategory
is agraph
withoperations ( one nullary
and onebinary)
satisfying
the identitiesfor all
f : A -> B, g: B -> C
andh: C -
D. A cartesian category is essen-tially
a category with canonical finiteproducts,
moreprecisely,
a category with thefollowing
additional structure: threenullary operations
and onebinary operation
satisfying
the identitiesfor all k: A -> 1, f: C -> A, g: C -> B and h: C -> AXB.
A topos
is,
among otherthings,
a cartesian closed category, thatis,
a cartesian category with exponentsBA
and a naturalisomorphism
Hom (C,BA) = Hom (CXA,B).
For technical reasons werequire
expo-nents
only
for aspecified object Q
and shall write-O- A
asP A .
A pre-dogma ( for
want of a bettername)
is a cartesian category with the follow-ing
additional structure : anullary
and a unaryoperation
satisfying
the identitiesA
dogma
is apredogma
with anullary operation 6A : A X A -O- satisfying
a number ofidentities,
forexample
for all
f: C - A .
In whatfollows,
we shall writeso that the above
sample identity
may be writtenIt is
important
todistinguish
the internalequality symbol -
from the ext-emalone . = . .
A
complete
list of identities satisfiedby 6A
will be found in[13].
Even there the identities are made
intelligible by
firstfactoring
through
the category ofpreordered
sets.They
could have beensimplified
further
by factoring through
the category ofHeyting algebras. Having
triedunsuccessfully
to recapture these identities from Guitart’s «contra variant standard constructions »[8],
we shall herepropose
anotherapproach :
tofactor the functor
Hom(-, -O-) through
the category of «deductive sets».A
deductive
set( X, -i)
consists of a set Xtogether
with abinary
relation
F
between finite subsetsT
={f1 ,... , in I of X
ande lements g
of X satisfying
thefollowing conditions :
A
morphism 0 : (X, -i) -> (Y, -i )
of deductive sets is amapping X -
Ysuch that
Examples
of deductive sets are meet-semilattices andimplication algebras
with
largest
elementT,
where e.g.{f1,f2} -i g
stands forTo say that
Hom(-, -O- )
factorsthrough
the category of deductivesets then amounts to
saying
that for eachobject A, Hom(A, Q)
isequipp-
ed with a
relation b satisfying
condition(1)
to( 4) (with -i replaced by A
A and also*)
However, in themeantime,
Guitart has succeeded inaugmenting
his system to theso-called « algebraic universes*,
which areadequate
for mathematics and whichare more
closely
related todogmas.
for all
f1 ’ ... , fn , g : A - -O-
andh: B , A .
Rules(1)
to(5)
will be calledstructural rules. Predogmas
for whichHom(-, 0)
factorsthrough
the cat-egory of deductive sets appear to be a
special
case of the«categories
withdeduction» discussed in the seminar of Benabou.
We are
finally
in aposition
to definedogmas.
Adogma
is apredog-
ma for which
Hom(-, Q )
factorsthrough
the category of deductive sets and which contains anullary operation d A : A X A -> -O- satisfying
the follow-ing
additionalconditions,
where we have writtenf = g
A forS A f, g> :
for all
f1, ... , fn : A ->-O-
andf, g: A X B -> -O-.
Rules(6)
to(11)
will becalled
rules of equality.
It may be shown that the definition of
«dogmas given
here agrees with thatof [13] by comparing
the presentsymbol t-
with thesymbol A
there. On the one
hand, {f1,..., fn} -i A g may be interpreted
as
and,
on the otherhand, f A g
may beregarded
as !I f b g .
It is
perhaps
more instructive to see how formulas oftype theory
areinterpreted
in adogma (1.
For this purpose let us assumethat type theory
isbased on the notion of
equality
aspresented
in[15].
Tospell things
out,we are
given
types 1 and Q and assume that P A andAXB
are types if A and B are. For each type there isgiven
a countable set of-variables of thattype;
moreover, one has thefollowing
terms, listed under their resp- ectivetypes:
where it is assumed that a, a’ and the variable x are of type
A,
a is oftype
P A, b
is oftype
Band 0 (x)
i s of type Q.It was shown in
[13]
how toadjoin
an indeterminate arrow x: 1 -> Ato a
dogma (1
to obtain thedogma G [x] .
Letg (x1 ,... xn)
be a term oftype A
depending
on the variables xi oftype Ai ,
we shallinterpret
it asan arrow in the
dogma
as follows: xi is
interpreted
as the indeterminatexi : 1 -> Ai , *
as theunique
arrow1 -> 1 ,
a c a asE A a,
a> , a = a’ asd A a,
a’> anda, b>
as the arrow 1 ->A X B
with the same name, where a, a, a’ and b are assumed to have beeninterpreted already.
It remains tointerpret {x C
AI 4(x ) ) }
as an arrow 1 ->P A in (1, assuming
thatO(x)
has al-ready
beeninterpreted
as an arrow1 -> -O- in a [x] .
Now
dogmas,
likepredogmas
and even cartesian or cartesian closedcategories,
have thefollowin g
property of functionalcompleteness» [12]:
given
anyarrow 0 (x) :1 -> B
inG [x] ,
there is aunique
arrowfj
A -> B inQ
suchthat 0 (x). f x,
where .x .=.
denotes(external) equality
inG [ x] .
WhenQ
is adogma
orpredogma,
we may take B= -O- ,
thenf
cor-responds
to an arrow 1 ->P A ,
which we denoteby {x C A | 0 (x)}.
Other
logical symbols
may be defined in terms ofequality
as followsThus any formula of
ordinary
typetheory
may beinterpreted
in anydogma.
Of course, if we want to allow for Peano
arithmetic,
we mustadjoin
a nat-ural number
object
to thedogma
inquestion [13].
Type theory
is notjust
alanguage,
but a deductive system. Given aset
X = {x1, .... , xm I
of variables oftypes A 1, ... , Am respectively,
onewrites
to indicate that
w (X)
may be deduced from theassumptions 01(X),...
..., 0m (X) according
to the rules of intuitionistic typetheory.
We shallshow how such an entailment is
interpreted
in adogma. Using
cartesianproducts,
one mayreplace X by
asingle
variable x of typeUsing
functionalcompleteness,
one mayreplace 0i (x) by fi x, Vi (x) by
gx , where
f
iand g
are arrows A - Q . We shall say that thegiven
entail-ment holds in the dogma G if {f1,..., fm} -i A
g.It may be checked that if the entailment
01 (x), ... , 0n (X) -i X Y (X)
is
provable
inintuitionistic
typetheory,
then it holds in anydogma.
As is
well-known,
a topos is apredogma
in which the functorHom( -,0)
isnaturally equivalent
to thesubobject
functor.Why
is a toposa
dogma?
In a topos one definesSA :
A X A - Q as the characteristic mor-phism
of themonomorphism 1A , 1A > : A -> A X A .
Givenfi , g: A - Q,
weshall say that
{f1,..., fn} -i A g
means thefollowing:
for allh:
B ->A ,
*)
The converse of this statement is also true, in view of the existence of the freedogma
generatedby
the emptygraph,
which is discussed later.It is then
easily
checked that conditions( 1 )
to( 11)
hold in a topos. This definition isclosely
related to the so-calledKripke-Joyal
semantics[16].
It
immediately
allows us tointerpret
intuitionist typetheory
in any topos.Actually
we obtain a functorU: Top -> Dog
from the category oftoposes
to that ofdogmas.
Themorphisms
inTop
are the so-called «lo-gical morphisms ».
Themorphisms
inDog
are functors that preserve thedogma
structure on the nose.They
were called « orthodox » functors in[13] ;
but we may as well call them
logical functors,
asthey specialize
to thelogical morphisms
inTop .
The functor U thus is an inclusion and we mayregard Top
as a fullsubcategory
ofDog .
To obtain a left
adjoint
F to the functor U one wants to constructa topos
F(G)
for eachdogma d together
with alogical
functorH(j:
d - U F ( Q )
sothat,
for eachlogical
functorG: G -> U (B) , were 3
is atopos, there is a
unique morphism
Volger [17]
succeeded indoing
this with somewaving
ofhands:
G’ wasnot
exactly
afunctor, only
a lax functor withG’(gf) = G’(g) G’(f) ,
andit was
only unique
up toisomorphism.
How does one get around this
difficulty?
Bill Lawvere has suggest- ed that one should meet the two-category structure ofTop
head on. Ac-cording
to MaxKelly,
thetwo-morphisms
inTop
are allisomorphisms,
soone should
study
lax functors with coherentisomorphisms
and redefine theword
«adjoint»
for this context. Rather thangetting bogged
down in two-category
theory,
another solution wasproposed
in[13 .
Let
Top,
be thesubcategory
ofTop
whoseobjects
are toposes which havecanonical subobjects. By
this we mean that in eachequivalence
class of
monomorphisms A >-> B
there is aunique
canonical>> one and that canonicalmonomorphisms satisfy
thefollowing
obvious conditions:identity
arrows andcompositions
of canonical monos arecanonical, and,
iff:
c - A and g: D -> B are canonical monos, so arewhere
P
isthecovariantpowerset
functor.Furthermore,
let themorphisms
of
Top 0
belogical morphisms
which preserve canonicalsubobjects.
Thenthe functor
Uo : Top 0 -> Dog
is nolonger full,
but it has a leftadjoint F 0 ,
without
waving
of hands . The details are found in[ 13].
Some
people
feelunhappy
whenbeing
asked to confine attention totoposes
with canonicalsubobjects.
So let uspoint
out that all toposes oc-curing
in nature(sets, presheaves, sheaves, ... )
have canonical subob-jects.
Forexample,
we cansurely distinguish
agenuine
subset of the setN of natural numbers from a
monomorphism
into N .Of
course,toposes
in-geniously
constructedby
mathematicians need not have canonical subob-jects. Nevertheless,
every topos isequivalent
to one with canonical sub-objects.
To seethis,
oneonly
has to take the arrows withtarget Q
in theold
topos
asobjects
of the new topos. Moreprecisely, regarding
the topos(t
as adogma U (G) ,
the toposF0 U (G)
has canonicalsubobjects
andis
equivalent
tod .
At any rate, one has thefollowing:
THEOR EM.
The category Top
contains asubcategory Top 0
such thatevery
object of Top
isequivalent by
alogical functor
to anobject o f Top 0
and
suchthat
the restrictionU 0
toTopo of
theforgetful functor U:
Top -> Grph
has aleft adjoint Fo.
From now on we shall write
To p
forTop o
andreplace U0
andF o by U
and Frespectively.
The
adjunction
functorHG :G -> t/F(8) )
has thefollowing
proper-ties
proved
in[13] :
( 1 ) H(i
is faithful if andonly
if the «singleton» morphism d *A: A ->
P Ais a
monomorphism
for eachobject A .
This is alsoequivalent
tosaying
thatwhenever F V x E A f x =
g x holdsin G,
thenf - =.
g inQ .
We may ex- press thisby
theslogan:
internalequality implies
externalequality.
It should be remarked that the formula
d x C A f x =
gxappearing
above is not in the
language
of pure typetheory,
but in theapplied
lan-guage which admits all
objects
of8
as types and also termsproduced by
arrows of
(1, according
to the rule that if a is a term of typeA
andf: A- B
an arrow in
Q
thenf a
is a term oftype B .
( 2 ) H(j
is full and faithful if andonly if,
for eachobject A ,
the mor-phism 8x :
A -> P A is anequalizer
of two arrows into someobject
of theform P B . This is
equivalent
tosaying that d has description :
ifholds in
G ,
then there is aunique
arrowf ;
A -> B such thatholds in
Q . (It
follows from this that internalequality implies
externalequality,
as is seenby taking
(3) Hgt
is anequivalence
if andonly
ifC4
is a topos.-Vie shall mention two uses to which the functor
F: Dog -> Top
canbe put.
I. Construction
o f
thefree topos generated by
agi,acph X.
As has
already
been mentionedby Volger [ 17J,
sincedogmas
areequational
overgraphs,
one may construct the freedogma Fd (X) generated
by
agraph X by
the method of[10].
The free toposgenerated by X
is thengiven by F Fd(X) ,
Free toposesgenerated by graphs
can also be cons-tructed
directly, using
thelanguage
of typetheory,
as in Boileau[1],
Coste[4],
Fourm an[6]
and Lambe k- Scott[14].
Il. Adjunction o f
an indeterminate arrow x: 1 -> A to atopos Cl.
First
form d - d [x] ,
this isonly
adogma,
then formto get a topos. There is some
analogy
to the situation for fields :hence the notation.
However,
theanalogy
is notcomplete,
sinceF(x)
does not have the
expected
universal property, whileG(x) does:
let Hbe the
morphism li - G(x)
inTop , then,
for anyF: G -> G’
inTop
andany a: 1
F(A)
inQ’ ,
there exists aunique F’: G(x)-> (1’
inTop
suchthat
F’H
= F andF’(x)
=. a.It will be of interest to compare the
polynomial
toposC1( x)
withthe slice topos
CIIA ,
whoseobjects
are arrowsf; B -> A, B being
any ob-ject
of(t,
and whose arrows are commutativetriangles.
It was noticed forGrothendieck toposes in
[7]
and forelementary
toposesby J oyal (unpu- blished)
thatd/A
behaves much likea( x).
First there is alogical
func-tor
H :G -> G/A
which sends theobject
B of(1
onto theobject IT A,B :
A
X B - A
ofG/A . Moreover, G/A
contains the arrowwhich behaves like an indeterminate in the
following
way. Given any lo-gical
functorF: d - G’
and any arrow a : 1 ->F( A)
ind ’ ,
there exists alogical
functorF’; d/A - (f’, unique
up to naturalisomorphism,
such thatF’
is constructed at theobject f:
B , Aby forming
thepullback:
One could make F’
unique by stipulating
thatF’(f)
is a canonicalsubobject
ofF’( B ) ,
but even thenF’H
cannot beequal
to F .For,
if weapply
the above construction to theobject
F’H( C)
will be a canonicalsubobject
ofF(AXC) = F(A) X F(C),but
the
monomorphism F( C ) - F (A) X F (C)
is not canonical. We don’t know whether theSGA 4- Joyal
construction can be fixed up to exhibit the expect- ed universalproperty
on the nose.Failing this,
our construction ofC1( x)
via
dogmas
will have to serve.Finally,
let us refer to the veryinteresting
concept of«graphical
algebras
discussedby
Albert Burroni[2].
This notion includes notonly categories,
cartesiancategories,
cartesian closedcategories,
monoidalclosed
categories, predogmas
anddogmas,
all of which we haveregarded
as
algebraic
overgraphs,
butsupposedly
alsocategories
with canonicai limits or colimits and toposes with canonicalsubobjects.
This suggests thatTop
is monadic over the category ofgraphs *).
D ep artm ent of Mathematics Mc Gill
University
805 Sherbrooke Street ’%est
MONTREAL, P. Q.
CANADA H3A 2K6
*)
NOT E ADDED IN MARCH 1981. In his revisedmanuscript [2]
now called«Algèbres graphiques »,
Burroniactually
asserts this. One of the present authors hasproved
thatTop
is monadic over Cat.REFERENCES.
1. A. BOILEAU,
Types
vs topos,Thesis,
Université deMontréal,
1975.2. A. BUR RONI, Sur une utilisation des
graphes
dans lelangage
de lalogique,
(Colloque
d’Amiens1980),
Cahiers deTopo.
et Géom.Diff.
(à paraître).
3. A. CHURCH, A foundation for the
simple theory
of types, J.Symbolic Logic
5( 1940),
56-68.4. M. COSTE,
Logique
d’ordresupérieur
dans les toposélémentaires,
Séminaire J. Bénabou ( 1974).5. H. B. CURRY & R. FEYS,
Combinatory Logic
1, NorthHolland,
1958.6. M.P.
FOURMAN,
Thelogic
oftopoi,
inJ. Barwise,
Handbookof
mathematicalLogic,
North-Holland 1977, 1053-1090.7. A. GROTHENDIECK & J.L. VERDIER, Exposé IV in Théorie des topos, Lec- ture Notes in Math. 269 ( SGA 4),
Springer
( 1972).8. R. GUITART, Les monades involutives en théorie élémentaire des
ensembles,
C. R. A. S. Paris 277 ( 1973), 935-937.9. L. HENKIN,
Completeness
in thetheory
oftypes, J. Symbolic Logic
15 ( 1950), 81-91.10. J. LAMBEK, Deductive systems and
categories
II, Lecture Notes in Math.86, Springer
(1969),
76-122.11. J. LAMBEK, Deductive systems and
categories
III, Lecture Notes in Math. 274Springer (1969),
57-8 2.12. J. LAMBEK, Functional
completeness
of cartesiancategories,
Annalsof
Math.Logic
6 ( 1974), 259- 292.13. J. LAMBEK, From types to sets, Advances in Math. 36 ( 1980), 113-164.
14. J. LAMBEK & P.J. SCOTT, Intuitionist type
theory
and the free topos, J. Pure andApplied Algebra
19(1980),
576-619.15. J. LAMBEK &
P. J. SCOTT,
Intuitionist type theory andfoundations,
J. Philo-sophical Logic
7( 1980),
1- 14.16. G. OSIUS,
Logical
and set theoretical tools inelementary topoi,
Lecture Notes in Math. 445,Sp ringe r (1975),
297 - 346.17. H. VOLGER,