Knaph

What a Proof Is1 of 243 min read

A Chain of Small Steps

Someone gives you an argument with twenty different claims in it. You want to know if it is valid. A truth table would work, but how big would it be? And is there a smarter way?

Tables grow too fast

A truth table has one row for every way the letters can be true or false. Each new letter doubles the number of rows. Two letters give 4 rows. Ten letters give 1,024 rows. Twenty letters give 1,048,576 rows: over a million.

Four cards show how a truth table grows: two letters need 4 rows, three need 8, ten need 1,024 and twenty need 1,048,576.

No one checks a million rows by hand. Later in logic we will meet kinds of claims where tables do not work at all. We need another tool. It is called a proof.

What a proof is

A proof is a numbered list of lines. Every line is one of two things. It is a premise, a claim we were given. Or it follows from earlier lines by a rule, a small step we can check. Next to each line is its reason, in the Why column.

Here is a proof with three lines. Key: P = It rains. Q = The street is wet.

#LineWhy
1P → Qpremise
2Ppremise
3Q→E 1, 2

A proof with three numbered lines: P arrow Q and P are premises, and line 3, Q, is justified by the rule arrow-E using lines 1 and 2. A key explains P and Q.

Line 1 says: if it rains, the street is wet. Line 2 says: it rains. Line 3 says: the street is wet. Its reason is →E 1, 2. That is the rule called if-out (→E), used on lines 1 and 2. If an if-then is true and its if-part is true, the then-part must be true. The next lesson looks at this rule closely.

Why a proof shows validity

Think of a ladder. You cannot jump to the top. But every rung is a small, safe step. In a proof every line is a small, safe step from lines you already trust. If the premises are true, line 3 must be true. So the argument is valid.

This is an old idea. Euclid's Elements (about 300 BC) built geometry from small steps, each with a reason. A mathematical proof works the same way. A logic proof is stricter: the allowed steps are listed in advance.

Remember what a proof does not do. It does not show that the premises are true. It shows that the conclusion follows if they are.

Careful

A proof of an argument shows it is valid. It never shows that the premises are true.

Try it at home

  1. Write a recipe you know as numbered steps. Next to each step write why you can do it.
  2. Start at 2 and double it again and again. How many doublings pass 1,000? Compare with ten letters.
  3. Copy the three-line proof and cover the Why column. Say the reason for each line yourself.

Words to know

  • proof - a numbered list of lines, each a premise or a step from earlier lines by a rule
  • premise - a claim we are given and may write on a line
  • rule - a small step we have checked and may use, written in the Why column
  • Why column - the part of each line that says its reason

Big idea

A proof is a numbered chain of small steps, each a premise or a rule used on earlier lines, and it shows an argument is valid without checking a million rows.

Test your understanding

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