ages

Incompleteness and the limits of proof systems

When learning about proof systems like Gentzen’s sequent calculus (LK), a surprising contrast shows up in first-order logic. One might expect deciding whether a formula holds in all possible interpretations to be harder than deciding whether it holds in one concrete interpretation. In first-order logic, the opposite happens:

  1. For the general case (pure first-order logic), Gödel’s Completeness Theorem guarantees that every logically valid formula has a finite proof in LK.
  2. For a concrete interpretation like arithmetic (first-order logic plus arithmetic axioms), the system becomes incomplete: there is always a true sentence that cannot be proved.

To see why, we can use a clean generalized version of Gödel’s First Incompleteness Theorem: Theorem GT1 (Gödel-Tarski).

Setting up the system

Consider a formal system Σ\Sigma with:

  • E\mathcal{E}: expressions
  • H\mathcal{H}: predicates
  • S\mathcal{S}: sentences
  • T\mathcal{T}: true sentences
  • P\mathcal{P}: provable sentences
  • R\mathcal{R}: refutable sentences

Predicates relate to sentences via an application map ϕ:E×N→E\phi : \mathcal{E} \times \mathcal{N} \to \mathcal{E}, written E(n)E(n). If E∈HE \in \mathcal{H} is a predicate and n∈Nn \in \mathcal{N} is a natural number, then E(n)∈SE(n) \in \mathcal{S} produces a sentence.

From this we get two core notions for a number-set A⊆NA \subseteq \mathcal{N}:1

  • Expressibility (truth / semantic): a predicate H∈HH \in \mathcal{H} expresses AA if ∀n∈N.  n∈A  ⟺  H(n)∈T\forall n \in \mathcal{N}.\; n \in A \iff H(n) \in \mathcal{T}
  • Representability (provability / syntactic): a predicate H∈HH \in \mathcal{H} represents AA if ∀n∈N.  n∈A  ⟺  H(n)∈P\forall n \in \mathcal{N}.\; n \in A \iff H(n) \in \mathcal{P}

Soundness simply states that everything provable is true (P⊆T\mathcal{P} \subseteq \mathcal{T}, and R∩T=∅\mathcal{R} \cap \mathcal{T} = \emptyset). Completeness is the inverse (T⊆P\mathcal{T} \subseteq \mathcal{P}). Achieving either property alone is trivial: a system that proves nothing is sound, and a system that proves everything is complete. The theorem shows that no sufficiently expressive arithmetic system can be both.

Gödel numbering and diagonalization

Because strings over a finite alphabet can be coded as natural numbers, a formal language can talk about its own expressions. A Gödel numbering is an injective function ⌜E⌝:E→N\ulcorner E \urcorner : \mathcal{E} \to \mathcal{N}. We write EnE_n when n=⌜E⌝n = \ulcorner E \urcorner (so ⌜En⌝=n\ulcorner E_n \urcorner = n).

Diagonalizing an expression EnE_n means plugging its own Gödel number into itself:

En(n)=E(⌜E⌝)E_n(n) = E(\ulcorner E \urcorner)

If EnE_n is a predicate, then En(n)E_n(n) is a sentence. The diagonal function d:N→Nd : \mathcal{N} \to \mathcal{N} maps any Gödel number nn to the Gödel number of its diagonalization:

d(n)=⌜En(n)⌝=⌜E(⌜E⌝)⌝d(n) = \ulcorner E_n(n) \urcorner = \ulcorner E(\ulcorner E \urcorner) \urcorner

For any number-set A⊆NA \subseteq \mathcal{N}, the inverse diagonalization (star operator) collects all Gödel numbers whose diagonalizations land in AA:

A∗=d−1(A)={n∣d(n)∈A}A^* = d^{-1}(A) = \{ n \mid d(n) \in A \}

Finally, let P={⌜S⌝∣S∈P}P = \{ \ulcorner S \urcorner \mid S \in \mathcal{P} \} be the set of Gödel numbers of provable sentences, with complement Pˉ=N∖P\bar{P} = \mathcal{N} \setminus P. Then Pˉ∗={n∣d(n)∉P}\bar{P}^* = \{ n \mid d(n) \notin P \} is the set of Gödel numbers of expressions whose diagonalizations are not provable in Σ\Sigma.

Theorem GT1 (Gödel-Tarski)

If Σ\Sigma is sound and Pˉ∗\bar{P}^* is expressible in Σ\Sigma, then Σ\Sigma is incomplete: there exists a sentence G∈TG \in \mathcal{T} such that G∉PG \notin \mathcal{P}.

Proof.

  1. Because Pˉ∗\bar{P}^* is expressible in Σ\Sigma, there exists a predicate H∈HH \in \mathcal{H} expressing Pˉ∗\bar{P}^*: ∀n∈N.  H(n)∈T  ⟺  n∈Pˉ∗\forall n \in \mathcal{N}.\; H(n) \in \mathcal{T} \iff n \in \bar{P}^*
  2. Let h=⌜H⌝h = \ulcorner H \urcorner be the Gödel number of HH.
  3. Let GG be the diagonalization of HH, so G=H(h)=H(⌜H⌝)G = H(h) = H(\ulcorner H \urcorner).
  4. Instantiating the expressibility definition with n=hn = h gives: G=H(h)∈T  ⟺  h∈Pˉ∗G = H(h) \in \mathcal{T} \iff h \in \bar{P}^*
  5. By the definitions of the star operator and set complement: h∈Pˉ∗  ⟺  d(h)∈Pˉ  ⟺  d(h)∉Ph \in \bar{P}^* \iff d(h) \in \bar{P} \iff d(h) \notin P
  6. By the definition of dd, we have d(h)=⌜H(h)⌝=⌜G⌝d(h) = \ulcorner H(h) \urcorner = \ulcorner G \urcorner. Plugging this back in yields: G∈T  ⟺  ⌜G⌝∉PG \in \mathcal{T} \iff \ulcorner G \urcorner \notin P Which says directly: G is true  ⟺  G is not provable in ΣG \text{ is true} \iff G \text{ is not provable in } \Sigma
  7. Because Σ\Sigma is sound (P⊆T\mathcal{P} \subseteq \mathcal{T}), GG cannot be both provable and false. Hence G∉PG \notin \mathcal{P}, and by the equivalence above, G∈TG \in \mathcal{T}. Thus GG is true in Σ\Sigma but not provable.

To apply GT1 to a concrete sound arithmetic system Σ\Sigma, we only need to verify three conditions: expressible sets are closed under complement (A  ⟹  AˉA \implies \bar{A}), expressible sets are closed under inverse diagonalization (A  ⟹  A∗A \implies A^*), and PP itself is expressible in Σ\Sigma.

Semantic GT1 vs. Gödel’s syntactic incompleteness

It is worth distinguishing GT1 from Gödel’s original 1931 theorem:

  • GT1 is a semantic theorem: it assumes soundness and expressibility of Pˉ∗\bar{P}^* (defined via truth T\mathcal{T}), producing a true sentence that is not provable.
  • Gödel’s original theorem is syntactic: it assumes ω\omega-consistency (later weakened to plain consistency by Rosser) and representability of Pˉ∗\bar{P}^* (defined via provability P\mathcal{P}), showing that GG is formally undecidable, meaning G∉PG \notin \mathcal{P} and G∉RG \notin \mathcal{R}.

And just as Gödel’s Second Incompleteness Theorem shows that Peano Arithmetic cannot prove its own consistency from the inside, Gentzen’s 1936 consistency proof for PA using sequent calculus had to step outside PA itself.2

In essence, no sound, mechanically checkable formal system for arithmetic can capture every true statement. Adding GG as a new axiom only produces a new system Σ′\Sigma' to which the exact same diagonal argument applies.