462 Gödel’s Theorems as Theorems of Arithmetic

Nothing in the incompleteness theorems lies outside Peano arithmetic.

The whole argument is therefore a conditional theorem of the system itself. What the system cannot do is discharge the single hypothesis \(\mathrm {Con}(\mathrm {PA})\); that is the second incompleteness theorem, and the first follows from it. Incompleteness is not a sentence found outside \(\Gamma \) but a property of a sentence that was in \(\Gamma \) from the start. Proof-theoretically, the undischarged hypothesis is transfinite induction up to \(\varepsilon _0\): PA proves it below every smaller ordinal and not at \(\varepsilon _0\).

462.1 Syntax inside arithmetic

Coding. Assign numbers to the symbols of the language and code a string \(s_1\cdots s_n\) by

\begin{equation} \ulcorner s_1\cdots s_n\urcorner =2^{c(s_1)}3^{c(s_2)}\cdots p_n^{c(s_n)} . \tag{22366}\end{equation}
By unique factorisation in the free commutative monoid on the primes, the coding is injective, and the decoding functions — length, \(i\)-th symbol, concatenation — are primitive recursive.

The set of sentences. Let \(\Gamma =\{\varphi :\mathrm {PA}\vdash \varphi \}\). Every formula, every proof and every relation between them is a number or a set of numbers, so statements about \(\Gamma \) are arithmetic statements.

462.2 Representability

Proof relation. \(\mathrm {Proof}(x,y)\), "\(x\) codes a PA-proof of the formula coded by \(y\)", is primitive recursive, since checking a finite sequence of formulas against the axioms and rules is a bounded computation.

\(\Sigma _1\)-completeness. Every true \(\Sigma _1\) sentence is provable in PA, already in Robinson’s \(\mathsf Q\). Hence every primitive recursive relation is represented by a formula, and

\begin{equation} \mathrm {Prov}(y):=\exists x\,\mathrm {Proof}(x,y) \tag{22367}\end{equation}
is a \(\Sigma _1\) formula of the language of PA.

462.3 The diagonal lemma

Let \(\mathrm {sub}(x,y)\) be the primitive recursive function that returns the code of the result of substituting the numeral \(\bar y\) for the free variable in the formula coded by \(x\).

Lemma. For every formula \(\psi (x)\) there is a sentence \(\theta \) with

\begin{equation} \mathrm {PA}\vdash \theta \leftrightarrow \psi (\ulcorner \theta \urcorner ). \tag{22368}\end{equation}

Proof. Let \(\delta (x):=\psi (\mathrm {sub}(x,x))\), \(n=\ulcorner \delta \urcorner \), and \(\theta :=\delta (\bar n)=\psi (\mathrm {sub}(\bar n,\bar n))\). Then \(\mathrm {sub}(n,n)=\ulcorner \theta \urcorner \), and by representability \(\mathrm {PA}\vdash \mathrm {sub}(\bar n,\bar n)=\ulcorner \theta \urcorner \), so \(\mathrm {PA}\vdash \theta \leftrightarrow \psi (\ulcorner \theta \urcorner )\). \(\square \)

The construction feeds a code to itself, \(x\mapsto (x,x)\): the diagonal map of Section 194, applied to codes. With \(\psi (x)=\neg \mathrm {Prov}(x)\) it yields \(G\) with

\begin{equation} \mathrm {PA}\vdash G\leftrightarrow \neg \mathrm {Prov}(\ulcorner G\urcorner ). \tag{22369}\end{equation}

462.4 Derivability conditions

For all sentences \(\varphi ,\psi \) [785, 786]:

(D1) is \(\Sigma _1\)-completeness; (D2) formalises modus ponens; (D3) is \(\Sigma _1\)-completeness proved inside PA.

462.5 The argument as a theorem of PA

Let \(\mathrm {Con}:=\neg \mathrm {Prov}(\ulcorner 0=1\urcorner )\).

Theorem (formalised first theorem).

\begin{equation} \mathrm {PA}\vdash \mathrm {Con}\to G . \tag{22370}\end{equation}

Proof, inside PA. From \(G\to \neg \mathrm {Prov}(\ulcorner G\urcorner )\), (D1) and (D2) give \(\mathrm {Prov}(\ulcorner G\urcorner )\to \mathrm {Prov}(\ulcorner \neg \mathrm {Prov}(\ulcorner G\urcorner )\urcorner )\). (D3) gives \(\mathrm {Prov}(\ulcorner G\urcorner )\to \mathrm {Prov}(\ulcorner \mathrm {Prov}(\ulcorner G\urcorner )\urcorner )\). Combining the two with (D2), \(\mathrm {Prov}(\ulcorner G\urcorner )\to \mathrm {Prov}(\ulcorner 0=1\urcorner )\), that is, \(\mathrm {Con}\to \neg \mathrm {Prov}(\ulcorner G\urcorner )\), and by the diagonal equivalence \(\mathrm {Con}\to G\). \(\square \)

Second theorem. If PA is consistent, then \(\mathrm {PA}\nvdash \mathrm {Con}\). Otherwise \(\mathrm {PA}\vdash G\), so (D1) gives \(\mathrm {PA}\vdash \mathrm {Prov}(\ulcorner G\urcorner )\), while the diagonal equivalence gives \(\mathrm {PA}\vdash \neg \mathrm {Prov}(\ulcorner G\urcorner )\).

First theorem. If PA is consistent, \(\mathrm {PA}\nvdash G\), by the same two lines. If PA is \(\Sigma _1\)-sound, \(\mathrm {PA}\nvdash \neg G\), since \(\neg G\) is equivalent to the \(\Sigma _1\) sentence \(\mathrm {Prov}(\ulcorner G\urcorner )\), which is false. Rosser’s sentence removes the soundness hypothesis, requiring only consistency [602].

Statement Status Location
\(G\leftrightarrow \neg \mathrm {Prov}(\ulcorner G\urcorner )\) theorem of PA diagonal lemma
(D1)–(D3) theorems of PA (D1 a rule) \(\Sigma _1\)-completeness
\(\mathrm {Con}\to G\) theorem of PA formalised first theorem
\(\mathrm {Con}\) not a theorem of PA second theorem
\(G\) not a theorem of PA first theorem

Every step of the argument is a theorem of PA except one: discharging the antecedent \(\mathrm {Con}\).

462.6 Löb’s theorem

Theorem [786]. If \(\mathrm {PA}\vdash \mathrm {Prov}(\ulcorner \varphi \urcorner )\to \varphi \), then \(\mathrm {PA}\vdash \varphi \). Its formalised version is

\begin{equation} \mathrm {PA}\vdash \mathrm {Prov}\bigl (\ulcorner \mathrm {Prov}(\ulcorner \varphi \urcorner )\to \varphi \urcorner \bigr )\to \mathrm {Prov}(\ulcorner \varphi \urcorner ). \tag{22371}\end{equation}
With \(\varphi =(0=1)\) it is the second incompleteness theorem: PA proves its own soundness for a sentence only when it already proves that sentence.

462.7 Truth, models and the partition

Truth. \(G\) is \(\Pi _1\), and since \(\mathrm {PA}\vdash G\leftrightarrow \mathrm {Con}\) (the converse direction also holds), \(G\) is true in \(\mathbb N\) exactly when PA is consistent. No formula of arithmetic defines truth for all arithmetic sentences [603]: provability is definable, truth is not.

Models.

\begin{equation} \mathrm {Mod}(\mathrm {PA})=\mathrm {Mod}(\mathrm {PA}+G)\sqcup \mathrm {Mod}(\mathrm {PA}+\neg G), \tag{22372}\end{equation}
both parts non-empty when PA is consistent. Models of \(\mathrm {PA}+\neg G\) are non-standard: they contain an element satisfying \(\mathrm {Proof}(x,\ulcorner G\urcorner )\) that is not the code of any actual proof. In the Lindenbaum algebra, \(0<[G]<1\) (Section 348).

462.8 Where the unprovable lives

Gentzen proved \(\mathrm {Con}(\mathrm {PA})\) in primitive recursive arithmetic extended by quantifier-free transfinite induction up to \(\varepsilon _0=\sup \{\omega ,\omega ^\omega ,\omega ^{\omega ^\omega },\dots \}\) [787]. PA proves transfinite induction up to every \(\alpha <\varepsilon _0\) and not up to \(\varepsilon _0\). Cut elimination for PA is carried out by induction on ordinal notations below \(\varepsilon _0\), so the hypothesis PA cannot discharge has a precise ordinal measure.

System Proves \(\mathrm {TI}(\alpha )\) for Proves \(\mathrm {Con}(\mathrm {PA})\)
PA every \(\alpha <\varepsilon _0\) no
PRA \(+\mathrm {TI}(\varepsilon _0)\) \(\varepsilon _0\) yes

462.9 Summary

Statement Form Ingredient
coding \(\ulcorner \cdot \urcorner \) injective unique factorisation
proof relation primitive recursive bounded checking
provability \(\Sigma _1\) formula representability
diagonal lemma \(\theta \leftrightarrow \psi (\ulcorner \theta \urcorner )\) \(x\mapsto \mathrm {sub}(x,x)\)
Gödel sentence \(G\leftrightarrow \neg \mathrm {Prov}(\ulcorner G\urcorner )\) diagonal
derivability (D1)–(D3) \(\Sigma _1\)-completeness
internal theorem \(\mathrm {PA}\vdash \mathrm {Con}\to G\) (D1)–(D3)
second theorem \(\mathrm {PA}\nvdash \mathrm {Con}\) one undischarged hypothesis
first theorem \(\mathrm {PA}\nvdash G\), \(\mathrm {PA}\nvdash \neg G\) consistency, Rosser
Löb \(\vdash \mathrm {Prov}\varphi \to \varphi \Rightarrow \ \vdash \varphi \) formalised
truth \(G\) true \(\iff \) Con Tarski
models \(\mathrm {PA}+\neg G\) non-standard completeness theorem
ordinal \(\varepsilon _0\) Gentzen

The Official Declaration of Mathematics:

“Mathematics follows formal logic alone. Informal fallacies are irrelevant to mathematical validity.”

The Actual Action in the Atiyah Case:

A formally valid argument was rejected on the grounds of an informal fallacy—Begging the Question.

______________________________________________________________________________________

Consequence I. The mathematical community violated the very standard it declared itself to follow. The criterion applied in practice was not the criterion announced in theory.

Consequence II. The rigor that mathematicians claim as the distinguishing virtue of their discipline is, at its foundation, a collection of unconscious declarations—not a system derived from first principles. The formal/informal distinction is known in theory and violated in practice.

Consequence III. This is not an isolated failure attributable to any individual mathematician or any single case. It is a structural blind spot of the mathematical community as a whole—exposed with maximal clarity by the Atiyah case, but present in every act of proof acceptance or rejection.

______________________________________________________________________________________

The community declared: “We follow formal logic only.”
The community acted: “We reject formally valid arguments that beg the question.”
These two statements cannot both be true.

Performative Contradiction/Self-refuting. The mathematical community’s declaration “we follow formal logic alone” is itself refuted by the act of declaring it.

Connection to the Totality Framework. Forward \(\equiv \) Backward is a specific instance of the general principle established in Section 2.4: in a closed system with no external reference, directional distinctions are undefinable. The “direction” of logical implication, like the “direction” of time, the “direction” from interior to exterior of a black hole, and the “direction” from open to closed universe, is a declaration imposed by the formalism, not a feature of the structure.

In the Totality framework, at \(I = 0\):

\begin{equation} I(\text {Forward}, \text {Backward}) = |2A - 1| = 0 \tag{22373}\end{equation}

Forward and Backward are indistinguishable. Valid and Invalid are indistinguishable, meaning that they are the same, or rather one. The distinction emerges only upon partition (\(I > 0\)), and the specific partition—which pattern is called “valid” and which “fallacious”—is chosen by the observer, not dictated by the logic.

This completes the six-stage demonstration.

The Axiom-Experiment Paradox. The conclusions above expose a deeper structural problem in the relationship between formal systems and empirical science.

Axioms are propositions accepted without proof. They are declarations: “this is true because we say so.” No experiment is needed, and no experiment can justify an axiom, because the axiom is the starting point from which all justification proceeds. If axioms are self-justifying declarations, then the entire edifice of formal mathematics is, at its foundation, an act of declaration—precisely the structure classified as Begging the Question in the informal fallacy taxonomy.

Empirical science, by contrast, claims to justify its theories through experiment. But the logical structure of experimental confirmation is:

1.
If theory \(P\) is correct, then observation \(Q\) follows. (\(P \to Q\))
2.
Observation \(Q\) is made. (\(Q\))
3.
Therefore theory \(P\) is confirmed. (\(\therefore P\))

This is Affirming the Consequent—the inference pattern that classical logic classifies as a fallacy. Yet this pattern underlies every experimental confirmation in the history of science: Hertz’s detection of electromagnetic waves confirming Maxwell’s equations, Eddington’s observation of starlight bending confirming general relativity, and LIGO’s detection of gravitational waves confirming Einstein’s prediction. If Affirming the Consequent is a fallacy, then no experimental result has ever logically confirmed any theory. If experimental confirmation is valid, then Affirming the Consequent is not a fallacy.

The Inverse Problem. Even granting the validity of experimental confirmation, a fundamental ambiguity remains. The inference “\(Q\) was observed, therefore \(P\) is correct” presupposes that \(P\) is the unique explanation of \(Q\). But this is precisely what cannot be established by observing \(Q\). Multiple theories \(P_1, P_2, \ldots , P_n\) may each predict \(Q\). The observation of \(Q\) confirms all of them equally. This is the inverse problem: given an output, the input is not uniquely determined.

In mathematics, inverse problems are generically ill-posed (Hadamard, 1902 [19]). In philosophy of science, this is Quine’s underdetermination thesis [14]: for any body of evidence, multiple theories can account for it equally well. The scientific method has no formal mechanism for resolving this ambiguity. In practice, scientists invoke auxiliary criteria—simplicity, elegance, predictive scope—but these are declarations, not derivations. The choice among empirically equivalent theories is a partition of \(T = 1\), not a logical necessity.

The Infinite Regress. The attempt to ground axioms in something more fundamental generates an infinite regress. If axiom \(A_1\) requires justification, one appeals to a more fundamental axiom \(A_0\). But \(A_0\) also requires justification, demanding \(A_{-1}\), and so on ad infinitum. There are three classical responses:

Each response employs a pattern classified as fallacious by classical logic. The justification of logic itself cannot be accomplished without committing what logic calls an error.

Why Everything Works Despite the “Errors.” The critical observation is that science works. Airplanes fly. Computers compute. Medicine heals. These are not declarations but empirical facts. The entire apparatus—axioms (Begging the Question), experimental confirmation (Affirming the Consequent), theory selection among empirically equivalent alternatives (inverse problem), and foundational justification (infinite regress or circularity)—is composed entirely of patterns classified as “fallacious,” yet it produces reliable, repeatable, technologically effective results.

In the Totality framework, this is not paradoxical. It is expected. Every theory, every experiment, every inference is a partition of \(T = 1\) into observer (\(O\)) and observed (\(U\)). Every partition satisfies \(U = T - O < 1\): it is partial. Every partial description works within its domain because it captures a genuine portion of \(T = 1\). No partial description works perfectly because it is missing \(O = 0.5\). The “errors” are not errors. They are the necessary structure of any description that is less than total.

The inverse problem arises because multiple partitions of \(T = 1\) can yield the same observed \(U\). Underdetermination is not a failure of science but a consequence of partiality: \(U < T\) does not uniquely determine the partition that produced it. The infinite regress arises because every partition presupposes a meta-partition (who partitioned?), which presupposes a meta-meta-partition, ad infinitum—until one reaches \(T = 1\), which is not a partition but the whole from which all partitions are carved. \(T = 1\) is the unique fixed point that halts the regress (Section 3.4).

Science works because \(T = 1\). Science is incomplete because \(U < 1\). The “fallacies” are the structural signatures of partiality, and partiality is the unavoidable condition of any observer within totality. The Totality framework does not eliminate the fallacies. It explains why they are necessary, why they work, and why they are incomplete—all from the same principle.

The contradiction in standard quantum mechanics is not an isolated anomaly. It is the manifestation of a self-contradiction that pervades the entire logical and mathematical framework: from the axioms of first-order logic (Stage 3), through the foundations of set theory (Stage 3), to the incompleteness of formal systems (Stage 4), the dual-master problem of quantum formalism (Stage 5), and the collapse of the inference rules themselves (Stage 6). The Totality framework resolves all six stages under a single principle: \(T = 1\), prior to partition, contains all complementary pairs without contradiction. Contradiction arises only when partition-level logic is applied to the pre-partition whole.

Resolution via Totality

In the Totality framework, all six stages of contradiction dissolve under a single principle.

There is no need for two logical systems because there is no superposition in the classical sense. At \(I = 0\), the system is not “in both states at once.” It is in a state of zero distinguishability: \(|0\rangle \) and \(|1\rangle \) have not yet been distinguished. This is not a violation of the Law of Non-Contradiction because there is no proposition \(P\) (“the system is in \(|0\rangle \)”) to contradict. The system is at \(T = 1\), prior to partition.

Upon measurement (\(I > 0\)), the partition is created, classical logic applies within the partition, and a definite outcome emerges—all within a single logical framework (first-order logic) and a single mathematical foundation (ZFC). No quantum logic is required. The apparent need for a second logic arose from misinterpreting “indistinguishable” as “simultaneously both,” which forced a departure from classical logic. The Totality framework restores the unity: one logic, one mathematics, one physics, one \(T = 1\).