Term algebra: Difference between revisions
→Definition: mista |
→Decidability of term algebras: added missing reference |
||
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
==Decidability of term algebras== |
==Decidability of term algebras== |
||
Term algebras can be shown decidable using [[quantifier elimination]]. The complexity of the decision problem is in [[NONELEMENTARY]]. |
Term algebras can be shown decidable using [[quantifier elimination]]. The complexity of the decision problem is in [[NONELEMENTARY]].<ref>Jeanne Ferrante, Charles W. Rackoff: The computational complexity of logical theories, Springer (1979)</ref> |
||
==Herbrand base== |
==Herbrand base== |
Revision as of 13:50, 23 June 2009
In universal algebra and mathematical logic, a term algebra or Herbrand universe is a freely generated algebraic structure. For example, in a signature consisting of a single binary relation, the term algebra over a set X of variables is exactly the free magma generated by X.
Term algebras play a role in the semantics of abstract data types, where an abstract data type declaration provides the signature of a multi-sorted algebraic structure and the term algebra is a concrete model of the abstract declaration.
The Herbrand base is analogous to the Herbrand universe, but consists of formulas. It is the set of all ground atoms.
Definition
Given a signature σ and a set X of variables, the term algebra over X (of signature σ) consists of all σ-terms that contain at most the variables in X. Formally, it is the smallest set Tσ(X) with the following properties:
- Tσ(X) contains X as a subset.
- For every n-ary function f in σ and all strings a1, …, an in Tσ(X), the string f(a1, …, an) is also in Tσ(X).
It follows from the second condition that Tσ(X) contains the constants of σ as a subset.
If X is empty and σ contains no constant symbols, the term algebra over X is also empty. The term algebra over X is finite if and only if σ and X are finite and σ contains no function symbols other than constant symbols.
The Herbrand universe of signature σ is the term algebra over the empty set, i.e. it consists of all ground terms of the signature. Instead of working with the term algebra over a set X, it is customary in mathematical logic to treat the elements of X as constants and use the Herbrand universe of the extended signature σ X. The Herbrand universe is named after Jacques Herbrand.
Decidability of term algebras
Term algebras can be shown decidable using quantifier elimination. The complexity of the decision problem is in NONELEMENTARY.[1]
Herbrand base
The Herbrand base of signature σ consists of all ground atoms of σ: of all formulas of the form R(t1, …, tn), where t1, …, tn are terms containing no variables (i.e. elements of the Herbrand universe) and R is an n-ary relation symbol. In the case of logic with equality, it also contains all equations of the form t1=t2, where t1 and t2 contain no variables.
See also
References
- Anatolii Ivanovic Mal'cev: "The Metamathematics of Algebraic Systems". North-Holland, 1971. (Studies in Logic and The Foundations of Mathematics, Volume 66)
- Weisstein, Eric W. "Herbrand Universe". MathWorld.
External links
The Herbrand Universe, Herbrand Base and Herbrand Interpretations Some examples.
- ^ Jeanne Ferrante, Charles W. Rackoff: The computational complexity of logical theories, Springer (1979)