HOME

TheInfoList



OR:

First-order equational
logic Logic is the study of correct reasoning. It includes both formal and informal logic. Formal logic is the study of deductively valid inferences or logical truths. It examines how conclusions follow from premises based on the structure o ...
consists of quantifier-free terms of ordinary
first-order logic First-order logic, also called predicate logic, predicate calculus, or quantificational logic, is a collection of formal systems used in mathematics, philosophy, linguistics, and computer science. First-order logic uses quantified variables over ...
, with equality as the only
predicate symbol In mathematical logic, a predicate variable is a predicate letter which functions as a "placeholder" for a relation (between terms), but which has not been specifically assigned any particular relation (or meaning). Common symbols for denoting pr ...
. The
model theory In mathematical logic, model theory is the study of the relationship between theory (mathematical logic), formal theories (a collection of Sentence (mathematical logic), sentences in a formal language expressing statements about a Structure (mat ...
of this logic was developed into
universal algebra Universal algebra (sometimes called general algebra) is the field of mathematics that studies algebraic structures in general, not specific types of algebraic structures. For instance, rather than considering groups or rings as the object of stud ...
by Birkhoff, Grätzer, and
Cohn Cohn is a Jewish surname (related to the last name Cohen). Notable people and characters with the surname include: * Al Cohn (1925–1988), American jazz saxophonist, arranger and composer * Alan D. Cohn, American government official * Alfred A. ...
. It was later made into a branch of
category theory Category theory is a general theory of mathematical structures and their relations. It was introduced by Samuel Eilenberg and Saunders Mac Lane in the middle of the 20th century in their foundational work on algebraic topology. Category theory ...
by Lawvere ("algebraic theories").equational logic. (n.d.). The Free On-line Dictionary of Computing. Retrieved October 24, 2011, from Dictionary.com website: http://dictionary.reference.com/browse/equational+logic The terms of equational logic are built up from variables and constants using function symbols (or operations).


Syllogism

Here are the four
inference rule Rules of inference are ways of deriving conclusions from premises. They are integral parts of formal logic, serving as norms of the logical structure of valid arguments. If an argument with true premises follows a rule of inference then the co ...
s of logic. P := E/math> denotes textual substitution of expression E for variable x in expression P. Next, b = c denotes equality, for b and c of the same type, while b \equiv c, or equivalence, is defined only for b and c of type boolean. For b and c of type boolean, b = c and b \equiv c have the same meaning. Gries, D. (2010). Introduction to equational logic . Retrieved from http://www.cs.cornell.edu/home/gries/Logic/Equational.html


Proof

We explain how the four inference rules are used in proofs, using the proof of . The
logic symbols In logic, a set of symbols is commonly used to express logical representation. The following table lists many common symbols, together with their name, how they should be read out loud, and the related field of mathematics. Additionally, the subs ...
\top and \bot indicate "true" and "false," respectively, and \lnot indicates " not." The theorem numbers refer to theorems of ''A Logical Approach to Discrete Math''. \begin (0) & & \lnot p \equiv p \equiv \bot \\ (1) & = & \quad \left\langle\; (3.9),\; \lnot(p \equiv q) \equiv \lnot p \equiv q,\; \text\ q := p \;\right\rangle \\ (2) & & \lnot (p \equiv p) \equiv \bot \\ (3) & = & \quad \left\langle\; \text\ \equiv (3.9),\; \text\ q := p \;\right\rangle \\ (4) & & \lnot \top \equiv \bot & (3.8) \end First, lines (0)(2) show a use of inference rule Leibniz: (0) = (2) is the conclusion of Leibniz, and its premise \lnot(p \equiv p) \equiv \lnot p \equiv p is given on line (1). In the same way, the equality on lines (2)(4) are substantiated using Leibniz. The "hint" on line (1) is supposed to give a premise of Leibniz, showing what substitution of equals for equals is being used. This premise is theorem (3.9) with the substitution p := q, i.e. (\lnot(p \equiv q) \equiv \lnot p \equiv q) := q This shows how inference rule Substitution is used within hints. From (0) = (2) and (2) = (4), we conclude by inference rule Transitivity that (0) = (4). This shows how Transitivity is used. Finally, note that line (4), \lnot \top \equiv \bot, is a theorem, as indicated by the hint to its right. Hence, by inference rule Equanimity, we conclude that line (0) is also a theorem. And (0) is what we wanted to prove.


See also

* Theory of pure equality


References

{{reflist


External links


Sakharov, Alex. "Equational Logic." From MathWorld--A Wolfram Web Resource, created by Eric W. Weisstein.
Mathematical logic