Home › Logic

Logic

Foundations · An Advanced Course

Mathematical logic is the branch of mathematics that takes mathematical reasoning itself as its object of study. Instead of proving theorems about numbers, groups or manifolds, it proves theorems about theorems: what it means for a sentence to be true in a structure, what it means for a sentence to be provable from axioms, how these two notions are related, and where the power of formal reasoning runs out. The subject was created between roughly 1879 and 1936 by Frege, Peano, Russell and Whitehead, Hilbert, Skolem, Gödel, Tarski, Church and Turing, and the results of that period — the completeness theorem, the compactness theorem, the incompleteness theorems, the undecidability of the halting problem — remain the backbone of every graduate course in the field.

The elementary course on logic dealt with statements, the connectives NOT, AND, OR and IF–THEN, quantifiers, the converse and contrapositive, and valid argument forms. Here we treat the same material the way a graduate text does. Formulas become precisely defined strings generated by a grammar; truth becomes a mathematically defined relation between structures and formulas; proof becomes a finite combinatorial object that can itself be studied, counted and encoded as a number. Once both sides are defined rigorously, the central questions of the subject can be stated and answered: is every valid formula provable (yes, by Gödel's completeness theorem), is every true statement of arithmetic provable from a reasonable set of axioms (no, by Gödel's incompleteness theorem), and can validity be decided mechanically (yes for propositional logic, no for first-order logic, by the theorem of Church and Turing).

We assume familiarity with proofs by induction, with countable and uncountable sets at the level of Cantor's diagonal argument, and with basic algebraic structures such as groups and ordered fields. No prior course in logic beyond the elementary one is needed. Proofs are given in full where they fit on a page; for the longer arguments (the incompleteness theorems, Cook–Levin) we give the complete architecture of the proof and prove every step that contains a genuine idea.

In this course, you will:

Notation. We write ¬, ∧, ∨, →, ↔ for the connectives, ⊤ and ⊥ for the constants true and false, ⊨ for semantic consequence and ⊢ for derivability. Sets of formulas are denoted Γ, Δ, Σ, T; formulas are denoted φ, ψ, χ, θ. We write ℕ = {0, 1, 2, …} and identify truth values with 1 (true) and 0 (false).

Figures

Black-and-white portrait of the young Kurt Gödel in round glasses, suit and tie
Figure 1. Kurt Gödel as a student in Vienna, 1925. His 1929 dissertation proved the completeness theorem for first-order logic, and in 1931 he published the incompleteness theorems. Source
Printed page of symbolic logic showing proposition 54.43 of Principia Mathematica and its proof
Figure 2. Proposition ∗54.43 of Whitehead and Russell's Principia Mathematica (volume I, 1910): the union of two disjoint unit classes has two members. The authors remark that 1 + 1 = 2 will follow from it once arithmetical addition has been defined. Source

Contents

Lesson 1
Propositional Logic — Syntax and Semantics
Lesson 2
Truth Functions, Functional Completeness and Normal Forms
Lesson 3
Natural Deduction and Soundness
Lesson 4
Completeness and Compactness for Propositional Logic
Lesson 5
Resolution, Horn Formulas and the Satisfiability Problem
Lesson 6
First-Order Languages, Structures and Satisfaction
Lesson 7
Definability, Normal Forms and the Proof Calculus for First-Order Logic
Lesson 8
Gödel's Completeness Theorem
Lesson 9
Compactness and the Löwenheim–Skolem Theorems
Lesson 10
Computability — Turing Machines and the Halting Problem
Lesson 11
Gödel's Incompleteness Theorems
Lesson 12
SAT, NP and the Cook–Levin Theorem
Lesson 13
Set Theory — Russell's Paradox, ZFC, Ordinals and Cardinals
Problem Set
60 problems
Assessment
Randomly generated questions

Image sources

  1. Figure 1 · Young Kurt Gödel as a student in 1925. By Unknown author. Public domain. From Wikimedia Commons: https://commons.wikimedia.org/wiki/File:Young_Kurt_Gödel_as_a_student_in_1925.jpg
  2. Figure 2 · Principia Mathematica 54-43. By Alfred North Whitehead and Bertrand Russell. Public domain. From Wikimedia Commons: https://commons.wikimedia.org/wiki/File:Principia_Mathematica_54-43.png
V.3.1