Knaph

Talking About Logic1 of 243 min read

Logic About Logic

A chess player moves the pieces. A chess writer sits beside the board and asks different questions. Can white always win? Can a game go on for ever? Both talk about chess, but they do not do the same thing. In logic too, we have played the game for five levels. Now we ask: what do we know about the game itself?

Playing and asking about playing

In Levels 1 to 5 we used logic. We made truth tables, we wrote proofs, we worked with all and some. That was the player's work. Now we step back and ask questions about the whole system. This is metalogic, which means logic about logic.

Two boxes, one above the other. The lower box, the game, shows a pawn and the words we play chess. The upper box, the writer, shows a notebook and the words we ask questions about chess. An arrow points from the upper box down to the lower one.

The question "can white always win?" is not a move in chess. It is about chess. The same is true here: "does this proof system ever prove something false?" is not a proof. It is a question about proofs.

Two languages

The symbols and rules we use for logic are the object language. It is the thing we study: letters, ¬ ∧ ∨ → ↔, ∀x, ∃x, and the proofs built from them.

The language in which we talk about it is the metalanguage. In this course the metalanguage is plain English, with a few extra signs we add as we go. When we say "this formula has three letters", that sentence is English. It is not a formula.

Keeping the two apart will matter more and more. The next lesson shows how they get mixed up.

Four big questions

This course asks four questions about the logic we already know.

A map with the words Our logic in the middle and four arrows leaving it, towards four boxes: Sound? Complete? Decidable? What cannot be done?

First, soundness: does a proof ever lead to something false? Second, completeness: is every truth we can state also provable? Third, decidability: can a machine always tell us the answer, yes or no? Fourth, the limits: what can logic never do? We meet the halting problem, the liar and Gödel's famous result in 1931.

Each answer comes with a small example, and the idea of its proof in plain words. The full proofs are longer, and we say so each time.

Try it at home

  1. Think of a game you know. Write one move, and then one question about the game as a whole, such as "can the first player always win?".
  2. Write down which of your two sentences is a move and which is about the game.
  3. Copy the four big questions into your notebook, in your own words.

Words to know

  • metalogic - logic about logic: questions about a logic system itself
  • object language - the language we study, here the symbols of logic
  • metalanguage - the language we use to talk about it, here English
  • soundness - a proof system never proves anything false

Big idea

Using logic and asking questions about logic are two different jobs: the system is the object language, and the questions are asked in a metalanguage.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.