Effective topos

From HandWiki

In mathematics, the effective topos Eff 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 𝒦1. 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 k free variables will give rise to a map in (𝒫)k the values of which are the subsets of corresponding realizing numbers.

Realizability topoi

Eff 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 RT(𝒦1). 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 X equipped with a function E:X2𝒫() satisfying certain conditions. We denote nE(x,y) by nx=y. (The notation is not standardized; the usage of the = symbol overloads its normal meaning, similarly to the notation P(X=Y) in probability theory.) Informally, this means that n is a computational witness, or realizer of the equality x=y. The conditions to be satisfied are the following:

  • There must exist a program e such that for all n and x,yX, if nx=y then the output of e on n, i.e., ϕe(n) (where ϕe is the e-th partial computable function), is defined, and ϕe(n)y=x. In short, e takes a realizer of x=y and outputs a realizer of y=x (for all x,y). (Note that e cannot depend on x,y, and it only receives the realizer of x=y as input, without further information on x and y.)
  • Similarly, there must exist a program which takes a realizer of x=y and a realizer of y=z, and outputs a realizer of x=z (for all x,y,z).

A realizer of x=x will be called more simply a realizer of x.

A functional relation from an object X to an object Y is a function f:X×Y𝒫(), again satisfying certain conditions. We suggestively denote nf(x,y) by nf(x)=y (again, this is a special notation; f(x) has no meaning by itself). This informally means that n realizes the fact that f sends x to y, or “realizes f(x)=y”. The conditions are the following:

  • There exists a program which takes a realizer of f(x)=y and outputs a realizer of x and a realizer of y (for all xX,yY).
  • There exists a program which takes a realizer of f(x)=y and realizers of x=x and y=y, and outputs a realizer of f(x)=y (for all x,x,y,y).
  • There exists a program which takes realizers of f(x)=y and f(x)=y, and outputs a realizer of y=y (for all x,y,y).
  • There exists a program e such that for all xX and for all realizer n of x, there exists some yY such that the output ϕe(n) realizes f(x)=y.

Suppose f is a functional relation from X to Y and g is a functional relation from Y to Z. The composition gf is the functional relation from X to Z defined by letting the realizers of (gf)(x)=z be the codes of pairs (r,s) such that, for some yY, we have rf(x)=y and sg(y)=z. The identity functional relation id on an object X is defined by letting the realizers of id(x)=y be just the realizers of x=y.

The morphisms from X to Y in the effective topos are the functional relations from X to Y, quotiented to identify f and g when there exists a program which maps realizers of f(x)=y to realizers of g(x)=y (for all x,y), and another program which maps realizers of g(x)=y to realizers of f(x)=y. 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 X equipped with a function R:X𝒫(). We denote nR(x) by nx, read “n realizes x”. Every assembly X can be construed as an object of the effective topos, by declaring that n realizes x=y when x and y are actually equal and n realizes them in the assembly X. (Thus, the realizers of x in X as an object of the effective topos, i.e., the realizers of x=x, are exactly the realizers of x in X as an assembly.)

A morphism of assemblies f:XY is a function f:XY between the underlying sets such that there exists a program, independent of xX, which maps realizers of x to realizers of f(x). Such a morphism gives rise to a morphism in the effective topos, represented by the functional relation (still denoted f) where f(x)=y is realized if and only if f(x) is actually equal to y, and then the realizers of f(x)=y are the pairs of a realizer of x and a realizer of y.

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 X to the assembly with underlying set X 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 X and Y is the Cartesian product of sets X×Y where a realizer of (x,y) in X×Y is the code of a pair of a realizer of x and a realizer of y.
  • The coproduct of X and Y is the coproduct of sets X+Y where a realizer of xX in X+Y is the code of a pair of 0 and a realizer of x in X, and a realizer of yY in X+Y is the code of a pair of 1 and a realizer of y in Y.
  • The subobject classifier Ω is 𝒫() where a realizer of P=Q is a pair of a program which returns an element of Q given an element of P, and a program which returns an element of P given an element of Q. 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 :SetsEff 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 ω-SetsEff.

NNO

The topos has a natural numbers object N=,E with simply E(n)={n}. Sentences true about N are exactly the recursively realized sentences of Heyting arithmetic HA.

Now arrows NN may be understood as the total recursive functions and this also holds internally for NN. The latter is the pair given by total recursive functions TR and a relation such that ETR(f) is the set of codes e for f. 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 N 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 NN as given by indices and their equality is determined by the objects that compute the same function. This equality clearly puts a constraint on N(NN), 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 X,EXY,EY, equality (in the sense of the E's) in domain and image must be respected.

Properties and principles

With this, one may validate Markov's principle MP and the extended Church's principle ECT0 (and a second-order variant thereof), which come down to simple statement about object such as NN or (1+1)N. These imply CT0 and independence of premise IP0.

A choice principle NN related to Brouwerian weak continuity fails. From any object, there are only countably many arrows to N. ΩN fulfills a uniformity principle. N is not the countable coproduct of copies of 1. This topos is not a category of sheaves.

Analysis

The object ,E 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 x00x would hold for all reals x. 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

  1. 1.0 1.1 Jaap van Oosten (2008). Realizability: an introduction to its categorical side. Elsevier Science. ISBN 9780444515841. 
  • Hyland, J. M. E. (1982), "The effective topos", in Troelstra, A. S.; Dalen, D. van, The L.E.J. Brouwer Centenary Symposium (Noordwijkerhout, 1981), Studies in Logic and the Foundations of Mathematics, 110, Amsterdam: North-Holland, pp. 165–216, doi:10.1016/S0049-237X(09)70129-6, ISBN 978-0-444-86494-9, https://www.dpmms.cam.ac.uk/~martin/Research/Oldpapers/hyland-effectivetopos.pdf 
  • Kleene, S. C. (1945). "On the interpretation of intuitionistic number theory". Journal of Symbolic Logic 10 (4): 109–124. doi:10.2307/2269016. 
  • 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 et al. (January 22, 2023), effective topos (19 ed.), nLab, https://ncatlab.org/nlab/show/effective+topos