A Total Approach to Partial Algebraic Specification

Partiality is a fact of life, but at present explicitly partial algebraic specifications lack tools and have limited proof methods. We propose a sound and complete way to support execution and formal reasoning of explicitly partial algebraic specifications within the total framework of membership equational logic (MEL) which has a highperformance interpreter (Maude) and proving tools. This is accomplished by a sound and complete mapping PMEL ? MEL of partial membership equational (PMEL) theories into total ones. Furthermore, we characterize and give proof methods for a practical class of theories for which this mapping has "almost-zero representational distance," in that the partial theory and its total translation are identical up to minor syntactic sugar conventions. This then supports very direct execution of, and formal reasoning about, partial theories at the total level. In conjunction with tools like Maude and its proving tools, our methods can be used to execute and reason about partial specifications such as those in CASL.

[1]  Hans-Jörg Kreowski,et al.  Algebraic system specification and development , 1991, Lecture Notes in Computer Science.

[2]  Robin Milner An Action Structure for Synchronous pi-Calculus , 1993, FCT.

[3]  José Meseguer,et al.  Membership algebra as a logical framework for equational specification , 1997, WADT.

[4]  Claude Kirchner,et al.  Dynamically Typed Computations for Order-Sorted Equational Presentations , 1994, J. Symb. Comput..

[5]  Alex K. Simpson,et al.  Computational Adequacy in an Elementary Topos , 1998, CSL.

[6]  Horst Reichel,et al.  Initial Computability, Algebraic Specifications, and Partial Algebras , 1987 .

[7]  J. Meseguer,et al.  Building Equational Proving Tools by Reflection in Rewriting Logic , 2000 .

[8]  Razvan Diaconescu,et al.  Cafeobj Report - The Language, Proof Techniques, and Methodologies for Object-Oriented Algebraic Specification , 1998, AMAST Series in Computing.

[9]  Till Mossakowski Relating CASL with other specification languages: the institution level , 2002, Theor. Comput. Sci..

[10]  Till Mossakowski,et al.  Equivalences among Various Logical Frameworks of Partial Algebras , 1995, CSL.

[11]  Martin Gogolla,et al.  What is an Abstract Data Type, after all? , 1994, COMPASS/ADT.

[12]  José Meseguer,et al.  May I Borrow Your Logic? (Transporting Logical Structures Along Maps) , 1997, Theor. Comput. Sci..

[13]  Horst Reichel,et al.  Initial Algebraic Semantics for Non Context-Free Languages , 1977, FCT.

[14]  Michael R. Lowry,et al.  Certifying domain-specific policies , 2001, Proceedings 16th Annual International Conference on Automated Software Engineering (ASE 2001).

[15]  José Meseguer,et al.  Order-Sorted Algebra I: Equational Deduction for Multiple Inheritance, Overloading, Exceptions and Partial Operations , 1992, Theor. Comput. Sci..

[16]  José Meseguer,et al.  Specification and proof in membership equational logic , 2000, Theor. Comput. Sci..

[17]  Narciso Martí-Oliet,et al.  Maude: specification and programming in rewriting logic , 2002, Theor. Comput. Sci..

[18]  Manfred Broy,et al.  Partial abstract types , 1982, Acta Informatica.