Rules of Inference
Rules of Inference
1
Proof:
Proofs in mathematics are valid arguments that establish the truth of
mathematical statements. By an argument, we mean a sequence of
statements that end with a conclusion. By valid, we mean that the
conclusion, or final statement of the argument, must follow from the truth of
the preceding statements, or premises, of the argument.
2
3
Valid Arguments in Propositional Logic
“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.”
Use p to represent “You have a current password” and q to represent “You can log onto the
network.” Then, the argument has the form
p→q
p
∴q
We know that when p and q are propositional variables, the statement ((p → q) ∧ p) → q is a
tautology
4
5
6
• Modus Ponens
If P and P→Q
are two premises, we can use Modus Ponens to derive Q
Example
"If you have a password, then you can log on to Facebook", P→Q
"You have a password", P
Therefore − "You can log on to Facebook"
• Modus Tollens
If P→Q and ¬Q are two premises, we can use Modus Tollens to derive ¬P
.Example
"If you have a password, then you can log on to facebook", P→Q
• Disjunctive Syllogism
If ¬P and P∨Q are two premises, we can use Disjunctive Syllogism to derive Q.
Example
"The ice cream is not vanilla flavored", ¬P
8
• Addition
If P is a premise, we can use Addition rule to derive 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”.
• Simplification
If P∧Q
is a premise, we can use Simplification rule to derive P.
P∧Q∴P
Example
"He studies very hard and he is the best boy in the class", P∧Q
Therefore − "He studies very hard"
9
• Conjunction
If P and Q are two premises, we can use Conjunction rule to derive P∧Q
Example
Let P − “He studies very hard”
Let Q − “He is the best boy in the class”
Therefore − "He studies very hard and he is the best boy in the class"
• Resolution
10
11
12
13
14
15