Abstract
Theoretical results on the scope and limits of first order algebraic specifications can be used to show that certain natural algebras have no recursively enumerable equational specification under first order initial algebra semantics. A well known example is the algebraPℛ of primitive recursive functions over the natural numbers. In this paper we show thatPℛ has a recursive equational specification under second order initial algebra semantics. It follows that higher order initial algebra specifications are strictly more powerful than first order initial algebra specifications.
Similar content being viewed by others
References
Bergstra, J.A., Tucker, J.V.: A natural data type with a finite equational final semantics but no effective equational initial semantics specification. Bull. EATCS11, 23–33 (1980)
Bergstra, J.A., Tucker, J.V.: Initial and final algebra semantics for data type specifications: two characterisation theorems. SIAM J. Comput.12, 366–387 (1983).
Bergstra, J.A., Tucker, J.V.: Algebraic specifications of computable and semicomputable data types. Theoret. Comput. Sci.50, 137–181 (1987)
Goguen, J.A., Meseguer, J.: Initiality, induction and computability. In: Nivat, M., Reynolds, J.C. (eds.) Algebraic methods in semantics, pp. 459–541. Cambridge: Cambridge University Press 1985
Malcev, A.I.: Constructive algebras. Russ. Math. Surv.16, 77–129 (1961).
Meinke, K.: Universal algebra in higher types. Theoret. Comput. Sci.100, 385–417 (1992)
Meinke, K.: Subdirect representation of higher order type algebras. In: Meinke, K., Tucker, J.V. (eds.) Many-sorted logic and its applications, pp. 135–146. Chichester: John Wiley 1993
Meinke, K., Tucker, J.V.: Universal algebra. In: Abramsky, S., Gabbay, D., Maibaum, T.S.E. (eds.) Handbook of logic in computer science, pp. 189–411. Oxford: Oxford University Press 1992
Möller, B.: Higher-order algebraic specifications. Facultät für Mathematik und Informatik, Technische Universität München, Habilitationsschrift, 1987
Möller, B., Tarlecki, A., Wirsing, M.: Algebraic specifications of reachable higher-order algebras. In: Sannella, D., Tarlecki, A. (eds.) Recent trends in data type specification (Lect. Notes Comput. Sci., vol. 332, pp. 154–169) Berlin, Heidelberg, New York: Springer 1988
Rabin, M.O.: Computable algebra, general theory and the theory of computable fields. Trans. Am. Math. Soc.98, 341–360 (1960).
Wirsing, M.: Algebraic specification. In: van Leeuwen, J. (ed.) Handbook of theoretical computer science, pp. 675–788. Amsterdam: North Holland 1990
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Meinke, K. A recursive second order initial algebra specification of primitive recursion. Acta Informatica 31, 329–340 (1994). https://doi.org/10.1007/BF01178510
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF01178510