Rules of Inference
Rules of Inference
What is an Argument?
A finite sequence P1 , P2 , P3 , . . . , Pn , 𝑄 of statements is called an argument. The final
statement 𝑄 is the conclusion and the statements P1 , P2 , P3 , . . . , Pn are called the premises of
the argument.
(P1 P2 P3 . . . Pn) → 𝑄
is a tautology.
Example 1:
Consider the following argument involving propositions (which by definition, is a sequence of
propositions)
" If you have a current password, then you can log onto the network."
" You have a current password."
Therefore,
" You can log onto the network."
Before we discuss the validity of this particular argument, we will look at its form.
Example 2:
" If George does not have eight legs, then he is not an insect."
" George is an insect."
Therefore
" George has eight legs.
Solution
Let R: George does not have eight legs
S: George is not an insect
Then, the argument has the form
R→S
∼S
∴ ∼R
Since the values of [(R→S) ∧ ∼S] → ∼R is TRUE for all possible truth values of R and S. Then,
the argument form is VALID.
Example 3:
Solution:
Let P: Descartes does not exist
Q: Descartes does not breathe
Since the values of [(P→Q) ∧ ∼P] → ∼Q is not all TRUE for all possible truth values of P and Q
are all True. Then, the argument form is INVALID.
Consequently, we would like techniques to show that argument forms are valid.
We can always use a truth table to show that an argument form is valid. We do this by
showing that whenever the premises are true, the conclusion must also be true. However, this
can be tedious approach.
For example, when an argument form involves 10 different propositional variables, to use
a truth table to show this argument is valid requires 2 10 = 1,024 different rows.
Fortunately, we do not have to resort the truth tables. Instead, we can first establish the
validity of some relatively simple argument forms, called RULES OF INFERENCE. These
rules of inference can be used as building blocks to construct more complicated valid argument
forms.
Definition: Given an implication P → Q. The implications
* Q → P is called CONVERSE
* ∼P → ∼ Q is called INVERSE
* ∼Q → ∼ P is called CONTRAPOSITIVE.
Proof: Utilizing rules of inference and applying to the given premises, our objective is to reach
the expression of the conclusion Q.
1. P ∨ Q Given
2. P → R Given
3. ∼ R Given
4. ∼ P Modus Tollens (2) and (3)
5. Q Disjunctive Syllogism (1) and (4)
Example 5: State which rule of inference is the basis of the following argument:
"It is below freezing now. Therefore, It is either below freezing or raining now."
TRY THIS!
State which rule of inference is used in the arguments. Symbolize the propositions
and the arguments.
4. "If you send me an e-mail message, then I will finish writing the program. If you do not
send me an e-mail message, then I will go to sleep early. If I go to sleep early, then I will
wake up feeling refreshed. Therefore, If I do not finish writing the program, then I will
wake up feeling refreshed.”
Proof:
Exercises:
1. Give the reasons for the steps verifying the following argument:
d) If I solve exercises for practice, then I will pass the course. I did not pass the course.
Therefore, I did not solve exercises for practice.
e) If I go swimming, then I will stay in the sun too long. If I stay in the sun too long,
then I will sunburn. Therefore, if I go swimming, then I will sunburn.
c) Linda is an excellent swimmer. If Linda is an excellent swimmer, then she can work as
a lifeguard. Therefore, Linda can work as a lifeguard.
d) Steve will work at a computer company this summer. Therefore, this summer Steve
will work at a computer company or he will be a beach bum.
Illustration:
∀x P(x) = All women are wise
P(c) = Lisa is wise
c=Lisa is a member of the domain of all women.
* Universal Instantiation is the rule of inference used to conclude that P(c) is true, where c is a
particular member of the domain, given the premise ∀x P(x).
* Universal Generalization is the rule of inference that states that ∀x P(x) is true, given the
premise P(c) is true for all elements c in the domain.
* Existential Instantiation is the rule that allows us to conclude that there is an element c in the
domain for which P(c) is true if we know that ∃x P(x) is true.
* Existential Generalization is the rule that is to used conclude that ∃x P(x) is true when a
particular element c with P(c) true is known.
Example 1:
Show that the premise "Everyone in this discrete mathematics class has taken a course BS in
Information Technology" and "Marla is a student in this class" imply the conclusion "Marla has taken a
course BS in Information Technology."
The following steps can be used to establish the conclusion from the premises.
Step Reason
1. ∀x D(x) → C(x) Premise/Given
2. D(Marla) → C(Marla) Universal Instantiation from (1)
3. D(Marla) Premise/Given
4. C(Marla) Modus Ponens from (2) and (3).
Example 2:
Students in this class who pass the course either do the homework or attend lecture class;
Bob did not attend every lecture class;
Therefore, Bob passed the course.
1. Students in this class who pass the course either do the homework or attend lecture
∀x (P(x) → (H(x) ∨ L(x))
2. Bob did not attend every lecture;
∼L(b)
3. Bob passed the course.
P(b)
Proof: Reason
1. ∀x (P(x) → (H(x) ∨ L(x)) Given/Hypothesis
2. ∼L(b) Given/Hypothesis
3. P(b) Given/Hypothesis
4. P(b) → (H(b) ∨ L(b)) Universal Instantiation of (1)
5. H(b) ∨ L(b) Modus ponens of (4) & (3)
6. H(b) Disjunctive Syllogism of (5) & (2)
TRY THIS!
A student in this class has not read the book. Everyone in this class passed the first exam.
Therefore, someone who passed the first exam has not read the book.
Solution: