How to use implication assumptions: prove the antecedent [019L]
- September 21, 2026
- Marcelo Fiore, Jon Sterling
Logical deduction by modus ponens [019S]
- September 22, 2026
- Marcelo Fiore, Jon Sterling
If you have assumed an implication P\implies Q, then to prove Q it suffices to prove P. In other words:
If P and P\implies Q hold, then Q holds.
Formal logicians call this rule of reasoning “modus ponens”. Rules of reasoning can be written symbolically using horizontal lines: the premises go on top, and the conclusions go below:
\frac {P \qquad P \implies Q}{Q}In professional mathematics, we do not usually write things out in such terms, but it can be useful to understand and play with formal styles of reasoning when getting started.
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.
Chains of implications [019U]
- September 22, 2026
- Marcelo Fiore, Jon Sterling
We have seen that implication is transitive; we can therefore deduce implications P\implies Q by means of a whole chain of more manageable implications between intermediate statements, which we may write like so:
\begin {aligned} P &\implies P_1\\ &\implies P_2\\ &\quad \vdots \\ &\implies P_n\\ &\implies Q\text {.} \end {aligned}What if my goal is not the conclusion of an implication? [019V]
- September 22, 2026
- Jon Sterling
Modus ponens applies in the specific case where you are trying to prove Q and you know that P\implies Q holds. In practice, you may actually have an assumption like P\implies Q but your goal is some other statement R.
in a case like this, you may know in advance that it will be useful to have Q in your pocket in the course of proving R. Here is how you do this:
- I know P\implies Q, and I want to prove R.
- To prove R, by modus ponens, it suffices to prove Q \implies R and Q.
- Now we have two goals.
- In one goal, we want to prove Q\implies R. We assume Q, and try to prove R from that. (The rest of this subproof goes here.)
- On the other goal, we need to prove Q. (The rest of this subproof goes here.)