Rule of replacement

From testwiki
Revision as of 03:19, 10 August 2023 by imported>Citation bot (Add: isbn, authors 1-1. Removed parameters. Some additions/deletions were parameter name changes. | Use this bot. Report bugs. | Suggested by Abductive | Category:Rules of inference | #UCB_Category 26/44)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description Template:Transformation rules

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,Template:Efn 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
(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

Notes

Template:Notelist

References

Template:Reflist


Template:Logic-stub

  1. Template:Cite book
  2. Template:Cite book
  3. Moore and Parker Template:Full
  4. Kenneth H. Rosen: Discrete Mathematics and its Applications, Fifth Edition, p. 58.