Theorem. Transitivity of implication [019T]
- September 22, 2026
- Marcelo Fiore, Jon Sterling
Let P_1, P_2, and P_3 be statements. If P_1\implies P_2 and P_2\implies P_3, then P_1\implies P_3.
Scratch work.
- September 22, 2026
- Marcelo Fiore, Jon Sterling
Before we write out a real proof, we will do some scratch work.
| Step | Assumptions | Goal |
|---|---|---|
| Starting point. | P_1, P_2, P_3 are statements. | If P_1\implies P_2 and P_2\implies P_3, then P_1\implies P_3 |
| We decompose the goal by assuming the antecedents. | P_1, P_2, P_3 are statements such that P_1\implies P_2 and P_2\implies P_3. | P_1\implies P_3 |
| We decompose goal the again by assuming the antecedent. | P_1, P_2, P_3 are statements such that P_1\implies P_2 and P_2\implies P_3 and P_1 holds. | P_3 |
| There is nothing more we can do to the goal. We now use modus ponens on our assumption P_2\implies P_3, and must prove the antecedent P_2. | P_1, P_2, P_3 are statements such that P_1\implies P_2 and P_2\implies P_3 and P_1 holds. | P_2 |
| There is nothing we can do to the goal. We now use modus ponens on our assumption P_1\implies P_2, and must prove the antecedent P_1. | P_1, P_2, P_3 are statements such that P_1\implies P_2 and P_2\implies P_3 and P_1 holds. | P_1 |
| Our goal P_1 is one of our assumptions, so we are done. | P_1, P_2, P_3 are statements such that P_1\implies P_2 and P_2\implies P_3 and P_1 holds. | (done!) |
The scratch work above was very useful for figuring out how the reasoning goes. It is not a proof, however. We will now turn it into a proof.
Proof.
- September 22, 2026
- Marcelo Fiore, Jon Sterling
First try to write out a proper proof yourself. Only after trying it out, click on this text to reveal a possible proof.
Let P_1, P_2, and P_3 be three statements such that P_1\implies P_2 and P_2\implies P_3. To show that P_1\implies P_3 we assume P_1 and it remains to show that P_3 holds. By our assumption P_2\implies P_3 it suffices to show that P_2 holds; by our assumption P_1\implies P_2, it suffices to recall our assumption that P_1 holds.