Semantic preserving bijective mappings for expressions involving special functions between computer algebra systems and document preparation systems

André Greiner-Petter (School of Electrical, Information and Media Engineering, University of Wuppertal, Wuppertal, Germany)
Moritz Schubotz (School of Electrical, Information and Media Engineering, University of Wuppertal, Wuppertal, Germany)
Howard S. Cohl (Applied and Computational Mathematics Division, National Institute of Standards and Technology, Mission Viejo, California, USA)
Bela Gipp (School of Electrical, Information and Media Engineering, University of Wuppertal, Wuppertal, Germany)

Aslib Journal of Information Management

ISSN: 2050-3806

Publication date: 20 May 2019

Abstract

Purpose

Modern mathematicians and scientists of math-related disciplines often use Document Preparation Systems (DPS) to write and Computer Algebra Systems (CAS) to calculate mathematical expressions. Usually, they translate the expressions manually between DPS and CAS. This process is time-consuming and error-prone. The purpose of this paper is to automate this translation. This paper uses Maple and Mathematica as the CAS, and LaTeX as the DPS.

Design/methodology/approach

Bruce Miller at the National Institute of Standards and Technology (NIST) developed a collection of special LaTeX macros that create links from mathematical symbols to their definitions in the NIST Digital Library of Mathematical Functions (DLMF). The authors are using these macros to perform rule-based translations between the formulae in the DLMF and CAS. Moreover, the authors develop software to ease the creation of new rules and to discover inconsistencies.

Findings

The authors created 396 mappings and translated 58.8 percent of DLMF formulae (2,405 expressions) successfully between Maple and DLMF. For a significant percentage, the special function definitions in Maple and the DLMF were different. An atomic symbol in one system maps to a composite expression in the other system. The translator was also successfully used for automatic verification of mathematical online compendia and CAS. The evaluation techniques discovered two errors in the DLMF and one defect in Maple.

Originality/value

This paper introduces the first translation tool for special functions between LaTeX and CAS. The approach improves error-prone manual translations and can be used to verify mathematical online compendia and CAS.

Keywords

Citation

Greiner-Petter, A., Schubotz, M., Cohl, H. and Gipp, B. (2019), "Semantic preserving bijective mappings for expressions involving special functions between computer algebra systems and document preparation systems", Aslib Journal of Information Management, Vol. 71 No. 3, pp. 415-439. https://doi.org/10.1108/AJIM-08-2018-0185

Download as .RIS

Publisher

:

Emerald Publishing Limited

Copyright © 2019, Emerald Publishing Limited

Please note you might not have access to this content

You may be able to access this content by login via Shibboleth, Open Athens or with your Emerald account.
If you would like to contact us about accessing this content, click the button and fill out the form.
To rent this content from Deepdyve, please click the button.