A Purely Functional Computer Algebra System Embedded in Haskell

Hiromi Ishii
7/4/2018
cs.SCcs.PL

Official code: konn/computational-algebra (96 stars, HTML, BSD-3-Clause, last commit 2024-09-07).

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.

Show full abstract

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öbner basis algorithms, such as Faugère's $F_4$ and $F_5$, in a composable way.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

General-Purpose Computer Algebra System as an EDSL in Haskell

969HTML, HaskellJan 13, 20132 years agoBSD-3-Clause
algorithmcomputational-algebragroebner-basishaskellideal+3 more

Similar Papers

Cite this paper

@article{ishii2018purely,
  title  = {A Purely Functional Computer Algebra System Embedded in Haskell},
  author = {Hiromi Ishii},
  year   = {2018},
  eprint = {1807.01456},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.01456}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.01456.svg)](https://codeofpaper.com/paper/1807.01456)

Discussion