Skip to main content

Semantic Preserving Bijective Mappings of Mathematical Formulae Between Document Preparation Systems and Computer Algebra Systems

  • Conference paper
  • First Online:
Intelligent Computer Mathematics (CICM 2017)

Abstract

Document preparation systems like   offer the ability to render mathematical expressions as one would write these on paper. Using , , and tools generated for use in the National Institute of Standards (NIST) Digital Library of Mathematical Functions, semantically enhanced mathematical markup (semantic ) is achieved by using a semantic macro set. Computer algebra systems (CAS) such as Maple and Mathematica use alternative markup to represent mathematical expressions. By taking advantage of Youssef’s Part-of-Math tagger and CAS internal representations, we develop algorithms to translate mathematical expressions represented in semantic to corresponding CAS representations and vice versa. We have also developed tools for translating the entire Wolfram Encoding Continued Fraction Knowledge and University of Antwerp Continued Fractions for Special Functions datasets, for use in the NIST Digital Repository of Mathematical Formulae. The overall goal of these efforts is to provide semantically enriched standard conforming MathML representations to the public for formulae in digital mathematics libraries. These representations include presentation MathML, content MathML, generic , semantic , and now CAS representations as well.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    The mention of specific products, trademarks, or brand names is for purposes of identification only. Such mention is not to be interpreted in any way as an endorsement or certification of such products or brands by the National Institute of Standards and Technology, nor does it imply that the products so identified are necessarily the best available for the purpose. All trademarks mentioned herein belong to their respective owners.

  2. 2.

    The usage of multiple @ symbols in Miller’s macro set provides capability for alternative presentations, such as \(\sin (z)\) and \(\sin \;z\) for one and two @ symbols respectively.

  3. 3.

    \idot is our semantic macro which represents multiplication without any corresponding presentation appearance.

  4. 4.

    See for instance: http://dlmf.nist.gov/software.

  5. 5.

    We are planning to make the dataset available from http://drmf.wmflabs.org.

References

  1. DLMF Standard Reference Tables. http://dlmftables.uantwerpen.be/. Joint project of NIST ACMD and U. Antwerp’s CMA Group, Seen June 2017

  2. Backeljauw, F., Cuyt, A.: Algorithm 895: a continued fractions package for special functions. Trans. Math. Softw. 36(3), Art. 15, 20 (2009). Association for Computing Machinery

    Google Scholar 

  3. Cohl, H.S., Schubotz, M., McClain, M.A., Saunders, B.V., Zou, C.Y., Mohammed, A.S., Danoff, A.A.: Growing the digital repository of mathematical formulae with generic LaTeX sources. In: Kerber, M., Carette, J., Kaliszyk, C., Rabe, F., Sorge, V. (eds.) CICM 2015. LNCS, vol. 9150, pp. 280–287. Springer, Cham (2015). doi:10.1007/978-3-319-20615-8_18

    Chapter  Google Scholar 

  4. Cuyt, A., Petersen, V.B., Verdonk, B., Waadeland, H., Jones, W.B.: Handbook of Continued Fractions for Special Functions. Springer, New York (2008). With contributions by Franky Backeljauw and Catherine Bonan-Hamada, Verified numerical output by Stefan Becuwe and Cuyt

    MATH  Google Scholar 

  5. Olver, F.W.J., Olde Daalhuis, A.B., Lozier, D.W., Schneider, B.I., Boisvert, R.F., Clark, C.W., Miller, B.R., Saunders, B.V. (eds.) NIST Digital Library of Mathematical Functions. http://dlmf.nist.gov/. Release 1.0.15 of 01 June 2017

  6. Weisstein, E.: eCF Encoding Continued Fraction Knowledge in Computational Form. http://www.wolfram.com/broadcast/video.php?c=385&v=1342. Seen June 2017

  7. Ginev, D.: LaTeXML-Plugin-MathSyntax. https://github.com/dginev/LaTeXML-Plugin-MathSyntax/. Seen June 2017

  8. Bernardin, L., Chin, P., DeMarco, P., Geddes, K.O., Hare, D.E.G., Heal, K.M., Labahn, G., May, J.P., McCarron, J., Monagan, M.B., Ohashi, D., Vorkoetter, S.M.: Maple Programming Guide. Maplesoft, a division of Waterloo Maple Inc. (2016)

    Google Scholar 

  9. Maplesoft. OpenMaple API, Seen March 2017. https://www.maplesoft.com/support/help/Maple/view.aspx?path=OpenMaple. Since Maple 9, Seen June 2017

  10. Maplesoft. Produce output suitable for LaTeX2e. http://www.maplesoft.com/support/help/Maple/view.aspx?path=latex. Since version Maple 18

  11. Miller, B.R.: Drafting DLMF Content Dictionaries. Talk presented at the OpenMath Workshop of the 9th Conference on Intelligent Computer Mathematics, CICM 2016 (2016)

    Google Scholar 

  12. Miller, B.R.: LaTeXML: A to XML converter. http://dlmf.nist.gov/LaTeXML/. Seen June 2017

  13. Miller, B.R., Youssef, A.: Technical aspects of the digital library of mathematical functions. Ann. Math. Artif. Intell. 38(1–3), 121–136 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  14. Pagel, R., Schubotz, M.: Mathematical language processing project. In: CICM Workshops. CEUR Workshop Proceedings, vol. 1186. CEUR-WS.org (2014)

    Google Scholar 

  15. Wolfram Research. Generating and Importing TeX. https://reference.wolfram.com/language/tutorial/GeneratingAndImportingTeX.html

  16. S. Wolfram. Computational Knowledge of Continued Fractions. http://blog.wolframalpha.com/2013/05/16/computational-knowledge-of-continued-fractions. Seen June 2017

  17. Schubotz, M., Grigoriev, A., Cohl, H.S., Meuschke, N., Gipp, B., Youssef, A., Leich, M., Markl, V.: Semantification of identifiers in mathematics for better math information retrieval. In: The 39th Annual ACM Special Interest Group on Information Retrieval, Pisa, Tuscany, Italy (2016)

    Google Scholar 

  18. Schubotz, M., Wicke, G.: Mathoid: robust, scalable, fast and accessible math rendering for wikipedia. In: Watt, S.M., Davenport, J.H., Sexton, A.P., Sojka, P., Urban, J. (eds.) CICM 2014. LNCS, vol. 8543, pp. 224–235. Springer, Cham (2014). doi:10.1007/978-3-319-08434-3_17

    Chapter  Google Scholar 

  19. Youssef, A.: Part-of-math tagging and applications. Submitted to the 10th Conference on Intelligent Computer Mathematics (CICM 2017), Edinburgh, Scotland, July 2017

    Google Scholar 

Download references

Acknowledgements

We are indebted to Wikimedia Labs, the XSEDE project, Springer-Verlag, the California Institute of Technology, and Maplesoft for their contributions and continued support. We would also like to thank Eric Weisstein for supplying the Wolfram eCF dataset, Annie Cuyt, Franky Backeljauw, and Stefan Becuwe for supplying the University of Antwerp CFSF Maple dataset, and Adri Olde Daalhuis for discussions related to complex multivalued functions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Howard S. Cohl .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Cohl, H.S. et al. (2017). Semantic Preserving Bijective Mappings of Mathematical Formulae Between Document Preparation Systems and Computer Algebra Systems. In: Geuvers, H., England, M., Hasan, O., Rabe, F., Teschke, O. (eds) Intelligent Computer Mathematics. CICM 2017. Lecture Notes in Computer Science(), vol 10383. Springer, Cham. https://doi.org/10.1007/978-3-319-62075-6_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-62075-6_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-62074-9

  • Online ISBN: 978-3-319-62075-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics