Rule of replacement
Transformation rules |
---|
Propositional calculus |
Rules of inference |
Rules of replacement |
Predicate logic |
In logic, a rule of replacement[1][2][3] is a transformation rule that may be applied to only a particular segment of an expression. A logical system may be constructed so that it uses either axioms, rules of inference, or both as transformation rules for logical expressions in the system. Whereas a rule of inference is always applied to a whole logical expression, a rule of replacement may be applied to only a particular segment. Within the context of a logical proof, logically equivalent expressions may replace each other. Rules of replacement are used in propositional logic to manipulate propositions.
Common rules of replacement include de Morgan's laws, commutation, association, distribution, double negation,[lower-alpha 1] transposition, material implication, logical equivalence, exportation, and tautology.
Table: Rules of Replacement
The rules above can be summed up in the following table.[4] The "Tautology" column shows how to interpret the notation of a given rule.
Rules of inference | Tautology | Name |
---|---|---|
[math]\displaystyle{ \begin{align} (p \vee q) \vee r\\ \therefore \overline{p \vee (q \vee r)} \\ \end{align} }[/math] | [math]\displaystyle{ ((p \vee q) \vee r) \rightarrow (p \vee (q \vee r)) }[/math] | Associative |
[math]\displaystyle{ \begin{align} p \wedge q\\ \therefore \overline{q \wedge p} \\ \end{align} }[/math] | [math]\displaystyle{ (p \wedge q) \rightarrow (q \wedge p) }[/math] | Commutative |
[math]\displaystyle{ \begin{align} (p \wedge q) \rightarrow r\\ \therefore \overline{p \rightarrow (q \rightarrow r)} \\ \end{align} }[/math] | [math]\displaystyle{ ((p \wedge q) \rightarrow r) \rightarrow (p \rightarrow (q \rightarrow r)) }[/math] | Exportation |
[math]\displaystyle{ \begin{align} p \rightarrow q\\ \therefore \overline{\neg q \rightarrow \neg p} \\ \end{align} }[/math] | [math]\displaystyle{ (p \rightarrow q) \rightarrow (\neg q \rightarrow \neg p) }[/math] | Transposition or contraposition law |
[math]\displaystyle{ \begin{align} p \rightarrow q\\ \therefore \overline{\neg p \vee q} \\ \end{align} }[/math] | [math]\displaystyle{ (p \rightarrow q) \rightarrow (\neg p \vee q) }[/math] | Material implication |
[math]\displaystyle{ \begin{align} (p \vee q) \wedge r\\ \therefore \overline{(p \wedge r) \vee (q \wedge r)} \\ \end{align} }[/math] | [math]\displaystyle{ ((p \vee q) \wedge r) \rightarrow ((p \wedge r) \vee (q \wedge r)) }[/math] | Distributive |
[math]\displaystyle{ \begin{align} p\\ q\\ \therefore \overline{p \wedge q} \\ \end{align} }[/math] | [math]\displaystyle{ ((p) \wedge (q)) \rightarrow (p \wedge q) }[/math] | Conjunction |
[math]\displaystyle{ \begin{align} p\\ \therefore \overline{\neg \neg p} \\ \end{align} }[/math] | [math]\displaystyle{ p \rightarrow (\neg \neg p) }[/math] | Double negation introduction |
[math]\displaystyle{ \begin{align} {\neg \neg p}\\ \therefore \overline p\\ \end{align} }[/math] | [math]\displaystyle{ (\neg \neg p) \rightarrow p }[/math] | Double negation elimination |
See also
Notes
- ↑ not admitted in intuitionistic logic
References
- ↑ Copi, Irving M.; Cohen, Carl (2005). Introduction to Logic. Prentice Hall.
- ↑ Hurley, Patrick (1991). A Concise Introduction to Logic 4th edition. Wadsworth Publishing. ISBN 9780534145156. https://archive.org/details/studyguidetoacco00burc.
- ↑ Moore and Parker[full citation needed]
- ↑ Kenneth H. Rosen: Discrete Mathematics and its Applications, Fifth Edition, p. 58.
![]() | Original source: https://en.wikipedia.org/wiki/Rule of replacement.
Read more |