Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Non-classic logics / Bergmann. Introduction to Many-Valued and Fuzzy Logic CUP, 2007.pdf
Скачиваний:
52
Добавлен:
10.08.2013
Размер:
2.05 Mб
Скачать

18

Review of Classical Propositional Logic

is not valid. In the following table, the premises are both true in the second row while the conclusion is false, and that is enough to establish invalidity:

C J

 

J C

¬ J

¬ C

 

T T

 

T T T

F T

F T

T F

 

F T T

T F

F T

F T

 

T F F

F T

T F

F F

 

F T F

T F

T F

2.3 Normal Forms

In this section we introduce disjunctive and conjunctive normal forms for formulas. Each formula of propositional logic has an equivalent formula in disjunctive normal form, and an equivalent formula in conjunctive normal form. The normal forms are used to standardize (normalize) the forms of logical formulas for various reasons, such as allowing the use of a computational proof technique known as resolution (Robinson 1965). We will use normal forms to prove functional completeness in Section 2.5. More importantly, the normal forms will allow us to make some semantic connections among classical logic, three-valued logics, and fuzzy logics.

We’ll begin with disjunctive normal form. First we define literals to include all atomic formulas and their negations: A, ¬A, B, ¬B, . . . . Next we define what a phrase is:

1.A literal is a phrase

2.If P and Q are phrases, so is (P Q)

A phrase is either a single literal, or a conjunction of literals: A, ¬A, B, ¬B, A A, A ¬B, (D ¬E) F, and so forth. Finally, we define disjunctive normal form:

1.Every phrase is in disjunctive normal form

2.If P and Q are in disjunctive normal form, so is (P Q)

So a formula is in disjunctive normal form if it contains at most the three connectives ¬, , and , such that negations only appear in front of atomic formulas and no subformula that is a conjunct contains a disjunction. Examples are A, A ¬B,

A ¬B, (A ¬B) B, (A ¬B) B, and (C ¬E) (D (E F)).

We claimed that each formula of classical propositional logic is equivalent to a formula (at least one) that is in disjunctive normal form. To prove this, we show how to transform any formula of classical propositional logic into a formula in disjunctive normal form, where each step of the transformation produces an equivalent formula. The transformation uses the following equivalences:

2.3 Normal Forms

 

 

19

P Q

is equivalent to

¬P Q

(Implication)

P Q

is equivalent to (¬P Q) (¬Q P)

(Implication)

¬(P Q)

is equivalent to

¬P ¬Q

(DeMorgan’s Law)

¬(P Q)

is equivalent to

¬P ¬Q

(DeMorgan’s Law)4

¬¬P

is equivalent to

P

(Double Negation)

(P Q) R

is equivalent to

(P R) (Q R)

(Distribution)

P (Q R)

is equivalent to

(P Q) (P R)

(Distribution)

(Proof that these forms are equivalent is left as an exercise.) We’ll explain the transformation process using the formula

¬(¬(P Q) (¬R (S T)))

First we use the Implication equivalences to eliminate all conditionals and biconditionals, producing the formula

¬(¬(¬P Q) (¬¬R ((¬S T) (¬T S))))

Next we use DeMorgan’s Laws to move negations deeper into the formula until all negations appear in front of atomic formulas. In our example we use the second DeMorgan Law first to obtain

¬¬(¬P Q) ¬(¬¬R ((¬S T) (¬T S)))

and then

¬(¬¬P ¬Q) (¬¬¬R ¬((¬S T) (¬T S))

Next we can use the first DeMorgan Law twice to obtain

(¬¬¬P ¬¬Q) (¬¬¬R (¬(¬S T) ¬(¬T S))) and then the second Law twice more to obtain

(¬¬¬P ¬¬Q) (¬¬¬R ((¬¬S ¬T) (¬¬T ¬S)))

Now Double Negation eliminates all double negations:

(¬P Q) (¬R ((S ¬T) (T ¬S))).

We’re almost done, but note that this is a conjunction, and some of the conjuncts are disjunctions, so the formula is not yet in disjunctive normal form (if all of the conjuncts were themselves conjunctions, it would be in disjunctive normal form). We can use the first Distribution equivalence to convert the overall formula into a disjunction, with ¬P in place of P, Q in place of Q, and (¬R ((S ¬T) (T ¬S))) in place of R:

(¬P (¬R ((S ¬T) (T ¬S)))) (Q (¬R ((S ¬T) (T ¬S)))).

4These two laws are named after the nineteenth-century mathematician Augustus DeMorgan, who stated these laws set-theoretically. According to one historian, these laws did not actually originate with DeMorgan but “were known in scholastic times and probably even in antiquity” (Delong 1970, p. 106).

20

Review of Classical Propositional Logic

Next we can apply the second Distribution equivalence to both occurrences of the subformula (¬R ((S ¬T) (T ¬S)), with ¬R in place of P, (S ¬T) in place of Q, and (T ¬S) in place of R, to obtain

(¬P ((¬R (S ¬T)) (¬R (T ¬S)))) (Q ((¬R (S ¬T)) (¬R (T ¬S))))

This formula is in disjunctive normal form, and it is equivalent to the original formula

¬(¬(P Q) (¬R (S T)))

because each step of the transformation produces an equivalent formula.

This series of steps will convert any formula to an equivalent formula in disjunctive normal form—we first get rid of conditional and biconditional connectives, then we use the DeMorgan Laws to move negations in as far as they will go, and we use Double Negation to eliminate all double negations. At this point all negations occur in front of atomic formulas, and the binary connectives are either conjunctions or disjunctions. The Distribution laws enable us to convert the result to disjunctive normal form by replacing each conjunction with a disjunctive conjunct into a disjunction of conjunctive disjuncts. In Section 2.5 we will see another way to produce formulas in disjunctive normal form.

In contrast, formulas in conjunctive normal form are conjunctions of disjunctions, rather than disjunctions of conjunctions. We define a clause as:

1.A literal is a clause

2.If P and Q are clauses, so is (P Q)

and conjunctive normal form as:

1.Every clause is in conjunctive normal form

2.If P and Q are in conjunctive normal form, so is (P Q)

Any formula of classical propositional logic can be converted to an equivalent formula in conjunctive normal form by following the same steps as we did for disjunctive normal form, but using the following Distribution equivalences at the end:

A formula (P Q) R is equivalent to (P R) (Q R)

(Distribution)

A formula P (Q R) is equivalent to (P Q) (P R)

(Distribution)

Let us call a pair of literals complementary if one is the negation of the other; for instance, S and ¬S are a complementary pair of literals. We now state two important general results:

Result 2.1: A clause C of classical propositional logic is a tautology if and only if C contains a complementary pair of literals.

Proof: If a clause C is a tautology then C must be a disjunction (since no literal is a tautology), and on each truth-value assignment at least one disjunct is true. But then C must contain a complementary pair of literals, because

2.4 An Axiomatic System for Classical Propositional Logic

21

if it doesn’t, then the truth-values of all the literals are independent of one another and there will therefore be a truth-value assignment on which they are all false. (For example, P (((Q Q) (¬R ¬S)) T) is false when P, Q, and T are false and R and S are true). Conversely, if C contains a complementary pair of literals, then on each truth-value assignment one of these literals will be true (they can’t both be false) and hence the disjunctive formula C will be true as well.

Result 2.2: A phrase P of classical propositional logic is contradictory if and only if P contains a complementary pair of literals.

Proof: Left as an exercise.

As a consequence of 2.1 and 2.2 we have

Result 2.3: A formula P of classical logic that is in conjunctive normal form is a tautology if and only if each clause in P contains a complementary pair of literals.

Proof: A formula P in conjunctive normal form is either a clause or a conjunction. If P is a clause, then, by Result 2.1, P is a tautology if and only if P contains a complementary pair of literals. If P is a conjunction, then P is a tautology if and only if each conjunct in P is a tautology, and this is the case if and only if the clauses from which the conjunctions in P are built are tautologies. By Result 2.1, each of these clauses is a tautology if and only if each clause contains a complementary pair of literals.

Result 2.4: A formula P of classical logic that is in disjunctive normal form is a contradiction if and only if each phrase in P contains a complementary pair of literals.

Proof: Left as an exercise.

2.4 An Axiomatic Derivation System for Classical Propositional Logic

Alongside semantic means of assessing formulas and evaluating arguments, derivation systems may be used. There are several types of derivation systems, including axiomatic systems and natural deduction systems. Axiomatic systems are the norm in the field of fuzzy logic, and so we shall use axiomatic derivation systems throughout this text.5 In an axiomatic derivation system we have a set of formulas proclaimed to be axioms along with a set of rules to derive new formulas from previous ones. There are many axiomatic systems that have been studied for classical propositional logic. The axiomatic system that we present here was developed by the Polish logician Jan Lukasiewicz (1930, 1934) to simplify a system proposed by the

5

For examples of natural deduction derivation systems see Bergmann, Moor, and Nelson (2004).

 

22

Review of Classical Propositional Logic

German logician Gottlob Frege (Frege 1879). We have chosen the Frege-Lukasiewicz system—which we will designate as CLA (for classical propositional logic axiomatic system)—because some simple modifications will serve to axiomatize three-valued and fuzzy logics that were also developed by Lukasiewicz. CLA contains three axiom schemata:

CL1. P(Q P)

CL2. (P (Q R)) ((P Q) (PR))

CL3. (¬P → ¬Q) (Q P)

and the single inference rule MP, which is short for the rule’s traditional name, Modus Ponens:

MP (Modus Ponens). From P and PQ, infer Q.

An axiom schema stands for infinitely many axioms, namely, all formulas that have the overall form exemplified by the schema. We call such formulas instances of the axiom schema. We can define an instance of an axiom schema to be any formula that results from uniform substitution of formulas of the language (not necessarily distinct) for each of the letters P, Q, and R. By uniform substitution we mean that in a given instance, the same formula must be substituted for every occurrence of P, and similarly for Q and R. So, for example, the following formulas are all instances of the axiom schema CL1:

P (Q P)

Substituting P for P and Q for Q

Q (P Q)

Substituting Q for P and P for Q

P (P P)

Substituting P for P and P for Q

(A B) ((F (G H)) (A B))

Substituting (A B) for P and

 

(F (G H)) for Q

Note that each of the axiom schemata has the form of a tautology. For example, here is the truth-table for CL2:

P Q R

(P(Q R)) ((PQ) (PR))

T T T

T T T T T T T T T T T T T

 

T T F

T F T F F T T T T F T F F

T F T

T T F T T T T F F T T T T

T F F

T T F T F T T F F T T F F

F T T

F T T T T T F T T T F T T

F T F

F T T F F T F T T T F T F

F F T

F T F T T T F T F T F T T

F F F

F T F T F T F T F T F T F

It is left as an exercise to verify that the other two axiom schemata also have tautologous forms. In addition, the rule Modus Ponens is a truth-preserving rule—a rule that when applied to true formulas results in a true formula: if P and P Q are both true, then Q must be true as well.

2.4 An Axiomatic System for Classical Propositional Logic

23

A derivation is a sequence of formulas each of which is designated as an assumption, or is an instance of an axiom schema, or can be derived from earlier formulas in the sequence using the derivation rule MP. In addition, the formulas designated as assumptions must begin the derivation. (This last stipulation is not theoretically necessary but will make rules in later chapters easy to state, with no loss of derivational power.) Here is an example of a derivation annotated in a standard way:

1

A

Assumption

2

(B A) (A M)

Assumption

3

A (B A)

CL1, with A / P, B / Q

4

B A

1,3 MP

5

A M

2,4 MP

6

M

1,5 MP

We have derived the conclusion M from the assumptions A and (B A) (A M). We have numbered each of the formulas in the sequence constituting the derivation and have added annotations. Each line of the displayed derivation is annotated to indicate the justification for entering that formula in the derivation: either as an assumption (lines 1 and 2), as an instance of an axiom schema (line 3; the annotation indicates that axiom schema CL1 has been used, with A substituted for P and B for Q), or by virtue of being derived from earlier formulas (lines 4–6; each annotation indicates to which formulas the rule MP was applied). When a formula appears in a derivation that begins with a set of assumptions, we say that the formula is derived from those assumptions. So each of the formulas on lines 1–6 is derived from the assumptions on lines 1 and 2. If a formula can be derived from a set of assumptions, we also say that the formula is derivable from any set containing those assumptions. So the preceding derivation shows that the formula M is derivable from any set that contains both A and (B A) (A M). As another example, the following derivation shows that A B is derivable from ¬A:

1

¬A

 

Assumption

2

¬A (¬B → ¬A)

CL1, with A / P, B / Q

3

¬B → ¬A

1,2 MP

4

(¬B → ¬A) (A B)

CL3, with B / P, A / Q

5

A B

3,4 MP

Some formulas, namely, the tautologies of classical logic, can be derived without using any assumptions. For example, A A is a tautology and we can derive it without any assumptions as follows:

1

A ((A A) A)

CL1, with A / P, A A / Q

2

A ((A A) A)) ((A (A A)) (A A))

CL2, with A / P, A A / Q, A / R

3

(A (A A)) (A A)

1,2 MP

4

A (A A)

CL1, with A / P, A / Q

5

A A

3,4 MP

24

Review of Classical Propositional Logic

A derivation that does not contain any assumptions is called a proof, and a formula is called a theorem if there is a proof ending with that formula. The proof just given establishes that A A is a theorem. We may call the proof a proof of that theorem.

Another theorem is ¬A (A B). Before presenting a proof, we draw the reader’s attention to the relation between this theorem and the fact that (as we have shown) A B is derivable from ¬A, namely: the consequent and the antecedent of the theorem are the two formulas in question. It turns out that whenever a formula Q is derivable from a formula P in CLA there is a corresponding theorem P Q in CLA, and vice versa. This general fact is known as the Deduction Theorem:6

Result 2.5 (The Deduction Theorem for Classical Propositional Logic): Q is derivable from P in CLA if and only if P Q is a theorem in CLA.

Proof: The if part—if P Q is a theorem then Q is derivable from P—is easy to establish. If P Q is a theorem then there is a proof of P Q in CLA. We can add P to this proof as an assumption and then use Modus Ponens to derive Q from P and P Q.

For the only if part we will explain how to convert any derivation of Q from the assumption P into a proof of P Q, thus establishing the theoremhood of the latter. (We’ll then illustrate the method by converting our derivation of A B from ¬A into a proof of ¬A (A B).) The strategy is to show how, given a derivation of Q from the assumption P—a derivation consisting of the sequence P, R1, R2, . . . , Rn–1, Rn where Rn is Q—we can produce a derivation in which each of the formulas P P, P R1, P R2, . . . , P Rn–1, P Rn occurs as a theorem. The last theorem in this sequence is the desired theorem for this result. The formulas will all be theorems because the new derivation will not include the assumption P or any other assumption.

We begin the derivation by deriving the first new formula P P exactly as we derived A A on the previous page, using P in place of A. Now, each of R1, R2, . . . , Rn–1, Rn either was an instance of an axiom schema or followed from previous formulas in the derivation by MP. For each one of these formulas Ri, if Ri is an instance of an axiom schema we can add the following lines to derive P Ri in the new derivation:

m

 

Ri

 

{by relevant axiom schema}

m+1

 

Ri

(P Ri)

CL1, with Ri / P, P / Q

m+2

 

P Ri

m+1, m+2 MP

 

If Ri followed by MP from earlier formulas Rk and Rk Ri in the sequence R1, R2, . . . , Ri–1, Rn, then we already have P Rk and P (Rk Ri) in the new derivation, say, on lines m and n, and three additional lines will derive P Ri:

6There is also a semantic version of the Deduction Theorem: the set {P} entails Q if and only if P Q is a tautology. This is easy to prove directly, but we also note that the semantic version follows from Result 2.5 and the fact that CLA is sound and complete for classical propositional logic (see p. 26).

2.4 An Axiomatic System for Classical Propositional Logic

25

mP Rk

. . .

nP (Rk Ri)

. . .

p

(P (Rk Ri)) ((P Rk) (P Ri))

CL2, with P / P, Rk / Q, Ri / R

p+1

(P Rk) (P Ri)

n, p MP

p+2

P Ri

m, p+1 MP

Using the method described in the proof of the Deduction Theorem and the earlier derivation

1

 

¬A

 

Assumption

 

2

 

¬A (¬B → ¬A)

CL1, with A / P, B / Q

3

 

¬B → ¬A

1,2 MP

4

 

(¬B → ¬A) (A B)

CL3, with B / P, A / Q

5

 

A B

3,4 MP

weconstruct the following derivation establishing the theoremhood of ¬A (A B) (to the left of the lines containing the conditionals whose consequents are formulas from the earlier derivation we write the line numbers from that derivation):

 

1

¬A ((¬A

¬A) → ¬A)

CL1, with ¬A / P, ¬A → ¬A / Q

 

2

¬A ((¬A → ¬A) → ¬A))

CL2, with ¬A / P, ¬A → ¬A / Q, ¬A / R

 

3

((¬A (¬A → ¬A)) (¬A → ¬A))

 

 

(¬A (¬A → ¬A)) (¬A → ¬A)

1,2 MP

 

4

¬A (¬A → ¬A)

CL1, with ¬A / P, A /Q

1.

5

¬A → ¬A

 

3,4 MP

 

6

¬A (¬B → ¬A)

CL1, with ¬A / P, ¬B /Q

 

7

(¬A (¬B → ¬A)) (¬A (¬A (¬B → ¬A)))

CL1, with ¬A (¬B → ¬A) / P, ¬A / Q

2.

8

¬A (¬A (¬B → ¬A))

6,7 MP

 

9

¬A (¬A (¬B → ¬A))

CL2, with ¬A / P, ¬A / Q, ¬ A → ¬B / R

 

10

((¬A → ¬A) (¬A (¬B → ¬A)))

 

 

(¬A → ¬A) (¬A (¬B → ¬A))

8,9 MP

3.

11

¬A (¬B → ¬A)

5,10 MP

 

12

(¬B → ¬A) (A B)

CL3, with B / P, A / Q

 

13

((¬B → ¬A) (A B))

CL1, with (¬B → ¬A) (A B) / P, ¬A / Q

 

 

(¬A ((¬B → ¬A) (A B)))

 

4.

14

¬A ((¬B → ¬A) (A B))

12,13 MP

 

15

(¬A ((¬B → ¬A) (A B)))

CL2, with ¬A / P, ¬B → ¬A / Q, A B / R

 

 

((¬A (¬B → ¬A)) (¬A (A B)))

 

 

16

(¬A (¬B → ¬A)) (¬A (A B))

14,15 MP

5.

17

¬A (A B)

 

11,16 MP

26

Review of Classical Propositional Logic

Shorter derivations are certainly possible—for example, in this case we did not need to derive the formula on line 11 since it already appears on line 6; our point here was to illustrate the mechanical conversion procedure introduced in the proof of the Deduction Theorem, a procedure that shows that we can always convert a derivation of Q from P into a proof of P Q.

A derivation system is said to be sound for classical propositional logic if (a) all theorems are tautologies and (b) whenever a formula P is derivable from a set of formulas, then P is also entailed by the set . The system CLA is sound. For example, we have already noted that the theorem A A is a tautology of classical logic, and so is the theorem ¬A (A B). The arguments corresponding to our other two derivations:

A

(B A) (A M) M

and

A

¬A → ¬B

are both valid (as can be confirmed by truth-tables). CLA is a sound derivation system precisely because the axioms are tautologies and the single rule is truthpreserving.

A derivation system is said to be weakly complete for classical propositional logic if every tautology of classical logic is a theorem in the system (the converse of what goes into soundness) and it is said to be strongly complete, or just complete, if in addition whenever a set of formulas entails a formula P, P is also derivable from within the system (again, the converse of soundness). CLA is complete as well as sound for classical propositional logic, and when a system has both of these properties we say that it is adequate for classical propositional logic.7 Simply put, soundness and completeness mean that you can derive everything you should be able to derive (the system is complete), and nothing you shouldn’t (the system is sound).

We point out that there is prima facie (“at first sight”) something fishy about the claim that CLA is complete for classical propositional logic: completeness means that for every entailment or tautology there is a corresponding derivation in the system, but it is unclear that there is any derivation for entailments or tautologies whose validity depends on connectives other than ¬ and , because no other connectives appear in either the axioms or the derivation rule MP. As an example, M (M S) is a tautology, but how can it be derived in CLA? The answer is that when we want to use CLA to produce derivations for formulas containing the connectives , , and ,

7See Hunter (1971) for several completeness proofs for the system CLA (called PS in Hunter), along with a soundness proof.

2.4 An Axiomatic System for Classical Propositional Logic

27

we first rewrite the formulas to contain only ¬ and , using some standard set of definitions. For this purpose we’ll use the definitions

P Q =def ¬P Q

P Q =def ¬(P → ¬Q)

P Q =def (P Q) (Q P), which turns into ¬((P Q) → ¬(Q P))

and then produce derivations for the rewritten formulas. To show that M (M S) is a theorem we first convert the formula to ¬M (M S) using the preceding definition for disjunction, then we construct a derivation for the latter formula (caution: do not spend too much time reading through this derivation; we will shorten it momentarily):

1¬M (¬S → ¬M)

2(¬S → ¬M) (M S)

3((¬M ((¬S → ¬M) (M S)))

((¬M (¬S → ¬M)) (¬M (M S))))

(((¬S → ¬M) (M S))

((¬M ((¬S → ¬M) (M S)))

((¬M (¬S → ¬M)) (¬M (M S))))) 4 (¬M ((¬S → ¬M) (M S))

((¬M (¬S → ¬M)) (¬M (M S))) 5 ((¬S → ¬M) (M S))

((¬M ((¬S → ¬M) (M S)))

((¬M (¬S → ¬M)) (¬M (M S)))) 6 (((¬S → ¬M) (M S))

((¬M ((¬S → ¬M) (M S)))

((¬M (¬S → ¬M)) (¬M (M S)))))

((((¬S → ¬M) (M S))

(¬M ((¬S → ¬M) (M S))))

(((¬S → ¬M) (M S))

((¬M (¬S → ¬M))

(¬M (M S)))))

7 (((¬S → ¬M) (M S))

(¬M ((¬S → ¬M) (M S))))

(((¬S → ¬M) (M S))

((¬M (¬S → ¬M))

(¬M (M S))))

8 ((¬S → ¬M) (M S))

(¬M ((¬S → ¬M) (M S)))

9((¬S → ¬M) (M S)) ((¬M (¬S → ¬M)) (¬M (M S)))

10(¬M (¬S → ¬M)) (¬M (M S))

11¬M (M S)

CL1, with ¬M / P, ¬S / Q

CL3, with S / P, M / Q

CL1, with (¬M ((¬S → ¬M) (M S)))

((¬M (¬S → ¬M)) (¬M (M S))) / P, (¬S → ¬M) (M S) / Q

CL2, with ¬M / P, ¬S → ¬M / Q, M S / R

3,4 MP

CL2, with (¬S → ¬M) (M S) / P,

¬M ((¬S → ¬M) (M S)) / Q,

(¬M (¬S → ¬M)) (¬M (M S)) / R

5,6 MP

CL1, with (¬S → ¬M) (M S) / P, ¬M / Q

7,8 MP

2,9 MP

1,10 MP

We may conclude that M (M S) is a theorem of CLA.

28

Review of Classical Propositional Logic

At this point it is probably (frighteningly) clear that it can be difficult to design derivations in CLA – and to follow them; that is why we added the previous caution. Why, you may ask, would anyone propose such a terse system, with merely three axioms and a single rule to choose from? Wouldn’t it be better to have more axioms and rules? The reason for terse axiomatic systems is that authors of these systems strive for elegance, usually in the form of a very small set of axioms and rules, which in turn can make it easier to prove things about the system.8

But when we put axiomatic systems to action, terseness ceases to look like a virtue. In order to make derivations less difficult to construct or to follow, it is common to introduce derived axiom schemata and/or derived rules. For example, we can introduce P P as a derived axiom schema:

CLD1. P P

The D is short for derived. We are justified in introducing P P as a derived axiom schema because we have already presented a proof of A A, and it is clear that this proof can be converted into a proof of any instance of the schema P P simply by substituting any other formula for A. In general, once we have proved a formula to be a theorem we may present the formula, with metavariables uniformly substituted for the formula letters, as a derived axiom schema. We can then use the derived schema in subsequent derivations, as we do in the following derivation of

B (C C):

1

C C

CLD1, with C / P

2

(C C) (B (C C))

CL1, with C C / P, B / Q

3

B (C C)

1,2 MP

Using CLD1 we can also construct a short simple derivation showing that A ¬A is a theorem. First, we rewrite the formula as ¬A → ¬A so that it contains only the negation and conditional symbols. Here’s the derivation!

1

¬A → ¬A

CLD1, with ¬A / P

Now let’s return to the derivation of the theorem ¬M (M S). The sole purpose of lines 3–11 of the derivation is to derive ¬M (M S) from ¬M (¬S → ¬M) and (¬S → ¬M) (M S). Examining these formulas we see that they are instances of a general inference pattern that derives a formula of the form P R from formulas having the form P Q and Q R. We may introduce this inference pattern, commonly called hypothetical syllogism, as a derived rule:

HS (Hypothetical Syllogism). From P Q and Q R, infer P R.

8Claims about a derivation system are part of what is called the metatheory of logic. The claim that an axiomatic system is sound, or that it is complete, is a metatheoretic claim.

2.4 An Axiomatic System for Classical Propositional Logic

29

To justify HS we first introduce the derived axiom

CLD2. (Q R) ((P Q) (P R))

This axiom is justified as follows (compare with lines 3–9 of the previous derivation of M (M S):

1

 

((P (Q R)) ((P Q) (P R)))

CL1, with (P (Q R))

 

 

 

((Q R) ((P (Q R)) ((P Q) (P R))))

((P Q) (P R)) / P, Q R / Q

2

 

(P (Q R)) ((P Q) (P R))

CL2, with P / P, Q / Q, R / R

3

 

(Q R) ((P (Q R)) ((P Q) (P R)))

1,2 MP

4

 

((Q R) ((P (Q R)) ((P Q) (P R))))

CL2, with Q R / P, P (Q R) / Q,

 

 

(((Q R) (P (Q R)))

(P Q) (P R) / R

 

 

((Q R) ((P Q) (P R))))

 

5

 

((Q R) (P (Q R)))

3,4 MP

 

 

((Q R) ((P Q) (P R)))

 

6

 

(Q R) (P (Q R))

CL1, with Q R / P, P / Q

7

 

(Q R) ((P Q) (P R))

5,6 MP

and the following derivation justifies HS (compare lines 3–5 with lines 9–11 of the longer dervivation):

1

 

P Q

Assumption

 

2

 

Q R

 

Assumption

3

 

(Q R) ((P Q) (P R))

CLD2, with P / P, Q / Q, R / R

4

 

(P Q) (P R)

2,3 MP

5

 

P R

1,4 MP

This derivation shows that if we already have P Q and Q R, whether or not they are assumptions, we can derive P R. Using HS, we can seriously shorten the previous derivation of ¬M (M S):

1

¬M (¬S → ¬M)

CL1, with ¬M / P, ¬S / Q

2

(¬S → ¬M) (M S)

CL3, with S / P, M / Q

3

¬M (M S)

1,2 HS

Another useful derived rule is

TRAN (Transposition). From P (Q R) infer Q (P R).

The rule is called Transposition because it transposes antecedents. The following derivation, which uses both CLD2 and HS, justifies TRAN:

30

 

 

Review of Classical Propositional Logic

1

 

P ( Q R)

Assumption

 

 

 

 

 

 

2

 

((P Q) (P R)) ((Q (P Q)) (Q (P R)))

CLD2, with Q / P, P Q / Q, P R / R

3

 

(((P Q) (P R)) ((Q (P Q)) (Q (P R))))

CL2, with (P Q) (P R) / P,

 

 

(((P Q) (P R)) (Q (P Q)))

Q (P Q) / Q, Q (P R) / R

 

 

(((P Q) (P R)) (Q (P R)))

 

 

4

 

((P Q) (P R)) (Q (P Q)))

2,3

MP

 

 

(((P Q) (P R)) (Q (P R))

 

 

5

 

Q (P Q)

CL1, with Q / P, P / Q

6

 

(Q (P Q)) (((P Q) (P R)) (Q (P Q)))

CL1, with Q (P Q) / P,

 

 

((P Q) (P R)) (Q (P Q))

(P Q) (P R) / Q

7

 

5,6

MP

8

 

((P Q) (P R)) (Q (P R))

4,7

MP

9

 

(P (Q R)) ((P Q) (P R))

CL2, with P / P, Q / Q, R / R

10

 

(P (Q R)) (Q (P R))

8,9

HS

11

 

Q (P R)

1,10 MP

Two additional useful derived axiom schemata are

CLD3. ¬¬P P

CLD4. P → ¬¬P

Here is a derivation justifying CLD3:

1

¬¬P (¬¬¬¬P → ¬¬P)

CL1, with ¬¬P / P, ¬¬¬¬P / Q

2

(¬¬¬¬P → ¬¬P) (¬P → ¬¬¬P)

CL3, with ¬¬¬P / P, ¬P / Q

3

¬¬P (¬P → ¬¬¬P)

1,2 HS

4

(¬P → ¬¬¬P) (¬¬P P)

CL3, with P / P, ¬¬P / Q

5

¬¬P (¬¬P P)

3,4 HS

6

(¬¬P (¬¬P P)) ((¬¬P → ¬¬P) (¬¬P P))

CL2, with ¬¬P / P, ¬¬P / Q, P / R

7

(¬¬P → ¬¬P) (¬¬P P)

5,6 MP

8

¬¬P → ¬¬P

CLD1, with ¬¬P / P

9

¬¬P P

7,8 MP

and we may use CLD3 to justify CLD4:

1

¬¬¬P → ¬P

CLD3, with ¬P / P

2

(¬¬¬P → ¬P) (P → ¬¬P)

CL3, with ¬¬P / P, P / Q

3

P → ¬¬P

1,2 MP

With the help of these derived axioms and rule, we can also derive

CLD5. (P Q) (¬Q → ¬P)

2.4 An Axiomatic System for Classical Propositional Logic

31

which is the converse of CL3:

 

1

 

 

(Q → ¬¬Q) ((P Q) (P → ¬¬Q))

CLD2, with P / P, Q / Q, ¬¬Q / R

 

2

 

 

Q → ¬¬Q

CLD4, with Q / P

3

 

 

(P Q) (P → ¬¬Q)

1,2 MP

4

 

 

(P → ¬¬Q) ((¬¬P P) (¬¬P → ¬¬Q))

CLD2, with ¬¬P / P, P / Q, ¬¬Q / R

5

 

 

(¬¬P P) ((P → ¬¬Q) (¬¬P → ¬¬Q))

4, TRAN

6

 

 

¬¬P P

CLD3, with P / P

7

 

 

(P → ¬¬Q) (¬¬P → ¬¬Q)

5,6 MP

8

 

 

(P Q) (¬¬P → ¬¬Q)

3,7 HS

9

 

 

(¬¬P → ¬¬Q) (¬Q → ¬P)

CL3, with ¬P / P, ¬Q / Q

10

 

 

(P Q) (¬Q → ¬P)

8,9 HS

Another useful rule:

 

MT (Modus Tollens). From P Q and ¬Q, infer ¬P

 

is readily derived using CLD5:

 

1

 

 

P Q

Assumption

 

 

2

 

 

¬Q

Assumption

3

 

(P Q) (¬Q → ¬P)

CLD5, with P / P, Q / Q

4

 

¬Q → ¬P

1,3 MP

5

 

 

¬P

2,4 MP

As a final example, with the help of our derived axioms and rules we can show that the argument

If the economy is sound, then either the unemployment rate is low or spending is high.

If the unemployment rate is low, most people are well off. If spending is high, most people are well off.

It’s not true that most people are well off. The economy isn’t sound.

is valid. First we symbolize the argument:

E (U S) U W

S W

¬W

¬E