Knaph

Completeness: Every Truth Has a Proof15 of 243 min read

Trees That Hunt Counter-Models

A truth table with ten letters has 1024 rows. A proof needs a clever idea. Is there a neat method that hunts for a breaking row, and shows you one when it finds it? There is. It looks like a tree on its side, and it is the subject of this lesson.

Start with the denial

A truth tree tests an argument. Write the premises in a list. Add the denial of the conclusion, ¬ and the conclusion. Now ask: can all lines be true together? If they can, the argument is broken. If they cannot, it is valid.

To find out, break each line into simpler lines, by these rules. Read ¬φ as "not φ".

LineWhat we write
φ ∧ ψboth φ and ψ, one under the other
φ ∨ ψsplit in two: φ on one branch, ψ on the other
φ → ψsplit: ¬φ on one branch, ψ on the other
¬(φ ∧ ψ)split: ¬φ on one branch, ¬ψ on the other
¬¬φjust φ

Two more rules exist: ¬(φ ∨ ψ) gives ¬φ and ¬ψ together, and ¬(φ → ψ) gives φ and ¬ψ together. Each rule says how a line can be true. An ∨ is true if one side is, so the tree splits.

A branch that closes

Take P → Q, P so Q. The list is P → Q, P, ¬Q. Break P → Q: the tree splits into ¬P and Q.

A truth tree. The top holds three lines: P → Q, P and not-Q. Two branches go down. The left branch holds not-P and has a red cross. The right branch holds Q and has a red cross.

A branch is one path from the top to the bottom. The left branch holds P and ¬P. That cannot be true, so we mark the branch with ✗: it is closed. The right branch holds Q and ¬Q. It is closed too. Every branch is closed, so no row makes the whole list true. The argument is valid.

A branch that stays open

Now take P → Q, Q so P. The list is P → Q, Q, ¬P. Break P → Q: the tree splits into ¬P and Q.

A truth tree. The top holds three lines: P → Q, Q and not-P. Two branches go down. The left branch holds not-P and the right branch holds Q. Both are marked open in green.

Look at the left branch. Its lines are Q, ¬P and ¬P. No letter clashes with its negation, and nothing is left to break. This branch is open. Read it off: P false, Q true. In that row P → Q is true, Q is true, P is false. A counter-row, and the argument is not valid. The right branch gives the same row.

Evert Beth gave this method in 1955. Raymond Smullyan made it popular in 1968. Be careful: an open branch counts only when every line on it is broken down.

Try it at home

  1. Make the tree for P ∨ Q, ¬P so Q. The list is P ∨ Q, ¬P, ¬Q. Does every branch close?
  2. Make the tree for P → Q so Q → P. Break ¬(Q → P) into Q and ¬P. What does the open branch say?
  3. Check your counter-row in a truth table.

Words to know

  • truth tree - a test that breaks lines down to find a row that makes the premises true and the conclusion false
  • closed branch - a branch with a letter and its negation; marked ✗
  • open branch - a finished branch with no clash; it gives a counter-row

Big idea

Break the premises and the denied conclusion into pieces: if every branch closes the argument is valid, and an open branch gives a counter-row.

Test your understanding

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