← LibraryEquational Logic and the Rules of DeductionEngineering · MathematicsLesson 110/497← PrevNext →
ArticlePublished 7 Aug 20263 min readBy Kevin Jogin

Varieties, Free Algebras and Equational Logic

Equational Logic and the Rules of Deduction

A formal proof system for identities, its five rules, and the completeness theorem matching syntactic derivability with semantic consequence.

Category Engineering / MathematicsSource II.14Pages 99-105Reading 2 minReviewed 2026-08-07

Learning objectives

The proof system

Given a set Σ of identities, one writes Σ ⊢ p ≈ q when the identity is derivable from Σ using the following rules.

The rules of equational deduction
RuleFormName
1ppReflexivity
2from pq infer qpSymmetry
3from pq and qr infer prTransitivity
4from piqi infer f(p1,…) ≈ f(q1,…)Replacement / congruence
5from pq infer pσ ≈ qσ for any substitution σSubstitution

Rules 1–3 make derivability an equivalence relation on terms; rule 4 makes it a congruence on the term algebra; rule 5 makes that congruence fully invariant.

A worked derivation

Deriving idempotence from absorption in lattice theory

  1. x ≈ x ∧ (x ∨ y) — this is L4(b)
  2. Substitute x ∧ x for y: x ≈ x ∧ (x ∨ (x ∧ x)) — by rule 5
  3. x ∨ (x ∧ x) ≈ x — this is L4(a) with y replaced by x
  4. Substituting into step 2 using rules 3 and 4: x ≈ x ∧ x

This confirms the remark made earlier that the idempotent laws L3 are derivable from the absorption laws L4, so the standard axiom list for lattices is redundant.

Completeness

Birkhoff's completeness theorem for equational logic

Σ ⊢ p ≈ q if and only if Σ ⊧ p ≈ q — that is, the identity is derivable from Σ by the five rules exactly when it holds in every algebra satisfying Σ.

Soundness — the easy direction — is verified rule by rule. Completeness is proved by constructing the free algebra T(X)/⊢Σ, where terms are identified exactly when their equality is derivable. That quotient satisfies Σ, so any identity holding in all models of Σ holds there — which means the terms are identified, which means the identity was derivable.

The pattern of the proof

This is the same argument shape as Birkhoff's HSP theorem: build a free object out of syntax, observe it is a model, and conclude that semantic truth forces syntactic identification. Both theorems are the Galois connection between algebras and identities examined from the two sides.

Equational logic compared to first-order logic

Two proof systems compared
Equational logicFirst-order logic
FormulasIdentities pq onlyArbitrary first-order sentences
RulesFiveMore; includes quantifier rules
QuantifiersImplicit universal onlyExplicit ∀ and ∃
CompletenessBirkhoffGödel
CompactnessHoldsHolds
Decidability of a theoryUndecidable in generalUndecidable in general
ModelsVarietiesElementary classes
The word problem

Deciding whether Σ ⊢ p ≈ q for a given finite Σ is the word problem for the variety. It is undecidable in general — a result of Markov and Post for semigroups — even though the proof system has only five rules.

Frequently asked questions

Are the five rules independent?

Reflexivity, symmetry and transitivity are needed to get an equivalence relation; replacement to get a congruence; substitution to get full invariance. Each contributes a distinct closure property, so none is redundant.

Does equational logic have a deduction theorem?

No, because there are no implications in the language. This is one of the ways equational logic is genuinely weaker than first-order logic, and it is why quasi-identities require a different treatment.

Source. S. Burris and H. P. Sankappanavar, A Course in Universal Algebra, The Millennium Edition — a corrected re-typesetting of Springer-Verlag Graduate Texts in Mathematics 78 (1981). Section II.14, book pages 99-105.

This page is an original exposition prepared for the KEVOS® knowledge library. It restates and reorganises mathematical results; it is not a reproduction of the source text.

Continue learning

The Second and Third Isomorphism TheoremsArticle · MathematicsNEXT LESSON →Skew-Free Algebras and IndependenceArticle · MathematicsBaker's Finite Basis TheoremArticle · MathematicsManufacturing Data AnalysisArticle · Mathematics