Knaph

English into Proofs17 of 243 min read

Harder Translations

"If it rains, then if the bus is late, I walk." That is an if inside an if. Real English is full of such claims. How do we write them in letters without changing what they say?

An if inside an if

Key: R = It rains. B = The bus is late. W = I walk. The sentence says: if R, then (if B, then W). The inner if sits inside brackets: R → (B → W). The brackets matter. (R → B) → W says something else: "If rain always makes the bus late, then I walk."

In a proof, an if inside an if matches a box inside a box. Premise: (R ∧ B) → W. Goal: R → (B → W). Ask: what do we want? An if, so we assume its if-part. Do it twice.

#LineWhy
1(R ∧ B) → Wpremise
2│ Rassume
3│ │ Bassume
4│ │ R ∧ B∧I 2, 3
5│ │ W→E 1, 4
6│ B → W→I 3-5
7R → (B → W)→I 2-6

A proof with a small box inside a bigger box: the inner box closes on line 6 with if-in, and the outer box closes on line 7 with the goal.

Only if, unless, neither...nor

These words go inside bigger claims too. Three rules from before still hold.

Only if "I walk only if the bus is late" is W → B. Walking needs a late bus. Unless: "The match goes ahead unless it rains" is ¬R → M, with M = The match goes ahead. If it does not rain, it goes ahead. Neither...nor: "If neither Ali nor Bo comes, we cancel" is ¬(A ∨ B) → C.

Find the main connective first. In each of these it is the arrow, and the small claims sit on its two sides.

Three cards, each with an English word and its symbols: only if gives W → B, unless gives not R → M, and neither nor gives not of A or B.

When English says two things

Some sentences have two readings. "Ana brings bread and cheese or fruit." With B = bread, C = cheese and F = fruit, there are two ways to bracket it. Reading 1: (B ∧ C) ∨ F, bread with cheese, or else fruit. Reading 2: B ∧ (C ∨ F), bread, and also cheese or fruit.

They differ. Suppose Ana brings only fruit. Reading 1 is true, because F is true. Reading 2 is false, because B is false. When a sentence is unclear, write both readings. Then choose, or ask the speaker.

Two readings of one sentence side by side, with the case where Ana brings only fruit: the first reading is true and the second is false.

Two more phrases. "P provided that Q" is an if: Q → P. "P just in case Q" is P ↔ Q, the if and only if of logic books.

Careful

In everyday speech "just in case" often means "as a precaution", and people say "if" when they mean "if and only if". Logic books fix the meaning: only "just in case" and "if and only if" give ↔.

Try it at home

  1. Write "If you ask, then if I can, I will help" in letters, with a key. Where do the brackets go?
  2. Find an English sentence with "and" and "or" together. Write both readings and say who would be pleased by each.
  3. Take "I leave unless you call". Write it as an if. Say what happens if you do call.

Words to know

  • only if - A only if B is A → B: A needs B
  • unless - A unless B is ¬B → A: if B does not happen, A does
  • two readings - one sentence that can be bracketed in two ways, so it says two different things
  • just in case - in logic books, the same as if and only if (↔)

Big idea

Write the key, find the main connective, keep the brackets, and when English has two readings, write both.

Test your understanding

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