Rule of replacement explained

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, 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 inferenceTautologyName

\begin{align} (p\veeq)\veer\\ \therefore\overline{p\vee(q\veer)}\\ \end{align}

((p\veeq)\veer)(p\vee(q\veer))

Associative

\begin{align} p\wedgeq\\ \therefore\overline{q\wedgep}\\ \end{align}

(p\wedgeq)(q\wedgep)

Commutative

\begin{align} (p\wedgeq)r\\ \therefore\overline{p(qr)}\\ \end{align}

((p\wedgeq)r)(p(qr))

Exportation

\begin{align} pq\\ \therefore\overline{\negq\negp}\\ \end{align}

(pq)(\negq\negp)

Transposition or contraposition law

\begin{align} pq\\ \therefore\overline{\negp\veeq}\\ \end{align}

(pq)(\negp\veeq)

Material implication

\begin{align} (p\veeq)\wedger\\ \therefore\overline{(p\wedger)\vee(q\wedger)}\\ \end{align}

((p\veeq)\wedger)((p\wedger)\vee(q\wedger))

Distributive

\begin{align} p\\ q\\ \therefore\overline{p\wedgeq}\\ \end{align}

((p)\wedge(q))(p\wedgeq)

Conjunction

\begin{align} p\\ \therefore\overline{\neg\negp}\\ \end{align}

p(\neg\negp)

Double negation introduction

\begin{align} {\neg\negp}\\ \therefore\overlinep\\ \end{align}

(\neg\negp)p

Double negation elimination

See also

Notes and References

  1. Book: Copi . Irving M. . Cohen . Carl . Introduction to Logic . Prentice Hall . 2005.
  2. Book: Hurley, Patrick . A Concise Introduction to Logic 4th edition . registration . 1991 . Wadsworth Publishing . 9780534145156 .
  3. Moore and Parker
  4. Kenneth H. Rosen: Discrete Mathematics and its Applications, Fifth Edition, p. 58.