[Paper Review] Ore Polynomials in Sage
This paper presents a Sage implementation of Ore algebras, enabling symbolic computation with linear operators such as differential and recurrence operators. It supports key operations like arithmetic, GCRD/LCLM, closure properties, guessing of linear equations from sequences, and solvers for polynomials, rational functions, and power series, offering a unified framework for representing and manipulating special functions and sequences via their defining equations.
We present a Sage implementation of Ore algebras. The main features for the most common instances include basic arithmetic and actions; gcrd and lclm; D-finite closure properties; natural transformations between related algebras; guessing; desingularization; solvers for polynomials, rational functions and (generalized) power series. This paper is a tutorial on how to use the package.
Motivation & Objective
- To provide a comprehensive, user-friendly Sage package for symbolic computation with Ore algebras, particularly for D-finite functions and sequences.
- To support core operations such as arithmetic, GCRD, LCLM, and closure properties in Ore algebras.
- To enable guessing of linear operators from finite sequences using structured search heuristics.
- To implement solvers for polynomials, rational functions, and generalized power series in Ore algebra settings.
- To facilitate natural transformations between related Ore algebras and support multivariate generalizations.
Proposed method
- The package implements Ore algebras via base rings and generators with specified commutation rules defined by endomorphisms σ and skew-derivations δ, satisfying Xa = σ(a)X + δ(a).
- Generators are named with prefixes (e.g., D for derivation, S for shift, Q for q-shift) to automatically assign standard commutation rules.
- Users can define custom algebras by explicitly specifying σ and δ as dictionaries mapping base ring generators to their images.
- The system supports multivariate Ore algebras, though functionality is currently limited to basic arithmetic for multiple generators.
- Guessing is performed by testing points (r,d) on a path below the data availability hyperbola (r+1)(d+2) < N, using partial information to infer minimal-order operators.
- Customizable search parameters include min_order, max_order, min_degree, max_degree, ensure, and cut to control reliability and performance.
Experimental results
Research questions
- RQ1How can Ore algebras be effectively integrated into the Sage computer algebra system to support symbolic computation with linear operators?
- RQ2What algorithmic strategies enable reliable guessing of linear operators from finite sequences of terms?
- RQ3How can the system balance computational efficiency and reliability when searching for minimal-order operators in sparse data?
- RQ4What transformations between related Ore algebras (e.g., differential to recurrence) are feasible and useful in practice?
- RQ5How can user-defined commutation rules be flexibly encoded and computed within a symbolic framework?
Key findings
- The implementation provides full support for basic arithmetic, GCRD, LCLM, and closure properties in common Ore algebras such as differential and recurrence operators.
- The package includes a robust guessing function that infers minimal-order linear operators from finite sequences, with configurable reliability via ensure and cut parameters.
- Desingularization of operators is supported, enabling the removal of apparent singularities in recurrence operators.
- Solvers are available for polynomials, rational functions, and generalized power series, allowing exact representation and manipulation of special functions.
- The system supports natural transformations between related algebras, such as converting between differential and recurrence operators.
- The implementation is extensible, allowing users to define custom algebras with user-specified σ and δ maps, and supports q-structures when q is provided in the base ring.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.