Cantor’s theorem, its intuitionistic form, and the results of Gödel, Tarski and Turing are one
argument applied to different data. The argument needs only the diagonal \(\Delta \), which \(A=A\) supplies,
and a self-map without fixed points. Negation is not required, which is why the theorem
survives in intuitionistic type theory; and the absence of a fixed point for the successor is a
consequence of the order axioms derived earlier, requiring neither subtraction nor the universe
of small types.
The diagonal argument
Let \(\phi :A\to B^{A}\) be given and let \(f:B\to B\). Form
using only the diagonal \(\Delta (x)=(x,x)\), the evaluation map, and composition —
each of which was obtained from the identity in Subsection 584. If \(\phi \) is surjective there is \(a\in A\) with \(\phi (a)=d\),
and evaluating at \(a\),
one proves by induction that \((n+x)\dot -x=n\), and at \(n=0\), using \(0+x=x\),
\begin{equation} x\dot -x=0\qquad \text {for every }x . \tag{10958}\end{equation}
A second induction gives \(\omega \dot -x=\omega \) for the
putative fixed point \(\omega =s(\omega )\), since \(\omega \dot -s(x)=p(\omega \dot -x)=p(\omega )=p(s(\omega ))=\omega \). Setting \(x=\omega \) in each yields
hence \(0=\omega =s(\omega )\), and a third argument in the
universe \(U_0\) derives \(\bot \) from \(0=s(x)\) by forming \(\operatorname {Rec}(y,\bot ,(u,v)\top )\).
What the subtraction was computing
Truncated subtraction is not a group operation — \(\mathbb {N}\) has no inverses — but an order comparison
in disguise:
The first says \(\omega \le \omega \); the second says \(\omega \not \le x\) for every \(x\), including \(x=\omega \). The contradiction is therefore that \(\omega \) is
simultaneously maximal and reflexive — an order statement, obtained by computing with a
subtraction that encodes the order.
The order argument directly
Stated in the order established earlier, the same contradiction takes two lines. The
rank function \(\operatorname {rk}:\mathbb {N}\to \mathrm {Ord}\) is strictly monotone, so
A fixed point \(\omega =s(\omega )\) would give \(\operatorname {rk}(\omega )=\operatorname {rk}(\omega )+1\) and therefore \(\alpha <\alpha \),
contradicting irreflexivity of the strict order, which is the cone condition \(P\cap (-P)=\{0\}\) in relational
form.
Route
Ingredients
via subtraction
two inductions, the recursions for \(+,p,\dot -\), and \(U_0\)
via order
\(\alpha <\alpha +1\) and \(\neg (\alpha <\alpha )\)
Note that in \(\mathbb {Z}\), where inverses exist, \(x-x=0\) is
the inverse axiom outright — \([(a,b)]+[(b,a)]=[(a+b,a+b)]\sim (0,0)\) — so the first lemma is free there and only the order content of
the second remains.
The general form
For arbitrary \(A\) the same construction gives the explicit witness
since \(g(h)=h(x)\) would give
\(h(x)(x)=g(h)(x)=f\bigl (h(x)(x)\bigr )\).
One argument, five theorems
Theorem
\(A\)
\(B\)
\(f\) without fixed point
Cantor
\(X\)
\(\{0,1\}\)
\(\neg \)
Gödel
sentences
\(\{T,F\}\)
\(\neg \)
Tarski
sentences
truth values
\(\neg \)
Turing
programs
\(\{\text {halt},\text {loop}\}\)
swap
Maguolo–Valentini
\(\mathbb {N}\)
\(\mathbb {N}\)
\(s\)
In the first four the self-map is the involution \(\vartheta \) met throughout, with \(\vartheta ^{2}=\operatorname {id}\) and no fixed point
because \(p=\neg p\) is excluded; in the last it is the successor, whose lack of a fixed point comes
from the order. In projector language, writing \(\Pi _{\mathrm {Fix}}\) for the projector onto \(\mathrm {Fix}(f)\),
so the five
theorems are the single statement that a vanishing fixed-point projector obstructs
surjectivity.
Why the intuitionistic version holds
Classically \(\neg \neg A\equiv A\), so \(\neg \) is an involution; intuitionistically only \(A\Rightarrow \neg \neg A\) is available, as discussed in
Subsection 271.3. The diagonal argument above is insensitive to this: \(d\) is built from \(\Delta \), \(\mathrm {ev}\) and \(\circ \), all
of which exist in any cartesian closed category and in particular in intuitionistic type theory.
Negation occurs only inside the hypothesis \(\neg (f(b)=b)\) and inside the conclusion, never in the
construction. This is what the intuitionistic proof establishes, and in the present
framework it is the statement that the diagonal — hence \(A=A\) — is all the argument
consumes.
Remark 194.1 (Monus is not group subtraction).The subtraction used in the intuitionistic
proof of Subsection 194is truncated subtraction on \(\mathbb {N}\),
but not commutativity, since in general \(a\dotminus b\neq b\dotminus a\). The structure
carried is \((\mathbb {N},\le ,0,S,\dotminus )\), an ordered monoid with residuation, and the residuation law
\begin{equation} a\dotminus b\le c \iff a\le c+b \tag{10972}\end{equation}
exhibits \((-)\dotminus b\)as left adjoint
to \((-)+b\)for the order — the same adjoint pattern as \(F\dashv U\)and \(\Sigma \dashv f^{*}\).
Three subtractions.The identity \(0-0=0\)holds in every setting, but the reason differs:
Setting
Operation
Why \(x\)minus \(x\)is \(0\)
\(\mathbb {N}\)
\(a\dotminus b\)
reflexivity, \(x\le x\)
\(\mathbb {Z}\)
\(a+(-b)\)
inverse axiom, \([(a,b)]+[(b,a)]\sim (0,0)\)
\(\mathbb {F}_2\)
\(a+b\)
\(A+A=0\), every element self-inverse
In \(\mathbb {N}\)the vanishing is an order fact, in \(\mathbb {Z}\)a group fact, and in \(\mathbb {F}_2\)subtraction and addition coincide
because \(-A=A\)— the involution \(\vartheta \)acting trivially on the two-element structure. The chain \(\mathbb {N}\to \mathbb {Z}\to \mathbb {F}_2\)thus passes
from subtraction as comparison, through subtraction as inversion, to subtraction as addition,
and the intuitionistic proof works in the first of these, which is why its two lemmas are order
statements in disguise.