This is a list of rules of inference, logical laws that relate to mathematical formulae.
Contents
Introduction
Rules of inference are syntactical transform 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
Rules for classical sentential calculus
Sentential calculus is also known as propositional calculus.
Rules for negations
Rules for conditionals
Rules for conjunctions
Rules for disjunctions
Rules for biconditionals
Rules of classical predicate calculus
In the following rules,
Restriction 1:
Restriction 2:
Restriction: No free occurrence of
Restriction: No free occurrence of
Restriction 1:
Restriction 2: There is no occurrence, free or bound, of
Restriction 3:
Rules of substructural logic
The following are special cases of universal generalization and existential elimination; these occur in substructrual logics, such as linear logic.
Table: Rules of Inference
The rules above can be summed up in the following table. The "Tautology" column shows how to interpret the notation of a given rule.
All rules use the basic logic operators. A complete table of "logic operators" is shown by a truth table, giving definitions of all the possible (16) truth functions of 2 boolean variables (p, q):
where T = true and F = false, and, the columns are the logical operators: 0, false, Contradiction; 1, NOR, Logical NOR; 2, Converse nonimplication; 3, ¬p, Negation; 4, Material nonimplication; 5, ¬q, Negation; 6, XOR, Exclusive disjunction; 7, NAND, Logical NAND; 8, AND, Logical conjunction; 9, XNOR, If and only if, Logical biconditional; 10, q, Projection function; 11, if/then, Logical implication; 12, p, Projection function; 13, then/if, Converse implication; 14, OR, Logical disjunction; 15, true, Tautology.
Each logic operator can be used in an assertion about variables and operations, showing a basic rule of inference. Examples:
Machines and well-trained people use this look at table approach to do basic inferences, and to check if other inferences (for the same premises) can be obtained.
Example 1
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
Example 2
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 by sunset." Proof by rules of inference: Let