Termalgebra
Term algebra, also known as the termalgebra, is a foundational concept in universal algebra and model theory. Given a signature F (a set of operation symbols with prescribed arities) and a set X of variables, the term algebra T(F,X) is the freely generated F-algebra on X. Its elements are precisely the terms formed from the operation symbols in F and the variables in X, using finite composition and nesting, with no equational identifications beyond those required by the signature.
Terms are defined inductively: every x in X is a term, and if f is an n-ary
T(F,X) satisfies a universal property: for any F-algebra A and any function h0: X → A, there exists
If F has a single binary operation and X = {x}, then T(F,X) consists of all finite binary