Skip to main content
Top

2019 | OriginalPaper | Chapter

Towards Specifying Symbolic Computation

Authors : Jacques Carette, William M. Farmer

Published in: Intelligent Computer Mathematics

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Many interesting and useful symbolic computation algorithms manipulate mathematical expressions in mathematically meaningful ways. Although these algorithms are commonplace in computer algebra systems, they can be surprisingly difficult to specify in a formal logic since they involve an interplay of syntax and semantics. In this paper we discuss several examples of syntax-based mathematical algorithms, and we show how to specify them in a formal logic with undefinedness, quotation, and evaluation.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
1
I.e., denotation.
 
2
There are nonessential Maple-isms in this routine: because of how foldr is defined, op is needed to transform a list to an expression sequence; in other languages, this is unnecessary. Note however that it is possible to express the type extremely precisely.
 
3
This is unsurprising given that the builders of both Maple and Mathematica were well acquainted with Macsyma which was implemented in Lisp.
 
4
Mathematica has similar commands.
 
Literature
3.
go back to reference Boyer, R., Moore, J.: Metafunctions: proving them correct and using them efficiently as new proof procedures. In: Boyer, R., Moore, J. (eds.) The Correctness Problem in Computer Science, pp. 103–185. Academic Press, Cambridge (1981)MATH Boyer, R., Moore, J.: Metafunctions: proving them correct and using them efficiently as new proof procedures. In: Boyer, R., Moore, J. (eds.) The Correctness Problem in Computer Science, pp. 103–185. Academic Press, Cambridge (1981)MATH
4.
go back to reference Buchberger, B., et al.: Theorema: towards computer-aided mathematical theory exploration. J. Appl. Log. 4, 470–504 (2006)MathSciNetCrossRef Buchberger, B., et al.: Theorema: towards computer-aided mathematical theory exploration. J. Appl. Log. 4, 470–504 (2006)MathSciNetCrossRef
6.
go back to reference Christiansen, D.R.: Type-directed elaboration of quasiquotations: a high-level syntax for low-level reflection. In: Proceedings of the 26th 2014 International Symposium on Implementation and Application of Functional Languages, IFL 2014, pp. 1:1–1:9. ACM, New York (2014). https://doi.org/10.1145/2746325.2746326 Christiansen, D.R.: Type-directed elaboration of quasiquotations: a high-level syntax for low-level reflection. In: Proceedings of the 26th 2014 International Symposium on Implementation and Application of Functional Languages, IFL 2014, pp. 1:1–1:9. ACM, New York (2014). https://​doi.​org/​10.​1145/​2746325.​2746326
7.
go back to reference Dunstan, M., Kelsey, T., Linton, S., Martin, U.: Lightweight formal methods for computer algebra systems. In: Weispfenning, V., Trager, B.M. (eds.) Proceedings of the 1998 International Symposium on Symbolic and Algebraic Computation, pp. 80–87. ACM (1998) Dunstan, M., Kelsey, T., Linton, S., Martin, U.: Lightweight formal methods for computer algebra systems. In: Weispfenning, V., Trager, B.M. (eds.) Proceedings of the 1998 International Symposium on Symbolic and Algebraic Computation, pp. 80–87. ACM (1998)
8.
go back to reference Ebner, G., Ullrich, S., Roesch, J., Avigad, J., de Moura, L.: A metaprogramming framework for formal verification. Proc. ACM Program. Lang. 1(ICFP), 34 (2017)CrossRef Ebner, G., Ullrich, S., Roesch, J., Avigad, J., de Moura, L.: A metaprogramming framework for formal verification. Proc. ACM Program. Lang. 1(ICFP), 34 (2017)CrossRef
9.
11.
go back to reference Farmer, W.M.: Andrews’ type system with undefinedness. In: Benzmüller, C., Brown, C., Siekmann, J., Statman, R. (eds.) Reasoning in Simple Type Theory: Festschrift in Honor of Peter B. Andrews on his 70th Birthday, pp. 223–242. Studies in Logic, College Publications (2008) Farmer, W.M.: Andrews’ type system with undefinedness. In: Benzmüller, C., Brown, C., Siekmann, J., Statman, R. (eds.) Reasoning in Simple Type Theory: Festschrift in Honor of Peter B. Andrews on his 70th Birthday, pp. 223–242. Studies in Logic, College Publications (2008)
13.
17.
go back to reference Khan, M.T.: Formal specification and verification of computer algebra software. Ph.D. thesis, RISC, Johannes Kepler Universität Linz (2014) Khan, M.T.: Formal specification and verification of computer algebra software. Ph.D. thesis, RISC, Johannes Kepler Universität Linz (2014)
19.
go back to reference Limongelli, C., Temperini, M.: Abstract specification of structures and methods in symbolic mathematical computation. Theor. Comput. Sci. 104, 89–107 (1992)MathSciNetCrossRef Limongelli, C., Temperini, M.: Abstract specification of structures and methods in symbolic mathematical computation. Theor. Comput. Sci. 104, 89–107 (1992)MathSciNetCrossRef
20.
go back to reference Melham, T., Cohn, R., Childs, I.: On the semantics of ReFLect as a basis for a reflective theorem prover. Computing Research Repository (CoRR) abs/1309.5742 (2013). arxiv:1309.5742 Melham, T., Cohn, R., Childs, I.: On the semantics of ReFLect as a basis for a reflective theorem prover. Computing Research Repository (CoRR) abs/1309.5742 (2013). arxiv:​1309.​5742
22.
go back to reference Watt, S.M.: Making computer algebra more symbolic. In: Proceedings of Transgressive Computing 2006, Granada, Spain, pp. 43–49 (2006) Watt, S.M.: Making computer algebra more symbolic. In: Proceedings of Transgressive Computing 2006, Granada, Spain, pp. 43–49 (2006)
Metadata
Title
Towards Specifying Symbolic Computation
Authors
Jacques Carette
William M. Farmer
Copyright Year
2019
DOI
https://doi.org/10.1007/978-3-030-23250-4_8

Premium Partner