In mathematics, the effective topos introduced by Martin Hyland (1982) captures the mathematical idea of effectivity within the category theoretical framework.
Preliminaries
Kleene realizability
The topos is based on the partial combinatory algebra given by Kleene’s first algebra . In Kleene’s notion of recursive realizability, any predicate is assigned realizing numbers, i.e. a subset of . The extremal propositions are and , realized by and . However in general, this process assigns more data to a proposition than just a binary truth value.
A formula with free variables will give rise to a map in the values of which are the subsets of corresponding realizing numbers.
Realizability topoi
is a prime example of a realizability topos. These are a class of elementary topoi with an intuitionistic internal logic and fulfilling a form of dependent choice. They are generally not Grothendieck topoi.
In particular, the effective topos is . Other realizability topos constructions can be said to abstract away some aspects played by here.
Definition
There are several ways to construct the effective topos, for example, via the notion of tripos, or as the ex/reg completion of the category of assemblies. The following is a fully unfolded explicit definition.[1]: 115
An object of the effective topos is a set equipped with a function satisfying certain conditions. We denote by . (The notation is not standardized; the usage of the symbol overloads its normal meaning, similarly to the notation in probability theory.) Informally, this means that is a computational witness, or realizer of the equality . The conditions to be satisfied are the following:
- There must exist a program such that for all and , if then the output of on , i.e., (where is the -th partial computable function), is defined, and . In short, takes a realizer of and outputs a realizer of (for all ). (Note that cannot depend on , and it only receives the realizer of as input, without further information on and .)
- Similarly, there must exist a program which takes a realizer of and a realizer of , and outputs a realizer of (for all ).
A realizer of will be called more simply a realizer of .
A functional relation from an object to an object is a function , again satisfying certain conditions. We suggestively denote by (again, this is a special notation; has no meaning by itself). This informally means that realizes the fact that sends to , or “realizes ”. The conditions are the following:
- There exists a program which takes a realizer of and outputs a realizer of and a realizer of (for all ).
- There exists a program which takes a realizer of and realizers of and , and outputs a realizer of (for all ).
- There exists a program which takes realizers of and , and outputs a realizer of (for all ).
- There exists a program such that for all and for all realizer of , there exists some such that the output realizes .
Suppose is a functional relation from to and is a functional relation from to . The composition is the functional relation from to defined by letting the realizers of be the codes of pairs such that, for some , we have and . The identity functional relation on an object is defined by letting the realizers of be just the realizers of .
The morphisms from to in the effective topos are the functional relations from to , quotiented to identify and when there exists a program which maps realizers of to realizers of (for all ), and another program which maps realizers of to realizers of . Composition of morphisms is induced on the quotients by composition on the level of functional relations, and likewise for identity morphisms.
Relationship to assemblies
The effective topos arises as a completion of the simpler category of assemblies.
An assembly is a set equipped with a function . We denote by , read “ realizes ”. Every assembly can be construed as an object of the effective topos, by declaring that realizes when and are actually equal and realizes them in the assembly . (Thus, the realizers of in as an object of the effective topos, i.e., the realizers of , are exactly the realizers of in as an assembly.)
A morphism of assemblies is a function between the underlying sets such that there exists a program, independent of , which maps realizers of to realizers of . Such a morphism gives rise to a morphism in the effective topos, represented by the functional relation (still denoted ) where is realized if and only if is actually equal to , and then the realizers of are the pairs of a realizer of and a realizer of .
This correspondence makes the category of assemblies a full subcategory of the effective topos.
The category of sets is a full subcategory of the category of assemblies, via the functor that maps a set to the assembly with underlying set where every element is realized by every natural number. In particular, the category of sets is also a full subcategory of the effective topos.[1]: 117
Categorical operations in the effective topos
The effective topos is an elementary topos with natural numbers object. This means that it supports a number of standard categorical constructions, which are explicitly performed as follows.
- The initial object is the empty assembly.
- The terminal object is the unit assembly, a singleton where the unique element is realized by every natural number.
- The natural numbers object is where each natural number is realized only by itself.
- The product of two objects and is the Cartesian product of sets where a realizer of in is the code of a pair of a realizer of and a realizer of .
- The coproduct of and is the coproduct of sets where a realizer of in is the code of a pair of 0 and a realizer of in , and a realizer of in is the code of a pair of 1 and a realizer of in .
- The subobject classifier is where a realizer of is a pair of a program which returns an element of given an element of , and a program which returns an element of given an element of . It is not (isomorphic to) an assembly.
Properties
Relation to Sets
Some objects exhibit a rather trivial existence predicate depending only on the validity of the equality relation “” of sets, so that valid equality maps to the top set and rejected equality maps to . This gives rise to a full and faithful functor out of the category of sets, which has the finite-limit preserving global sections functor as its left-adjoint. This factors through a finite-limit preserving, full and faithful embedding –.
NNO
The topos has a natural numbers object with simply . Sentences true about are exactly the recursively realized sentences of Heyting arithmetic .
Now arrows may be understood as the total recursive functions and this also holds internally for . The latter is the pair given by total recursive functions and a relation such that is the set of codes for . The latter is a subset of the naturals but not just a singleton, since there are several indices computing the same recursive function. So here the second entry of the objects represent the realizing data.
With and functions from and to it, as well as with simple rules for the equality relations when forming finite products , one may now more broadly define the hereditarily effective operations. Again one may think of functions in as given by indices and their equality is determined by the objects that compute the same function. This equality clearly puts a constraint on , as these functions come out to be only those computable functions that also properly respect the mentioned equality in their domain. Et cetera. The situation for general , equality (in the sense of the ‘s) in domain and image must be respected.
Properties and principles
With this, one may validate Markov’s principle and the extended Church’s principle (and a second-order variant thereof), which come down to simple statement about object such as or . These imply and independence of premise .
A choice principle related to Brouwerian weak continuity fails. From any object, there are only countably many arrows to . fulfills a uniformity principle. is not the countable coproduct of copies of . This topos is not a category of sheaves.
Analysis
The object is effective in a formal sense and from it one may define computable Cauchy sequences. Through a quotient, the topos has a real numbers object which has no non-trivial decidable subobject. With choice, the notion of Dedekind reals coincides with the Cauchy one.
Properties and principles
Analysis here corresponds to the recursive school of constructivism. It rejects the claim that would hold for all reals . Formulations of the intermediate value theorem fail and all functions from the reals to the reals are provenly continuous. A Specker sequence exists and then Bolzano–Weierstrass fails.
See also
References
- Hyland, J. M. E. (1982), “The effective topos” (PDF), in Troelstra, A. S.; Dalen, D. van (eds.), The L.E.J. Brouwer Centenary Symposium (Noordwijkerhout, 1981), Studies in Logic and the Foundations of Mathematics, vol. 110, Amsterdam: North-Holland, pp. 165–216, doi:10.1016/S0049-237X(09)70129-6, ISBN 978-0-444-86494-9, MR 0717245
- Kleene, S. C. (1945). “On the interpretation of intuitionistic number theory”. Journal of Symbolic Logic. 10 (4): 109–124. doi:10.2307/2269016. JSTOR 2269016. S2CID 40471120.
- Phoa, Wesley (1992). An introduction to fibrations, topos theory, the effective topos and modest sets (Technical report). Laboratory for Foundations of Computer Science, University of Edinburgh. CiteSeerX 10.1.1.112.4533. ECS-LFCS-92-208.
- Bernadet, Alexis; Graham-Lengrand, Stéphane (2013). “A simple presentation of the effective topos”. arXiv:1307.3832 [cs.LO].
- Corfield, David; Ramesh, Sridhar; Schreiber, Urs; Bartels, Toby; Škoda, Zoran; Shulman, Mike; Trimble, Todd; Roberts, David; Holder, Thomas (January 22, 2023) [July 10, 2009], effective topos (19 ed.), nLab