-
Notifications
You must be signed in to change notification settings - Fork 3
/
paper-filmat.tex
1857 lines (1625 loc) · 97.7 KB
/
paper-filmat.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
\documentclass[graybox]{svmult}
\pdfoutput=1
\usepackage{amsmath,amssymb,etex,ifxetex}
\usepackage{type1cm}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage[bottom]{footmisc}
\usepackage{newtx}
\usepackage[utf8]{inputenc}
\usepackage{mathtools,ragged2e}
\usepackage{tikz}
\usetikzlibrary{calc,shapes,shapes.callouts,shapes.arrows,patterns,fit,backgrounds,decorations.pathmorphing}
\usepackage{booktabs,framed}
\usepackage[all]{xy}
\usepackage[protrusion=true,expansion=true]{microtype}
\usepackage{xspace}
\usepackage{marginnote,animate,ocgx2}
\usepackage{natbib}
\usepackage[{colorlinks,citecolor=[rgb]{0,0.1,0}}]{hyperref}
%\usepackage{geometry}
%\geometry{lmargin=4.6cm,rmargin=4.5cm}
\graphicspath{{images/}}
\usepackage{pifont}
\newcommand{\cmark}{\ding{51}}
\newcommand{\xmark}{\ding{55}}
\definecolor{mypurple}{RGB}{150,0,255}
\usepackage{hyperref}
%\theoremstyle{definition}
%\newtheorem{defn}{Definition}[section]
%\newtheorem{ex}[defn]{Example}
%
%\theoremstyle{plain}
%\newtheorem{prop}[defn]{Proposition}
%\newtheorem{cor}[defn]{Corollary}
%\newtheorem{lemma}[defn]{Lemma}
%\newtheorem{thm}[defn]{Theorem}
%\newtheorem{scholium}[defn]{Scholium}
%
%\theoremstyle{remark}
%\newtheorem{rem}[defn]{Remark}
%\newtheorem{question}[defn]{Question}
%\newtheorem{speculation}[defn]{Speculation}
%\newtheorem{caveat}[defn]{Caveat}
%\newtheorem{conjecture}[defn]{Conjecture}
\newenvironment{indentblock}{%
\list{}{\leftmargin\leftmargin}%
\item\relax
}{%
\endlist
}
%\newextarrow{\xbigtoto}{{20}{20}{20}{20}}{\bigRelbar\bigRelbar{\bigtwoarrowsleft\rightarrow\rightarrow}}
\renewcommand{\E}{\mathcal{E}}
\newcommand{\B}{\mathcal{B}}
\newcommand{\BB}{\mathbb{B}}
\newcommand{\NN}{\mathbb{N}}
\newcommand{\QQ}{\mathbb{Q}}
\newcommand{\TT}{\mathbb{T}}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\CC}{\mathbb{C}}
\newcommand{\ZZ}{\mathbb{Z}}
\renewcommand{\P}{\mathcal{P}}
\renewcommand{\O}{\mathcal{O}}
\newcommand{\defeq}{\vcentcolon=}
\newcommand{\op}{\mathrm{op}}
\DeclareMathOperator{\Spec}{Spec}
\DeclareMathOperator{\Hom}{Hom}
\DeclareMathOperator{\Mod}{Mod}
\DeclareMathOperator{\Sh}{Sh}
\DeclareMathOperator{\Zar}{Zar}
\DeclareMathOperator{\PSh}{PSh}
\newcommand{\Set}{\mathrm{Set}}
\newcommand{\Eff}{\mathrm{Ef{}f}}
\renewcommand{\_}{\mathpunct{.}\,}
\newcommand{\effective}{ef{}fective\xspace}
\newcommand{\effectively}{ef{}fectively\xspace}
\newcommand{\?}{\,{:}\,}
\newcommand{\realizes}{\Vdash}
\newcommand{\notnot}{\emph{not~not}\xspace}
\newcommand{\seq}[1]{\mathrel{\vdash\!\!\!_{#1}}}
\newcommand{\stacksproject}[1]{\cite[{\href{https://stacks.math.columbia.edu/tag/#1}{Tag~#1}}]{stacks-project}}
\renewcommand{\paragraph}[1]{\noindent\textbf{#1.}}
\begin{document}
\addtocounter{chapter}{3}
\title{Exploring mathematical objects from custom-tailored mathematical universes}
\author{Ingo Blechschmidt}
\institute{Ingo Blechschmidt \at Universität Augsburg, Institut für Mathematik,
Universitätsstr. 14,
86159 Augsburg, Germany, \email{ingo.blechschmidt@math.uni-augsburg.de}}
\maketitle
\abstract{
Toposes can be pictured as mathematical universes. Besides the standard topos,
in which most of mathematics unfolds, there is a colorful host of alternate
toposes in which mathematics plays out slightly
differently.
For instance, there are toposes in which the axiom of choice and the
intermediate value theorem from undergraduate calculus fail.
The purpose of this contribution is to give a glimpse of the toposophic
landscape, presenting several specific toposes and exploring their peculiar
properties, and to explicate how toposes provide distinct lenses through
which the usual mathematical objects of the standard topos can be viewed.
}
\keywords{topos theory, realism debate, well-adapted language,
constructive mathematics}
\medskip
\noindent
Toposes can be pictured as mathematical universes in which we can do
mathematics. Most mathematicians spend all their professional life in just a
single topos, the so-called \emph{standard topos}. However, besides the
standard topos, there is a colorful host of alternate toposes which are just as
worthy of mathematical study and in which mathematics plays out slightly
differently (Figure~\ref{fig:landscape}).
\begin{figure}[b]
\centering
\tikzstyle{topos} = [draw=mypurple, very thick, rectangle, rounded corners, inner sep=5pt, inner ysep=10pt]
\tikzstyle{title} = [fill=mypurple, text=white]
\input{images/primes.tex}
\newcommand{\drawbox}[4]{
\node[topos, #4] [fit = #3] (#1) {};
\node[title] at (#1.north) {#2};
}
\newcommand{\muchstuff}{
\includegraphics[height=3em]{filmat}
\scalebox{0.5}{\sieve{14}{2}}
}
\newcommand{\muchstuffplaceholder}{
\includegraphics[height=3em]{filmat-placeholder}
\scalebox{0.5}{\fakesieve{14}{2}}
}
\newcommand{\fewstuff}{
\includegraphics[height=3em]{filmat}
\scalebox{0.5}{\sieve{7}{2}}
}
\newcommand{\threeblobs}{
\colorbox{mypurple}{\ \ }\quad
\colorbox{mypurple}{\ \ }\quad
\colorbox{mypurple}{\ \ }
}
\begin{tikzpicture}
\node (objs-set0) at (0,0) {
\muchstuff
};
\node[scale=0.4] (objs-set1) at (-3.5,-2.5) {
\fewstuff
};
\node[scale=0.4] (objs-eff1) at (3.5,-2.5) {
\fewstuff
};
\node[scale=0.4] (objs-sh1) at (0,-2.5) {
\fewstuff
};
\node (prop-set1) [below of=objs-set1, align=left] {
The usual laws \\
of logic hold.
};
\node (prop-eff1) [below of=objs-eff1, align=left] {
Every function \\
is computable.
};
\node (prop-sh1) [below of=objs-sh1, align=left] {
The axiom of \\
choice fails.
};
\node (more-eff1) [below of=prop-eff1] {
\threeblobs
};
\node (more-sh1) [below of=prop-sh1] {
\threeblobs
};
\node (more-set1) [below of=prop-set1] {
\threeblobs
};
\drawbox{set1}{$\mathrm{Set}$}{(objs-set1) (prop-set1) (more-set1)}{}
\drawbox{eff1}{Ef{}f}{(objs-eff1) (prop-eff1) (more-eff1)}{tape}
\drawbox{sh1}{$\mathrm{Sh}\, X$}{(objs-sh1) (prop-sh1) (more-sh1)}{draw=none}
\def\R{8pt}
\begin{pgfonlayer}{background}
\draw[decoration={bumps,segment length=8pt}, decorate, very thick, draw=mypurple]
($(sh1.south west) + (\R, 0)$) arc(270:180:\R) --
($(sh1.north west) + (0, -\R)$) arc(180:90:\R) --
($(sh1.north east) + (-\R, 0)$) arc(90:0:\R) --
($(sh1.south east) + (0, \R)$) arc(0:-90:\R) --
cycle;
\end{pgfonlayer}
\drawbox{set0}{$\mathrm{Set}$}{(objs-set0) (set1) (eff1) (sh1)}{}
\end{tikzpicture}
\caption{\label{fig:landscape}A glimpse of the toposophic landscape,
displaying alongside the standard topos~$\Set$ two further toposes.}
% Each topos comes with its own copy of the natural numbers and all the other
% familiar mathematical objects.
% Toposes are still mathematical structures and hence part of the standard
% topos, which is why the standard topos is also drawn to encompass ...
\end{figure}
%\newcommand{\RR}{\mathbb{R}}
For instance, there are toposes in which the axiom of choice and the
intermediate value theorem from undergraduate calculus fail, toposes in which
any function~$\RR \to \RR$ is continuous and toposes in which infinitesimal
numbers exist.
The purpose of this contribution is twofold.
\begin{enumerate}
\item We give a glimpse of the toposophic landscape, presenting several
specific toposes and exploring their peculiar properties.
\item We explicate how toposes provide distinct lenses through which the
usual mathematical objects of the standard topos can be viewed.
\end{enumerate}
Viewed through such a lens, a given mathematical object can have different
properties than when viewed normally. In particular, it can have
better properties for the purposes of specific applications, especially if
the topos is custom-tailored to the object in question. This change of
perspective has been used in mathematical practice.
% and demonstrates that toposes go much beyond being logicians' testbeds.
To give just a taste of what
is possible, through the lens provided by an appropriate topos, any given ring
can look like a field and hence mathematical techniques for fields also apply,
through the lens, to rings.
We argue that toposes and specifically the change in perspective provided by
toposes are ripe for philosophical analysis. In particular, there are the
following connections with topics in the philosophy of mathematics:
\begin{enumerate}
\item Toposes enrich the realism/anti-realism debate in that they paint the larger
picture that the platonic heaven of mathematical objects is not unique: besides
the standard heaven of the standard topos, we can fathom the alternate
heavens of all other toposes, all embedded in a second-order heaven.
\item To some extent, the mathematical landscape depends on the commonly agreed-upon rules of
mathematics. These are not entirely absolute; for instance, it is conceivable
that from the foundational crisis Brouwer's intuitionism would have emerged as
the main school of thought and that we would now all reject the law of excluded
middle. Toposes allow us to explore alternatives to how history
has played out.
\item Mathematics is not only about studying mathematical objects, but also
about studying the relations between mathematical objects. The distinct view
on mathematical objects provided by any topos uncovers relations which
otherwise remain hidden.\footnote{The research
program put forward by~\cite{caramello:tst} provides a further topos-theoretic way for
uncovering hidden relations, though not between objects but between mathematical
theories. \textit{\textcolor{red}{Note to editor: please insert cross reference to Olivia's chapter of
this book.}}}
\item In some cases, a mathematical relation can be expressed quite succinctly
using the language of a specific topos and not so succinctly using the language
of the standard topos. This phenomenon showcases the importance of
\emph{appropriate language}.
\item Toposes provide new impetus to study constructive mathematics and
intuitionistic logic, in particular also to restrict to intuitionistic
logic on the meta level and to consider the idea that the platonic heaven might
be governed by intuitionistic logic.
\end{enumerate}
We invite further research on these connections.
We intend this contribution to be self-contained and do not assume familiarity with
topos theory or category theory, having a diverse readership of people interested in philosophy of
mathematics in mind. However, to make this text more substantial to
categorically-inclined readers, some categorical definitions are included.
These definitions can be skipped without impacting the main message of this contribution.
Readers who would like to learn more details
are directed to the survey of category theory by~\cite{sep:category-theory}
and to a gentle introduction to topos theory
by~\cite{leinster:introduction}. Standard references for the internal
language of toposes include~\cite[Chapter~VI]{moerdijk-maclane:sheaves-logic},
\cite[Chapter~14]{goldblatt:topoi},
\cite{caramello:preliminaries}, \cite{streicher:ctcl}, \cite{shulman:categorical-logic},
\cite[Chapter~6]{borceux:handbook3} and~\cite[Part~D]{johnstone:elephant}.
\bigskip
\paragraph{Other aspects of toposes} This note focuses on just a single
aspect of toposes, the view of toposes as alternate mathematical universes.
This aspect is not the only one, nor did it historically come first.
Toposes were originally conceived by Grothendieck in the early 1960s for the
needs of algebraic geometry, as a general framework for constructing and
studying invariants in classical and new geometric contexts, and it is in that
subject that toposes saw their deepest applications. The proof of Fermat's Last
Theorem is probably the most prominent such application, crucially resting on
the cohomology and homotopy invariants provided by toposes.
In the seminal work introducing
toposes by~\cite{artin-grothendieck-verdier:topos}, toposes are viewed as
generalized kinds of spaces. Every topological space~$X$ gives rise to a topos,
the \emph{topos of sheaves over~$X$}, and every continuous map gives rise to a
\emph{geometric morphism} between the induced sheaf toposes, but not every
topos is of this form. While the open sets of a topological space are required
to be parts of the space, the opens of toposes are not; and while for open
subsets~$U$ and~$V$ there is only a truth value as to whether~$U$ is contained
in~$V$, in a general topos there can be many distinct ways how an open is
contained in another one. This additional flexibility is required in situations
where honest open subsets are rare, such as when studying the étale cohomology
of a scheme as in~\cite{milne:etale}.
That toposes could also be regarded as mathematical universes was realized only
later, by Bill Lawvere and Myles Tierney at the end of the 1960s. They abstracted some of
the most important categorical properties of Grothendieck's toposes into what
is now known as the definition of an \emph{elementary topos}. Elementary
toposes are considerably more general and less tied to geometry than the
original toposes. The theory of elementary toposes has a substantially
different, logical flavor, not least because a different notion of morphism
plays an important role. To help disambiguate, there is a trend to rename
elementary toposes to \emph{logoses}, but this text still follows the standard
convention.
A further perspective on toposes emerged in the early 1970s with the discovery
that toposes can be regarded as embodiments of a certain kind of first-order
theories, the \emph{geometric theories} briefly discussed on
page~\pageref{item:classifying-topos}. The so-called \emph{classifying toposes}
link geometrical and logical aspects and are fundamental to Olivia Caramello's
bridge-building program set out in~\cite{caramello:tst}. Geometrically, the classifying
topos of a geometric theory~$\TT$ can be regarded as the generalized space of
models of~$\TT$; this idea is due to~\cite{hakim:relative-schemes}, though she did not cast her discovery in
this language. Logically, the classifying topos of~$\TT$ can be regarded as a
particular mathematical universe containing the \emph{generic~$\TT$-model}, a
model which has exactly those properties which are shared by all models.
Yet more views on toposes are fruitfully employed --
\cite[pages~vii--viii]{johnstone:elephant} lists ten more -- but we shall not review
them here. A historical survey was compiled by~\cite{mclarty:history}.
\bigskip
\paragraph{Acknowledgments} We are grateful to Andrej Bauer, Martin
Brandenburg, Sina Hazratpour, Matthias Hutzler, Marc Nieper-Wißkirchen and
Alexander Oldenziel for invaluable discussions shaping this work, to Moritz
Laudahn, Matthias Hutzler and Milan Zerbin for their careful criticism of
earlier drafts and to Todd Lehman for the code for parts of
Figure~\ref{fig:landscape}. This note also profited substantially from the
thorough review by three anonymous referees, whose efforts are much
appreciated and gladly acknowledged. We thank the organizers and all participants of the
Mussomeli conference of the Italian Network for the Philosophy in Mathematics,
where this work was presented, for creating an exceptionally beautiful meeting. In
particular, we are grateful to Neil Barton, Danielle Macbeth, Gianluigi Oliveri
and Lorenzo Rossi for valuable comments.
%\tableofcontents
\section{Toposes as alternate mathematical universes}
A topos is a certain kind of \emph{category}, containing objects and
morphisms between those objects. The precise definition is recorded here only for
reference. Appreciating it requires some amount of category theory, but, as will be demonstrated in
the following sections, exploring the mathematical universe of a given topos
does not.
\begin{definition}A \emph{topos} is a category which has all finite
limits, is cartesian closed, has a subobject classifier and contains a natural
numbers object.\footnote{More precisely, this is the definition of an
\emph{elementary topos with a natural numbers object}. Since this definition is
less tied to geometry than Grothendieck's (as categories of sheaves over
sites), there is a trend to call these toposes \emph{logoses}. However, that
term also has other uses.}\end{definition}
Put briefly, these axioms state that a topos should share several categorical
properties with the category of sets; they ensure that each topos contains its
own versions of familiar mathematical objects such as natural numbers, real
numbers, groups and manifolds, and is closed under the usual constructions
such as cartesian products or quotients.
The prototypical topos is the standard topos:
\begin{definition}The \emph{standard topos}~$\Set$ is the category which has all
sets as its objects and all maps between sets as morphisms.\end{definition}
Given a topos~$\E$, we write~``$\E \models \varphi$'' to denote that a
mathematical statement~$\varphi$ \emph{holds in~$\E$}. The meaning of~``$\E \models
\varphi$'' is defined by recursion on the structure of~$\varphi$ following the
so-called \emph{Kripke--Joyal translation rules}. For instance, the rules for
translating conjunction and falsity read
\[ \begin{array}{lcl}
\E \models (\alpha \wedge \beta) &\qquad\text{iff}\qquad&
\E \models \alpha \quad\text{and}\quad \E \models \beta, \\[0.2em]
\E \models \bot &\qquad\text{iff}\qquad&
\text{$\E$ is the trivial topos}.
\end{array} \]
The remaining translation rules are more
involved, as detailed by~\cite[Section~VI.7]{moerdijk-maclane:sheaves-logic}; we do not list them here for
the case of a general topos~$\E$, but we will state them in the next sections
for several specific toposes. We refer to~``$\E \models \varphi$'' also as the
``external meaning of the internal statement~$\varphi$''.
In the definition of~$\E \models \varphi$, the statement~$\varphi$ can be any
statement in the language of a general version of higher-order predicate
calculus with dependent types, with a base type for each object of~$\E$ and
with a constant of type~$X$ for each morphism~$1 \to X$ in~$\E$. In practice almost any mathematical statement
can be interpreted in a given topos.\footnote{The main exceptions are
statements from set theory, which typically make substantial use of a global
membership predicate~``$\in$''. Toposes only support a typed \emph{local}
membership predicate, where we may write~``$x \in A$'' only in the context of
some fixed type~$M$ such that~$x$ is of type~$M$ and~$A$ is of
type~$P(M)$, the power type of~$M$. We refer
to~\cite{fourman:sheaf-models,streicher:forcizf,awodey-butz-simpson-streicher:bist}
for ways around this restriction.} We refrain from giving a precise definition
of the language here, but refer to the references~\cite[Section~7]{shulman:stack}
and~\cite[Section~VI.7]{moerdijk-maclane:sheaves-logic} for details.
It is by the Kripke--Joyal translation rules that we can access the alternate
universe of a topos. In the special case of the standard topos~$\Set$, the
definition of~``$\Set \models \varphi$'' unfolds to~$\varphi$ for any
statement~$\varphi$. Hence a statement holds in the standard topos if and only
if it holds in the usual mathematical sense.
% FUTURE:
% \begin{remark}It might be helpful to picture mathematicians in a topos~$\E$. For
% exchanging ideas, they use the same mathematical language like we do, but their
% mathematical results seem unfamiliar or even wrong to us. Only when we remember
% to switch on the Kripke--Joyal translation engine their claims start making
% sense.\end{remark}
\subsection{The logic of toposes}\label{sect:logic-of-toposes}
By their definition as special kinds of
categories, toposes are merely essentially algebraic structures not unlike groups or vector
spaces. Hence we need to argue why we picture toposes as mathematical universes
while we do not elevate other kinds of algebraic structures in the same way.
For us, this usage is justified by the following metatheorem:
\begin{theorem}\label{thm:reasoning}Let~$\E$ be a topos and let~$\varphi$ be a
statement such that~$\E \models \varphi$. If~$\varphi$ intuitionistically
entails a further statement~$\psi$ (that is, if it is provable in
intuitionistic logic that~$\varphi$ entails~$\psi$), then~$\E \models
\psi$.\end{theorem}
This metatheorem allows us to \emph{reason} in toposes. When first exploring a
new topos~$\E$, we need to employ the Kripke--Joyal translation rules each time
we want to check whether a statement holds in~$\E$. But as soon as we
have amassed a stock of statements known to be true in~$\E$, we can find more
by deducing their logical consequences.
For instance, in any topos where the statement ``any map~$\RR \to \RR$ is
continuous'' is true, also the statement ``any map~$\RR \to \RR^2$ is
continuous'' is, since there is an intuitionistic proof that a map into a
higher-dimensional Euclidean space is continuous if its individual components
are.
The only caveat of Theorem~\ref{thm:reasoning} is that toposes generally only
support intuitionistic reasoning and not the full power of the ordinary
\emph{classical reasoning}. That is, within most toposes, the law of excluded
middle ($\varphi \vee \neg\varphi$) and the law of double negation elimination
($\neg\neg\varphi \Rightarrow \varphi$) are not available. It is intuitionistic
logic and not classical logic which is the common denominator of all toposes;
we cannot generally argue by contradiction in a topos.
While it may appear that these two laws pervade any mathematical theory, in
fact a substantial amount of mathematics can be developed intuitionistically
(see for
instance~\cite{mines-richman-ruitenburg:constructive-algebra,lombardi-quitte:constructive-algebra}
for constructive algebra,~\cite{bishop-bridges:constructive-analysis} for
constructive analysis
and~\cite{bauer:int-mathematics,bauer:video,melikhov:intuitionistic-logic} for
accessible surveys on appreciating intuitionistic logic) and hence the alternate universes provided by toposes
cannot be too strange: In any topos, there are infinitely many prime numbers,
the square root of two is not rational, the fundamental theorem of Galois
theory holds and the powerset of the naturals is uncountable.
That said, intuitionistic logic still allows for a considerable amount of
freedom, and in many toposes statements are true which are baffling if one has
only received training in mathematics based on classical logic. For instance, on first sight it
looks like the sign function
\[ \operatorname{sgn} : \RR \longrightarrow \RR,\ x \longmapsto \begin{cases}
-1, & \text{if $x < 0$,} \\
0, & \text{if $x = 0$,} \\
1, & \text{if $x > 0$,}
\end{cases} \]
is an obvious counterexample to the statement ``any map~$\RR \to \RR$ is
continuous''. However, a closer inspection reveals that the sign function
cannot be proven to be a total function~$\RR \to \RR$ if only intuitionistic
logic is available. The domain of the sign
function is the subset~$\{ x \in \RR \,|\, x < 0 \vee x = 0 \vee x > 0 \}
\subseteq \RR$, and in intuitionistic logic this subset cannot be shown to
coincide with~$\RR$.
Sections~\ref{sect:effective-topos} to~\ref{sect:smooth} present several
examples for such anti-classical statements and explain how to make sense of
them. There are also toposes which are closer to the standard topos and do not validate such
anti-classical statements:
\begin{definition}A topos~$\E$ is \emph{boolean} if and only if the laws of classical
logic are true in~$\E$.\end{definition}
Since exactly those statements hold in the standard topos which hold on the
meta level, the standard topos is boolean if and only if, as is commonly supposed, the laws
of classical logic hold on the meta level. Most toposes of interest are not
boolean, irrespective of one's philosophical commitments about the meta level,
and conversely some toposes are boolean even if classical logic is not
available on the meta level.
\begin{remark}The axiom of choice (which is strictly speaking not part of
classical logic, but of classical set theory) is also not available in most
toposes. By \emph{Diaconescu's theorem}, the axiom of choice implies the law of
excluded middle in presence of other axioms which are available in any topos.
\end{remark}
%A natural question is this: \emph{Which of
%the familiar mathematical facts of the standard topos carry over to arbitrary
%toposes?} For any given mathematical statement~$\varphi$ and topos~$\E$,
%we can unroll the definition of~$\E \models \varphi$ to try to check
%whether~$\varphi$ holds in~$\E$ on an individual case-by-case basis; but since
%any topos supports intuitionistic reasoning, we may at once conclude: \emph{Any
%theorem of constructive mathematics, that is any theorem deduced using only
%intuitionistic logic, is valid in any topos.}
%Mathematicians are familiar with the fact that the usual objects of
%mathematical study are governed by the laws of ordinary \emph{classical
%reasoning}. ...
At this point in the text, all prerequisites for exploring toposes have been
introduced. The reader who wishes to develop, by explicit examples, intuition
for working internally to toposes is invited to skip ahead to
Section~\ref{sect:effective-topos}.
\subsection{Relation to models of set theory} In set theory, philosophy and
logic, models of set theories are studied. These are structures~$(M,\in)$
validating the axioms of some set theory such as Zermelo--Fraenkel set theory
with choice~\textsc{zfc}, and they can be pictured as ``universes in which we
can do mathematics'' in much the same way as toposes.
In fact, to any model~$(M,\in)$ of a set theory such as~\textsc{zf}
or~\textsc{zfc}, there is a topos~$\Set_M$ such that a statement holds
in~$\Set_M$ if and only if it holds in~$M$.\footnote{The topos~$\Set_M$ can be
described as follows: Its objects are the elements of~$M$, that is the entities
which~$M$ believes to be sets, and its morphisms are those entities which~$M$
believes to be maps. The topos~$\Set_M$ validates the axioms of the structural
set theory \textsc{etcs}, see~\cite{mclarty:structuralism,marquis:foundations,barton-friedman:structures}, and models are isomorphic if and only if their
associated toposes are equivalent as
categories, see~\cite[Section~VI.10]{moerdijk-maclane:sheaves-logic}.}
\begin{example}The topos~$\Set_V$ associated to the universe~$V$ of all sets (if
this structure is available in one's chosen ontology) coincides with the
standard topos~$\Set$.\end{example}
In set theory, we use forcing and other techniques to construct new
models of set theory from given ones, thereby exploring the set-theoretic
multiverse. There are similar techniques available for constructing new toposes
from given ones, and some of these correspond to the techniques from set
theory.
However, there are also important differences between the notion of mathematical
universes as provided by toposes and as provided by models of set theory, both
regarding the subject matter and the reasons for why we are interested in them.
Firstly, toposes are more general than models of set theory. Every model of set
theory gives rise to a topos, but not every topos is induced in this way from a model of set
theory. Unlike models of~\textsc{zfc}, most toposes do not validate the law of excluded middle, much
less so the axiom of choice.
Secondly, there is a shift in emphasis. An important philosophical objective
for studying models of set theory is to explore which notions of sets are
coherent: Does the cardinality of the reals need to be the cardinal directly
succeeding~$\aleph_0$, the cardinality of the naturals? No, there are models of
set theory in which the continuum hypothesis fails. Do non-measurable sets of
reals need to exist? No, in models of~$\textsc{zf}+\textsc{ad}$,
Zermelo--Fraenkel set theory plus the axiom of determinacy, it is a theorem that
every subset of~$\RR^n$ is Lebesgue-measurable. Can the axiom of choice be
added to the axioms of~\textsc{zf} without causing inconsistency? Yes, if~$M$
is a model of~\textsc{zf} then~$L^M$, the structure of the constructible sets of~$M$, forms a
model of~\textsc{zfc}.
Toposes can be used for similar such purposes, and indeed have been,
especially to explore the various intuitionistic notions of sets. However, an important
aspect of topos theory is that toposes are used to explore the \emph{standard}
mathematical universe: truth in the \effective topos tells us what is
computable; truth in sheaf toposes tells us what is true locally; toposes
adapted to synthetic differential geometry can be used to rigorously work with
infinitesimals. All of these examples will be presented in more detail in the
next sections.
In a sense which can be made precise, toposes allow us to study the usual
objects of mathematics from a different point of view -- one such view for
every topos -- and it is a beautiful and intriguing fact that with the sole
exception of the law of excluded middle, the laws of logic apply to
mathematical objects also when viewed through the lens of a specific topos.
\subsection{A glimpse of the toposophic landscape}
There is a proper class of toposes. Figure~\ref{fig:landscape} depicts three
toposes side by side: the standard topos, a sheaf topos and the \effective
topos. Each of these toposes tells a different story of mathematics, and any
topos which is not the standard topos invites us to ponder alternative ways how
mathematics could unfold.
Some of the most prominent toposes are the following.
\begin{enumerate}
\item The \emph{trivial topos}. In the trivial topos, any statement whatsoever
is true. The trivial topos is not interesting on its own, but its existence
streamlines the theory and it can be an interesting question whether a given
topos coincides with the trivial topos.
\item $\Set$, the \emph{standard topos}. A statement is true in~$\Set$ iff it is true
in the ordinary mathematical sense.
\item $\Set_M$, the topos associated to any model~$(M,\in)$ of~\textsc{zf}.
\item $\Set^W$, the category of functors~$(W,\leq) \to \Set$ associated to
any Kripke model~$(W,\leq)$. A statement is true in this topos iff it is valid
with respect to the ordinary Kripke semantics of~$(W,\leq)$. This example shows
that the Kripke--Joyal semantics of toposes generalizes the more familiar
Kripke semantics.
\item $\Eff$, the \emph{\effective topos}. A statement is true in~$\Eff$ iff
if it has a \emph{computable witness} as detailed in
Section~\ref{sect:effective-topos}. In~$\Eff$, any function~$\NN \to \NN$ is
computable, any function~$\RR \to \RR$ is continuous and the countable axiom of
choice holds (even if it does not on the meta level).
\item $\Sh(X)$, the \emph{topos of sheaves} over any space~$X$. A statement is true
in~$\Sh(X)$ iff it holds \emph{locally on~$X$}, as detailed in
Section~\ref{sect:sheaf-toposes}. For most choices of~$X$, the
axiom of choice and the intermediate value theorem fail in~$\Sh(X)$, and this
failure is for geometric reasons.
\item $\Zar(A)$, the \emph{Zariski topos} of a ring~$A$ presented in
Section~\ref{sect:smooth}. This topos contains a mirror
image of~$A$ which is a field, even if~$A$ is not.
\item $\mathrm{Bohr}(A)$, the \emph{Bohr topos} associated to a noncommutative
C\textsuperscript{*}\kern-.1ex-algebra~$A$. This topos contains a mirror image
of~$A$ which is commutative. In this sense, quantum mechanical systems (which are
described by noncommutative C\textsuperscript{*}\kern-.1ex-algebras) can be
regarded as classical mechanical systems (which are described by commutative
algebras). Details are described by~\cite{butterfield-hamilton-isham:bohr,heunen-landsman-spitters:aqt}.
\item\label{item:classifying-topos}$\Set[\TT]$, the \emph{classifying topos} of a geometric theory~$\TT$.\footnote{A
geometric theory is a theory in many-sorted first-order logic whose axioms can be put as \emph{geometric
sequents}, sequents of the form~$\varphi \seq{\vec x} \psi$ where~$\varphi$
and~$\psi$ are geometric formulas (formulas built from equality and specified
relation symbols by the logical
connectives~${\top}\,{\bot}\,{\wedge}\,{\vee}\,{\exists}$ and by arbitrary
set-indexed disjunctions~$\bigvee$).} This topos contains the
\emph{generic~$\TT$-model}. For instance, the classifying topos of the theory
of groups contains the \emph{generic group}. Arguably it is this group
which we implicitly refer to when we utter the phrase ``Let~$G$ be a group.''.
The generic group has exactly those
properties which are shared by any group whatsoever.\footnote{More precisely,
this is only true for those properties which can be formulated as geometric
sequents. For arbitrary properties~$\varphi$, the statements~``the generic
group has property~$\varphi$'' and~``all groups have property~$\varphi$'' need
not be equivalent. This imbalance has mathematical applications and is explored
in~\cite{blechschmidt:nullstellensatz}.}
% FUTURE: Write just a little more on Set[T], that geom.impl. consequences spread.
% FUTURE: Give Set[T] its own section.
\item $T(\mathcal{L}_0)$, the \emph{free topos}. A statement is true in the free topos iff it is
intuitionistically provable. Lambek and Scott proposed that the free topos can
reconcile moderate platonism (because this topos has a certain universal
property which can be used to single it out among the plenitude of toposes),
moderate formalism (because it is constructed in a purely syntactic way) and
moderate logicism (because, as a topos, it supports an intuitionistic type
theory). Details are described by~\cite{lambek:incompatible,couture-lambek:reflections}.
\end{enumerate}
There are several constructions which produce new toposes from a given
topos~$\E$. A non-exhaustive list is the following.
\begin{enumerate}
\item Given an object~$X$ of~$\E$, the \emph{slice topos}~$\E/X$
contains the \emph{generic element}~$x_0$ of~$X$. This generic element can be
pictured as the element we implicitly refer to when we utter the
phrase~``Let~$x$ be an element of~$X$.''. A statement~$\varphi(x_0)$
about~$x_0$ is true in~$\E/X$ if and only if in~$\E$ the statement~$\forall x
\? X\_ \varphi(x)$ is true.
For instance, the topos~$\Set/\QQ$ contains the generic rational number~$x_0$.
Neither the statement~``$x_0$ is zero'' nor the statement~``$x_0$ is not zero''
hold in~$\Set/\QQ$, as it is neither the case that any rational number
in~$\Set$ is zero nor that any rational number in~$\Set$ is not zero. Like any
rational number, the number~$x_0$ can be written as a fraction~$\frac{a}{b}$.
Just as~$x_0$ itself, the numbers~$a$ and~$b$ are quite indetermined.
\item Given a statement~$\varphi$ (which may contain objects of~$\E$ as
parameters but which must be formalizable as a geometric sequent), there is a
largest subtopos of~$\E$ in which~$\varphi$ holds. This construction is useful
if neither~$\varphi$ nor~$\neg\varphi$ hold in~$\E$ and we want to
force~$\varphi$ to be true. If~$\E \models \neg\varphi$, then the resulting
topos is the trivial topos. (A subtopos is not simply a subcategory; rather, it
is more like a certain kind of quotient category. We do not give, and for the
purposes of this contribution do not need, further details.)
% FUTURE: The topos~$\E[\mathbb{O}]$ contains a \emph{generic object}.
\item There is a ``smallest dense'' subtopos $\Sh_{\neg\neg}(\E)$. This topos
is always boolean, even if~$\E$ and the meta level are not. For a mathematician who employs
intuitionistic logic on their meta level, the nonconstructive results of their
classical colleagues do not appear to make sense in~$\Set$, but they hold
in~$\Sh_{\neg\neg}(\Set)$. If classical logic holds on the meta level,
then~$\Set$ and~$\Sh_{\neg\neg}(\Set)$ coincide.
The topos~$\Sh_{\neg\neg}(\E)$ is related to the \emph{double negation
translation} from classical logic into
intuitionistic logic: A statement holds in~$\Sh_{\neg\neg}(\E)$ if
and only if its translation holds
in~$\E$~\cite[Theorem~6.31]{blechschmidt:phd}.
% FUTURE: ultrapowers, gluing
\end{enumerate}
Toposes are still mathematical structures, and as long as we study
toposes within the usual setup of mathematics, our toposes are all part of the
standard topos. This is why Figure~\ref{fig:landscape} pictures the standard
topos twice, once as a particular topos next to others, and once as the universe
covering the entirety of our mathematical discourse.\footnote{There is a fine print to consider. Technically, if we
work within~\textsc{zf} or its intuitionistic cousin~\textsc{izf}, most toposes
of interest are proper classes, not sets. In particular~$\Set$ itself is a
proper class. Hence Figure~\ref{fig:landscape} should not be interpreted as
indicating that toposes are contained in~$\Set$ as objects, which most are not.
In this regard toposes are similar to class-sized inner models in set theory.
We believe that the vague statement ``our toposes are all part of the standard topos'' is still an
apt description of the situation. A possible formalization is (the trivial
observation that) ``our toposes are all indexed categories over~$\Set$''.}
The toposes which we can study in mathematics do not tell us
all possible stories how mathematics could unfold, only those which appear
coherent from the point of view of the standard topos, and the topos-theoretic
multiverse which we have access to is just a small part of an even larger
landscape.\footnote{This paragraph employs an overly narrow conception of
``mathematics'', focusing only on those mathematical worlds which form toposes
and for instance excluding any predicative flavors of mathematics
(Laura Crosilla's survey in~\cite{crosilla:predicativity} is an excellent introduction).
Toposes are impredicative in the sense that any object of a topos is required to have a
powerobject. A predicative cousin of toposes are the \emph{arithmetic
universes} introduced by Joyal which have recently been an important object of
consideration by Maietti and
Vickers, see~\cite{maietti:au,maietti-vickers:induction,vickers:sketches}.}
To obtain just a hint of how the true landscape looks like, we can study topos
theory from the inside of toposes; the resulting picture can look quite
different from the picture which emerges from within the standard topos.
For instance, from within the standard topos, we can write down the
construction which yields the standard topos and the construction which yields
the \effective topos~$\Eff$ and observe that the resulting toposes are not at
all equivalent: In~$\Eff$, any function~$\RR \to \RR$ is continuous
while~$\Set$ abounds with discontinuous functions (at least if we assume a
classical meta level). In contrast, if we carry out these two constructions
from within the \effective topos, we obtain toposes which are elementarily
equivalent. More precisely, for any statement~$\varphi$ of higher order
arithmetic,
\[ \Eff \models (\Set \models \varphi) \qquad\text{iff}\qquad\Eff \models
(\Eff \models \varphi). \]
In this sense the construction which yields the \effective topos is
\emph{idempotent}~\cite[Section~3.8.3]{oosten:realizability}.
\begin{remark}The picture of a topos-theoretic multiverse is related to Hamkin's
multiverse view in set theory as put forward in~\cite{hamkins:multiverse}. In fact, the
topos-theoretic multiverse can be regarded as an extension of the set-theoretic
multiverse: While Hamkins proposes to embrace all models of set theory (not
necessarily all of them equally -- we might prefer some models over others), we propose to embrace all toposes (again
not necessarily all of them equally). As every model~$M$ of set theory
gives rise to a topos~$\Set_M$, the set-theoretic multiverse is contained in the
topos-theoretic one.
However, a central and intriguing feature of the multiverse view in set theory
has, as of yet, no counterpart in topos theory: namely a systematic study of
its modal logic with respect to various notions of relations between toposes.\end{remark}
\subsection{A syntactic account of toposes} We introduced toposes from a semantic
point of view. There is also a second, purely syntactic point of view on
toposes:
\begin{enumerate}
\item (semantic view) A topos is an alternate mathematical universe. Any topos
contains its own stock of mathematical objects. A ``transfer theorem'' relates
properties of those objects with properties of objects of the standard topos: A
statement~$\varphi$ about the objects of a topos~$\E$ holds in~$\E$ iff the
statement~``$\E \models \varphi$'' holds in the standard topos.
\item (syntactic view) A topos is merely an index to a syntactical translation
procedure. Any topos~$\E$ gives rise to a ``generalized modal operator'' which
turns a statement~$\varphi$ (about ordinary mathematical objects) into the
statement~``$\E \models \varphi$'' of the same kind (again about ordinary
mathematical objects).
\end{enumerate}
For instance, in the semantic view, the \effective topos is an alternative
universe which contains its own version of the natural numbers. These naturals
cannot be directly compared with the naturals of the standard topos, for they
live in distinct universes, but by the transfer theorem they are still linked in a
nontrivial way: For instance, the statement ``there are infinitely many primes
in~$\Eff$'' (a statement about natural numbers in~$\Eff$) is equivalent to the statement
``for any number~$n$, there \emph{\effectively} exists a prime number~$p > n$''
(a statement about natural numbers and computability in the standard topos).
(The meaning of~\emph{effectivity} will be recalled in
Section~\ref{sect:effective-topos}.)
In the syntactic view, the \effective topos merely provides a coherent way of
adding the qualification ``\effective'' to mathematical statements, for
instance turning the statement ``for any number~$n$, there exists a prime number~$p
> n$'' into ``for any number~$n$, there \emph{\effectively} exists a prime
number~$p > n$''. Similarly, a sheaf topos~$\Sh(X)$ provides a coherent way for
turning statements about real numbers and real functions into statements about
continuous~$X$-indexed families of real numbers and real functions.
The crucial point is that the translation scheme provided by any topos is sound
with respect to intuitionistic logic. Hence, regardless of our actual position
on toposes as alternate universes, working under the lens of a given topos
\emph{feels like} working in an alternate universe.
\section{The \effective topos, a universe shaped by computability}
\label{sect:effective-topos}
A basic question in computability theory is: Which computational tasks are
solvable in principle by computer programs? For instance, there is an algorithm
for computing the greatest common divisor of any pair of natural numbers, and
hence we say ``any pair of natural numbers \emph{\effectively} has a greatest
common divisor'' or ``the function~$\NN \times \NN \to \NN,\,(n,m) \mapsto
\operatorname{gcd}(n,m)$ is \emph{computable}''.
In such questions of computability, practical issues such as resource
constraints or hardware malfunctions are ignored; we employ the theoretical
notion of \emph{Turing machines}, a mathematical abstraction of the computers
of the real world.
A basic observation in computability theory is that there are computational tasks
which are not solvable even for these idealized Turing machines. The premier
example is the \emph{halting problem}: Given a Turing machine~$M$, determine
whether~$M$ terminates (comes to a stop after having carried out finitely
many computational steps) or not.
A Turing machine~$H$ which would solve this problem, that is read the
description of a Turing machine~$M$ as input and output one or zero depending
on whether~$M$ terminates or not, would be called a \emph{halting oracle}, and
a basic result is that there are no halting oracles. If we fix some \effective
enumeration of all Turing machines, then we can express the undecidability of
the halting problem also by saying that the \emph{halting function}
\[ h : \NN \longrightarrow \NN,\ n \longmapsto \begin{cases}
1, & \text{if the~$n$-th Turing machine terminates}, \\
0, & \text{otherwise,}
\end{cases} \]
is not computable.
The \emph{\effective topos}~$\Eff$ is a convenient home for computability
theory. A statement is true in~$\Eff$ if and only if it has a \emph{computable
witness}. For instance, a computable witness of a statement of the
form~``$\forall x\_ \exists y\_ \varphi(x,y)$'' is a Turing machine which, when
given an input~$x$, computes an output~$y$ together with a computable witness
for~$\varphi(x,y)$.
Section~\ref{sect:eff-examples} presents several examples to convey an
intuitive understanding of truth in the \effective topos; the precise
translation rules are displayed in Table~\ref{table:eff}. A precise definition
of the \effective topos requires notions of category theory which we do not
want to suppose here; it is included only for reference.
Introductory literature on the \effective topos
includes the references~\cite{hyland:effective-topos,oosten:realizability,phoa:effective,bauer:c2c}.
\begin{definition}\ \\[-1.2em]\begin{enumerate}
\item An \emph{assembly} is a set~$X$ together with a
relation~$({\realizes_X}) \subseteq \NN \times X$ such that for every element~$x
\in X$, there is a number~$n$ such that~$n \realizes_X x$.
\item A \emph{morphism of
assemblies}~$(X,{\realizes_X}) \to (Y,{\realizes_Y})$ is a map~$f : X \to Y$
which is \emph{tracked} by a Turing machine, that is for which there exists a
Turing machine~$M$ such that for any element~$x \in X$ and any number~$n$ such
that~$n \realizes x$, the computation~$M(n)$ terminates and~$M(n) \realizes
f(x)$.\end{enumerate}\end{definition}
A number~$n$ such that~$n \realizes_X x$ is called a \emph{realizer} for~$x$
and can be pictured as a concrete representation of the abstract element~$x$.
The \emph{assembly of natural numbers} is the assembly~$(\NN,{=_\NN})$ and the
\emph{assembly of functions~$\NN \to \NN$} is the
assembly~$(X,{\realizes})$ where~$X$ is the set of computable functions~$\NN
\to \NN$ and~$n \realizes f$ if and only if the~$n$-th Turing machine
computes~$f$. The category of assemblies is a regular category, but it is
missing \effective quotients. The \effective topos is obtained by a suitable
completion procedure:
\begin{definition}The \emph{\effective topos}~$\Eff$ is the ex/reg completion (as
in~\cite[Section~3.4]{menni:exact}) of the category of assemblies.\end{definition}
% FUTURE (in separate notes about the effective topos): Relationship to
% realizability
\subsection{Exploring the \effective topos}
\label{sect:eff-examples}
Due to its computational nature, truth in the \effective topos is quite
different from truth in the standard topos. This section explores the following
examples:
\bigskip
\begin{center}
\begin{tabular}{ll@{\qquad}l}
\toprule
Statement & in $\Set$ & in $\Eff$ \\
\midrule
Any natural number is prime or not prime. & \cmark{} (trivially) & \cmark \\
There are infinitely many primes. & \cmark & \cmark \\
Any function $\NN \to \NN$ is constantly zero or not. & \cmark{} (trivially) & \xmark \\
Any function $\NN \to \NN$ is computable. & \xmark & \cmark{} (trivially) \\
Any function $\RR \to \RR$ is continuous. & \xmark & \cmark \\
Markov's principle holds. & \cmark{} (trivially) & \cmark \\
Heyting arithmetic is categorical. & \xmark & \cmark \\
% FUTURE: Countable axiom of choice
\bottomrule
\end{tabular}
\end{center}
\bigskip
\newcommand{\dotparagraph}[1]{\noindent\textbf{#1}}
\begin{example}\textbf{``Any natural number is prime or not.''} Even without knowing what
a prime number is, one can safely judge this statement to be true in
the standard topos, since it is just an instance of the law of excluded middle.
By the Kripke--Joyal semantics, stating that this statement is true in the \effective topos
amounts to stating that there is a Turing machine which, when given a natural
number~$n$ as input, terminates with a correct judgment whether~$n$ is prime or
not. Such a Turing machine indeed exists -- writing such a program is often a
first exercise in programming courses. Hence the statement is also true in the
\effective topos, but for the nontrivial reason that primality can be
algorithmically tested.
\end{example}
\begin{example}\textbf{``There are infinitely many primes.''} A first-order formalization
of this statement is ``for any natural number~$n$, there is a prime
number~$p$ which is greater than~$n$'', and is known to be true in the standard
topos by any of the many proofs of this fact.
Its external meaning when interpreted in the \effective topos is that there exists
a Turing machine~$M$ which, when given a natural number~$n$ as input, terminates with a
prime number~$p > n$ as output. Such a Turing machine exists, hence the
statement is true in the \effective topos.\footnote{More precisely, the
machine~$M$ should also output the description of a Turing machine which
witnesses that~$p$ is prime and that~$p > n$. However, the statement~``$p$ is prime and~$p > n$''
is~$\neg\neg$-stable (even decidable), and for those statements witnesses are
redundant.}
\end{example}
\begin{example}\textbf{``Any function~$\NN \to \NN$ is constantly zero or not.''} Precisely,
the statement is
\[ \forall f \? \NN^\NN\_
\bigl((\forall n \? \NN\_ f(n) = 0) \vee
\neg
(\forall n \? \NN\_ f(n) = 0)\bigr). \]
By the law of excluded middle, this statement is trivially true in the standard
topos.
Its meaning when interpreted in the \effective topos is that there exists a
Turing machine~$M$ which, when given the description of a Turing machine~$F$ which
computes a function~$f : \NN \to \NN$ as input, terminates with a correct
judgment of whether~$f$ is the zero function or not. Such a machine~$M$ does
not exist, hence the statement is false in the \effective topos.
Intuitively, the issue
is the following. Turing machines are able to simulate other Turing machines,
hence~$M$ could simulate~$F$ on various inputs to search the list of
function values~$f(0), f(1), \ldots$ for a nonzero number. In case that after
a certain number of steps a nonzero function value is found, the machine~$M$
can correctly output the judgment that~$f$ is not the zero function. But if the
search only turned up zero values, it cannot come to any verdict -- it cannot
rule out that a nonzero function value will show up in the as yet unexplored
part of the function.
A rigorous proof that such a machine~$M$ does not exist reduces its assumed
existence to the undecidability of the halting problem.
\end{example}
\begin{remark}Quite surprisingly, there are infinite sets~$X$ for which any flavor of constructive
mathematics, in particular the kind which is valid in any topos, verifies the
\emph{omniscience principle}
\[ \forall f\?\BB^X\_ \bigl((\exists x\?X\_ f(x) = 0) \vee (\forall x\?X\_ f(x)
= 1)\bigr), \]
where~$\BB = \{ 0, 1 \}$ is the set of booleans. This is not the case for~$X =
\NN$, but it is for instance the case for the one-point compactification~$X =
\NN_\infty$ of the naturals. This phenomenon has been thoroughly explored by
Escardó~\cite{escardo:omniscience}.\end{remark}
\begin{example}\textbf{``Any function~$\NN \to \NN$ is computable.''}
The preceding examples give the impression that what is true in the
\effective topos is solely a subset of what is true in the standard topos. The
example of this subsection, the so-called \emph{formal Church--Turing thesis},
shows that the relation between the two toposes is more nuanced.
As recalled above, in the standard topos there are functions~$\NN \to \NN$ which are not computable by a Turing
machine. Cardinality arguments
even show that most functions~$\NN \to \NN$ are not computable: There
are~$\aleph_0^{\aleph_0} = 2^{\aleph_0}$ functions~$\NN \to \NN$, but
only~$\aleph_0$ Turing machines and hence only~$\aleph_0$ functions which are