Inferences
Inferences
RULES OF INFERENCES
GROUP MEMBERS:
AYESHA ASLAM
17631556-007
KANWAL BATOOL
17631556-003
AIMEN IRFAN
17631556-025
Definitions
By an argument, we mean a sequence of
statements that ends with a conclusion.
The conclusion is the last statement of the
argument.
The premises are the statements of the
argument preceding the conclusion.
A valid argument is one that, if all its
premises are true, then the conclusion is
true
Valid Arguments
Ex: “If it rains, I drive to school.”
“It rains.”
therefore “I drive to school.”
• In this example, the argument belongs to the
following form:
p q
p
therefore q
Valid Argument Form
An argument form is an argument that is
valid no matter what propositions are
substituted into its propositional variables.
Some simple valid argument forms, called
rules of inference, are derived and can be
used to construct complicated argument form
Inferences
Rules of Inference provide the templates or
guidelines for constructing valid arguments
from the statements
Rule of Inference
where
pi are the premises
c is the conclusion.
Notation
∴c
pn
∴q
p
Truth Table:
Example of modus ponens
If it rains, then it is cloudy.
It rains.
Therefore, it is cloudy.
r is the proposition “it rains.”
c is the proposition “it is cloudy.”
r→c
∴c
r
Modus Tollens
The rule of inference
p→q
∴ ¬p
¬q
∴ ¬r
¬c
Disjunctive Syllogism
∴q
¬p
∴p→r
q→r
∴p∨q
P
∴p
p∧q
∴p∧q
q
∴q∨r
¬p ∨ r
∴Q∨S
P∨R
Constructive Dilemma
Example
“If it rains, I will take a leave”, (P→Q)
“If it is hot outside, I will go for a
shower”, (R→S)
“Either it will rain or it is hot outside”, P∨
Destructive Dilemma
(P→Q)∧(R→S)
∴¬P∨¬R
¬Q∨¬S
Destructive Dilemma
Example:
“If it rains, I will take a leave”, (P→Q)
“If it is hot outside, I will go for a
shower”, (R→S)
“Either I will not take a leave or I will not go
for a shower”, ¬Q∨¬S