arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.25879cs.SCmath.COmath.RA
收藏

Arboretum.hs: 图代数的符号运算

Arboretum.hs: Symbolic manipulation for algebras of graphs

Mathematical Sciences, Chalmers and Gothenburg University(查尔姆斯理工大学和哥德堡大学);Department of Computer Science, University of Geneva(日内瓦大学);Section of Mathematics, University of Geneva(日内瓦大学)

Eugen Bronasco, Jean-Luc Falcone, Gilles Vilmart

AI总结:

Arboretum.hs 通过 Haskell 实现图代数的符号运算,提供直观的数学定义代码,支持新运算实验和 LaTeX 渲染,相比 Julia 和 Python 等语言更具灵活性和安全性。

摘要:

我们设计了 Arboretum.hs 包,用于 Haskell 中树和更一般图的代数符号计算。得益于函数式编程的声明性,该包的实现紧密遵循数学定义,使代码对处理代数和组合结构的用户直观透明。为了协助当前数学研究,Arboretum.hs 通过促进新代数运算的引入以及通过 LaTeX 集成提供树和森林的渲染功能来支持实验。与近期在 Julia 或 Python 等语言中的命令式实现相比,Arboretum.hs 在处理和扩展基于树的结构时提供了更大的灵活性。其使用 Haskell 允许安全编程和强大的编译时保证,既作为实用计算工具,也为代数组合学的进一步研究提供了基础,超越了通常在 Butcher 系列实现中考虑的树的设置,Butcher 系列是分析数值积分器的核心工具。

英文摘要:

We design the Arboretum$.$hs package for symbolic computations with algebras of trees and more general graphs in Haskell. Thanks to the declarative nature of functional programming, the package's implementation closely follows mathematical definitions, making the code intuitive and transparent for users working with algebraic and combinatorial structures. To assist with current mathematical research, Arboretum$.$hs supports experimentation by facilitating the introduction of new algebraic operations, as well as providing functionality for rendering trees and forests through LaTeX integration. Compared to recent imperative implementations in languages such as Julia or Python, Arboretum$.$hs offers greater flexibility for manipulating and extending tree-based structures. Its use of Haskell enables safe programming and strong compile-time guarantees, serving both as a practical computational tool and a foundation for further research in algebraic combinatorics, beyond the setting of trees usually considered in the implementation of Butcher series, which are a fundamental tool for the analysis of numerical integrators.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑