Understanding implication [019G]
- September 21, 2026
- Marcelo Fiore, Jon Sterling
Theorems can usually be written in the following form:
If [some assumptions] hold, then [some conclusion] follows.
If-then statements are phrased in a variety of ways. For example, the following means the same thing as the above:
[some assumptions] imply [some conclusion].
When writing a logical expression symbolically (which we will do only extremely rarely), implication may be written the word “implies” may be written as a double arrow “\implies ”.
Our goal now is to understand the concept of implication, which means that we need to understand two things:
- How to make progress on a goal that is an implication.
- How to make goo duse of an assumption that is an implication.
How to prove implication goals: assume the antecedent [019I]
- September 21, 2026
- Marcelo Fiore, Jon Sterling
Here is how you prove a statement like “P implies Q”:
- At this point your goal is P\implies Q and you have no assumptions.
- Now assume P, and try to prove Q under this assumption. At this point, your assumptions now include P and your goal is Q.
When you do these steps, you should say what you are doing in your proof. Say “Assume P holds; to prove Q, we [blah blah blah]…” or something like that.
Warning Assuming is not asserting!
- September 21, 2026
- Marcelo Fiore, Jon Sterling
It is totally possible to assume something that is untrue in the course of a correct proof. When you assume P, you are not saying “I believe that P is true”; you are rather testing the logical consequences of P by adding it to your assumptions.
Let’s look at another example.
Proposition Square root reflects rationality [019J]
- September 21, 2026
- Marcelo Fiore, Jon Sterling
To make sense of Proposition [019J], we must have seen a definition like the following already.
Definition Rational, positive, nonnegative, natural [019K]
- September 21, 2026
- Marcelo Fiore, Jon Sterling
A real number is
- rational if it is of the form m/n for a pair of integers m and n; otherwise it is irrational;
- positive if it is greater than 0 and negative if it is smaller than 0;
- nonnegative if it is greater than or equal to 0, and nonpositive if it is smaller than or equal to 0;
- natural if it is a nonnegative integer.
Proof of Proposition [019J]
- September 21, 2026
- Marcelo Fiore, Jon Sterling
Assume that x is a positive real number and that \sqrt {x} is rational. The latter assumption means, by definition, that \sqrt {x}=m/n for some integers m and n. It follows that x = (m/n)^2 = m^2/n^2 and since m and n are integers and hence m^2 and n^2 are natural numbers, we conclude that x is a rational number as well.
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.)