286 Predicates Are Prior: Nine Encodings and Why Only One Breaks

Thesis. Predication precedes set theory by more than two millennia, and the set is one encoding of a predicate among many. We list nine encodings and run Russell’s construction through each. Eight yield ordinary outcomes — an absent function, a rejected type, a fixed point, an unsolvable equation, an undecidable problem. Only the set encoding yields contradiction, and it does so because it alone asserts unconditionally that something exists.

I. The historical order




Date Author Contribution



c. 350 BC Aristotle predication: \(S\) is \(P\)
1879 Frege Begriffsschrift: \(\varphi (x)\) as primitive
1874– Cantor set theory
1889 Peano the symbol \(\in \)
1901 Russell the paradox



\begin{equation} \boxed {\text {predicate}\ \longrightarrow \ \text {set} \qquad (\text {a gap of some }2200\ \text {years}).} \tag{18076}\end{equation}
Frege took predicates as primitive and then encoded each by its extension,
\begin{equation} \varphi \ \longmapsto \ \{x:\varphi (x)\}, \tag{18077}\end{equation}
and it is this step, not predication itself, that Russell’s argument strikes.
\begin{equation} \boxed {\text {the paradox belongs to the encoding, not to the predicate}.} \tag{18078}\end{equation}
II. Nine encodings, tested

1. Sets (Frege, Cantor).

\begin{equation} \varphi \longmapsto \{x:\varphi (x)\}, \qquad \varphi (x):\equiv x\notin x \;\Longrightarrow \; \bot . \tag{18079}\end{equation}

2. Characteristic functions.

\begin{equation} \varphi \longmapsto \chi _\varphi :X\to \{0,1\}, \tag{18080}\end{equation}
\begin{equation} \chi (x)=1-\chi (x) \;\Longrightarrow \; \chi (x)=\tfrac 12\notin \{0,1\}, \tag{18081}\end{equation}
so no such function exists — an absence, not a contradiction.

3. Types (Curry–Howard).

\begin{equation} \varphi \longmapsto A_\varphi , \qquad \varphi (x)\ \text {true} \iff A_\varphi (x)\ \text {inhabited}. \tag{18082}\end{equation}
The Russell clause becomes a recursive type \(A(x):=\neg A(x)\), which well-founded type checking rejects and coinductive typing accepts.

4. Heyting algebras.

\begin{equation} \varphi \wedge \psi \mapsto \varphi \otimes \psi , \qquad \varphi \to \psi \mapsto \varphi \Rightarrow \psi . \tag{18083}\end{equation}
An element with \(a=\neg a\) satisfies \(a\wedge \neg a=0\) while \(a\vee \neg a\neq 1\); excluded middle fails but nothing collapses.

5. Fuzzy or probabilistic values.

\begin{equation} \varphi \longmapsto \mu _\varphi :X\to [0,1], \qquad \mu (x)=1-\mu (x) \;\Longrightarrow \; \boxed {\mu (x)=\tfrac 12 .} \tag{18084}\end{equation}
The solution lies inside the value space; the paradox is a fixed point (cf. Section 208.10).

6. Topological (open sets).

\begin{equation} \varphi \mapsto U_\varphi \in \tau , \qquad \neg \varphi \mapsto \operatorname {int}(U^{c}), \tag{18085}\end{equation}
where \(\operatorname {int}(U^{c})^{c}\neq U\) in general, so excluded middle fails and \(U=\operatorname {int}(U^{c})\) may have boundary solutions.

7. Boolean algebra.

\begin{equation} b=\neg b \;\Longrightarrow \; b=1-b \;\Longrightarrow \; \text {no solution in }\{0,1\}, \tag{18086}\end{equation}
an unsolvable equation rather than an inconsistency.

8. Game semantics.

\begin{equation} \varphi \mapsto G_\varphi , \qquad \varphi \ \text {true}\iff \text {Verifier has a winning strategy}. \tag{18087}\end{equation}
\(G=\neg G\) produces an infinite game with alternating roles: a draw, i.e. indeterminacy.

9. Computation.

\begin{equation} \varphi \mapsto M_\varphi , \qquad \varphi (x)\iff M_\varphi (x)\ \text {accepts}, \qquad D(M):=\neg M(M), \tag{18088}\end{equation}
\begin{equation} \boxed {\text {a theorem: the halting predicate is undecidable}.} \tag{18089}\end{equation}
III. Comparison




Encoding Russell’s outcome status



1. sets \(\bot \) collapse
2. characteristic functions no such function absence
3. types type checking fails rejection
4. Heyting consistent element normal
5. fuzzy \([0,1]\) \(\mu =\tfrac 12\) fixed point
6. topological boundary solution normal
7. Boolean no solution unsolvable
8. games draw indeterminate
9. computation undecidability theorem



\begin{equation} \boxed {\text {only the set encoding collapses}.} \tag{18090}\end{equation}
IV. Why sets alone

The other eight encodings answer conditionally:



Encoding what it says


function it exists if it does
type true if inhabited
value whatever the computation returns
game whoever has the strategy
program whatever the run produces


set the collection exists


\begin{equation} \boxed {\{x:\varphi (x)\}\ \text {asserts existence unconditionally}.} \tag{18091}\end{equation}
Comprehension is an existence axiom; the others are not. The diagonalisation is identical in all nine cases, and what differs is whether an object is thereby claimed to exist.
V. The structure
\begin{equation} \text {predicate (primitive: Aristotle, Frege)} \tag{18092}\end{equation}
\begin{equation} \Big \downarrow \ \text {encoding} \tag{18093}\end{equation}
\begin{equation} \begin {cases} \text {sets} & \Longrightarrow \ \bot \\[2pt] \text {functions, types, values, games, programs} & \Longrightarrow \ \text {ordinary outcomes} \end {cases} \tag{18094}\end{equation}
\begin{equation} \boxed {\text {the paradox is a defect of one encoding, not of predication}.} \tag{18095}\end{equation}

Predication is the older and the more basic notion; the set is a seventeenth-century-late device for representing it, introduced by Frege as the extension of a concept and formalised by Cantor and Peano. Running the same diagonal construction through nine representations shows that eight of them absorb it without difficulty — yielding an absent function, a rejected typing, a midpoint value, an unsolvable equation, a drawn game, or an undecidability theorem — and that only the extensional one produces a contradiction. The reason is visible in the comparison: comprehension asserts that a collection exists, and the diagonal then shows that the assertion cannot be maintained. Predicates assert nothing of the kind, which is why the same argument, stated with them, is not a paradox but a proof.

286.1 Tarski, Gödel, Turing: One Fixed Point, Four Outcomes

Thesis. Russell’s paradox, Tarski’s undefinability theorem, Gödel’s first incompleteness theorem, and Turing’s halting result share a single construction: a fixed point of negation, \(X=\neg F(X)\). They differ only in the standing of \(F\). Where \(F\) is forced to exist by an axiom, the construction yields a contradiction; where \(F\) cannot exist, it yields an absence; where \(F\) is actually constructed, it yields a theorem. Encoding is what turns a predicate into an object, and the grading axiom \(\neg \mathsf {Lev}(t,t)\) governs all four.

I. Tarski’s hierarchy

The undefinability theorem. For a sufficiently strong language \(L\) there is no \(\mathrm {Tr}_L\in L\) with

\begin{equation} \mathrm {Tr}_L(\ulcorner \varphi \urcorner )\leftrightarrow \varphi . \tag{18096}\end{equation}
The proof diagonalises:
\begin{equation} \lambda :\equiv \neg \mathrm {Tr}(\ulcorner \lambda \urcorner ), \qquad \mathrm {Tr}(\ulcorner \lambda \urcorner ) \leftrightarrow \lambda \leftrightarrow \neg \mathrm {Tr}(\ulcorner \lambda \urcorner ) \;\Longrightarrow \;\bot . \tag{18097}\end{equation}
Tarski’s remedy is a hierarchy of languages,
\begin{equation} L_0\subset L_1\subset \cdots , \qquad \mathrm {Tr}_n\in L_{n+1}, \tag{18098}\end{equation}
which pushes the truth predicate one level up.

The encoding is the culprit. The Gödel numeral \(\ulcorner \varphi \urcorner \) converts a sentence into an object of the very language in which it occurs:

\begin{equation} \boxed {\varphi \ (\text {a sentence}) \;\longmapsto \; n\ (\text {an object of }L).} \tag{18099}\end{equation}
This is the same move as \(\varphi \mapsto \{x:\varphi (x)\}\) in Section 286.

In predicate form. Writing \(\mathsf {Tr}(\varphi )\) without numerals, the Liar requires

\begin{equation} \lambda :\equiv \neg \mathsf {Tr}(\lambda ) \;\Longrightarrow \; \mathsf {Lev}(\lambda ,\mathsf {Tr})\wedge \mathsf {Lev}(\mathsf {Tr},\lambda ) \;\Longrightarrow \; \mathsf {Lev}(\lambda ,\lambda ), \tag{18100}\end{equation}
which the axiom of Section 223 forbids:
\begin{equation} \boxed {\neg \mathsf {Lev}(t,t)\ \text {blocks the Liar}.} \tag{18101}\end{equation}
The Tarski hierarchy is then not an imposed device but the \(\mathsf {Lev}\)-chain itself, of depth \(|\operatorname {ran}(\mathsf {Lev})|-1\).
II. Gödel’s encoding

The arithmetisation.

\begin{equation} \ulcorner \varphi \urcorner :=2^{a_1}3^{a_2}\cdots p_k^{a_k}, \tag{18102}\end{equation}
which renders provability an arithmetical predicate \(\mathrm {Prov}(n)\) and so encodes the metalanguage inside the object language.

The first incompleteness theorem. By the diagonal lemma there is \(G\) with

\begin{equation} \mathrm {PA}\vdash G\leftrightarrow \neg \mathrm {Prov}(\ulcorner G\urcorner ), \tag{18103}\end{equation}
\begin{equation} \mathrm {PA}\nvdash G, \qquad \mathrm {PA}\nvdash \neg G . \tag{18104}\end{equation}
\begin{equation} \boxed {\text {a theorem, not a contradiction}.} \tag{18105}\end{equation}

Why this case does not break.

\begin{equation} \mathrm {Prov}(n):\equiv \exists p\ \mathsf {ProofOf}(p,n), \tag{18106}\end{equation}
where \(\mathsf {ProofOf}\) is primitive recursive and hence decidable: the predicate is exhibited, not postulated.
\begin{equation} \boxed {\mathrm {Prov}\ \text {exists because it is constructed}.} \tag{18107}\end{equation}
By contrast \(\mathrm {Tr}\) would have to decide sentences of arbitrary logical complexity, and Tarski’s theorem is precisely the statement that no such predicate is available.
III. The common construction
\begin{equation} R=\{x:x\notin x\}, \qquad \lambda =\neg \mathrm {Tr}(\lambda ), \qquad G=\neg \mathrm {Prov}(G), \qquad D(M)=\neg \mathsf {Halt}(M,M), \tag{18108}\end{equation}
all of the form
\begin{equation} \boxed {X=\neg F(X).} \tag{18109}\end{equation}
The construction is identical; what varies is the standing of \(F\).





diagonal standing of \(F\) outcome




Russell \(R=\{x:x\notin x\}\) forced by comprehension \(\bot \)
Tarski \(\lambda =\neg \mathrm {Tr}(\lambda )\) cannot exist undefinability
Gödel \(G=\neg \mathrm {Prov}(G)\) primitive recursive incompleteness
Turing \(D=\neg \mathsf {Halt}(D,D)\) computable undecidability




\begin{equation} \boxed {\text {same fixed point; the ground of }F\text {'s existence decides the result}.} \tag{18110}\end{equation}
IV. All four in predicate form

Each instance requires the argument and the predicate to be graded relative to one another:

\begin{equation} X=\neg F(X) \;\Longrightarrow \; \mathsf {Lev}(X,F)\wedge \mathsf {Lev}(F,X) \;\Longrightarrow \; \mathsf {Lev}(X,X) \;\Longrightarrow \; \bot . \tag{18111}\end{equation}
\begin{equation} \boxed {\neg \mathsf {Lev}(t,t)\ \text {covers all four}.} \tag{18112}\end{equation}
What differs is where the block falls:



what is blocked


Russell the construction itself
Tarski the definition of \(\mathrm {Tr}\)
Gödel not \(G\), only its provability
Turing not \(D\), only its decidability


V. Diagonalisation is not paradox
\begin{equation} \boxed {\text {diagonalisation}\ \neq \ \text {paradox},} \tag{18113}\end{equation}
\begin{equation} \boxed {\text {diagonalisation} +\text {ungrounded existence claim} =\text {paradox}.} \tag{18114}\end{equation}
Gödel and Turing construct \(F\) and obtain theorems; Tarski shows that \(F\) cannot be constructed and obtains an absence; Russell’s \(F\) is imposed by an axiom and the result is inconsistency. Three are sound; one collapses.

The four arguments are one argument. Each forms a fixed point of negation, and each requires that a predicate be applied to something of its own level — which is exactly what the grading axiom forbids. The difference in outcome traces entirely to how \(F\) came to be available. Encoding is the operative step: Gödel numbering makes syntax into arithmetic just as comprehension makes a predicate into a set, and in both cases what was a rule about expressions becomes an object among the things the expressions are about. Where that object is genuinely constructed, as with \(\mathrm {Prov}\) and \(\mathsf {Halt}\), the diagonal delivers a limitative theorem. Where it is merely posited, as with unrestricted comprehension, the same diagonal delivers a contradiction — and the fault lies with the positing, not with the diagonal.

286.2 Topology without Set Families: Compactness via Filters

The usual definition of compactness carries two collections at once — a family of open sets and an index set — and both disappear under the filter formulation. A filter is a unary predicate on opens; an ultrafilter is a complete two-valued assignment; and compactness becomes the single statement that every ultrafilter converges. Filters, not nets, are the right tool here: nets reintroduce a directed set, while filters need none.

Step 1: What the usual definition assumes

A topology is \(\tau \subseteq \mathcal {P}(X)\), a family of subsets, and compactness reads: every open cover \(\{U_i\}_{i\in I}\) admits a finite subcover.

\begin{equation} \boxed {\text {cover}=\text {family of sets}+\text {index set}.} \tag{18115}\end{equation}
Step 2: Topology as predicates
\begin{equation} \mathsf {Open}(u), \qquad \mathsf {In}(x,u), \tag{18116}\end{equation}
\begin{equation} \mathsf {Open}(0), \quad \mathsf {Open}(1), \quad \mathsf {Open}(u)\wedge \mathsf {Open}(v)\Rightarrow \mathsf {Open}(u\otimes v), \tag{18117}\end{equation}
with arbitrary joins handled as in Section 222.2.
Step 3: A filter is a unary predicate

Instead of a subfamily of \(\mathcal {P}(X)\), take

\begin{equation} \mathsf {F}(u) \qquad \text {``}u\text { belongs to the filter''}, \tag{18118}\end{equation}
with the filter axioms as predicate implications:
\begin{equation} \mathsf {F}(1), \qquad \neg \mathsf {F}(0), \tag{18119}\end{equation}
\begin{equation} \mathsf {F}(u)\wedge \mathsf {F}(v)\Rightarrow \mathsf {F}(u\otimes v), \qquad \mathsf {F}(u)\wedge u\sqsubseteq v\Rightarrow \mathsf {F}(v). \tag{18120}\end{equation}
\begin{equation} \boxed {\text {a filter is a predicate, not a family}.} \tag{18121}\end{equation}
Step 4: Convergence
\begin{equation} \boxed {\mathsf {Conv}(\mathsf {F},x):\equiv \forall u\bigl (\mathsf {Nbhd}(u,x)\to \mathsf {F}(u)\bigr ).} \tag{18122}\end{equation}
Convergence is an implication between predicates.
Step 5: Ultrafilters are complete two-valued assignments

Maximality takes the form

\begin{equation} \boxed {\forall u\ \bigl (\mathsf {U}(u)\vee \mathsf {U}(\neg u)\bigr ),} \tag{18123}\end{equation}
that is,
\begin{equation} \mathsf {U}:\ \text {Open}\longrightarrow \{0,1\}. \tag{18124}\end{equation}
This is the characteristic-function encoding of Section 286, and the maximality condition is excluded middle in topological dress.
Step 6: Compactness
\begin{equation} \boxed {\mathsf {Compact}:\equiv \forall \mathsf {U}\ \exists x\ \mathsf {Conv}(\mathsf {U},x).} \tag{18125}\end{equation}
No cover, no index set — one quantifier over predicates and one over points.
Step 7: Equivalence with the cover definition

Cover \(\Rightarrow \) filter. Suppose \(\{U_i\}\) is an open cover with no finite subcover. Then

\begin{equation} \mathsf {F}(v):\equiv \exists \ \text {finite }J:\ v\sqsupseteq \neg \!\!\bigvee _{i\in J}U_i \tag{18126}\end{equation}
satisfies the filter axioms (the finite intersection property), extends to an ultrafilter, and that ultrafilter cannot converge.

Filter \(\Rightarrow \) cover. Suppose an ultrafilter \(\mathsf {U}\) fails to converge. Then

\begin{equation} \forall x\ \exists u_x:\ \mathsf {Nbhd}(u_x,x)\wedge \neg \mathsf {U}(u_x), \tag{18127}\end{equation}
and \(\{u_x\}\) is an open cover with no finite subcover.
\begin{equation} \boxed {\text {the two formulations agree}.} \tag{18128}\end{equation}
Step 8: Tychonoff, in three lines

Let \(\mathsf {U}\) be an ultrafilter on \(\prod _i X_i\). Its projections

\begin{equation} \mathsf {U}_i(u):\equiv \mathsf {U}\bigl (\pi _i^{-1}(u)\bigr ) \tag{18129}\end{equation}
are ultrafilters on each factor, hence converge to some \(x_i\), and then
\begin{equation} \mathsf {Conv}\bigl (\mathsf {U},(x_i)\bigr ). \tag{18130}\end{equation}
\begin{equation} \boxed {\text {the filter proof is markedly shorter than the cover proof}.} \tag{18131}\end{equation}
Step 9: Why not nets

A net is a map \(n:D\to X\) from a directed set, with

\begin{equation} \mathsf {Conv}(n,x):\equiv \forall u\bigl (\mathsf {Nbhd}(u,x)\to \exists d_0\,\forall d\geq d_0:\ \mathsf {In}(n(d),u)\bigr ). \tag{18132}\end{equation}
The directed set \(D\) is itself a collection, so nets use more collection structure than filters, not less.
\begin{equation} \boxed {\text {filters are the appropriate tool for predicate formulation}.} \tag{18133}\end{equation}
Step 10: Connectedness and homotopy

Connectedness is already predicative:

\begin{equation} \mathsf {Conn}:\equiv \neg \exists u,v\bigl ( \mathsf {Open}(u)\wedge \mathsf {Open}(v)\wedge u\otimes v=0\wedge u\oplus v=1\wedge u\neq 0\neq v\bigr ). \tag{18134}\end{equation}

Homotopy replaces the path space \(X^{I}\) by predicates:

\begin{equation} \mathsf {Path}(p,x,y), \qquad \mathsf {Homot}(p,q):\equiv \exists H\bigl ( \mathsf {Cont}(H)\wedge H_0=p\wedge H_1=q\bigr ), \tag{18135}\end{equation}
and the fundamental group reuses the composition predicate:
\begin{equation} \mathsf {Loop}(p,x):\equiv \mathsf {Path}(p,x,x), \qquad \mathsf {Comp}(p,q,r). \tag{18136}\end{equation}
Summary




Notion Usual form Predicate form



topology \(\tau \) family of subsets \(\mathsf {Open}(u)\)
filter family of subsets \(\mathsf {F}(u)\)
ultrafilter maximal filter \(\mathsf {U}:\text {Open}\to \{0,1\}\)
convergence neighbourhood condition \(\mathsf {Conv}(\mathsf {F},x)\)
compactness family of covers \(\forall \mathsf {U}\,\exists x\,\mathsf {Conv}\)
connectedness no separation \(\neg \exists u,v\)
homotopy path space \(\mathsf {Path},\mathsf {Homot}\)



Three observations stand out. First, a filter simply is a predicate on opens: the family \(\mathcal {F}\subseteq \mathcal {P}(X)\) and the map \(\mathsf {F}:\text {Open}\to \{0,1\}\) carry the same data, and the second formulation posits no collection. Second, an ultrafilter is a complete two-valued assignment, so the maximality axiom is the excluded middle appearing again, now as a topological condition. Third, and most usefully, compactness loses both of its collections at once: the family of covers and the index set are replaced by a single quantifier over ultrafilters, and the Tychonoff argument shortens to three lines. Nets, by contrast, drag in a directed set and move in the wrong direction. Where a formulation can be phrased either by families or by filters, the filter phrasing is the one that dispenses with collections.

286.3 Model Theory, Recursion Theory, and Primitive Recursion without Sets

Thesis. Three areas built on collections — models with their domains, recursion theory with its function classes, and primitive recursion with its hierarchy — are expressible with predicates and grammars. Three facts emerge: the domain of a model is already a term grammar (Herbrand), compactness is a property of proofs rather than of sets, and every separation in these hierarchies is a successful diagonalisation.

I. Model theory

Step 1: The domain is a grammar. In place of \(M=(D,I)\) with \(D\) a set, take

\begin{equation} \mathsf {Elem}(a), \qquad \mathsf {Interp}(P,a_1,\dots ,a_n), \tag{18137}\end{equation}
with elements generated inductively:
\begin{equation} a::=c\ \mid \ f(a_1,\dots ,a_n). \tag{18138}\end{equation}
\begin{equation} \boxed {\text {the Herbrand universe is the domain as a grammar}.} \tag{18139}\end{equation}

Step 2: Satisfaction by recursion.

\begin{equation} \mathsf {Sat}\bigl (P(\vec t\,)\bigr ):\equiv \mathsf {Interp}(P,\vec t\,), \qquad \mathsf {Sat}(\varphi \wedge \psi ) :\equiv \mathsf {Sat}(\varphi )\wedge \mathsf {Sat}(\psi ), \tag{18140}\end{equation}
\begin{equation} \mathsf {Sat}(\neg \varphi ):\equiv \neg \mathsf {Sat}(\varphi ), \qquad \mathsf {Sat}(\forall x\,\varphi ) :\equiv \forall t\ \mathsf {Sat}\bigl (\varphi [t/x]\bigr ), \tag{18141}\end{equation}
the last clause being a scheme over terms rather than a conjunction indexed by a set.

Step 3: Compactness is finiteness of proofs. Instead of “every finite subset has a model”, use

\begin{equation} \mathsf {Uses}(p,\gamma ) \qquad \text {``the proof }p\text { invokes the axiom }\gamma \text {''}, \tag{18142}\end{equation}
and observe that a proof is a finite object:
\begin{equation} \boxed {\text {each }p\text { uses only finitely many }\gamma \;\Longrightarrow \; \text {compactness}.} \tag{18143}\end{equation}
No subset relation is needed; the finiteness is that of the derivation.

Step 4: Completeness by predicate update. Lindenbaum’s construction extends a theory stage by stage. Rather than forming unions of sets,

\begin{equation} \mathsf {In}_{n+1}(\psi ) :\equiv \mathsf {In}_n(\psi ) \ \vee \ \bigl (\psi =\varphi _n\wedge \mathsf {Consis}_n\bigr ), \tag{18144}\end{equation}
and the resulting model is the Herbrand universe with
\begin{equation} \boxed {\mathsf {Interp}(P,\vec t\,) :\equiv \mathsf {In}\bigl (P(\vec t\,),\Gamma \bigr ),} \tag{18145}\end{equation}
so the model is the predicate.
II. Recursion theory

Step 5: Kleene’s normal form. Rather than a class of computable functions, take the predicates

\begin{equation} T(e,x,p) \qquad \text {``}p\text { is a computation of }\{e\}(x)\text {''}, \qquad U(p) \qquad \text {``the output of }p\text {''}, \tag{18146}\end{equation}
both primitive recursive, with
\begin{equation} \boxed {\{e\}(x)=U\bigl (\mu p\ T(e,x,p)\bigr ).} \tag{18147}\end{equation}

Step 6: R.e. and recursive as complexity classes of formulas.

\begin{equation} \mathsf {RE}_e(x):\equiv \exists p\ T(e,x,p) \qquad (\Sigma _1), \tag{18148}\end{equation}
\begin{equation} \boxed {\text {recursive}=\Delta _1=\Sigma _1\cap \Pi _1 .} \tag{18149}\end{equation}
The set \(W_e\) is replaced by the predicate \(\mathsf {RE}_e\).

Step 7: Turing reducibility with predicate parameters.

\begin{equation} \mathsf {Red}(A,B):\equiv \exists e\ \forall x\ \bigl (\mathsf {InA}(x)\leftrightarrow \{e\}^{\mathsf {InB}}(x)=1\bigr ), \tag{18150}\end{equation}
\begin{equation} \boxed {\text {the oracle is a predicate argument}.} \tag{18151}\end{equation}
Turing equivalence is the conjunction \(\mathsf {Red}(A,B)\wedge \mathsf {Red}(B,A)\); degrees are handled as an equivalence relation without forming the classes (Section 221.1).

Step 8: The arithmetical hierarchy as a grammar.

\begin{equation} \Sigma _0=\Pi _0=\Delta _0, \qquad \Sigma _{n+1}:\equiv \exists x\,\Pi _n, \qquad \Pi _{n+1}:\equiv \forall x\,\Sigma _n , \tag{18152}\end{equation}
a stratification of formulas by quantifier prefix. Strictness
\begin{equation} \Sigma _n\subsetneq \Sigma _{n+1} \tag{18153}\end{equation}
is proved by diagonalisation, in the pattern of Section 286.1.
III. Primitive recursion

Step 9: The class as a grammar. Initial functions and two operations:

\begin{equation} Z(x)=0, \qquad S(x)=x+1, \qquad P^n_i(x_1,\dots ,x_n)=x_i , \tag{18154}\end{equation}
\begin{equation} h(\vec x)=f\bigl (g_1(\vec x),\dots ,g_m(\vec x)\bigr ), \qquad \begin {cases} h(\vec x,0)=f(\vec x)\\ h(\vec x,y+1)=g\bigl (\vec x,y,h(\vec x,y)\bigr ) \end {cases} \tag{18155}\end{equation}
give the grammar
\begin{equation} \boxed {f::=Z\ \mid \ S\ \mid \ P^n_i\ \mid \ \mathrm {Comp}(f,\vec g)\ \mid \ \mathrm {Rec}(f,g),} \tag{18156}\end{equation}
so the “class of primitive recursive functions” is the set of terms this grammar produces — that is, a rule, not a collection.

Step 10: Verification. Addition:

\begin{equation} \mathrm {add}(x,0)=P^1_1(x)=x, \qquad \mathrm {add}(x,y+1)=S\bigl (\mathrm {add}(x,y)\bigr ), \tag{18157}\end{equation}
\begin{equation} \mathrm {add}(2,3)=S\bigl (S(S(\mathrm {add}(2,0)))\bigr )=S(S(S(2)))=5 . \tag{18158}\end{equation}
Multiplication:
\begin{equation} \mathrm {mult}(x,0)=Z(x)=0, \qquad \mathrm {mult}(x,y+1)=\mathrm {add}\bigl (x,\mathrm {mult}(x,y)\bigr ), \tag{18159}\end{equation}
\begin{equation} \mathrm {mult}(2,3)=\mathrm {add}(2,\mathrm {mult}(2,2)) =\mathrm {add}(2,4)=6 . \tag{18160}\end{equation}

Step 11: Ackermann exceeds the grammar.

\begin{equation} A(0,n)=n+1, \qquad A(m+1,0)=A(m,1), \qquad A(m+1,n+1)=A\bigl (m,A(m+1,n)\bigr ), \tag{18161}\end{equation}
\begin{equation} A(1,1)=A\bigl (0,A(1,0)\bigr )=A\bigl (0,A(0,1)\bigr )=A(0,2)=3 . \tag{18162}\end{equation}
The double recursion is not an instance of \(\mathrm {Rec}\), and diagonalisation gives
\begin{equation} \boxed {\forall f\ \text {primitive recursive}\ \exists n:\ A(n,n)>f(n).} \tag{18163}\end{equation}

Step 12: The three levels.

\begin{equation} \mathsf {PR}\ \subsetneq \ \mathsf {TR}\ \subsetneq \ \mathsf {PartR}, \tag{18164}\end{equation}
with both separations by diagonalisation: Ackermann for the first, the halting problem for the second.
Summary




Notion Usual form Predicate form



model \(M=(D,I)\) set \(+\) interpretation term grammar \(+\) \(\mathsf {Interp}\)
satisfaction \(\models \) recursion on \(D\) \(\mathsf {Sat}\) recursion
compactness finite subsets finiteness of proofs
completeness maximal consistent set predicate update
computable functions a class \(T(e,x,p)\), \(U(p)\)
r.e. set \(W_e\) set of halting inputs \(\Sigma _1\) predicate
Turing reduction oracle machine predicate parameter
arithmetical hierarchy sets of predicates quantifier grammar
primitive recursive a function class term grammar



Three observations

The domain was already a grammar. Herbrand’s construction builds a model whose elements are closed terms. What model theory calls a domain is, in the canonical case, exactly the inductive term structure of Section 221.2.

Compactness is about proofs. The theorem is usually stated in terms of finite subsets of a theory, but what does the work is that each derivation invokes finitely many axioms. The finiteness belongs to the proof, not to a set.

Every separation is a diagonalisation.

\begin{equation} \mathsf {PR}\subsetneq \mathsf {TR}\ (\text {Ackermann}), \qquad \mathsf {TR}\subsetneq \mathsf {PartR}\ (\text {halting}), \qquad \Sigma _n\subsetneq \Sigma _{n+1}\ (\text {arithmetical}). \tag{18165}\end{equation}
\begin{equation} \boxed {\text {hierarchy}=\text {diagonalisation that succeeds}.} \tag{18166}\end{equation}
This is the constructive counterpart of Section 286.1: where the diagonal has a well-founded predicate to work with, it does not produce a paradox but establishes that the next level is strictly larger. The same construction that breaks unrestricted comprehension is what builds these hierarchies.