Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Equality-test and if-then-else algebras
Pigozzi D. SIAM Journal on Computing20 (4):766-805,1991.Type:Article
Date Reviewed: Jan 1 1993
A data structure is a heterogeneous algebra in which every element is denoted by a ground term, i.e., a term without variables. A data type is an isomorphism class of a data structure….

Our main results on specification are the following. An equality-test algebra is a heterogeneous algebra with a two-element Boolean sort and an equality-test operation for each non-Boolean sort. The if-then-else algebras are obtained from the equality-test algebras by adjoining the if-then-else operation for each non-Boolean sort. We give a simple algorithm that converts any universal initial or final specification of an equality-test data type A into a conditional specification of A; moreover the new specification is complete in the sense that it is both initial and final. As a consequence every semicomputable or cosemicomputable equality-test data type is computable. If A is an arbitrary data type, essentially the same algorithm can be used to convert a universal initial specification of A into a conditional specification with the equality-tests as hidden operations. In this case the new specification will be complete only if the original one is complete. Thus an arbitrary data type is computable if and only if its equality-test enrichment is semicomputable or, equivalently, cosemicomputable….

Many of the above results can be improved in the presence of if-then-else operations….

The main feature of the paper, and the principal tool in obtaining the specification results mentioned above, is a detailed analysis of the structure of the algebras in the quasi variety and variety generated, respectively, by all equality-test and if-then-else algebras of a fixed but arbitrary finite signature….

In fact our two main structure theorems can beviewed as analogues of the Stone representation theorem of Boolean algebra….

With regard to equality-test algebras, the method of initial specification is no more powerful than complete (i.e., simultaneous initial and final) specification….

In [1] we extend the investigations of this paper to equality-test algebras in which the equality-tests may take values in a multiple-valued logic different from classical two-valued logic….

--From the Paper

This paper also investigates the power of conditional and equational specifications of arbitrary data types when the Boolean sort and the equality-tests and if-then-else operations are hidden. The hiding makes little difference in the equality-test case, but Pigozzi shows that arbitrary incomplete initial specifications cannot be converted to equational specifications by hidden operations.

Reviewer:  David B. Benson Review #: CR115853
1) Pigozzi, D. Data types over multiple-valued logics. Theor. Comput. Sci. 77, 1&2 (Dec. 7, 1990), 161–194.
Bookmark and Share
 
Specification Techniques (F.3.1 ... )
 
 
Algebraic Approaches To Semantics (F.3.2 ... )
 
 
Computability Theory (F.4.1 ... )
 
 
Type Structure (F.3.3 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Specification Techniques": Date
Compatibility problems in the development of algebraic module specifications
Ehrig H., Fey W., Hansen H., Löwe M., Jacobs D., Parisi-Presicce F. Theoretical Computer Science 77(1-2): 27-71, 1990. Type: Article
Oct 1 1991
Transformations of sequential specifications into concurrent specifications by synchronization guards
Janicki R., Müldner T. Theoretical Computer Science 77(1-2): 97-129, 1990. Type: Article
Jul 1 1991
Regularity of relations
Jaoua A., Mili A., Boudriga N., Durieux J. Theoretical Computer Science 79(2): 323-339, 1991. Type: Article
Apr 1 1992
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy