10.1145/1005285.1005298acmconferencesArticle/Chapter ViewAbstractPublication PagesissacConference Proceedingsconference-collections
Article

Understanding expression simplification

Published:04 July 2004Publication History

ABSTRACT

We give the first formal definition of the concept of simplification for general expressions in the context of Computer Algebra Systems. The main mathematical tool is an adaptation of the theory of Minimum Description Length, which is closely related to various theories of complexity, such as Kolmogorov Complexity and Algorithmic Information Theory. In particular, we show how this theory can justify the use of various "magic constants" for deciding between some equivalent representations of an expression, as found in implementations of simplification routines.

References

  1. J. Beaumont, R. Bradford, and J. H. Davenport. Better simplification of elementary functions through power series. In Proceedings of the 2003 international symposium on symbolic and algebraic computation, pages 30--36. ACM Press, 2003.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. R. Boyer and J. Moore. A Computational Logic Handbook. Academic Press, 1988.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. M. Bronstein. Simplification of real elementary functions. In Proceedings of ISSAC 1989, pages 207--211, 1989.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. B. Buchberger and R. Loos. Algebraic simplification In B. Buchberger, G. E. Collins, and R. Loos, editors, Computer Algebra-Symbolic and Algebraic Computation, pages 11--44. Springer-Verlag, New York, 1982.]]Google ScholarGoogle Scholar
  5. J. Carette, W. Farmer, and J. Wajs. Trustable communication between mathematical systems. In T. Hardin and R. Rioboo, editors, Proceedings of Calculemus 2003,pages 58--68, Rome, 2003. Aracne.]]Google ScholarGoogle Scholar
  6. B. Caviness. On canonical forms and simplification. J. ACM,17(2): 385--396, 1970.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. E. Cheb-Terrab. personal communication.]]Google ScholarGoogle Scholar
  8. F. Chyzak and B.Salvy. Non-commutative elimination in ore algebras proves ultivariate identities. Journal of Symbolic Computation, 26(2): 187--227, 1998.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. R. Corless, G. Gonnet, D. Hare, D. Jeffrey, and D. Knuth. On the Lambert W function. Advances in Computational Mathematics, 5:329--359, 1996.]]Google ScholarGoogle Scholar
  10. R. M. Corless, J. H. Davenport, David J. Jeffrey, G. Litt, and S. M. Watt. Reasoning about the elementary functions of complex analysis. In Proceedings AISC Madrid, volume 1930 of Lecture Notes in AI. Springer, 2000.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. J. Davenport, Y. Siret, and E. Tournier. Computer Algebra: Systems and Algorithms for Algebraic Computation. Academic Press, 1988.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. W. M. Farmer and M. v. Mohrenschildt. Transformers for symbolic computation and formal deduction. In S. Colton, U. Martin, and V. Sorge, editors, Proceedings of the Workshop on the Role of Automate Deduction in Mathematics, CADE-17, pages 36--45, 2000.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. W. M. Farmer and M. v. Mohrenschildt. An overview of a formal framework for anaging athematics. Annals of Mathematics and Artificial Intelligence, 2003. In the forthcoming special issue: B. Buchberger, G. Gonnet, and M. Hazewinkel, eds., Mathematical Knowledge Management.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. K. Geddes, S. Czapor, and G. Labahn. Algorithms for Computer Algebra. Kluwer, Boston/Dordrecht/London,1992.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. J. Grabmeier, E. Kaltofen, and V. Weispfenning, editors. Computer Algebra Handbook: Foundations, Applications, Systems. Springer-Verlag, 2003.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. P. Grünwald. The Minimum Description Length Principle and Reasoning under Uncertainty. PhD thesis, CWI, 1998.]]Google ScholarGoogle Scholar
  17. S. Landau. Simplification of nested radicals. SIAM Journal on Computing, 14(1):184--195, 1985.]]Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. M. Li and P. Vitanyi. An Introduction to Kolmogorov Complexity and Its Applications. Springer-Verlag, Berlin, 1997.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. J. Moses. Algebraic simplification: a guide for the perplexed. Communications of the ACM, 14(8):548--560, 1971.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. J. Mulholland and M. Monagan. Algoriths for trigonometric polynomials. In Proceedings of the 2001 international symposium on Symbolic and algebraic computation, pages 245--252. ACM Press, 2001.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. J. Rissanen. Modeling by shortest data description. Automatica, 14:465--471, 1978.]]Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. D. A. Schmidt. Denotational Semantics: A Methodology for Language Development. W. C. Brown, Dubuque, Iowa, 1986.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. J. von zur Gathen and J. Gerhard. Modern Computer Algebra. Cambridge University Press, 2003.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. C. S. Wallace and D. Dowe. Minimum message length and kolmogorov complexity. Computer Journal (special issue on Kolmogorov complexity), 42(4):270--283, 1999.]]Google ScholarGoogle Scholar
  25. D. Zeilberger. A holonomic systems approach to special function identities. J. Comput. Appl. Math., 32:321--368, 1990.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. R. Zippel. Simplification of expressions involving radicals. J. of Symbolic Computation, 1(1):189--210, 1985.]] Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Understanding expression simplification

    Recommendations

    Reviews

    Stefan Arnborg

    This rather informal paper addresses an important problem in computer algebra systems (CAS): "Which of many possible representations of a result, typically a mathematical expression, should be delivered as the answer__?__" Not surprisingly, this depends on how the result will be used. The use of CAS systems is such that the user expects that a reasonable representation be presented automatically. A tricky point is where two representations are almost equivalent, such as 1 and x/x . This paper suggests that an elaborated version of Kolmogorov complexity is the right tool. It presents examples of the decisions a CAS must be able to take, and reviews the concepts of Kolmogorov complexity, the minimum description length (MDL) principle, and biform theories [1] that make the necessary connection between the MDL principle and the expression manipulation context. The paper concludes with application examples illustrating the author's experience with CAS usage and development. There is very little systematic work here on general rules for expression simplification. This work primarily focuses on the length of the presented result, and is apparently novel in that it makes use of the biform framework [1]. This framework could perhaps have been presented in a more digestible way. A perspective not addressed in the paper is the connection to computation cost in using a result, since going between two equivalent representations may well incur asymmetric conversion costs. Online Computing Reviews Service

    Access critical reviews of Computing literature here

    Become a reviewer for Computing Reviews.

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      ISSAC '04: Proceedings of the 2004 international symposium on Symbolic and algebraic computation
      July 2004
      334 pages
      ISBN:158113827X
      DOI:10.1145/1005285
      • General Chair:
      • Josef Schicho

      Copyright © 2004 ACM

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 4 July 2004

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      Overall Acceptance Rate350of728submissions,48%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader
    About Cookies On This Site

    We use cookies to ensure that we give you the best experience on our website.

    Learn more

    Got it!