Skip to main content

Valid and Invalid Inferences

An important feature of valid arguments is that any instance of the form of a valid argument will also be valid. For example, consider the valid argument

PQP.P\wedge Q\models P.

The form of this argument is XYXX\wedge Y\Rightarrow X. Its only premise is a conjunction and the conclusion is the left conjunct of the premise. Every instance of this abstract argument is valid. For example, the following instances are all valid:

  1. QPQQ\wedge P \models Q
  2. (P(QR))Q(P(QR))(P\wedge (Q\vee R))\wedge Q \models (P\wedge (Q\vee R))
  3. PPPP\wedge P \models P
  4. (P¬P)QP¬P(P\vee \neg P)\wedge Q \models P \vee \neg P
  5. (P¬P)PP¬P(P\wedge \neg P)\wedge P \models P\wedge \neg P

Thus, when an argument is shown to be valid, then any argument with the same form is valid. With this in mind, here is another way to think about valid arguments in propositional logic. The form of a valid argument is a rule, called an inference rule, that specifies how to transform a sequence of statements into a statement. For instance, the abstract argument

XYXX\wedge Y\Rightarrow X

is a rule, called right-\wedge elimination, that transforms any conjunction into its left conjunct. To apply an inference rule to a list of formulas, you need to make sure that the list of formulas has the appropriate form. For example, right-\wedge elimination can be applied to any of the following formulas since the main connective of each formula is a conjunction:

  1. PQP\wedge Q
  2. (PQ)R(P\wedge Q) \wedge R
  3. PPP\wedge P
  4. (P¬Q)(S¬R)(P\rightarrow \neg Q) \wedge (S \vee \neg R)

Applying right-\wedge elimination to the above formulas transforms each of these conjunctions into their left conjuncts:

  1. The right-\wedge elimination transforms PQP\wedge Q into PP. In this case, we say "PP is inferred from PQP\wedge Q using the right-\wedge elimination inference rule".
  2. The right-\wedge elimination transforms (PQ)R(P\wedge Q) \wedge R into PQP\wedge Q. In this case, we say "PQP\wedge Q is inferred from (PQ)R(P\wedge Q) \wedge R using the right-\wedge elimination inference rule".
  3. The right-\wedge elimination transforms PPP\wedge P into PP. In this case, we say "PP is inferred from (PP)(P\wedge P) using the right-\wedge elimination inference rule".
  4. The right-\wedge elimination transforms (P¬Q)(S¬R)(P\rightarrow \neg Q) \wedge (S \vee \neg R) into (P¬Q)(P\rightarrow \neg Q). In this case, we say "(P¬Q)(P\rightarrow \neg Q) is inferred from (P¬Q)(S¬R)(P\rightarrow \neg Q) \wedge (S \vee \neg R) using the right-\wedge elimination inference rule".

Note that the following are not instances of right-\wedge elimination:

  1. Infer QQ from PQP\wedge Q, denoted PQQP\wedge Q\Rightarrow Q.
  2. Infer PP from (PQ)R(P\wedge Q) \wedge R, denoted (PQ)RP(P\wedge Q) \wedge R\Rightarrow P.

The first is an instance of a related, but different inference rule (left-\wedge elimination): XYYX\wedge Y\Rightarrow Y. For item 2, note that right-\wedge elimination must be applied to the main connective of the premise. Since, the second occurrence of "\wedge" is the main connective in (PQ)R(P\wedge Q) \wedge R, the correct application of right-\wedge elimination gives (PQ)(P\wedge Q) follows from (PQ)R(P\wedge Q) \wedge R. Then, using right-\wedge elimination a second time we have that PP follows from PQP\wedge Q. So, PP follows from (PQ)R(P\wedge Q)\wedge R using two applications of the right-\wedge elimination inference rule.

We use the notation introduced in the chapter on validity to classify the inference rule

X1,X2,,XnYX_1, X_2, \ldots, X_n\models Y

as valid or invalid:

  1. The above inference rule is valid, denoted X1,X2,,XnYX_1, X_2, \ldots, X_n\models Y, when there is no instance of the argument and truth value assignment that makes all the (instances of the) premises true and the (instance of the) conclusion false.

  2. The above inference rule is invalid, denoted X1,X2,,Xn⊭YX_1, X_2, \ldots, X_n\not\models Y, when there is an instance of the argument and truth value assignment that makes all the (instances of the) premises true and the (instance of the) conclusion false.

Examples of some important valid inference rules include:

NameValid inference rule
Modus PonensX,XYYX, X\rightarrow Y\models Y
Modus TollensXY,¬Y¬XX\rightarrow Y, \neg Y\models \neg X
Disjunctive SyllogismXY,¬XYX\vee Y, \neg X\models Y
Hypothetical Syllogism (Transitivity)XY,YZXZX\rightarrow Y, Y\rightarrow Z\models X\rightarrow Z

The inference rules in the above table each transform a list of formulas. For example, the inference rule Modus Ponens can be applied to any list of formulas in which the first element is any formula and the second element is a conditional where the antecedent is the first formula in the list. The output of Modus Ponens is the consequent of the second formula in the input to the inference rule. For example, the following valid arguments are all instances of Modus Ponens:

  1. P,PQQP, P\rightarrow Q\models Q
  2. P,PPPP, P\rightarrow P\models P
  3. PQ,(PQ)RRP\rightarrow Q, (P\rightarrow Q) \rightarrow R\models R
  4. (P¬Q),(P¬Q)(¬QS)¬QS(P\wedge\neg Q), (P\wedge\neg Q) \rightarrow (\neg Q\rightarrow S)\models \neg Q \rightarrow S

Note that, the following is not an instance of Modus Ponens: Q,PQPQ, P\rightarrow Q\Rightarrow P. Modus Ponens does not apply since the first formula in the input to the rule is the consequent of the second formula rather than the antecedent. This invalid argument (i.e., Q,PQ⊭PQ, P\rightarrow Q\not\models P) is an instance of the following invalid inference rule (called Affirming the Consequent):

Y,XYXY, X\rightarrow Y \Rightarrow X

To explain why Y,XY⊭XY, X\rightarrow Y \not\models X, we note that Q,PQ⊭PQ,P\rightarrow Q\not\models P since the truth value function that makes PP false and QQ true, makes both QQ and PQP\rightarrow Q true, but makes PP false. Other examples of invalid inference rules include:

NameInvalid inference rule
Denying the Antecedent¬X,XY⊭¬Y\neg X, X\rightarrow Y\not\models\neg Y
Affirming the ConsequentY,XY⊭XY, X\rightarrow Y\not\models X
Affirming a DisjunctXY,X⊭¬YX\vee Y, X\not\models\neg Y

We conclude with some general observations about valid inference rules.

It is sometimes convenient to replace a list of premises with a single formula that is a conjunction of all the premises. Note that a truth value assignment makes each of X1,X2,,XnX_1, X_2, \ldots, X_n true if, and only if, the truth value assignment makes the following formula true:

X1X2XnX_1\wedge X_2\wedge\cdots\wedge X_n

This means that:

  • If X1,X2,,XnYX_1, X_2,\ldots, X_n\models Y, then X1X2XnYX_1\wedge X_2\wedge \cdots\wedge X_n\models Y.
  • If X1,X2,,Xn⊭YX_1, X_2,\ldots, X_n\not\models Y, then X1X2Xn⊭YX_1\wedge X_2\wedge \cdots\wedge X_n\not\models Y.
Observation

For all formulas XX and YY, if XX and YY are tautologically equivalent, then for all formulas ZZ,

XZX\models Z if and only if YZY\models Z.

ZXZ\models X if and only if ZYZ\models Y.

Since, for all formulas XX and YY, XYX\wedge Y is tautologically equivalent to YXY\wedge X, using Observation 1 and Observation 2, we see that the order of the premises of an inference rule does not matter. For example, this means that: PQ,PQP\rightarrow Q, P\models Q is an instance of Modus Ponens.

Observation

For all formulas XX and YY, XYX\models Y means that X¬YX\wedge\neg Y is a contradiction, and X⊭YX\not\models Y means that there is a truth value assignment that makes X¬YX\wedge\neg Y true (so, the set of formulas consisting of XX and ¬Y\neg Y is satisfiable).

Monotonicity of Valid Inferences

For all formulas XX, YY and ZZ, if XYX\models Y, then X,ZYX, Z\models Y.

Challenge

Is monotonicity a good property? Can you think of an English argument where monotonicity seems to fail?

Deduction Theorem

For all formulas XX and YY, XYX\models Y if, and only if, XYX\rightarrow Y is a tautology.

Practice Questions

  1. Suppose that XX and YY are formulas and that XYX\models Y. Which of the following is not true?

  2. Suppose that XX and YY are formulas and that XYX\models Y. Which of the following is true?

  3. Suppose that XX and YY are formulas and that XYX\models Y. Which of the following is true?

  4. Consider the argument PQ,PRRP\wedge Q, P\rightarrow R\Rightarrow R. Which of the following is true?

  5. Which of the following formulas can be substituted for XX to ensure that the following argument is valid?

    PQ,¬Q,PRXP\rightarrow Q, \neg Q, P\vee R\models X

  6. Which of the following formulas can be substituted for XX to ensure that the following argument is valid?

    X,P,QRX, P, Q\models R

  7. Consider the inference rule: ¬XY,XY\neg X \vee Y, X \Rightarrow Y. Which of the following is true?