Cantorian arguments on subsets of the naturals As reference theory we look at the
constructive set theory CZF, which has
Replacement,
Bounded Separation, strong
Infinity, is agnostic towards the existence of
power sets, but includes the axiom that asserts that any function space Y^X is set, given X, Y are also sets. In this theory, it is moreover consistent to assert that
every set is subcountable. The compatibility of various further axioms is discussed in this section by means of possible surjections on an
infinite set of counting numbers I\subseteq {\mathbb N}. Here {\mathbb N} shall denote a model of the standard natural numbers. Recall that for functions g\colon X\to Y, by definition of total functionality, there exists a unique return value for all values x\in X in the domain, :\exists!(y\in Y). g(x)=y, and for a subcountable set, the surjection is still total on a subset of {\mathbb N}. Constructively, fewer such existential claims will be provable than classically. The situations discussed below—onto power classes versus onto function spaces—are different from one another: Opposed to general subclass defining predicates and their truth values (not necessarily provably just true and false), a function (which in programming terms is terminating) does makes accessible information about data for all its subdomains (subsets of the X). When as
characteristic functions for their subsets, functions, through their return values, decide subset membership. As membership in a generally defined set is not necessarily decidable, the (total) functions X\to\{0,1\} are not automatically in
bijection with all the subsets of X. So constructively, subsets are a more elaborate concept than characteristic functions. In fact, in the context of some non-classical axioms on top of CZF, even the power class of a singleton, e.g. the class {\mathcal P}\{0\} of all subsets of \{0\}, is shown to be a proper class.
Onto power classes Below, the fact is used that the special case (P\to \neg P)\to\neg P of the
negation introduction law implies that P\leftrightarrow \neg P is contradictory. For simplicitly of the argument, assume {\mathcal P}{\mathbb N} is a set. Then consider a subset I\subseteq{\mathbb N} and a function w\colon I\to{\mathcal P}{\mathbb N}. Further, as in
Cantor's theorem about power sets, define d=\{k \in {\mathbb N}\mid k\in I \land D(k)\} where, D(k)=\neg (k\in w(k)). This is a subclass of {\mathbb N} defined in dependency of w and it can also be written d=\{k \in I\mid \neg (k\in w(k))\}. It exists as subset via Separation. Now assuming there exists a number n\in I with w(n)=d implies the contradiction n\in d\,\leftrightarrow\,\neg(n\in d). So as a set, one finds {\mathcal P}{\mathbb N} is \omega-productive in that we can define an obstructing d for any given surjection. Also note that the existence of a surjection f\colon I\twoheadrightarrow{\mathcal P}{\mathbb N} would automatically make {\mathcal P}{\mathbb N} into a set, via Replacement in CZF, and so this function existence is unconditionally impossible. We conclude that the subcountability axiom, asserting all
sets are subcountable, is incompatible with {\mathcal P}{\mathbb N} being a set, as implied e.g. by the power set axiom. Following the above prove makes it clear that we cannot map I onto just {\mathcal P}I either. Bounded separation indeed implies that no set X whatsoever maps onto {\mathcal P}X. Relatedly, for any function h\colon{\mathcal P}Y\to Y, a similar analysis using the subset of its range \{y\in Y\mid \exists(S\in{\mathcal P}Y). y=h(S)\land y\notin S\} shows that h cannot be an injection. The situation is more complicated for function spaces. In classical ZFC without Powerset or any of its equivalents, it is also consistent that all subclasses of the reals which are sets are subcountable. In that context, this translates to the statement that all sets of real numbers are countable. Of course, that theory does not have the function space set {\mathbb N}^{\mathbb N}.
Onto function spaces By definition of function spaces, the set {\mathbb N}^{\mathbb N} holds those subsets of the set {\mathbb N}\times{\mathbb N} which are provably total and functional. Asserting the permitted subcountability of all sets turns, in particular, {\mathbb N}^{\mathbb N} into a subcountable set. So here we consider a surjective function f\colon I\twoheadrightarrow{\mathbb N}^{\mathbb N} and the subset of {\mathbb N}\times{\mathbb N} separated as \Big\{\langle n, y\rangle \in {\mathbb N}\times{\mathbb N} \mid \big(n\in I\land D(n, y)\big) \lor \big(\neg(n\in I)\land y=1\big)\Big\} with the diagonalizing predicate defined as D(n, y) = \big(\neg(f(n)(n)\ge 1)\land y=1\big) \lor \big(\neg(f(n)(n)=0)\land y=0\big) which we can also phrase without the negations as D(n, y) = \big(f(n)(n)=0\land y=1\big) \lor \big(f(n)(n)\ge 1\land y=0\big). This set is classically provably a function in {\mathbb N}^{\mathbb N}, designed to take the value y=0 for particular inputs n. And it can classically be used to prove that the existence of f as a surjection is actually contradictory. However, constructively, unless the proposition n\in I in its definition is decidable so that the set actually defined a functional assignment, we cannot prove this set to be a member of the function space. And so we just cannot draw the classical conclusion. In this fashion, subcountability of {\mathbb N}^{\mathbb N} is permitted, and indeed models of the theory exist. Nevertheless, also in the case of CZF, the existence of a full surjection {\mathbb N}\twoheadrightarrow{\mathbb N}^{\mathbb N}, with domain {\mathbb N}, is indeed contradictory. The decidable membership of I={\mathbb N} makes the set also not countable, i.e. uncountable. Beyond these observations, also note that for any non-zero number a, the functions i\mapsto f(i)(i)+a in I\to{\mathbb N} involving the surjection f cannot be extended to all of {\mathbb N} by a similar contradiction argument. This can be expressed as saying that there are then partial functions that cannot be extended to full functions in {\mathbb N}\to{\mathbb N}. Note that when given a n\in{\mathbb N}, one cannot necessarily decide whether n\in I, and so one cannot even decide whether the value of a potential function extension on n is already determined for the previously characterized surjection f. The subcountibility axiom, asserting all sets are subcountable, is incompatible with any new axiom making I countable, including LEM.
Models The above analysis affects formal properties of codings of \mathbb R. Models for the non-classical extension of CZF theory by subcountability postulates have been constructed. Such non-constructive axioms can be seen as choice principles which, however, do not tend to increase the
proof-theoretical strengths of the theories much. • There are models of IZF in which all sets with
apartness relations are subcountable. • CZF has a model in, for example, the
Martin-Löf type theory {\mathsf {ML_1V}}. In this
constructive set theory with classically uncountable function spaces, it is indeed consistent to assert the
Subcountability Axiom, saying that every set is subcountable. As discussed, the resulting theory is in contradiction to the
axiom of power set and with the
law of excluded middle. • More stronger yet, some models of
Kripke–Platek set theory, a theory without the function space postulate, even validate that all sets are countable.
The notion of size Subcountability as judgement of small size shall not be conflated with the standard mathematical definition of cardinality relations as defined by Cantor, with smaller cardinality being defined in terms of injections and equality of cardinalities being defined in terms of bijections. Constructively, the
preorder "\le" on the class of sets fails to be decidable and anti-symmetric. The function space {\mathbb N}^{\mathbb N} (and also \{0,1\}^{\mathbb N} ) in a moderately rich set theory is always found to be neither finite nor in bijection with {\mathbb N} , by
Cantor's diagonal argument. This is what it means to be uncountable. But the argument that the
cardinality of that set would thus in some sense exceed that of the natural numbers relies on a restriction to just the classical size conception and its induced ordering of sets by cardinality. As seen in the example of the function space considered in
computability theory, not every infinite subset of {\mathbb N} necessarily is in constructive bijection with {\mathbb N}, thus making room for a more refined distinction between uncountable sets in constructive contexts. Motivated by the above sections, the infinite set {\mathbb N}^{\mathbb N} may be considered "smaller" than the class {\mathcal P}{\mathbb N}. ==Related properties==