# What is This?

This is a supplement to sections 1.4 and 1.5 of the Logic Text. You should read those before you read this.

# Rules and Derivations

Now that we have a symbolic language that allows us to represent negations and conditionals, it is time to return to our goal, which is to get a better understanding of validity.

How should we do this? Here is one idea: write down all the valid forms of argument, then try to think about what they all have in common. The trouble with this idea is that there are too many valid forms to write down. In fact, there are infinitely many valid forms.

We can see this even if we just consider arguments that have a single premise, and only involve negation.

::: {.cor} Here is an invalid argument form:

::: {.centered} | $$\mathord{\sim}$$ | $$\therefore\$$ :::

Plug a false sentence in the , like ‘The sky is beneath us’, and the premise is true but the conclusion false:

It is not the case that the sky is beneath us: true!  $$\therefore\$$ The sky is beneath us: false!

So this form is invalid. :::

::: {.cor} But this one is valid:

::: {.centered} | $$\mathord{\sim}\mathord{\sim}$$ | $$\therefore\$$ :::

Plug a true sentence in the , and both premise and conclusion are true. Try it: plug in the sentence ‘Grass is green’:

It is not the case that grass is not green: true!  $$\therefore\$$ Grass is green: true!

Plug a false sentence in the , and the premise is false. Try it: plug in the sentence ‘The sky is beneath us’:

It is not the case that the sky is not beneath us: false!  $$\therefore\$$ The sky is beneath us: false!

So there is no way an argument of this form could have a true premise and a false conclusion. So all such arguments are valid. :::

::: {.cor} Like our first form, this form is invalid:

::: {.centered} | $$\mathord{\sim}\mathord{\sim}\mathord{\sim}$$ | $$\therefore\$$ ::: :::

Try it. You can type sentences into the boxes. Can you find a sentence that makes the premise true but the conclusion false?

And like our second form, this form is valid:

::: {.cor .centered} |  $$\mathord{\sim}\mathord{\sim}\mathord{\sim}\mathord{\sim}$$ |  $$\therefore\$$ :::

It is clear that we can keep generating new argument forms in this way, by adding additional negation signs to the first premise. Every other form we generate will be valid. So there are infinitely many distinct valid forms of argument.

But it is also clear that, in this case at least, there is a pattern. Consider the first valid form from above:

::: {.cor .boxed .centered} | $$\mathord{\sim}\mathord{\sim}$$ | $$\therefore\$$

Double Negation Elimination :::

We will call valid patterns of inference rules. We will call this one Double Negation Elimination (DNE, for short).

We can explain the validity of our fourth form,

::: {.cor .centered} | $$\phantom{\therefore}\ \mathord{\sim}\mathord{\sim}\mathord{\sim}\mathord{\sim}$$ | $$\therefore\$$ :::

by showing that the conclusion follows from two successive applications of the rule, DNE, to the premise.

First, we note that our premise,

• $$\mathord{\sim}\mathord{\sim}\mathord{\sim}\mathord{\sim}$$

is not just a quadruple negation; it is also a double negation. That is, it is a sentence that begins with two negations:

• $$\mathord{\sim}\mathord{\sim}$$ $$\mathord{\sim}\mathord{\sim}$$

So, applying our rule, Double Negation Elimination, we can infer,

• $$\mathord{\sim}\mathord{\sim}$$

And, since this is also a double negation, we can apply our rule again, inferring

Since both steps are instances of DNE, and DNE is obviously valid, this shows that this form of argument is also valid. We could call it Quadruple Negation Elimination if we wanted, but we won’t bother to give it a name.

This, then, will be our first strategy for understanding validity. We will identify some simple rules that are obviously valid. We will then develop a system of derivation—a system for applying rules to premises, in order to derive conclusions.

Consider the following argument:

$$\phantom{\therefore}\ P\mathbin{\rightarrow}Q$$ $$\phantom{\therefore}\ P$$ $$\therefore\ \mathord{\sim}\mathord{\sim}Q$$

Can you show how to get from the premises to the conclusion in two obviously valid steps?

::: {.answers} 1. $$P\mathbin{\rightarrow}Q$$ 2. $$P$$

From (1) and (2), it is obvious that

1. $$Q$$

follows. From (3), it is obvious that

1. $$\mathord{\sim}\mathord{\sim}Q$$

follows. :::

# Rules

Section 1.4 introduces four rules. Again, a rule is a formally valid pattern of reasoning. Section 1.5 introduces the simplest sort of derivation. Section 1.6 introduces two slightly more complicated sorts of derivation. Again, a derivation is a series of steps, each in accordance with a rule, showing that we can reason validly from the premises to the conclusion.

You can find the four rules in the box on p. 11. You can also find them in the Logic Software, from within the “Derivation” Module, by clicking on the “Rules” button:

## Repetition

The first rule is

Repetition (R)
$$\ \therefore\$$

What this says, in English, is this: if you have some sentence as a premise, you can infer that same sentence as your conclusion. We can also represent the pattern vertically, in the way we usually write arguments:

$$\phantom{\therefore}\$$ $$\therefore\$$

An example of an argument that fits this pattern is:

1. The world is flat.
2. $$\therefore\$$ The world is flat.

No doubt this is a silly form of argument: we typically want an argument to represent an attempt to reason from some premises to some new piece of information. But also no doubt this is a valid form of argument. Just as you wouldn’t omit the fact that 0+0=0 from your account of addition, we shouldn’t omit R from our account of validity.

## Modus Ponens and Modus Tollens

The second rule is,

::: {.cor}

Modus Ponens (MP)
$$\mathbin{\rightarrow}$$ . $$\therefore\$$

What this says, in English, is this: if you have two premises (here separated by a period), and one is a conditional, and the other is the antecedent of that conditional, then you can infer the consequent of the conditional as your conclusion. We can also represent the pattern vertically, as

| $$\phantom{\therefore}\$$ $$\mathbin{\rightarrow}$$ | $$\phantom{\therefore}\$$ | $$\therefore\$$ :::

An example of an argument that fits this pattern is:

1. If the patient doesn’t take her medicine, then the patient will not recover.
2. The patient doesn’t take her medicine.
3. $$\therefore\$$ The patient will not recover.

If you think about what ‘if…then…’ means, you will see that this form of argument is valid.

The third rule is,

Modus Tollens (MT)
$$\mathbin{\rightarrow}$$ . $$\mathord{\sim}$$ $$\therefore\ \mathord{\sim}$$

Or, in English: If you have two premises, and one is a conditional, and the other is the negation of the consequent, you can infer the negation of the antecedent. Vertically, it looks like this:

$$\phantom{\therefore}\$$ $$\mathbin{\rightarrow}$$ $$\phantom{\therefore}\ \mathord{\sim}$$ $$\therefore\ \mathord{\sim}$$

An example that fits this pattern is:

1. If patient took his medicine, then he recovered.
2. The patient did not recover.
3. $$\therefore\$$ The patient did not take his medicine.

It may take a little more thought to convince yourself that this form of argument is valid. Unlike MP, it is not enough just to think about what ‘if…then…’ means, since MT involves an interaction between conditionals and negations.

I already introduced both of these rules in the Introduction, and distinguished them from two closely related fallacies. A fallacy is the evil twin of a rule: it is an formally invalid pattern of reasoning.

Just to review, affirming the consequent is the evil twin of MP:

$$\phantom{\therefore}\$$ $$\mathbin{\rightarrow}$$ $$\phantom{\therefore}\$$ $$\therefore\$$

An example, in English, is

1. If patient took her medicine, then she recovered.
2. The patient recovered.
3. $$\therefore\$$ The patient took her medicine.

This is invalid: perhaps the patient recovered even though she did not take her medicine—that is consistent with the truth of (1).

Denying the antecedent is the evil twin of MT:

$$\phantom{\therefore}\$$ $$\mathbin{\rightarrow}$$ $$\phantom{\therefore}\ \mathord{\sim}$$ $$\therefore\$$

For example,

1. If patient took her medicine, then she recovered.
2. The patient didn’t take her medicine.
3. $$\therefore\$$ The patient didn’t recover.

Again, perhaps the patient recovered even though she didn’t take her medicine.

‘Modus Ponens’ and ‘Modus Tollens’ are Latin. A literal meaning of ‘Modus Ponens’ is “the way of putting”. A literal meaning of ‘Modus Tollens’ is “the way of taking”. Knowing the literal meanings of these names might help you remember which is which.

Here is one way to think about MP, MT, and their evil invalid twins:

• If you want to go with the flow—infer in the direction of the arrow—you need to be positive. That’s what you do when you apply MP.
• If you want to go against the flow—infer in the opposite direction of the arrow—you need to be negative. That’s what you do when you apply MT.
• You can’t go with the flow in a negative way—that is denying the antecedent.
• You can’t go against the flow in a positive way—that is affirming the antecedent.

For each of the following arguments, symbolize the argument, then say whether or not it is valid, and whether or not it is an instance of MP, MT, denying the antecedent, or affirming the consequent.

1. If God exists, there is order in the world.
2. There is order in the world.
3. $$\therefore\$$ God exists.

::: {.answers} - $$P$$: God exists. $$W$$: There is order in the world

1. $$P\mathbin{\rightarrow}W$$
2. $$W$$
3. $$\therefore\ P$$

This is invalid. It is an instance of the fallacy, affirming the consequent. :::

1. There is order in the world only if God exists.
2. There is order in the world.
3. $$\therefore\$$ God exists.

::: {.answers} 1. $$W\mathbin{\rightarrow}P$$ 2. $$W$$ 3. $$\therefore\ P$$

This is valid. It is an instance of MP. Remember: “only if” marks the consequent! :::

1. God doesn’t exist if there isn’t order in the world.
2. God doesn’t exist.
3. $$\therefore\$$ There isn’t order in the world.

::: {.answers} 1. $$\mathord{\sim}W\mathbin{\rightarrow}\mathord{\sim}P$$ 2. $$\mathord{\sim}P$$ 3. $$\mathord{\sim}W$$

This is not valid. It is an instance of affirming the consequent. Don’t be misled by the fact that (2) is a negation: that isn’t enough to make this an instance of MT. To be an instance of MT, (2) would need to be the negation of the consequent of (1), so $$\mathord{\sim}\mathord{\sim}P$$. :::

1. Provided that there is order in the world, God exists.
2. God doesn’t exist.
3. $$\therefore\$$ There isn’t order in the world.

::: {.answers} 1. $$W\mathbin{\rightarrow}P$$ 2. $$\mathord{\sim}P$$ 3. $$\therefore\ \mathord{\sim}W$$

This is valid, and it is an instance of MT. :::

## Double Negation

The fourth rule is Double Negation (DN). I’ve already introduced one of its two forms:

Double Negation Elimination (DNE)
$$\mathord{\sim}\mathord{\sim}$$ $$\therefore\$$

The other form is:

Double Negation Introduction (DNI)
$$\therefore\ \mathord{\sim}\mathord{\sim}$$

Again, here are the vertical representations:

$$\phantom{\therefore}\ \mathord{\sim}\mathord{\sim}$$ $$\therefore\$$

and

$$\phantom{\therefore}\$$ $$\therefore\ \mathord{\sim}\mathord{\sim}$$

Examples, in English:

1. It is not the case that I am not happy.
2. $$\therefore\$$ I am happy.

and

1. I am happy.
2. It is not the case that I am not happy.

For each of the following arguments, symbolize the argument, then say whether or not it is valid, and whether or not it is an instance of R, MP, MT, or DN.

1. You can’t always get what you want.
2. $$\therefore\$$ It is not the case that you can always get what you want.

$$W$$
You can always get what you want.
1. $$\mathord{\sim}W$$
2. $$\therefore\ \mathord{\sim}W$$

This is valid. It is an instance of R. :::

1. You can always get what you want.
2. $$\therefore\$$ It is not the case that you can’t always get what you want.

::: {.answers} 1. $$W$$ 2. $$\therefore\ \mathord{\sim}\mathord{\sim}W$$

Valid. DN (more specifically, DNI). :::

1. You can’t always get what you want if you should try some time.
2. You can always get what you want.
3. $$\therefore\$$ You shouldn’t try some time.

::: {.answers} - $$T$$: You should try some time.

1. $$T\mathbin{\rightarrow}\mathord{\sim}W$$
2. $$W$$
3. $$\therefore\ \mathord{\sim}T$$

This is valid. But it is not an instance of any of our rules. We can show that it is valid in two steps. First, apply DNI to (2), yielding,

$$\mathord{\sim}\mathord{\sim}W$$

Now, apply MT to this and (1), to get (3).

This is an important example to think about and understand. For an argument to be an instance of one of our rules, it must fit the pattern exactly. :::

# Recognizing Rules

Remember, the four rules are argument patterns. Any symbolic sentences can be plugged in for the boxes and the circles to provide an instance of the pattern. The rules are easiest to recognize when we plug sentence letters into the boxes and circles. For example,

$$\phantom{\therefore}\ \mathord{\sim}\mathord{\sim}S$$ $$\therefore\ S$$

and

$$\phantom{\therefore}\ Q\mathbin{\rightarrow}T$$ $$\phantom{\therefore}\ \mathord{\sim}T$$ $$\therefore\ \mathord{\sim}Q$$

The patterns can be harder to see when we plug molecular sentences into the boxes and circles. For example,

$$\phantom{\therefore}\ \mathord{\sim}\mathord{\sim}((P\mathbin{\rightarrow}Q)\mathbin{\rightarrow}\mathord{\sim}(R\mathbin{\rightarrow}Q))$$ $$\therefore\ ((P\mathbin{\rightarrow}Q)\mathbin{\rightarrow}\mathord{\sim}(R\mathbin{\rightarrow}Q))$$

is an instance of DNE, and

$$\phantom{\therefore}\ P\mathbin{\rightarrow}(Q\mathbin{\rightarrow}R)$$ $$\phantom{\therefore}\ P$$ $$\therefore\ Q\mathbin{\rightarrow}R$$

is an instance of MP.

To be an instance of a rule, an argument must fit the pattern exactly. This is not an instance of MP:

$$\phantom{\therefore}\ P\mathbin{\rightarrow}(Q\mathbin{\rightarrow}R)$$ $$\phantom{\therefore}\ P\mathbin{\rightarrow}Q$$ $$\therefore\ R$$

The second premise, $$P\mathbin{\rightarrow}Q$$, is not the antecedent of the first. One thing you can do to help see this is try to draw the boxes and circles in. To try to make this fit the rule MP, you would need to draw a box around $$P\mathbin{\rightarrow}(Q$$, but that is not a well-formed sentence.

The rules only apply to complete sentences. This is not an instance of DNE, because the sentence on the first line is not a double negation:

$$\phantom{\therefore}\ P\mathbin{\rightarrow}\mathord{\sim}\mathord{\sim}Q$$ $$\therefore\ P\mathbin{\rightarrow}Q$$

When you are trying to figure out if an inference fits the pattern, you need to think of the sentences as they look in official notation. This is not an instance of DNE:

$$\phantom{\therefore}\ \mathord{\sim}\mathord{\sim}P\mathbin{\rightarrow}Q$$ $$\therefore\ P\mathbin{\rightarrow}Q$$

The premise, written in informal notation, might appear to be a double negation. But it is not, as is clear when we write it in official notation:

$$\phantom{\therefore}\ (\mathord{\sim}\mathord{\sim}P\mathbin{\rightarrow}Q)$$

Again, to be an instance of a rule, the argument must fit the pattern exactly. You will often be tempted to “skip steps”, relying on your insight and not respecting the patterns. For example,

$$P\mathbin{\rightarrow}\mathord{\sim}Q$$  $$Q$$  $$\therefore\ \mathord{\sim}P$$

is not an instance of MT, because the second premise, $$Q$$, is not the negation of of the consequent of the first, $$\mathord{\sim}Q$$. The negation of $$\mathord{\sim}Q$$ is $$\mathord{\sim}\mathord{\sim}Q$$. It is easy to derive this from $$Q$$, using DNI. But you cannot skip that step, and pretend that the pattern fits MT.

In the same way,

$$\mathord{\sim}\mathord{\sim}\mathord{\sim}\mathord{\sim}P$$  $$\therefore\ P$$

is not an instance of DNE, though it is easy to get from the premise to the conclusion by two applications of DNE.

This would be a good time to go complete the problems in the “Recognizing Rules” module of Logic 2010.

# Direct Derivations

One way to show that an argument is valid is to construct a derivation of the conclusion from the premises. A derivation involves a series of inferences, each in accordance with the rules, from the premises to the conclusion.

So, consider the following argument:

The world is your oyster. If the world is your oyster, you are a pearl. If you are a pearl, you are made out of layers of oyster snot. $$\therefore\$$ You are made out of layers of oyster snot.

Or, in symbols (assuming an appropriate scheme of abbreviation):

$$Y$$ $$Y\mathbin{\rightarrow}P$$ $$P\mathbin{\rightarrow}S$$ $$\therefore\ S$$

We can get from the premises to the conclusion by two applications of Modus Ponens. We might describe this informally as follows:

1. To Be Shown: You are made out of layers of oyster snot.
2.    The world is your oyster. (Premise)
3.    If the world is your oyster, you are a pearl. (Premise)
4.    You are a pearl. (From 2 and 3, by Modus Ponens)
5.    If you are a pearl, you are made out of layers of oyster snot. (Premise)
6.    You are made out of layers of oyster snot. (From 4 and 5 by Modus Ponens)
7.    QED (Line (6) is what was to be shown.)

Here is the same line of reasoning, now in symbols, with some abbreviations:

1.Show$$S$$

2.$$Y$$PR

3.$$Y{\mathbin{\rightarrow}}P$$PR

4.$$P$$2,3 MP

5.$$P{\mathbin{\rightarrow}}S$$PR

6.$$S$$4,5 MP

Here ‘Show’ stands for ‘To Be Shown’. We call line (1) a “Show Line”. It is how we announce, at the beginning of a derivation, the conclusion we are after.

‘PR’ stands for ‘Premise’. The point of a derivation is to reason from the premises to the conclusion. So ‘PR’ lets us know that the sentence on that line is one of the premises.

‘MP’ stands for ‘Modus Ponens’. So, for example, on line (4), we are claiming that $$P$$ follows from lines (2) and (3) by Modus Ponens.

‘DD’ stands for ‘Direct Derivation’. On line (7), we are claiming that the sentence on line (6) is the sentence that needed to be shown, as announced on line (1).

(I know some of you have been exposed to logic before, and learned how to do some derivations. It is unlikely that the system of derivation you learned included “Show Lines”. There are a few different ways we can design a system for constructing derivations, and different textbooks use different systems. I’d be happy to talk with you more about how our system compares the other system you learned.)

There is one other thing we will do when we construct derivations. It is called “Boxing and Canceling”, and we do it when we have successfully completed a derivation. Here is what the completed derivation looks like, when we have boxed and canceled:

1.Show$$S$$

2.$$Y$$PR

3.$$Y{\mathbin{\rightarrow}}P$$PR

4.$$P$$2,3 MP

5.$$P{\mathbin{\rightarrow}}S$$PR

6.$$S$$4,5 MP

The ‘boxing’ refers to the box we’ve drawn around lines 2 through 6. The ‘canceling’ refers the line we’ve drawn through the word ‘Show’.

Conceptually, the canceling is meant to indicate that the sentence on line (1) is no longer just something we are trying to show, but is something we have established. An uncanceled show line is a statement of intention, so,

1.Show$$S$$

• I intend to show that you are are made out of layers of oyster snot.

A canceled show line is no longer a statement of intention: it is as if the word ‘Show’ has been deleted. So,

1.Show$$S$$