How to Write Proofs, 2

In the earlier post, "How to Write Proofs, A Quick Guide", I gave the example of a simple kind of result that one might come across (and should know how to prove) in intermediate logic:
(*) Suppose S0 is PQ and Sn+1 is PSn. Show that, for all n, Sn is equivalent to PQ.
The obvious proof uses induction (on n, as one says). We want to show that: every number nN has a certain property: namely, that the formula Sn is equivalent to PQ. We can show this by induction. Induction says that if a property holds of 0, and holds of k+1 whenever it holds of k, then it holds of all numbers. So, induction proofs proceed in three steps. First (the base step) show the property holds of 0. Second (the induction step) show that, assuming it holds of k, it also holds of k+1. Finally, conclude that it holds of all numbers.

Base. I.e., when n=0.
S0 is PQ. This is obviously equivalent to PQ.

Induction Step. I.e., from k having the property, we want to show k+1 has it too.
So, suppose Sk is equivalent to PQ. (This is the Induction Hypothesis.) We want to show that Sk+1 is equivalent to PQ as well.
First, note that Sk+1 is defined to be PSk. The Induction Hypothesis tells us that Sk is equivalent to PQ. But we can use the simple lemma that "the substitution of equivalents leads to equivalents". So, we can conclude that Sk+1 is equivalent to P(PQ). We only then need to show that this is equivalent PQ. I.e., that P(PQ)PQ. This can be done with a truth table. So, that completes the induction step.

From the Base Step and the Induction Step, we can conclude, using the Induction Principle, that for all n, Sn is equivalent to PQ, as required. QED.

Comments