Transformation rules |
---|
Propositional calculus |
---|
Rules of inference |
---|
- Implication introduction / elimination (modus ponens)
- Biconditional introduction / elimination
- Conjunction introduction / elimination
- Disjunction introduction / elimination
- Disjunctive / hypothetical syllogism
- Constructive / destructive dilemma
- Absorption / modus tollens / modus ponendo tollens
- Negation introduction
|
Rules of replacement |
---|
- Associativity
- Commutativity
- Distributivity
- Double negation
- De Morgan's laws
- Transposition
- Material implication
- Exportation
- Tautology
|
Predicate logic |
---|
Rules of inference |
---|
- Universal generalization / instantiation
- Existential generalization / instantiation
|
This is a list of rules of inference, logical laws that relate to mathematical formulae.
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
![{\displaystyle \varphi \vdash \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/c5c3647f21c5149f25463fe5d81eb6fe3b784f41)
indicates such a subderivation from the temporary assumption
to
.
Rules for propositional calculus
Rules for negations
- Reductio ad absurdum (or Negation Introduction)
![{\displaystyle \varphi \vdash \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/c5c3647f21c5149f25463fe5d81eb6fe3b784f41)
![{\displaystyle {\underline {\varphi \vdash \lnot \psi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/ee4304a4bd25eed12585526d42d16ff0ae3f0b8f)
![{\displaystyle \lnot \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/a96766a23a9525c90f64bf05589c735b0d0e5c8d)
- Reductio ad absurdum (related to the law of excluded middle)
![{\displaystyle \lnot \varphi \vdash \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/4324190bdbcf764d068f048392c2dcf3890da621)
![{\displaystyle {\underline {\lnot \varphi \vdash \lnot \psi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c38e2ee70c02f364d97ba7c9a38a004f5b890463)
![{\displaystyle \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/33ee699558d09cf9d653f6351f9fda0b2f4aaa3e)
- Ex contradictione quodlibet
![{\displaystyle \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/33ee699558d09cf9d653f6351f9fda0b2f4aaa3e)
![{\displaystyle {\underline {\lnot \varphi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/419fb5ca2aa9ee4e04905ed81e95e6434c5bb88f)
![{\displaystyle \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/45e5789e5d9c8f7c79744f43ecaaf8ba42a8553a)
Rules for conditionals
- Deduction theorem (or Conditional Introduction)
![{\displaystyle {\underline {\varphi \vdash \psi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/0325b53557cdce9b4f9f42adfac70056366d4acc)
![{\displaystyle \varphi \rightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/724678bd1e82d05bae3d261b9160d514add0de3b)
- Modus ponens (or Conditional Elimination)
![{\displaystyle \varphi \rightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/724678bd1e82d05bae3d261b9160d514add0de3b)
![{\displaystyle {\underline {\varphi \quad \quad \quad }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/5366a62cef6641dd3e34aac25af3610b36ca6216)
![{\displaystyle \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/45e5789e5d9c8f7c79744f43ecaaf8ba42a8553a)
- Modus tollens
![{\displaystyle \varphi \rightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/724678bd1e82d05bae3d261b9160d514add0de3b)
![{\displaystyle {\underline {\lnot \psi \quad \quad \quad }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/619e53ead7f0c65a16520a8e1c588dabdffe4007)
![{\displaystyle \lnot \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/a96766a23a9525c90f64bf05589c735b0d0e5c8d)
Rules for conjunctions
- Adjunction (or Conjunction Introduction)
![{\displaystyle \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/33ee699558d09cf9d653f6351f9fda0b2f4aaa3e)
![{\displaystyle {\underline {\psi \quad \quad \ \ }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/a36de6e71855251806814852eaa69a5c54f7896b)
![{\displaystyle \varphi \land \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/a406020b081624ed6df4349e583a404ad556ae31)
- Simplification (or Conjunction Elimination)
![{\displaystyle {\underline {\varphi \land \psi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/bf7155f8aed0fdb0aac3f550b8228d2ccc1b7fd2)
![{\displaystyle \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/33ee699558d09cf9d653f6351f9fda0b2f4aaa3e)
![{\displaystyle {\underline {\varphi \land \psi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/bf7155f8aed0fdb0aac3f550b8228d2ccc1b7fd2)
![{\displaystyle \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/45e5789e5d9c8f7c79744f43ecaaf8ba42a8553a)
Rules for disjunctions
- Addition (or Disjunction Introduction)
![{\displaystyle {\underline {\varphi \quad \quad \ \ }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/bdaf33fffde6d8d6fd908ba7ac01f278fc61b07d)
![{\displaystyle \varphi \lor \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/53732d566089f41274c3fc138c14cd87ba59febd)
![{\displaystyle {\underline {\psi \quad \quad \ \ }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/a36de6e71855251806814852eaa69a5c54f7896b)
![{\displaystyle \varphi \lor \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/53732d566089f41274c3fc138c14cd87ba59febd)
- Case analysis (or Proof by Cases or Argument by Cases or Disjunction elimination)
![{\displaystyle \varphi \rightarrow \chi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/4e2ddc0e6ab0cdd7ef401b4c1901b74ce5d61f44)
![{\displaystyle \psi \rightarrow \chi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/a9d3b0f452cc028acabd9d8595e71245ed560509)
![{\displaystyle {\underline {\varphi \lor \psi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/620f6edb47c5b6366765f8b81cddf31a06982c9b)
![{\displaystyle \chi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/656111758322ace96d80a9371771aa6d3de25437)
- Disjunctive syllogism
![{\displaystyle \varphi \lor \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/53732d566089f41274c3fc138c14cd87ba59febd)
![{\displaystyle {\underline {\lnot \varphi \quad \quad }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/6839c77dc5843f772ffcd444e49bcfaf639bc427)
![{\displaystyle \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/45e5789e5d9c8f7c79744f43ecaaf8ba42a8553a)
![{\displaystyle \varphi \lor \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/53732d566089f41274c3fc138c14cd87ba59febd)
![{\displaystyle {\underline {\lnot \psi \quad \quad }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b558450a9f279e27ad7aa370000672574c072a2a)
![{\displaystyle \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/33ee699558d09cf9d653f6351f9fda0b2f4aaa3e)
- Constructive dilemma
![{\displaystyle \varphi \rightarrow \chi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/4e2ddc0e6ab0cdd7ef401b4c1901b74ce5d61f44)
![{\displaystyle \psi \rightarrow \xi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/c2fda34c6ad13531fb16d3c8e61641a488034b1c)
![{\displaystyle {\underline {\varphi \lor \psi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/620f6edb47c5b6366765f8b81cddf31a06982c9b)
![{\displaystyle \chi \lor \xi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/314d002246285b90c6f44677d327f82c6ac969dd)
Rules for biconditionals
- Biconditional introduction
![{\displaystyle \varphi \rightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/724678bd1e82d05bae3d261b9160d514add0de3b)
![{\displaystyle {\underline {\psi \rightarrow \varphi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/ee0df2d5845a0ce9f86745a6b198587c83a81489)
![{\displaystyle \varphi \leftrightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/e68c9c0e49df2cdfb5bbb241b0d3f6f10e20aa90)
- Biconditional elimination
![{\displaystyle \varphi \leftrightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/e68c9c0e49df2cdfb5bbb241b0d3f6f10e20aa90)
![{\displaystyle {\underline {\varphi \quad \quad }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/61d80884dfa13bc7b0ffc020c83eb837473f3750)
![{\displaystyle \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/45e5789e5d9c8f7c79744f43ecaaf8ba42a8553a)
![{\displaystyle \varphi \leftrightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/e68c9c0e49df2cdfb5bbb241b0d3f6f10e20aa90)
![{\displaystyle {\underline {\psi \quad \quad }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/152e8920f390186ddf8105319ac64a2007909a59)
![{\displaystyle \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/33ee699558d09cf9d653f6351f9fda0b2f4aaa3e)
![{\displaystyle \varphi \leftrightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/e68c9c0e49df2cdfb5bbb241b0d3f6f10e20aa90)
![{\displaystyle {\underline {\lnot \varphi \quad \quad }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/6839c77dc5843f772ffcd444e49bcfaf639bc427)
![{\displaystyle \lnot \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/e95306a224ed882b91ba0a7f0e7f297f49b9023d)
![{\displaystyle \varphi \leftrightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/e68c9c0e49df2cdfb5bbb241b0d3f6f10e20aa90)
![{\displaystyle {\underline {\lnot \psi \quad \quad }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b558450a9f279e27ad7aa370000672574c072a2a)
![{\displaystyle \lnot \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/a96766a23a9525c90f64bf05589c735b0d0e5c8d)
![{\displaystyle \varphi \leftrightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/e68c9c0e49df2cdfb5bbb241b0d3f6f10e20aa90)
![{\displaystyle {\underline {\psi \lor \varphi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/a8a5c27d415b3e0f5ef2adb9c4fe96a94d6753e6)
![{\displaystyle \psi \land \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/30d203e4c3edb5302fa396b92d8cbc14845e32a3)
![{\displaystyle \varphi \leftrightarrow \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/e68c9c0e49df2cdfb5bbb241b0d3f6f10e20aa90)
![{\displaystyle {\underline {\lnot \psi \lor \lnot \varphi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c09fa9ca3a72b82c53776f4db159d4f96452685b)
![{\displaystyle \lnot \psi \land \lnot \varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/c65e7d32b78edcc7233e35b805109283c63b2e4c)
In the following rules,
is exactly like
except for having the term
wherever
has the free variable
.
- Universal Generalization (or Universal Introduction)
![{\displaystyle {\underline {\varphi {(\beta /\alpha )}}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/e84d26bb39cf5246300f075d6505880e44ebb5ca)
![{\displaystyle \forall \alpha \,\varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/a56edc03bd9670c38ca5c1674f766070f348cfff)
Restriction 1:
is a variable which does not occur in
.
Restriction 2:
is not mentioned in any hypothesis or undischarged assumptions.
- Universal Instantiation (or Universal Elimination)
![{\displaystyle \forall \alpha \,\varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/a56edc03bd9670c38ca5c1674f766070f348cfff)
![{\displaystyle {\overline {\varphi {(\beta /\alpha )}}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/b4a81da77b0306e5736a9fac6d4ec10990de51d2)
Restriction: No free occurrence of
in
falls within the scope of a quantifier quantifying a variable occurring in
.
- Existential Generalization (or Existential Introduction)
![{\displaystyle {\underline {\varphi (\beta /\alpha )}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/ea2f57bf87db5b160aeee01683b7eb0596d91a92)
![{\displaystyle \exists \alpha \,\varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/13b542f075bec773eda1746c66c23054d618e986)
Restriction: No free occurrence of
in
falls within the scope of a quantifier quantifying a variable occurring in
.
- Existential Instantiation (or Existential Elimination)
![{\displaystyle \exists \alpha \,\varphi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/13b542f075bec773eda1746c66c23054d618e986)
![{\displaystyle {\underline {\varphi (\beta /\alpha )\vdash \psi }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/1b16e383bda7e2569c7405344a486d3a92861e6c)
![{\displaystyle \psi }](https://wikimedia.org/api/rest_v1/media/math/render/svg/45e5789e5d9c8f7c79744f43ecaaf8ba42a8553a)
Restriction 1:
is a variable which does not occur in
.
Restriction 2: There is no occurrence, free or bound, of
in
.
Restriction 3:
is not mentioned in any hypothesis or undischarged assumptions.
The following are special cases of universal generalization and existential elimination; these occur in substructural logics, such as linear logic.
- Rule of weakening (or monotonicity of entailment) (aka no-cloning theorem)
![{\displaystyle \alpha \vdash \beta }](https://wikimedia.org/api/rest_v1/media/math/render/svg/42d75c7787c9df6850070baf7cb2432878995c74)
![{\displaystyle {\overline {\alpha ,\alpha \vdash \beta }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/58b37a0cc078bb188cec95275e329bc497f4d8d6)
- Rule of contraction (or idempotency of entailment) (aka no-deleting theorem)
![{\displaystyle {\underline {\alpha ,\alpha ,\gamma \vdash \beta }}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f3b4eee32e0c35172a3615c6ea92bb2a24a51786)
![{\displaystyle \alpha ,\gamma \vdash \beta }](https://wikimedia.org/api/rest_v1/media/math/render/svg/3e0a8415b75790c596160ed4f997d80ef9280567)
Table: Rules of Inference
The rules above can be summed up in the following table.[1] The "Tautology" column shows how to interpret the notation of a given rule.
Rules of inference | Tautology | Name |
| | Modus ponens |
| | Modus tollens |
| | Hypothetical syllogism |
| | Absorption |
| | Conjunction introduction |
| | Conjunction elimination |
| | Disjunction introduction |
| | Disjunction elimination |
| | Disjunctive syllogism |
| | Disjunctive simplification |
| | Resolution |
| | Biconditional introduction |
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):
p | q | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
T | T | | F | F | F | F | F | F | F | F | | T | T | T | T | T | T | T | T |
T | F | | F | F | F | F | T | T | T | T | | F | F | F | F | T | T | T | T |
F | T | | F | F | T | T | F | F | T | T | | F | F | T | T | F | F | T | T |
F | F | | F | T | F | T | F | T | F | T | | F | T | F | T | F | T | F | T |
where T = true and F = false, and, the columns are the logical operators:
- 0, false, Contradiction;
- 1, NOR, Logical NOR (Peirce's arrow);
- 2, Converse nonimplication;
- 3, ¬p, Negation;
- 4, Material nonimplication;
- 5, ¬q, Negation;
- 6, XOR, Exclusive disjunction;
- 7, NAND, Logical NAND (Sheffer stroke);
- 8, AND, Logical conjunction;
- 9, XNOR, If and only if, Logical biconditional;
- 10, q, Projection function;
- 11, if/then, Material conditional;
- 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:
- The column-14 operator (OR), shows Addition rule: when p=T (the hypothesis selects the first two lines of the table), we see (at column-14) that p∨q=T.
- We can see also that, with the same premise, another conclusions are valid: columns 12, 14 and 15 are T.
- The column-8 operator (AND), shows Simplification rule: when p∧q=T (first line of the table), we see that p=T.
- With this premise, we also conclude that q=T, p∨q=T, etc. as shown by columns 9–15.
- The column-11 operator (IF/THEN), shows Modus ponens rule: when p→q=T and p=T only one line of the truth table (the first) satisfies these two conditions. On this line, q is also true. Therefore, whenever p → q is true and p is true, q must also be true.
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
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
be the proposition "If it rains today",
be "We will not go on a canoe today" and let
be "We will go on a canoe trip tomorrow". Then this argument is of the form:
Example 2
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
be the proposition "It is sunny today",
the proposition "It is colder than yesterday",
the proposition "We will go swimming",
the proposition "We will have a barbecue", and
the proposition "We will be home by sunset". Then the hypotheses become
and
. Using our intuition we conjecture that the conclusion might be
. Using the Rules of Inference table we can prove 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. | Modus ponens using Step 4 and 5 |
7. | Hypothesis |
8. | Modus ponens using Step 6 and 7 |
See also
Philosophy portal
References
- ^ Kenneth H. Rosen: Discrete Mathematics and its Applications, Fifth Edition, p. 58.
|
Major fields | |
---|
Foundations | |
---|
Lists | |
---|
Philosophy portal - Category
- WikiProject (talk)
- changes
|