← LibraryAlgebras, Types and SignaturesEngineering · MathematicsLesson 1/10← PrevNext →
GuidePublished 6 Aug 20264 min readBy Kevin Joginuniversal algebraabstract algebramathematicssignature

Core Universal Algebra

Algebras, Types and Signatures

Fix the type before arguing about the theorem. Almost every apparent counterexample in elementary universal algebra is a disagreement about which operations were in the signature.

Engineering · Mathematics4 min readKV-MATH-0209
Learning objectives

01Type, signature, arity

A type (or signature) is a set F of operation symbols together with an arity function assigning a natural number to each. An algebra of type F is a non-empty set A together with, for each n-ary symbol f, a concrete operation fA mapping An to A.

A = ⟨A, F⟩    fA : An → A for each n-ary f ∈ F
The superscript distinguishes the symbol f from its interpretation fA. Dropping the superscript is standard once no confusion can arise, but the distinction is real and matters in the model-theoretic stream.

Note what is absent: axioms. An algebra of type (2) is any set with any binary operation whatsoever. Semigroups, groupoids and quasigroups all live in that type, distinguished by the equations they satisfy, not by their type.

02Standard structures as algebras

Familiar structures in explicit type
StructureTypeOperations
Groupoid(2)one binary
Semigroup(2)one binary, associative
Monoid(2, 0)binary and identity constant
Group(2, 1, 0)product, inverse, identity
Ring with unit(2, 2, 1, 0, 0)+, ·, −, 0, 1
Lattice(2, 2)join and meet
Bounded lattice(2, 2, 0, 0)join, meet, 0, 1
Boolean algebra(2, 2, 1, 0, 0)∨, ∧, ′, 0, 1
R-module(2, 1, 0) + unary for each r ∈ Raddition, negation, zero, scalars

The module case is worth noting: scalar multiplication by a fixed ring element is a unary operation, so a module over a ring with infinitely many elements has infinitely many operations in its type. Types may be infinite; only individual operations must be finitary.

03Why nullary operations change everything

A nullary operation is a constant, and constants must be preserved by homomorphisms and contained in subalgebras. Whether a distinguished element sits in the type or is merely guaranteed by an axiom is therefore a substantive choice.

Group as (2, 1, 0)
Identity in the type
Every subalgebra contains the identity. Every homomorphism preserves it. Subalgebras are exactly subgroups. This is the standard choice.
Group as (2)
Identity only implied
Subalgebras are sub-semigroups, which for infinite groups need not be subgroups. The subalgebra lattice is entirely different and the class is not a variety.
CautionType disputes masquerade as counterexamples

When a claim about subalgebras or homomorphisms seems to fail, the first check is the type. A great deal of confusion about whether rings form a variety, whether the empty set is a subalgebra, and whether monoid homomorphisms preserve the identity dissolves once the signature is written down explicitly.

04The empty algebra question

The source requires the underlying set of an algebra to be non-empty, and the convention has consequences worth being explicit about.

  1. With at least one constant
    The question does not arise: any subuniverse contains the constants, so no subuniverse is empty and non-emptiness is automatic.
  2. With no constants
    The empty set is closed under the operations vacuously, so it would be a subuniverse if empty algebras were permitted. Excluding it keeps statements uniform but costs some closure properties.
  3. Practical rule
    Follow the source's convention and state it. Results about subuniverse lattices differ between conventions in the bottom element only, but that is enough to make cross-text comparisons go wrong.

05Term operations and polynomial operations

Two derived notions appear immediately and are easy to conflate. A term operation is one built from the basic operations and variables alone. A polynomial operation additionally allows elements of the algebra to be substituted as constants.

Term versus polynomial
Built fromPreserved by
Term operationbasic operations, variablesall homomorphisms and subalgebras
Polynomial operationbasic operations, variables, elements of Acongruences, but not homomorphisms in general

The distinction is load-bearing later. Congruences are exactly the equivalence relations compatible with all polynomial operations, and the theory of functional completeness and primality is stated in terms of which functions are polynomial or term operations. Getting the two confused invalidates those arguments.

Frequently asked

Can an algebra have infinitely many operations?

Yes. The type may be of any cardinality; only each individual operation must have finite arity. Modules over an infinite ring are the standard example, with one unary scalar operation per ring element. What is not permitted is an infinitary operation — a map from Aω to A — because the whole theory of finitary closure and algebraic lattices depends on finite arity.

Is a field an algebra in this sense?

Not conveniently. Multiplicative inverse is undefined at zero, so it is not a total operation, and fields are not closed under direct products — a product of two fields has zero divisors. The class of fields is therefore not a variety and is handled by model-theoretic rather than equational methods. This is a genuine limitation of the framework, not an oversight.

Why require finite arity?

Because finitariness is what makes generated subuniverses depend on finitely many generators, which makes the subuniverse closure operator finitary, which makes Sub(A) algebraic. Nearly every structural theorem in the subject traces back to this. Infinitary algebras exist as a study but form a different and much less tractable theory.

Sources and further reading

Original KEVOS® explanatory article. Written from the topic map of the cited works; no text is reproduced from them.

Continue learning

NEXT LESSON →Subuniverses, Subalgebras and the Generation OperatorGuide · MathematicsThe Subalgebra Lattice as an Algebraic LatticeGuide · MathematicsThe Irredundant Basis TheoremGuide · MathematicsCongruences and Quotient AlgebrasGuide · Mathematics