Documentation

Foundation.FirstOrder.Incompleteness.Church

Church's undecidability theorem #

church_theorem_general shows that for every arithmetic theory T ⊇ 𝗥₀ sound on 𝚺₁ sentences, the set of T-provable sentences is not computable, by a direct diagonalization on the self-applied substitution σ ↦ σ/[⌜σ⌝] (no fixed-point/Gödel-numbering machinery beyond weak representability of r.e. predicates, rePred_weak_representation, is needed, unlike Gödel's first incompleteness theorem). undecidability_first_order_logic specializes this to T = ∅: since 𝗣𝗔⁻ is finitely axiomatizable, 𝗣𝗔⁻-provability computably many-one reduces to -provability, so undecidability transfers from church_theorem_general without needing the 𝗥₀ ⪯ T and soundness hypotheses required there.

theorem LO.FirstOrder.Arithmetic.computable_iff_sigma1_simulate {α : Type u_1} {β : Type u_2} [Primcodable α] [Primcodable β] {f : } (hf : 𝚺₁-Function₁ f) {F : αβ} (h : ∀ (a : α), f (Encodable.encode a) = Encodable.encode (F a)) :
theorem LO.FirstOrder.Arithmetic.computable₂_iff_sigma1_simulate {α : Type u_1} {β : Type u_2} {γ : Type u_3} [Primcodable α] [Primcodable β] [Primcodable γ] {f : } (hf : 𝚺₁-Function₂ f) {F : αβγ} (h : ∀ (a : α) (b : β), f (Encodable.encode a) (Encodable.encode b) = Encodable.encode (F a b)) :

Church's theorem, for an arbitrary arithmetic theory T ⊇ 𝗥₀ sound on 𝚺₁ sentences: the set of T-provable sentences is not computable.

Church's theorem: the set of (purely logically, i.e. -)provable sentences is not computable.