-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpaper-modal-multiverse.tex
547 lines (446 loc) · 28.4 KB
/
paper-modal-multiverse.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
\documentclass[envcountsect,envcountsame,runningheads]{llncs}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{amsmath,mathtools,stmaryrd,amssymb}
\usepackage[all]{xy}
\usepackage[protrusion=true,expansion=true]{microtype}
\usepackage{tikz}
\usepackage{proof}
\usepackage{hyperref}
\usepackage{xspace}
\usepackage{color}
\title{The topos-theoretic multiverse: \\ a modal approach for computation}
\newcommand{\xra}[1]{\xrightarrow{#1}}
\newcommand{\xxx}[1]{}
\newcommand{\XXX}[1]{\textbf{\textcolor{red}{XXX: #1}}}
\newcommand{\aaa}{\mathfrak{a}}
\newcommand{\bbb}{\mathfrak{b}}
\newcommand{\mmm}{\mathfrak{m}}
\newcommand{\nnn}{\mathfrak{n}}
\newcommand{\I}{\mathcal{I}}
\newcommand{\J}{\mathcal{J}}
\newcommand{\E}{\mathcal{E}}
\newcommand{\U}{\mathcal{U}}
\newcommand{\F}{\mathcal{F}}
\newcommand{\B}{\mathcal{B}}
\newcommand{\NN}{\mathbb{N}}
\newcommand{\TT}{\mathbb{T}}
\newcommand{\ZZ}{\mathbb{Z}}
\newcommand{\QQ}{\mathbb{Q}}
\renewcommand{\P}{\mathcal{P}}
\renewcommand{\O}{\mathcal{O}}
\newcommand{\defeq}{\vcentcolon=}
\newcommand{\defeqv}{\vcentcolon\equiv}
\newcommand{\op}{\mathrm{op}}
\DeclareMathOperator{\Spec}{Spec}
\DeclareMathOperator{\Hom}{Hom}
\DeclareMathOperator{\Mod}{Mod}
\DeclareMathOperator{\Sh}{Sh}
\DeclareMathOperator{\PSh}{PSh}
\newcommand{\Set}{\mathrm{Set}}
\newcommand{\Eff}{\mathrm{Ef{}f}}
\renewcommand{\_}{\mathpunct{.}\,}
\newcommand{\effective}{ef{}fective\xspace}
\newcommand{\notnot}{\emph{not~not}\xspace}
\newcommand{\stacksproject}[1]{\cite[{\href{https://stacks.math.columbia.edu/tag/#1}{Tag~#1}}]{stacks-project}}
% taken from JDH "The modal logic of arithmetic potentialism and the universal algorithm"
\DeclareMathOperator{\possible}{\text{\tikz[scale=.6ex/1cm,baseline=-.6ex,rotate=45,line width=.1ex]{\draw (-1,-1) rectangle (1,1);}}}
\DeclareMathOperator{\necessary}{\text{\tikz[scale=.6ex/1cm,baseline=-.6ex,line width=.1ex]{\draw (-1,-1) rectangle (1,1);}}}
\DeclareMathOperator{\xpossible}{\text{\tikz[scale=.6ex/1cm,baseline=-.6ex,rotate=45,line width=.1ex]{\draw (-1,-1) rectangle (1,1); \draw[very thin] (-.6,-.6) rectangle (.6,.6);}}}
\DeclareMathOperator{\xnecessary}{\text{\tikz[scale=.6ex/1cm,baseline=-.6ex,line width=.1ex]{\draw (-1,-1) rectangle (1,1); \draw[very thin] (-.6,-.6) rectangle (.6,.6);}}}
\newcommand{\?}{\,{:}\,}
\begin{document}
\author{Ingo Blechschmidt\inst{1} \and Alexander Gietelink Oldenziel\inst{2}}
\institute{Arberstr. 5, 86159 Augsburg, Germany
\email{[email protected]}
\and University College London, Gower Street, London, WC1E 6BT
\email{[email protected]}}
\maketitle
\xxx{explain somewhere that just as $\neg\neg$ is visible constructively but not classically and that $\neg\neg$ enriches our understanding, so do the new modal operators. Especially in view of the fact that if LEM holds, then $\varphi \Leftrightarrow \necessary\varphi$ for bounded first-order formulas, as in the presence of LEM every topos is overt.}
\xxx{state (and ponder more) the example that every field has a separable closure somewhere}
\xxx{Alexander:
- it is not the case that for every topos E and every field k in E there is a separable closure k_s / k i don't think. what is a counterexample?
- it should be the case that for every (geometric field?)
-> it is positive (since it the etale topos of a field is Galois over the base so the pullback reflects isomorphisms I think: the pullback is a constant sheaf functor which sends a set to the trivial G-set on that set.)}
\begin{abstract}
To help put established results in constructive algebra and constructive
combinatorics into perspective, construct an origin story for certain
inductive definitions and form a unified framework for certain techniques for
extracting programs from classical proofs, we propose a modal study of the
topos-theoretic multiverse. Our proposal is inspired by the corresponding study
of the set-theoretic multiverse, but focuses less on exploring the range of
set/topos-theoretic possibility and more on concrete applications in
constructive mathematics.
\end{abstract}
\noindent
Thanks to the finer distinctions constructive mathematics offers, there is a
host of principles which are available in classical mathematics but seem naive
from a constructive point of view. A non-exhaustive list is:
\begin{enumerate}
\renewcommand{\theenumi}{\arabic{enumi}*}
\item A transitive relation is well-founded iff there is no infinite descending
chain.
\item A relation is almost-full iff every infinite sequence is good.\footnote{An infinite sequence is \emph{good} iff some term of the sequence is related to some later term. The notion
of almost-full relations
has been studied in combinatorics~\cite{vytiniotis-coquand-wahlstedt:af,carroy-pequignot:well,lescanne:well} and found applications in
termination checking~\cite{blass-gurevich:well}.}
\item \emph{Krull's lemma}: A ring element is nilpotent iff every prime
ideal contains it.
\item Every ring has a maximal ideal.\footnote{Here and in the following, by
\emph{ring} we mean commutative ring with unit and by \emph{maximal ideal} we
mean an ideal~$\mmm$ which is \emph{proper} in the sense that~$1 \in \mmm
\Rightarrow 1 = 0$ and such that for every proper ideal~$\nnn$ with~$\mmm
\subseteq \nnn$, $\mmm = \nnn$.}
\item \emph{Markov's principle:} If a function~$\NN \to \NN$ does \notnot have
a zero, then it actually has a zero.
\item \emph{Dependent choice:} If every element of a set is related by some relation to some other
element, then every element can be completed to an infinite chain of related
elements.
\item The law of excluded middle holds.
\end{enumerate}
Constructive theorems always carry computational and geometric
content---from every constructive proof, a corresponding algorithm can be
extracted~\cite{bauer:c2c}, and every constructive proof holds also for continuous families of
the objects in question~\cite[Section~4.3]{blechschmidt:filmat}. In contrast, the listed classical principles above have no
computational witness and/or fail in continuous families, hence are not
available in constructive mathematics.
In the modal topos-theoretic multiverse, we have the following constructive replacements to these principles.
\begin{enumerate}
\item A transitive relation is well-founded iff \emph{everywhere} there is no infinite descending
chain.
\item A relation is almost-full iff every infinite sequence \emph{everywhere} is good.
\item A ring element is nilpotent iff all prime
ideals \emph{everywhere} contain it.
\item Every ring \emph{proximally} has a maximal ideal.
\item If a function~$\NN \to \NN$ does \emph{everywhere} \notnot have
a zero, then it actually has a zero.
\item If every element of a set is related by some relation to some other
element, then every element can \emph{proximally} be completed to an infinite chain
of related elements.
\item \emph{Barr's theorem, simple version:} \emph{Somewhere,} the law of
excluded middle holds.
\end{enumerate}
Briefly, a statement~$\varphi$ is said to hold \emph{everywhere}
($\necessary\varphi$) iff it holds in every Grothendieck topos over the
current base topos (making use of the \emph{internal language} of
toposes~\cite{borceux:handbook3,streicher:ctcl,maietti:modular});\footnote{In order to support unbounded quantification we occasionally make use of the extension of the usual Kripke--Joyal semantics in the form of \emph{stack semantics}~\cite{shulman:stack-semantics})} a statement holds \emph{somewhere} ($\possible\varphi$)
iff it holds in some positive Grothendieck topos over the current base; and a
statement holds \emph{proximally} ($\xpossible\varphi$) iff it holds in
some positive overt Grothendieck topos over the current base. More such
\emph{modalities} are also useful and merit study; the precise definitions are
given in Section~\ref{sect:defn-modalities}.
This modal language not only allows us to recover classical principles
as above, but also makes some powerful theorems about the topos-theoretic
landscape smoothly accessible:
\begin{enumerate}
\addtocounter{enumi}{7}
\item \emph{Barr's theorem, full version:} If Zorn's lemma holds, it is
everywhere the case that it (and even the full axiom of choice) hold somewhere.
\item If a geometric sequent $\wedge_{i=1}^n \phi_i \vdash \bigvee_{j\in J}\psi_j$ holds \emph{somewhere}, then it holds already here.
\item \label{item:prox-descends}
If a bounded first-order statement holds \emph{proximally}, then it holds already here.
\item \label{item:prox-countable}
For every (perhaps uncountable) inhabited set~$X$, \emph{proximally} there is a
surjection~$\NN \twoheadrightarrow X$.
\end{enumerate}
An example application of the latter two principles
has recently been studied in constructive
commutative algebra~\cite{blechschmidt-schuster:constructive-maximal-ideals}:
For countable rings, an explicit iterative construction of a maximal ideal is available.
By Item~\ref{item:prox-countable}, this construction can also be carried out
for arbitrary rings, though the result is not a maximal ideal in the narrow
sense; rather, the resulting maximal ideal exists \emph{proximally}, in some
positive overt Grothendieck topos. However, the first-order consequences of
its existence, pertaining for instance to concrete statements about polynomials
or matrices, pass down to the base topos by Item~\ref{item:prox-descends}.
The resulting maximal ideal can be regarded as a mathematical
phantom in the sense of Gavin Wraith~\cite{wraith:phantoms}, not existing in a narrow
sense (in the base topos), but existing proximally and hence encouraging us to broaden our notion of
existence because it promises us to work wonders.
We can also adopt the notions of \emph{switches} and \emph{buttons} from the
modal study of the set-theoretic multiverse~\cite{hamkins:modal}. Switches are
statements~$\varphi$ such that~$\necessary(\possible\varphi \wedge
\possible\neg\varphi)$, while buttons are statements~$\varphi$ such
that~$\necessary\possible\necessary\varphi$; switches can be toggled on and off
like a light switch, while buttons once pressed cannot be unpressed:
\begin{enumerate}
\addtocounter{enumi}{10}
\item \emph{The law of excluded middle is a switch:} Everywhere it is the case
that somewhere~\textsc{lem} holds and somewhere it does not.
\item \emph{Being countable is a button:} For every set~$X$, everywhere it is
the case that somewhere (even proximally) it is the case that everywhere~$X$ is
countable.
\end{enumerate}
We argue that the proposed modal operators~$\necessary,\possible,\xpossible$ and more are natural extensions and refinements of the
familiar double-negation modality~$\neg\neg$ in constructive mathematics.
\paragraph{Related work.}
The idea of a mathematical multiverse is arguably basic to topos theory. We aim to present a more systematic study of the modal nature of the multiverse with a focus on applications in constructive mathematics. Specific precursors to XXX
In the airy reaches of classical set theory a related philosophy is put forward, with a number of striking results, concentrating on exploring the range of set-theoretic possibility~\cite{hamkins:multiverse,gitman-hamkins:multiverse,hamkins:constructibility,maddy-meadows:reconstruction,barton:forcing}.
\xxx{related work: Hamkins, Victoria Gitman, ... concentrates on exploring
range of set-theoretic possibility, obtaining beautiful results such as ...
Shawn Henry, Andreas Blass ...}
This text is set in the context of constructive mathematics.
Our definitions and results can be formalized in~\textsc{izf} or in the kind of language supported by toposes.
\paragraph{Acknowledgments.} We gratefully acknowledge numerous discussions and worthwhile input by Thierry Coquand, Matthias Hutzler, Ivan Di Liberti, Milly Maietti, Iosif Petrakis, Peter Schuster, and also the organizers and participants of the ItaCa Fest 2022 and the 2022 REDCOM workshop in Brixen, where this work was presented. XXX
\section{Modal operators}
\label{sect:defn-modalities}
\begin{definition}A \emph{Grothendieck topos} is a category equivalent to
the category of sheaves on a small site. A \emph{Grothendieck topos over a
given (Grothendieck or elementary) topos}~$\B$ is ``a Grothendieck topos from
the point of view of~$\B$''; using a sufficiently expressive form of the
internal language of~$\B$, which allows us to make direct sense of the notion in
scare quotes, this amounts to a bounded geometric morphism~$\E \to
\B$, and this notion can be taken as the definition.
\end{definition}
Henceworth, by the unqualified word ``topos'' we will mean ``Grothendieck topos
over the current base'', and the current base topos will be denoted~``$\Set$''.
The base topos might be the ``true category of sets'', assuming that this
concept is available in one's ontology, or also some other elementary topos
such as the free topos~\cite{lambek:1980intuitionist} or the ef{}fective topos~\cite{hyland:effective-topos}. The reader is reminded that the nature of the base topos can have profound consequences for the truths of the internal language.
The topos-theoretic multiverse of a base~$\B$ is the collection of Grothendieck
toposes over~$\B$ (which in set-theoretic foundations should more precisely be
formalized as the proper class of small sites in~$\B$).
\begin{remark}Perhaps arbitrary \emph{elementary} toposes over the base, corresponding to
possibly unbounded geometric morphisms~$\E \to \B$, or even arbitrary
fibrations/indexed categories over~$\B$ validating an appropriate form of the
axioms of elementary toposes, should also be
taken as part of the topos-theoretic multiverse. [XXX check fibrational characterization] The first foray into the
modal topos-theoretic multiverse outlined in this note
sticks to Grothendieck toposes for ease of
formalizability (``for every small site'' can be expressed also in the more
standard flavors of the internal topos language, while ``for every elementary
topos'' requires more elaborate versions); because the restricted multiverse
is already sufficiently rich for the intended applications; and because we have
a generalization to the predicative setting~\cite{crosilla:xxx} with arithmetic
universes in mind. Predicatively, not even the category of sets might be an
elementary topos, but the category of sets and categories of sheaves are still
arithmetic universes.
\end{remark}
\subsection{Positive toposes}
\begin{definition}A topos~$\E$ is \emph{positive} if and only if the unique geometric
morphism~$f : \E \to \Set$ is surjective (that is~$f^*$ reflects
isomorphisms).\end{definition}
\begin{example}The topos of sheaves over a topological space~$X$ is positive if and
only if~$X$ has a point; more generally, the topos of sheaves over a locale~$X$
is positive if and only if every open covering of the top element of the frame
of~$X$ is inhabited. As such, positivity is a more informative
version of the constructively weaker property of being nontrivial (the property that the top open
and the bottom open do not coincide).\end{example}
\begin{example}The spectrum of a ring~$A$, that is the classifying topos of prime
filters of~$A$ (or equivalently the topos of sheaves over the classifying
locale of prime filters of~$A$) is positive iff~$1 \neq 0$ in~$A$.\end{example}
\begin{example}A necessary and sufficient criterion for the classifying topos of a geometric
theory~$\TT$ to be positive is that whenever~$\top \vdash \bigvee_{i \in I} \varphi_i$ modulo~$\TT$, then~$I$ is inhabited.\end{example}
\subsection{Overt toposes}
\begin{definition}A topos~$\E$ is \emph{overt} if and only if the unique geometric
morphism~$f : \E \to \Set$ is open (that is~$f^*$ preserves the interpretation of
bounded first-order formulas).\end{definition}
\begin{example}The topos of sheaves over a topological space is always overt. More
generally, the topos of sheaves over a locale~$X$ is overt iff there exists a
\emph{positivity predicate} on its frame of opens in the sense of~\cite{xxx}.
With~\textsc{lem}, every locale and indeed every topos is overt~\cite{xxx}.\end{example}
\begin{example}The spectrum of a ring~$A$ is overt iff every element of~$A$ is
nilpotent or not~\cite[Proposition~12.51]{blechschmidt:phd}.\end{example}
\begin{example}A sufficient criterion for the classifying topos of a geometric
theory~$\TT$ being overt is that the indexing sets of all disjunctions
appearing on the right hand side of turnstiles, in a normal form presentation
of~$\TT$, are inhabited~\cite[Proposition~V.3.2]{joyal-tierney:grothendieck}.\end{example}
\subsection{Modal operators}
\xxx{properly define language}
\section{Generic models and inductive definitions}
\label{sect:generic-models}
In constructive mathematics, the classical definition of well-founded relations
as those transitive relations for which there exist no infinite descending
chains is not particularly useful; while the chain condition is satisfied for
the intended examples (such as~$(\NN,{<})$), by its negativity the condition is too weak to
facilitate the intended proofs.
The established substitute is to declare that a transitive relation~$({<})$ on a set~$X$
is well-founded if and only if for every subset~$M \subseteq X$,
\begin{equation}\label{eq:ho-wf}\tag{$\star$}
\bigl(\forall x\?X\_ (\forall y\?X\_ y < x \Rightarrow y \in M) \Rightarrow x \in
M\bigr) \Longrightarrow \bigl(\forall x\?X\_ x \in M\bigr).
\end{equation}
More economically, and preferably in predicative contexts where there is no
single set or class of ``all subsets of~$X$'' but for instance a
hierarchy of subsets of increasing universe levels, a transitive relation~$({<})$ is
declared well-founded if and only if every element of~$X$ is \emph{accessible}, where
the accessibility predicate~$\mathsf{Acc}$ is inductively generated~\cite{xxx}
by the following clause:
\[
\infer{\mathsf{Acc}(x)}{\forall y<x\_\ \mathsf{Acc}(y)}
\]
In impredicative settings, this inductive definition of well-foundedness
coincides with the higher-order characterization~(\ref{eq:ho-wf}), and for the
purposes of this paper we view the inductive definition as the official one.
Similar inductive notions are used to reformulate other classical definitions
in a constructively more sensible way. For instance, the classical definition
of a binary relation~$R$ on a set~$X$ being \emph{almost-full} is ``every
infinite sequence~$\alpha : \NN \to X$ is \emph{good} in the sense that there
exist indices~$i < j$ such that~$\alpha(i) \mathrel{R} \alpha(j)$''.
For a constructive reformulation, we shift to finite approximations of
infinite sequences (finite lists of elements of~$X$) and define when such an
approximation is deemed good:\footnote{By~``$\sigma[n]$'', we mean the element
at position~$n$ of the finite list~$\sigma$. This notation is only meaningful
if the length of~$\sigma$ is at least~$n+1$. By~``$\sigma x$'' we mean the
enlarged list which has~$x$ as an extra element at its tail end, and by~``$[\,]$'' we
denote the empty list. In computer science practice, it is often more efficient
to prepend (``$x \sigma$'') instead of append, but this detail shall not
concern us here.}
\[ \mathsf{Good}(\sigma) \defeqv (\exists i<j\_ \sigma[i] \mathrel{R} \sigma[j]). \]
We then inductively generate a relation~``$P \,|\, \sigma$'' for monotonous
predicates~$P$ on finite lists expressing that no matter how the given finite
approximation~$\sigma$ evolves over time to a better approximation,
eventually~$P$ will hold, by the clauses
\[
\infer{P \,|\, \sigma}{P(\sigma)}
\qquad
\infer{P \,|\, \sigma}{\forall x \? X\_\ P \,|\, \sigma x}
\]
and finally define that~$R$ is almost-full iff~``$\mathsf{Good} \,|\, []$''.
With this inductive definition, expected properties of the class of almost-full
relations such as stability under cartesian products (Dickman's lemma),
finite lists (Higman's lemma) or finitely-branching trees (Kruskal's theorem)
can all be constructively verified~\cite{xxx}.
A similar such definition has been proposed by Thierry Coquand, Henry Lombardi and Henrik Persson in commutative
algebra for expressing that a ring is Noetherian~\cite{coquand-persson:groebner,coquand-lombardi:krull,coquand:invariant}; the classical
definition ``every ascending chain of ideals stabilizes'' and also the more
meaningful and classically equivalent characterization as ``every ascending
chain of finitely generated ideals stalls''\footnote{A chain~$\aaa_0 \subseteq
\aaa_1 \subseteq \cdots$ \emph{stalls} iff for some index~$n \in \NN$,
$\aaa_{n+1} = \aaa_n$. We are grateful to Matthias Hutzler for proposing this
terminology.} are constructively too weak; firstly, without the axiom of
dependent choice we can often not construct such chains~\cite{richman:noetherian} (but only
``multi-valued chains'' as in~\cite[Section~3.9]{blechschmidt:phd}; but also
see~\cite[Section~4]{richman:noetherian}), and secondly, being able to inspect suitable inductive
witnesses enables us to prove the Hilbert basis theorem~\cite[Corollary~16]{coquand-persson:groebner}. Coquand, Lombardi and Persson
hence propose to call a ring \emph{Noetherian} if and only if~$\mathsf{Stalls}
\,|\, [\,]$, where~$\mathsf{Stalls}$ is the predicate on finite lists of finitely
generated ideals expressing xxx.
Is there a deeper explanation where these inductive definitions come from,
apart from working well and being motivated on general constructive
considerations? Also: Constructively the inductive definitions are much
stronger than their classical counterparts, equivalent only in presence
of~\textsc{lem} and~\textsc{dc}. For instance, if a relation is almost-full in
the inductive sense, not only is every infinite sequence good, but so is every
infinite ``multi-valued sequence''\footnote{xxx} and every infinite
partially-defined sequence~$\alpha$ for which for every number~$n \in \NN$ it
is \notnot the case that~$\alpha(n)$ exists. Can we pinpoint how much stronger
the inductive definitions are?
Both questions have positive answers, and the modal
perspective fruitfully clarifies their connection.
Namely, the theories of an infinite sequence and of an infinite descending chain
are geometric. As such, there exist their classifying toposes, containing the
\emph{generic infinite sequence} respectively the \emph{generic infinite
descending chain}, and we may ask: When is this sequence good respectively when
does this chain validate~$\bot$?
\begin{proposition}\label{prop:gen-good}Let~$R$ be a relation on a set~$X$. The
generic infinite sequence over~$X$ is good if and only if~$R$ is almost-full in
the inductive sense.\end{proposition}
\begin{proof}The classifying topos of the theory of an infinite sequence
over~$X$ can be presented as the topos of sheaves over the site given by the
partially ordered set of finite lists of elements of~$X$ with coverage given
by xxx (see Appendix xxx)~\cite[Example~4.3]{blechschmidt-schuster:reifying}, \cite[xxx]{joyal-tierny:xxx}. The Kripke--Joyal semantics states that the
statement ``$\alpha_0$ is good'', where~$\alpha_0$ is the generic infinite
sequence, holds in the classifying topos if and only if there is a
covering~$\U$ of~$[]$ such that for every open~$U \in \U$, xxx. This precisely
amounts to~$R$ being almost-full in the inductive sense.
\end{proof}
\begin{corollary}\label{cor:modal-good}Let~$R$ be a relation on a set~$X$. Then~$R$
is almost-full in the inductive sense if and only if everywhere, every infinite
sequence is good.\end{corollary}
\begin{proof}For the ``if'' direction, if every infinite sequence everywhere is
good, then in particular the generic infinite sequence is. By
Proposition~\ref{prop:gen-good}, this statement amounts to~$R$ being
almost-full in the inductive sense.
In the converse direction, we can either argue that, since being good is
expressible as a geometric formula, if the generic infinite sequence is good
then so is every infinite sequence in every topos; or we argue, using
Proposition~\ref{prop:gen-good} again, that
the property of being almost-full in the inductive sense is stable
under pullback along geometric morphisms and hence passes from the base topos
to every topos. Hence (the pullback of)~$R$ is almost-full in every topos and
hence every infinite sequence in every topos is good.\end{proof}
\begin{proposition}Let~$({<})$ be a transitive relation on a set~$X$. The generic
infinite descending chain over~$X$ validates~$\bot$ (that is, the classifying
topos of such chains is trivial) if and only if the relation is well-founded in
the inductive sense.\end{proposition}
\begin{proof}Similar as the proof of Proposition~\ref{prop:gen-good}. Details
for the variant of ``bad sets'' instead of ``infinite descending chains'' have
been developed (xxx:language) by Blass~\cite{blass:induction}.\end{proof}
\begin{corollary}A transitive relation is well-founded in the inductive sense
if and only if everywhere, it is not the case that there exists an infinite
descending chain.\end{corollary}
\begin{proof}Analogous to the proof of
Corollary~\ref{cor:modal-good}.\end{proof}
\section{Extracting programs from multiverse proofs}
\label{sect:program-extraction}
\begin{proposition}\label{prop:af-wf}Let~$({\leq})$ be a transitive almost-full relation.
Then~$({<})$, where~$x < y \equiv (x \leq y \wedge \neg(y \leq x))$,
is well-founded.\end{proposition}
\begin{proof}Everywhere, there can be no infinite descending chain, as any
such would also be good.\end{proof}
Unrolling this proof gives a program of type~$(\textsf{Good} \,|\, []) \to
\prod_{x:X} \textsf{Acc}(x)$.
\begin{remark}For the proof of Proposition~\ref{prop:af-wf}, it is not relevant
that pullback along geometric morphisms typically fails to preserve the
negation occuring in the definition of~$({<})$, basically because we still
have~$f^*(\llbracket x > y \rrbracket) \wedge f^*(\llbracket x \leq y
\rrbracket) \Rightarrow f^*(\llbracket\bot\rrbracket) = \bot$.\end{remark}
\begin{theorem}[Dickson's lemma] If~$X$ and~$Y$ are almost-full,
so is~$X \times Y$.\end{theorem}
\begin{proof}
\begin{enumerate}
\item It suffices to verify that the \emph{generic infinite
sequence}~$\gamma = (\alpha,\beta) : \NN \to X \times Y$ is good. Since
being good can be put as a geometric implication (in fact, a geometric
formula) and since \textsc{lem} holds \emph{somewhere}, we may assume~\textsc{lem}.
\item (A ``Ramsey-style argument''.) The set~$I \defeq \{ n \in \NN \,|\, \neg\exists m > n\_ \alpha(n) \leq \alpha(m) \}$ is not in bijection with~$\NN$, as else the~$I$-extracted subsequence of~$\alpha$ would be an $X$-sequence which is not good. Hence, by \textsc{lem}, the set~$I$ is finite. Every index larger than all the indices in~$I$ is a suitable starting point for an infinite ascending chain~$\alpha(i_0) \leq \alpha(i_1) \leq \ldots$.\footnote{We can avoid dependent
choice here by always picking the
least possible next index.}
\item Because~$Y$ is almost-full, the sequence~$\beta(i_0),\beta(i_1),\ldots$ is good, that is there exists a pair of indices~$n < m$ such that~$\beta(i_n) \leq \beta(i_m)$. As also~$\alpha(i_n) \leq \alpha(i_m)$, the sequence~$\gamma$ is good.
% XXX: this only holds in the transitive case
\end{enumerate}
\end{proof}
\section{Perspectives}
\xxx{determine modal laws}
\xxx{more case studies}
\xxx{don't forget right adjoints}
\xxx{predicative}
\bibliographystyle{splncs04}
\bibliography{paper-modal-multiverse}
\end{document}
Cite? https://arxiv.org/abs/2210.04838
Noetherian set = every infinite sequence everywhere contains repeating terms
https://arxiv.org/pdf/1604.01186.pdf
Cite coquand-persson:groebner
Trees generically absolute as in
https://www.math.uci.edu/~twilson/slides/UCLA-LSC-2013.pdf#page=11
cite https://math.andrej.com/2012/10/03/am-i-a-constructive-mathematician/
simpler logical form
(every prime ideal vs. nilpotent)
cite https://www.cse.chalmers.se/~coquand/potential.pdf page 41
cite https://webspace.science.uu.nl/~ooste110/veldmanabstract.pdf
("perhaps" operator)
cite:
https://arxiv.org/pdf/2108.10259.pdf
https://arxiv.org/abs/2311.00581
cite:
Slides-What-if-your-potentialism-is-implicitly-actualist-Oxford-March-2024.pdf, slide 74 (Joel David Hamkins)
check:
https://www.youtube.com/watch?v=TpPQHS_wUsg, Giraud topos
cite:
https://arxiv.org/abs/2206.03169
because of representation theorem,
to say "for all Grothendieck toposes",
suffices to say "for all localic toposes".
Similarly for overt and positive
cite
https://arxiv.org/pdf/1712.04864
for internal language of toposes
show that inductive-wqo implies Berardi-wqo
show the theorem displayed at https://ncatlab.org/nlab/show/well-quasi-order
https://math.stackexchange.com/questions/4552108/does-the-inverse-image-part-of-a-geometric-morphism-preserve-transitive-set-obj
wf preserved
https://mathoverflow.net/questions/288789/constructive-proofs-of-existence-in-analysis-using-locales/290421?noredirect=1#comment1248291_290421
Simon suggests "proper and surjective" as an interesting class.
Completeness: If sequent holds for all models everywhere, then provable.