Skip to main content

equational specification

equational specification A set of equations that specifies a computing system or abstract data type. More precisely, the system or data type is modeled by an algebra, and this algebra is defined by the equations using initial-algebra semantics.

Let A be an algebra of signature Σ. Then A is said to have an equational specification (Σ, E), under initial-algebra semantics, if E is a set of equations over Σ such that the initial algebra T(Σ, E) is isomorphic with A. For example, the algebra A = ({0,1,2,…}; 0, n+1, n+m, n.m, n2)

of natural numbers is specified by means of (Σ,E) shown in Fig. a.

An equational specification with hidden functions and sorts is an equational specification in which extra or hidden functions and sorts of data are allowed in order to construct equations. Inventing and adding functions, and even data types, to specify a computation or to a model a system is an obvious and natural technique. Consider the algebra B = ({0,1,2,…}; 0, n+1, n2)

of numbers with signature ΣSQ shown in Fig. b. The algebra B is a reduct of the algebra A of numbers given above, i.e. A|ΣSQ = B,

and B can be specified by specifying A using the equational specification (Σ, E) given above. If A is isomorphic with the initial algebra T(Σ, E), then the reduct T(Σ, E)|ΣSQ

is isomorphic with the algebra B. Thus (Σ, E) is an equational specification of B with two hidden functions, namely addition and multiplication.

The square algebra B cannot be given a finite equational specification without using hidden functions; thus the technique is essential. It is known that any computable algebra can be given an equational specification using as little as six hidden functions and four equations, and initial-algebra semantics.

The general definition is as follows. An algebra A of signature Σ is said to have an equational specification (Σ0, E0) with hidden functions and sorts, under initial-algebra semantics, if Σ ⊆ Σ0, and E0 is a set of equations over Σ0 such that the reduct T0, E0)|Σ

of the initial algebra T0, E0) with respect to Σ is isomorphic with A.

See also computable algebra.

Cite this article
Pick a style below, and copy the text for your bibliography.

  • MLA
  • Chicago
  • APA

"equational specification." A Dictionary of Computing. . Encyclopedia.com. 16 Oct. 2018 <http://www.encyclopedia.com>.

"equational specification." A Dictionary of Computing. . Encyclopedia.com. (October 16, 2018). http://www.encyclopedia.com/computing/dictionaries-thesauruses-pictures-and-press-releases/equational-specification

"equational specification." A Dictionary of Computing. . Retrieved October 16, 2018 from Encyclopedia.com: http://www.encyclopedia.com/computing/dictionaries-thesauruses-pictures-and-press-releases/equational-specification

Learn more about citation styles

Citation styles

Encyclopedia.com gives you the ability to cite reference entries and articles according to common styles from the Modern Language Association (MLA), The Chicago Manual of Style, and the American Psychological Association (APA).

Within the “Cite this article” tool, pick a style to see how all available information looks when formatted according to that style. Then, copy and paste the text into your bibliography or works cited list.

Because each style has its own formatting nuances that evolve over time and not all information is available for every reference entry or article, Encyclopedia.com cannot guarantee each citation it generates. Therefore, it’s best to use Encyclopedia.com citations as a starting point before checking the style against your school or publication’s requirements and the most-recent information available at these sites:

Modern Language Association

http://www.mla.org/style

The Chicago Manual of Style

http://www.chicagomanualofstyle.org/tools_citationguide.html

American Psychological Association

http://apastyle.apa.org/

Notes:
  • Most online reference entries and articles do not have page numbers. Therefore, that information is unavailable for most Encyclopedia.com content. However, the date of retrieval is often important. Refer to each style’s convention regarding the best way to format page numbers and retrieval dates.
  • In addition to the MLA, Chicago, and APA styles, your school, university, publication, or institution may have its own requirements for citations. Therefore, be sure to refer to those guidelines when editing your bibliography or works cited list.