Advertisement

Dependent types considered necessary for specification languages

  • T. Streicher
  • M. Wirsing
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 534)

Abstract

The aim of this paper is to show that the concept of dependent type is necessary and appropriate for a specification language. This is examplified by expressing the type SPEC of all specifications, two different approaches to parameterization, and (a simple variant of) Weber's and Ehrig's module specifications. In particular the formalization of the parameterization concepts gives the solution to the open problem, how to combine the theory of institutions with the lambda calculus approach to parameterization.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [BG1]
    R. Burstall, J. Goguen Putting theories together to make specifications. Proc. 5th Internat. Joint Conf. on Artificial Intelligence, Cambridge Mass., pp. 1045–1058, 1977.Google Scholar
  2. [BG2]
    R. Burstall, J. Goguen The semantics of CLEAR, a specification language. In: D. Bjorner (ed.): Proc. Advanced Course on Abstract Software Specifications. Lecture Notes in Computer Science. 86, Springer, Berlin, pp. 292–323, 1980.Google Scholar
  3. [BGGN]
    M. Breu, M. Broy, T. Grünler, F. Nickl PAnndA-S Semantics Passau, 1989.Google Scholar
  4. [CH]
    Th. Coquand, G. Huet The Calculus of Constructions. Information and Computation 76, pp. 95–120, 1988.CrossRefGoogle Scholar
  5. [Dy]
    R. Dyckhoff Category Theory as an extension of Martin-Löf Type Theory. Department of Computational Science, University of St. Andrews, Techn. Report CS/85/3, 1985.Google Scholar
  6. [E]
    H.-D. Ehrich On the theory of specification, implementation and parameterization of abstract data types. J. ACM 29(1), pp. 206–277, 1982.Google Scholar
  7. [EKTWW]
    H. Ehrig, H.-J. Kreowski, J. Thatcher, E. Wagner, J. Wright Parameterized data types in algebraic specification languages (short version). In: J. de Bakker, J. van Leuwen (eds.): Proc. 7th Internat. Coll. on Automata, Languages and Programming. Lecture Notes in Computer Science 85, Springer, Berlin, pp. 157–168, 1980.Google Scholar
  8. [EM]
    H. Ehrig, B. Mahr Fundamentals of Algebraic Specifications I. EATCS Monographs on Theoretical Computer Science 6, Springer, Berlin, 1985.Google Scholar
  9. [FGJM]
    K. Futatsugi, J. Goguen, J.-P. Jouannaud, J. Meseguer Principles of OBJ-2. Proc. POPL 1985, pp. 52–66, 1985.Google Scholar
  10. [GB]
    J. Goguen, R. Burstall Introducing Institutions. Proc. Logics of Programming Workshop, Carnegie-Mellon, Lecture Notes in Computer Science 164, Springer, Berlin, pp. 221–256, 1984.Google Scholar
  11. [GHW]
    J. Guttag, J. Horning, J. Wing Larch in Five Easy Pieces. Digital, Systems Research Center, Palo Alto, California, 1985.Google Scholar
  12. [M-L]
    P. Martin-Löf Intuitionistic Type Theory. Bibliopolis, Naples, 1984.Google Scholar
  13. [MQ]
    D. MacQueen Using Dependent Types to Express Modular Structure. In Proc. 13-th ACM Symp. on Principles of Programming Languages, pp. 277–286, 1986.Google Scholar
  14. [ST]
    D. Sannella, A. Tarlecki Specifications in Arbitrary Institutions. Information and Computation 76, pp. 165–210, 1988.CrossRefGoogle Scholar
  15. [SST]
    D. Sannella, S. Sokolowski, A. Tarlecki Toward formal development of programs from algebraic specifications: parameterisation revisited. Draft, 1990.Google Scholar
  16. [SW]
    D. Sannella, M. Wirsing A kernel language for algebraic specification and implementation. In: M. Karpinsky (ed.): Coll. on Foundations of Computation Theory, Lecture Notes in Computer Science 158, Springer, Berlin, pp. 413–427, 1983.Google Scholar
  17. [TBG]
    R. Burstall, J. Goguen, A. Tarlecki Some Fundamental Algebraic Tools for the Semantics of Computation. Part III: Indexed Categories. ECS-LFCS-88-60, Techn. Report, Univ. Edinburgh, 1988.Google Scholar
  18. [Th]
    J. Thatcher, E. Wagner, J. Wright Data type specification: Parameterization and the power of specification techniques. TOPLAS 4, pp. 711–773, 1982.Google Scholar
  19. [WE]
    H. Weber, H. Ehrig Programming in the large with algebraic module specifications. H.J. Kugler (ed.): Proc. IFIP, 10th World Computer Congress. North Holland, Amsterdam, pp. 675–684, 1986.Google Scholar
  20. [W]
    M. Wirsing Algebraic Specifications. In Handbook of Theoretical Computer Science Volume B, Formal Models and Semantics ed. J. van Leeuwen, Elsevier, Amsterdam, pp.675–788, 1990.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1991

Authors and Affiliations

  • T. Streicher
    • 1
  • M. Wirsing
    • 1
  1. 1.Fakultät für Mathematik und InformatikUniversität PassauPassauFRG

Personalised recommendations