Math 2.0

General algebraic systems Definition

Term algebra

Builds on TermSignatureHomomorphismTerm evaluation

Definition

Let σ\sigma be a signature with only function symbols and let XX be a set of variables. Let Tσ(X)T_\sigma(X) be the set of terms over σ\sigma and XX. Assume that Tσ(X)T_\sigma(X) is nonempty, that is, XX is nonempty or σ\sigma has a constant symbol. The term algebra 𝐓σ(X)\mathbf{T}_\sigma(X) is the algebra of signature σ\sigma with universe Tσ(X)T_\sigma(X). Its operations are f𝐓(t1,…,tn)=f(t1,…,tn)f^{\mathbf{T}}(t_1, \ldots, t_n) = f(t_1, \ldots, t_n) for each function symbol ff of arity nn and all terms t1,…,tnt_1, \ldots, t_n.

Remarks

The term algebra is absolutely free over XX. For every algebra AA of signature σ\sigma and every map α ⁣:X→A\alpha \colon X \to A, there is a unique homomorphism αˉ ⁣:𝐓σ(X)→A\bar\alpha \colon \mathbf{T}_\sigma(X) \to A extending α\alpha, namely αˉ(t)=tA[α]\bar\alpha(t) = t^A[\alpha], the value of tt. When XX is empty, it is the algebra of closed terms, also called the Herbrand universe.

Example: let σ\sigma have one binary symbol ⋅\cdot and let X={x}X = \set{x}. The elements xx, x⋅xx \cdot x, (x⋅x)⋅x(x \cdot x) \cdot x, x⋅(x⋅x)x \cdot (x \cdot x), … are pairwise distinct, and the operation sends (s,t)(s, t) to the term s⋅ts \cdot t. This is the free magma on one generator.

Non-example: the positive integers with ⋅\cdot read as addition are not isomorphic to this term algebra, even though they are generated by 11. In the term algebra, s⋅t=s′⋅t′s \cdot t = s' \cdot t' implies s=s′s = s' and t=t′t = t', because terms have a unique reading. In the positive integers 1+2=2+11 + 2 = 2 + 1 while 1≠21 \ne 2, so this property fails.

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Homomorphism concept
  2. Signature concept
  3. Term concept
  4. Term evaluation concept
  5. Term algebra definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Term_algebra
About this page
TagV288YS2F5W
URIm2://V288YS2F5W
Kinddefinition
WritingW0 stub
MSC08B20, 08A40
DefinesTerm algebra
UsesTerm, Signature, Homomorphism, Term evaluation
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.