← LibraryVarieties and the Variety Generated by a ClassEngineering · MathematicsLesson 52/497← PrevNext →
ArticlePublished 7 Aug 20263 min readBy Kevin Jogin

Varieties, Free Algebras and Equational Logic

Varieties and the Variety Generated by a Class

Varieties as classes closed under H, S and P, the variety generated by a class, and the lattice of subvarieties.

Category Engineering / MathematicsSource II.9Pages 66-67Reading 2 minReviewed 2026-08-07

Learning objectives

Definition

Definition — Variety

A class of algebras of a fixed type closed under homomorphic images, subalgebras and direct products. Equivalently, a class K with H(K) = S(K) = P(K) = K.

Definition — Variety generated by KV(K) = HSP(K), the smallest variety containing K.

The one-element algebra lies in every variety, as the empty product. So every variety is non-empty, and the smallest variety of a given type is the class of all trivial algebras.

Examples of varieties

Varieties and their generators
VarietyGenerated byNotes
Boolean algebras2One finite generator
Distributive latticesThe two-element chainOne finite generator
Abelian groupsThe class of cyclic groupsNot finitely generated
All groupsNot generated by any set of finite algebras
K-vector spacesK as a one-dimensional spaceOne generator
SemilatticesThe two-element semilatticeOne finite generator
Modular latticesNot generated by finitely many finite lattices
Locally finite varieties

A variety generated by a finite algebra is locally finite: every finitely generated member is finite. This follows because the free algebra on n generators embeds in a power of the generating algebra and is therefore finite. Boolean algebras and distributive lattices are locally finite; groups are not.

The lattice of subvarieties

The subvarieties of a variety V, ordered by inclusion, form a complete lattice. Meets are intersections; joins are the varieties generated by unions.

Subvariety lattices of familiar varieties
VarietyLattice of subvarieties
Boolean algebrasTwo elements: trivial and all
Distributive latticesThree elements: trivial, one-element chains, all
LatticesContinuum many subvarieties
GroupsA proper class-sized problem; extremely complicated
Abelian groupsIsomorphic to the divisibility lattice of the natural numbers extended by ∞
Abelian groups as the clean case

The subvarieties of abelian groups are exactly the classes defined by nx ≈ 0 for each n, together with the whole variety. The lattice is therefore the divisor lattice of the naturals with a top element added — a rare instance of a completely determined subvariety lattice.

Why varieties and not something else

The choice of H, S and P as the defining closures is not arbitrary. Birkhoff's theorem shows they characterise exactly the equationally definable classes, which is the strongest possible justification.

Closed under H, S, PBy Birkhoff, defined by identities
Closed under S, P, P<sub>U</sub>Quasivariety — defined by quasi-identities
Closed under P<sub>U</sub>, IElementary class — first-order axiomatisable
HierarchyVarieties ⊂ quasivarieties ⊂ elementary classes

Each level up trades structural strength for generality. Varieties have free algebras and the full weight of the HSP machinery; quasivarieties retain free algebras but lose closure under quotients; elementary classes retain neither.

Frequently asked questions

Is the intersection of two varieties a variety?

Yes. Each closure condition is preserved by intersection, so arbitrary intersections of varieties are varieties — which is why the subvarieties form a complete lattice.

Can a variety be generated by a single infinite algebra?

Yes, and often only by one. The variety of all groups is generated by a single infinite group — for instance a free group of countable rank.

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.9, book pages 66-67.

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

GeometryArticle · MathematicsNotation and ConventionsArticle · MathematicsDistributive Lattices and their CharacterisationArticle · MathematicsSubuniverses and the Generation Operator SgArticle · Mathematics