TOPICS
Search

Equational Logic


The terms of equational logic are built up from variables and constants using function symbols (or operations). Identities (equalities) of the form

 s=t,
(1)

where s and t are terms, constitute the formal language of equational logic. The syllogisms of equational logic are summarized below.

1. Reflexivity:

 s=s^_.
(2)

2. Symmetry:

 (s=t)/(t=s).
(3)

3. Transitivity:

 (s=t,t=v)/(s=v).
(4)

4. For f a function symbol and n>=0,

 (s_1=t_1,...,s_n=t_n)/(f(s_1,...,s_n)=f(t_1,...,t_n)).
(5)

5. For theta a substitution (cf. unification),

 (s=t)/(stheta=ttheta).
(6)

The above rules state that if the formula above the line is a theorem formally deducted from axioms by application of the syllogisms, then the formula below the line is also a formal theorem. Usually, some finite set E of identities is given as axiom schemata.

Equational logic can be combined with first-order logic. In this case, the fourth rule is extended onto predicate symbols as well, and the fifth rule is omitted. These syllogisms can be turned into axiom schemata having the form of implications to which Modus Ponens can be applied. Major results of first-order logic hold in this extended theory.

If every identity in E is viewed as two rewrite rules transforming the left-hand side into the right-hand side and vice versa, then the respective term rewriting system is equivalent to the equational logic defined by E: The identity s=t is deducible in the equational logic iff s<->_*t in the term rewriting system. This property is called logicality of term rewriting systems.

Equational logic is complete, since if algebra A is a model for E, i.e., all identities from E hold in algebra A (cf. universal algebra), then s=t holds in A iff it can be deduced in the equational logic defined by E. This theorem is sometimes known as Birkhoff's theorem.


See also

First-Order Logic, Term Rewriting System

This entry contributed by Alex Sakharov (author's link)

Explore with Wolfram|Alpha

References

Baader, F. and Nipkow, T. Term Rewriting and All That. Cambridge, England: Cambridge University Press, 1999.Burris, S. and Sankappanavar, H. P. A Course in Universal Algebra. New York: Springer-Verlag, 1981. http://www.thoralf.uwaterloo.ca/htdocs/ualg.html.Kleene, S. C. Mathematical Logic. New York: Dover, 2002.Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, pp. 1158 and 1172, 2002.

Referenced on Wolfram|Alpha

Equational Logic

Cite this as:

Sakharov, Alex. "Equational Logic." From MathWorld--A Wolfram Web Resource, created by Eric W. Weisstein. https://mathworld.wolfram.com/EquationalLogic.html

Subject classifications