Knaph

Talking About Logic4 of 243 min read

Two Kinds of Follows

Two friends say "Q follows from P → Q and P". The first has a proof, written line by line. The second tried every row of a truth table. Are they saying the same thing? The question: how many kinds of "follows" do we have?

Follows by proof

In Level 4 we wrote proofs: numbered lines, rules, boxes. We write Γ ⊢ φ. Γ (read "gamma") is a list of premises, and the sign ⊢ is a turnstile. The whole line reads "φ can be proved from Γ".

For example P → Q, P ⊢ Q is true: one use of →E gives Q. A proof is about rules and lines. It needs no meaning, so a machine can check it.

Two roads leaving the premises on the left. The upper road, marked with the proof sign, goes through the words rules and lines. The lower road, marked with the truth sign, goes through the words rows and worlds. Both end at a box labelled phi, with a question mark between the two roads.

Follows by truth

In Level 3 we checked rows. We write Γ ⊨ φ, with a double turnstile. It reads "φ is true in every row where Γ is". In Level 5 we say worlds instead of rows.

Again P → Q, P ⊨ Q. The premises are P → Q and P. Only a row where both are true matters.

PQP → Q
TTT
TFF
FTT
FFT

Only the first row makes both premises true (P is true and P → Q is true), and Q is true there. So P → Q, P ⊨ Q. This is about truth, not about lines.

A truth table with columns P, Q and P → Q. Only the first row, circled, makes both premises true, and Q is true in it.

Two ideas, one question

The two signs mean different things. One says a proof exists. The other says no row or world breaks the argument. With no premises, ⊢ φ says φ is a theorem, and ⊨ φ says φ is a tautology.

The two big questions of this course follow. If Γ ⊢ φ, must Γ ⊨ φ? That is soundness. If Γ ⊨ φ, must Γ ⊢ φ? That is completeness. We do not answer yet. First we need tools to prove things about all proofs and all formulas.

The signs ⊬ and ⊭ mean not: no proof exists, or some row breaks it.

Try it at home

  1. Write the argument P → Q, ¬Q so ¬P once with ⊢ and once with ⊨. Say each aloud in words.
  2. Which of the two could a friend check without knowing what P and Q mean?
  3. Write, in your own words, the two questions: does ⊢ always give ⊨, and does ⊨ always give ⊢?

Words to know

  • ⊢ (turnstile) - a proof exists, using the rules
  • ⊨ (double turnstile) - true in every row or world where the premises are true
  • theorem - a formula with a proof from no premises
  • Γ (gamma) - a list of premises

Big idea

Proving (⊢) and being true in every row (⊨) are two different ideas, and asking whether they always agree starts the course.

Test your understanding

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