This is a list of rules of inference, logical laws that relate to mathematical formulae.
Contents |
Rules of inference are syntactical transformation rules which one can use to infer a conclusion from a premise to create an argument. A set of rules can be used to infer any valid conclusion if it is complete, while never inferring an invalid conclusion, if it is sound. A sound and complete set of rules need not include every rule in the following list, as many of the rules are redundant, and can be proven with the other rules.
Discharge rules permit inference from a subderivation based on a temporary assumption. Below, the notation

indicates such a subderivation from the temporary assumption
to
.
Sentential calculus is also known as propositional calculus.
















































In the following rules,
is exactly like
except for having the term
everywhere
has the free variable
.


Restriction: None.


Restriction: No free occurrence of
in
falls within the scope of a quantifier quantifying a variable
occurring in
.


Restriction: No free occurrence of
in
falls within the scope of a quantifier quantifying a variable
occurring in
.



Restriction: There is no free occurrence of
in
.
The rules above can be summed up in the following table. The "Tautology" column shows how to interpret the notation of a given rule.
| Rule of inference | Tautology | Name |
|---|---|---|
![]() |
![]() |
Addition |
![]() |
![]() |
Simplification |
![]() |
![]() |
Conjunction |
![]() |
![]() |
Modus ponens |
![]() |
![]() |
Modus tollens |
![]() |
![]() |
Hypothetical syllogism |
![]() |
![]() |
Disjunctive syllogism |
![]() |
![]() |
Resolution |
Let us consider the following assumptions: "If it rains today,
then we will not go on a canoe today. If we do not go on a canoe
trip today, then we will go on a canoe trip tomorrow. Therefore
(Mathematical symbol for "therefore" is
),
if it rains today, we will go on a canoe trip tomorrow. To make use
of the rules of inference in the above table we let p be the proposition "If it rains
today", q be " We will not go
on a canoe today" and let r
be "We will go on a canoe trip tomorrow". Then this argument is of
the form:

Let us consider a more complex set of assumptions: "It is not
sunny today and it is colder than yesterday". "We will go swimming
only if it is sunny", "If we do not go swimming, then we will have
a barbecue", and "If we will have a barbecue, then we will be home
by sunset" lead to the conclusion "We will be home before sunset."
Proof by rules of inference: Let p be the proposition "It is sunny
this today", q the
proposition "It is colder than yesterday", r the proposition "We will go
swimming", s the proposition
"We will have a barbecue", and t the proposition "We will be home
by sunset". Then the hypotheses become
and
.
Using our intuition we conjecture that the conclusion might be
t. Using the Rules of
Inference table we can proof the conjecture easily:
| Step | Reason |
|---|---|
1.![]() |
Hypothesis |
2. ![]() |
Simplification using Step 1 |
3. ![]() |
Hypothesis |
4. ![]() |
Modus tollens using Step 2 and 3 |
5. ![]() |
Hypothesis |
| 6. s | Modus ponens using Step 4 and 5 |
7. ![]() |
Hypothesis |
| 8. t | Modus ponens using Step 6 and 7 |
|
|