Skip to content
The Lumenary

Each worksheet prints cleanly on A4 or Letter. Answer keys are on a separate page.

The Lumenary · First-year graduate

Gödel's incompleteness theorems

Name: ______________________

Date: ______________________

You will learn to

  • Explain how formulas and proofs are coded by natural numbers, and why provability in a recursively axiomatised theory is expressed by a Σ1\Sigma_1 formula
  • Prove the diagonal lemma and derive the first incompleteness theorem, in Rosser's form, for consistent recursively axiomatised theories extending Robinson arithmetic Q\mathsf{Q}
  • State the second incompleteness theorem with the derivability conditions, and Tarski's undefinability theorem, and explain precisely what they do and do not say
  • Derive incompleteness from the unsolvability of the halting problem
  • Explain why complete decidable theories such as Presburger arithmetic and real closed fields escape the theorems
  1. 1.

    To which of these theories does the first incompleteness theorem (Rosser's form) apply, assuming each is consistent? Choose all that apply.

    • A.Peano arithmetic PA\mathsf{PA}
    • B.ZFC\mathsf{ZFC}
    • C.Presburger arithmetic, the theory of (N,0,1,+)(\N, 0, 1, +)
    • D.True arithmetic Th(N)\mathrm{Th}(\N), all sentences true in N\N
    • E.Robinson arithmetic Q\mathsf{Q}
  2. 2.

    Code a string s1s2⋯sks_1 s_2 \cdots s_k by 2c(s1)3c(s2)5c(s3)⋯2^{c(s_1)} 3^{c(s_2)} 5^{c(s_3)} \cdots, with symbol codes c(0)=1c(0) = 1, c(=)=5c(=) = 5 and c(S)=3c(S) = 3. What is the Gödel number of the string S0=0S0 = 0?

  3. 3.

    In Gödel's form of the first theorem, part (a) shows T⊬GTT \nvdash G_T and part (b) shows T⊬¬GTT \nvdash \neg G_T. Which hypothesis does part (b) need beyond those of part (a)?

    • A.Σ1\Sigma_1-soundness (or Gödel's ω\omega-consistency)
    • B.Consistency
    • C.The induction schema
    • D.Completeness
  4. 4.

    Assume PA\mathsf{PA} is consistent, and let T′=PA+GT' = \mathsf{PA} + G where GG is the Gödel sentence of PA\mathsf{PA}. Which statements are true? Choose all that apply.

    • A.T′T' is complete.
    • B.T′T' is consistent.
    • C.T′⊢ConPAT' \vdash \mathrm{Con}_{\mathsf{PA}}.
    • D.T′⊢ConT′T' \vdash \mathrm{Con}_{T'}.
  5. 5.

    Löb's theorem: if T⊢ProvT(⌜φ⌝)→φT \vdash \mathrm{Prov}_T(\ulcorner\varphi\urcorner) \to \varphi, then T⊢φT \vdash \varphi (for T⊇PAT \supseteq \mathsf{PA} recursively axiomatised). Apply it with φ\varphi the sentence 0=S00 = S0. What do you obtain?

    • A.If TT is consistent, then T⊬ConTT \nvdash \mathrm{Con}_T: the second incompleteness theorem.
    • B.TT is incomplete.
    • C.Truth is not definable in arithmetic.
    • D.Nothing: the hypothesis can never be met.
  6. 6.

    In the Lean file, which statement correctly formalises the abstract form of Tarski's theorem for a diagonalisable system S (with hcompl and hdiag as hypotheses)?

    • A.¬ S.Expressible (S.scode '' {s | S.True s})
    • B.∃ s, S.True s ∧ ¬ S.Provable s
    • C.¬ ∃ s, S.True s
    • D.¬ S.Expressible (S.scode '' {s | S.Provable s})
  7. 7.

    The Lean theorem halting_incompleteness has hypotheses hre : REPred Provable, hc : Computable nonHalt and sound. Which hypothesis expresses that the theory is recursively axiomatised?

    • A.hre : REPred Provable
    • B.hc : Computable nonHalt
    • C.sound
  8. 8.

    Write encode(codes), which sends a list of positive symbol codes [c1,…,ck][c_1, \dots, c_k] to 2c13c2⋯pkck2^{c_1} 3^{c_2} \cdots p_k^{c_k}, and decode(n), which recovers the list (and [] from 1). Why is decode(encode(xs)) == xs guaranteed?

    Computational — Practice

Code: Apache-2.0 · Content: CC BY-SA 4.0