Rule of replacement

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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,[a] transposition, material implication, logical equivalence, exportation, and tautology.

Table: Rules of Replacement

[edit | edit source]

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
(pq)rp(qr) ((pq)r)(p(qr)) Associative
pqqp (pq)(qp) Commutative
(pq)rp(qr) ((pq)r)(p(qr)) Exportation
pq¬q¬p (pq)(¬q¬p) Transposition or contraposition law
pq¬pq (pq)(¬pq) Material implication
(pq)r(pr)(qr) ((pq)r)((pr)(qr)) Distributive
pqpq ((p)(q))(pq) Conjunction
p¬¬p p(¬¬p) Double negation introduction
¬¬pp (¬¬p)p Double negation elimination

See also

[edit | edit source]

Notes

[edit | edit source]
  1. ^ not admitted in intuitionistic logic

References

[edit | edit source]
  1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
  3. ^ Moore and Parker [full citation needed]
  4. ^ Kenneth H. Rosen: Discrete Mathematics and its Applications, Fifth Edition, p. 58.