Equational logic
Branch of logic
- 1 min read
- 2 chapters
Related on Lably
Through Logic, Rule of inference and Boolean algebra
The terms of equational logic are built up from variables and constants using function symbols (or operations).
Syllogism
Here are the four inference rules of logic. denotes textual substitution of expression for variable in expression . Next, denotes equality, for and of the same type, while , or equivalence, is defined only for and of type boolean. For and of type boolean, and have the same meaning.
Sign in to keep reading
One more chapter is free with a Lably account.
Proof
We explain how the four inference rules are used in proofs, using the proof of . The logic symbols and indicate "true" and "false," respectively, and indicates "not." The theorem numbers refer to theorems of A Logical Approach to Discrete Math.
First, lines – show a use of inference rule Leibniz:
is the conclusion of Leibniz, and its premise is given on line . In the same way, the equality on lines – are substantiated using Leibniz.
The "hint" on line is supposed to give a premise of Leibniz, showing what substitution of equals for equals is being used. This premise is theorem with the substitution , i.e.
This shows how inference rule Substitution is used within hints.
From and , we conclude by inference rule Transitivity that . This shows how Transitivity is used.
Finally, note that line , , is a theorem, as indicated by the hint to its right. Hence, by inference rule Equanimity, we conclude that line is also a theorem. And is what we wanted to prove.

