Discrete Mathematics - Rules of Inference
Discrete Mathematics - Rules of Inference
Discrete Mathematics - Rules of Inference
Lukáš Vyhnálek
More Detail
To deduce new statements from the statements whose truth that we already know, Rules of
Inference are used.
An argument is a sequence of statements. The last statement is the conclusion and all its preceding
statements are called premises (or hypothesis). The symbol “ ∴ ”, (read therefore) is placed before
the conclusion. A valid argument is one where the conclusion follows from the truth values of the
premises.
Rules of Inference provide the templates or guidelines for constructing valid arguments from the
statements that we already have.
https://www.tutorialspoint.com/discrete_mathematics/rules_of_inference.htm 1/7
8/31/22, 11:04 PM Discrete Mathematics - Rules of Inference
P P ∨ Q
Disjunctive
∴ P ∨ Q Addition ¬P
Syllogism
∴ Q
P P → Q
Hypothetical
Q Conjunction Q → R
Syllogism
∴ P ∧ Q ∴ P → R
P ∧ Q (P → Q) ∧ (R → S )
Constructive
∴ P Simplification P ∨ R
Dilemma
∴ Q ∨ S
P → Q (P → Q) ∧ (R → S )
Modus Destructive
P ¬Q ∨ ¬S
Ponens Dilemma
∴ Q ∴ ¬P ∨ ¬R
Modus
Tollens
P → Q
¬Q
∴ ¬P
https://www.tutorialspoint.com/discrete_mathematics/rules_of_inference.htm 2/7
8/31/22, 11:04 PM Discrete Mathematics - Rules of Inference
Addition
If P is a premise, we can use Addition rule to derive P ∨ Q .
∴ P ∨ Q
Example
Let P be the proposition, “He studies very hard” is true
Therefore − "Either he studies very hard Or he is a very bad student." Here Q is the proposition “he
is a very bad student”.
Conjunction
If P and Q are two premises, we can use Conjunction rule to derive P ∧ Q .
∴ P ∧ Q
Example
Let P − “He studies very hard”
Therefore − "He studies very hard and he is the best boy in the class"
Simplification
If P ∧ Q is a premise, we can use Simplification rule to derive P.
https://www.tutorialspoint.com/discrete_mathematics/rules_of_inference.htm 3/7
8/31/22, 11:04 PM Discrete Mathematics - Rules of Inference
P ∧ Q
∴ P
Example
"He studies very hard and he is the best boy in the class", P ∧ Q
Modus Ponens
If P and P → Q are two premises, we can use Modus Ponens to derive Q.
P → Q
∴ Q
Example
"If you have a password, then you can log on to facebook", P → Q
Modus Tollens
If P → Q and ¬Q are two premises, we can use Modus Tollens to derive ¬P .
P → Q
¬Q
∴ ¬P
Example
https://www.tutorialspoint.com/discrete_mathematics/rules_of_inference.htm 4/7
8/31/22, 11:04 PM Discrete Mathematics - Rules of Inference
Disjunctive Syllogism
If ¬P and P ∨ Q are two premises, we can use Disjunctive Syllogism to derive Q.
¬P
P ∨ Q
∴ Q
Example
"The ice cream is not vanilla flavored", ¬P
Hypothetical Syllogism
If P → Q and Q → R are two premises, we can use Hypothetical Syllogism to derive
P → R
P → Q
Q → R
∴ P → R
Example
"If it rains, I shall not go to school”, P → Q
https://www.tutorialspoint.com/discrete_mathematics/rules_of_inference.htm 5/7
8/31/22, 11:04 PM Discrete Mathematics - Rules of Inference
Constructive Dilemma
If (P → Q) ∧ (R → S ) and P ∨ R are two premises, we can use constructive dilemma to
derive Q ∨ S .
(P → Q) ∧ (R → S )
P ∨ R
∴ Q ∨ S
Example
“If it rains, I will take a leave”, (P → Q)
Destructive Dilemma
If (P → Q) ∧ (R → S ) and ¬Q ∨ ¬S are two premises, we can use destructive dilemma
to derive ¬P ∨ ¬R .
(P → Q) ∧ (R → S )
¬Q ∨ ¬S
∴ ¬P ∨ ¬R
Example
https://www.tutorialspoint.com/discrete_mathematics/rules_of_inference.htm 6/7
8/31/22, 11:04 PM Discrete Mathematics - Rules of Inference
https://www.tutorialspoint.com/discrete_mathematics/rules_of_inference.htm 7/7