Abstract
A precise and perspicuous specification of mathematical domains of computation and their inherently related type inference mechanisms is a prerequisite for the design and systematic development of a system for symbolic computing. This paper describes Formal, a language for giving modular and well-structured specifications of such domains and particularly of “mathematical objects”. A novel framework for algebraic specification involving so-called “unified algebras” has been adopted, where sorts are treated as values. The adoption of this framework aims also at being capable of specifying polymorphism, unifying the notions of “parametric” and “inclusion” polymorphisms. Furthermore, the operational nature of the specification formalisms allows a straightforward transformation into an executable form.
We use the notions of parametric and inclusion polymorphism according to those introduced in [CW85].
Preview
Unable to display preview. Download preview PDF.
References
J.A. Bergstra, J. Heering, and P. Klint. Algebraic Specification. Addison-Wesley Publising Company, 1989.
R.J. Bradford, A.C. Hearn, J.A. Padget, and E. Schrufer. Enlarging the Reduce domain of computation. In SYMSAC 1986, pages 100–106. ACM, New York, 1986.
J. Calmet and I.A. Tjandra. Specifying type polymorphisms in symbolic computing with formal. In preparation, 1993.
J. Calmet, I.A. Tjandra, and G. Bittencourt. Mantra: A shell for hybrid knowledge representation. In IEEE-Conference on Tools for AI, pages 164–171. IEEE, IEEE Computer Society Press, 1991.
J Calmet, I.A. Tjandra, and K. Homann. Unified domains and abstract computational structures (to be published). In J. Calmet and J. Campbell, editors, Int. Conference on Ai and Symbolic Computations. Springer-Verlag, LNCS, 1993.
L. Cardelli and P. Wagner. On understanding types, data abstraction and polymorphism. Computing Survey, 17(4):471–522, 1985.
H. Ehrig and B. Mahr. Fundamental of Algebraic Specification 1 — Equations and Initial Semantics. EATCS Monograph on Theoretical Computer Science, vol 6. Springer-Verlag, 1985.
H. Ehrig and B. Mahr. Fundamental of Algebraic Specification 2. Monograph on Theoretical Computer Science, vol 21. Springer-Verlag, 1990.
J.A. Goguen and R.M. Burstall. Introducing institution. In Logics of Programming Workshop, pages 221–256. Springer-Verlag, 1984.
J.A. Goguen and R.M. Burstall. Institutions: Abstract model theory for computer science. Technical report, Stanford University, CSLI-85-30, 1985.
J.P. Jounnaud, C. Kirchner, H. Kirchner, and A. Megrelis. Obj: Programming with equalities, subsorts, overloading and parameterization. In J. Grabowski, P. Lescanne, and P. Wechler, editors, Algebraic and Logic Programming, pages 41–52. Spriner-Verlag, LNCS 343, 1988.
T. Lehman and J. Loeckx. The specification language obscure. In D. Sanella and A. Tarlecki, editors, Recent Trends in Data Types Specification, pages 131–153. Springer-Verlag, LNCS 332, 1987.
S MacLane. Categories for the Working Mathematician. Graduate Text in Mathematics. Springer-Verlag, 1971.
P.D. Mosses. Unified algebras and institutions. In Logics in Computer Science, pages 304–312. IEEE Press, 1989.
P.D. Mosses. Action Semantics. Cambridge Tracks in Theoretical Computer Science. Cambridge University Press, 1992.
D Sanella. A set-theoretic semantics of Clear. Acta Informatica, 21(5): 443–472, 1984.
P Schnoebelen, D Lugiez, and H Comon. A rewrite-based type discipline for a subset of computer algebra. Journal of Symbolic Computation, 11: 349–368, 1991.
D. Sanella and A. Tarlecki. Program specification and development in Standard-ml. In 12th ACM Symposium on Principle of Programming Languages, New Orleans, USA, pages 67–77. ACM Press, 1985.
R.S. (Ed.) Sutor. Axiom User's Guide. The Numerical Algorithm Group Limited, 1991.
M. Wirsing. Structured algebraic specification: A kernel language. Theoretical Computer Science, 42:124–249, 1986.
M. Wirsing. Algebraic specification. In J. VanLeeuwen, editor, Handbook of Theoretical Computer Science, volume B, pages 677–788. Elsevier Science Publishers B.V., 1990.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1993 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Calmet, J., Tjandra, I.A. (1993). A unified-algebra-based specification language for symbolic computing. In: Miola, A. (eds) Design and Implementation of Symbolic Computation Systems. DISCO 1993. Lecture Notes in Computer Science, vol 722. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0013173
Download citation
DOI: https://doi.org/10.1007/BFb0013173
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-57235-0
Online ISBN: 978-3-540-47985-7
eBook Packages: Springer Book Archive