一个嵌入Haskell的实用函数型计算机代数系统
A Purely Functional Computer Algebra System Embedded in Haskell
摘要:
我们演示了如何在函数式编程方法可以用来实现一个计算机代数系统。作为概念验证,我们提出了计算代数包。它是一个计算机代数系统,在Haskell(一种纯函数式程序设计语言)中作为嵌入式领域特定语言实现。利用函数式编程的方法和Haskell的突出特性,该库同时实现了安全性,可组合性和正确性。为了证明我们的方法的优点,我们已经实现了先进的格罗布纳基算法,如Faugère的$F_4$和$F_5$,在一个可组合的方式。
英文摘要:
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öbner basis algorithms, such as Faugère's $F_4$ and $F_5$, in a composable way.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。