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 𝒦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 𝖤𝖿𝖿 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 𝖱𝖳(𝒦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. An object of the effective topos is a set X equipped with a function E:X2→𝒫(ℕ) satisfying certain conditions. We denote n∈E(x,y) by n⊩x=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,y∈X, if n⊩x=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 n∈f(x,y) by n⊩f(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 x∈X,y∈Y). 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 x∈X and for all realizer n of x, there exists some y∈Y 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 g∘f is the functional relation from X to Z defined by letting the realizers of (g∘f)(x)=z be the codes of pairs (r,s) such that, for some y∈Y, we have r⊩f(x)=y and s⊩g(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 n∈R(x) by n⊩x, 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:X→Y is a function f:X→Y between the underlying sets such that there exists a program, independent of x∈X, 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.
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.
… excerpt ends here. Continue reading the full article.