A Purely Functional Computer Algebra System Embedded in Haskell
Symbolic Computation
2018-10-02 v2 Programming Languages
Abstract
We demonstrate how methods in Functional Programming can be used to implement a computer algebra system. As a proof-of-concept, we present the computational-algebra package. It is a computer algebra system implemented as an embedded domain-specific language in Haskell, a purely functional programming language. Utilising methods in functional programming and prominent features of Haskell, this library achieves safety, composability, and correctness at the same time. To demonstrate the advantages of our approach, we have implemented advanced Gr\"{o}bner basis algorithms, such as Faug\`{e}re's and , in a composable way.
Cite
@article{arxiv.1807.01456,
title = {A Purely Functional Computer Algebra System Embedded in Haskell},
author = {Hiromi Ishii},
journal= {arXiv preprint arXiv:1807.01456},
year = {2018}
}
Comments
16 pages, Accepted to CASC 2018