Skip to main content

A Total Approach to Partial Algebraic Specification

  • Conference paper
  • First Online:
Automata, Languages and Programming (ICALP 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2380))

Included in the following conference series:

Abstract

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 high-performance 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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. M. Bidoit, H.-J. Kreowski, P. Lescanne, F. Orejas, and D. Sannella, editors. Algebraic System Specification and Development. A Survey and Annotated Bibliography, volume 501 of LNCS. Springer, 1991.

    MATH  Google Scholar 

  2. A. Bouhoula, J.-P. Jouannaud, and J. Meseguer. Specification and proof in membership equational logic. Theoretical Computer Science, 236:35–132, 2000.

    Article  MATH  MathSciNet  Google Scholar 

  3. M. Broy and M. Wirsing. Partial abstract types. Acta Informatica, 18:47–64, 1982.

    Article  MATH  MathSciNet  Google Scholar 

  4. M. Cerioli and J. Meseguer. May I borrow your logic? (Transporting logical structures along maps). Theoretical Computer Science, 173(2):311–347, 1997.

    Article  MATH  MathSciNet  Google Scholar 

  5. M. Clavel, F. Durán, S. Eker, P. Lincoln, N. Martí-Oliet, J. Meseguer, and J. Que-sada. Maude: specification and programming in rewriting logic. SRI International, January 1999, http://maude.csl.sri.com.

  6. M. Clavel, F. Durán, S. Eker, and J. Meseguer. Building equational proving tools by reflection in rewriting logic. In CAFE: An Industrial-Strength Algebraic Formal Method. Elsevier, 2000. http://maude.csl.sri.com.

  7. CoFI task group on semantics, CASL — The common algebraic specification language, Semantics. http://www.brics.dk/Projects/CoFI/Documents/CASL, July 1999.

  8. R. Diaconescu and K. Futatsugi. CafeOBJ Report: The Language, Proof Techniques, and Methodologies for Object-Oriented Algebraic Specification. World Scientific, 1998. AMAST Series in Computing, volume 6.

    Google Scholar 

  9. M. Gogolla and M. Cerioli. What is an Abstract Data Type after all? Technical report, DISI-University of Genova, 1994.

    Google Scholar 

  10. J. Goguen and J. Meseguer. Order-sorted algebra I: Equational deduction for multiple inheritance, overloading, exceptions and partial operations. Theoretical Computer Science, 105(2):217–273, 1992.

    Article  MATH  MathSciNet  Google Scholar 

  11. J. Goguen, T. Winkler, J. Meseguer, K. Futatsugi, and J.-P. Jouannaud. Introducing OBJ. In Software Engineering with OBJ: algebraic specification in action, pages 3–167. Kluwer, 2000.

    Google Scholar 

  12. C. Hintermeier, C. Kirchner, and H. Kirchner. Dynamically-typed computations for order-sorted equational presentations. Journal of Symbolic Computation, 25(4):455–526, April 1998.

    Google Scholar 

  13. H. Kaphengst and H. Reichel. Initial algebraic semantics for non-context-free languages. In M. Karpinski, editor, Fundamentals of Computation Theory, volume 56 of LNCS, pages 120–126. Springer, 1977.

    Google Scholar 

  14. M. Lowry, T. Pressburger, and G. Roşu. Certifying domain-specific policies. In Proceedings, International Conference on Automated Software Engineering (ASE’01), pages 81–90. IEEE, 2001. San Diego, California.

    Google Scholar 

  15. J. Meseguer. Membership algebra as a logical framework for equational specification. In Proceedings, WADT’97, volume 1376 of LNCS, pages 18–61, 1998.

    Google Scholar 

  16. J. Meseguer and G. Roşu. A total approach to partial algebraic specification. Extended version at http://ase.arc.nasa.gov/grosu/tapase.html, 2002.

  17. T. Mossakowski. Equivalences among various logical frameworks of partial algebras. In Computer Science Logic, volume 1092 of LNCS, pages 403–433, 1996.

    Google Scholar 

  18. T. Mossakowski. Introduction into HOL-CASL. http://www.tzi.de/cofi/, 2001.

  19. T. Mossakowski. Relating CASL with other specification languages: the institution level. Theoretical Computer Science, To appear. http://www.tzi.de/~.

  20. H. Reichel. Initial Computability, Algebraic Specifications, and Partial Algebras. Oxford University Press, 1987.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Meseguer, J., Roşu, G. (2002). A Total Approach to Partial Algebraic Specification. In: Widmayer, P., Eidenbenz, S., Triguero, F., Morales, R., Conejo, R., Hennessy, M. (eds) Automata, Languages and Programming. ICALP 2002. Lecture Notes in Computer Science, vol 2380. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45465-9_49

Download citation

  • DOI: https://doi.org/10.1007/3-540-45465-9_49

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43864-9

  • Online ISBN: 978-3-540-45465-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics