[Paper Review] Rigorous Multiple-Precision Evaluation of D-Finite Functions in SageMath
This paper presents a new open-source implementation in SageMath for rigorously evaluating D-finite functions—solutions to linear ODEs with polynomial coefficients—using validated numerical methods with arbitrary precision and rigorous error bounds. It supports connection problems between regular singular points and enables high-precision computation of special functions and asymptotic series, as demonstrated in applications to lattice Green's functions and Apéry's constant.
We present a new open source implementation in the SageMath computer algebra system of algorithms for the numerical solution of linear ODEs with polynomial coefficients. Our code supports regular singular connection problems and provides rigorous error bounds.
Motivation & Objective
- To develop a numerically validated, high-precision solver for D-finite functions in SageMath.
- To support regular singular connection problems for linear ODEs with polynomial coefficients.
- To provide rigorous error bounds for numerical evaluations in arbitrary precision.
- To enable accurate computation of special functions and asymptotic series using symbolic-numeric algorithms.
- To supersede the NumGfun package with enhanced numerical capabilities in the ore_algebra framework.
Proposed method
- Representing differential operators as Ore polynomials in the ring $\mathbb{K}[x]\langle D_x\rangle$ with the commutation rule $D_x x = x D_x + 1$.
- Using the numerical transition matrix between regular singular points to solve connection problems, e.g., from $x=0$ to $x=1$ or $x=\alpha^{-1}$.
- Computing local canonical bases at regular singular points using the `local_basis_monomials` method to identify analytic and logarithmic solutions.
- Applying validated numerical evaluation with error bounds via arbitrary-precision arithmetic and interval arithmetic in the CBF library.
- Using the `numerical_transition_matrix` function to compute the transformation matrix between local solutions at different singular points.
- Combining symbolic preprocessing with high-precision numerical integration and series evaluation to ensure correctness and accuracy.
Experimental results
Research questions
- RQ1How can D-finite functions be evaluated with rigorous error bounds in arbitrary precision?
- RQ2What is the most efficient way to compute connection matrices between regular singular points of linear ODEs with polynomial coefficients?
- RQ3Can high-precision numerical evaluation of special functions be achieved using symbolic-numeric algorithms based on differential operators?
- RQ4How can the asymptotic behavior of sequences like Apéry's numbers be analyzed using numerical solutions of their generating function ODEs?
- RQ5What role do logarithmic and algebraic singularities play in the structure of solutions, and how can they be handled in numerical evaluation?
Key findings
- The value of the four-dimensional face-centered cubic lattice Green's function at $x=1$ is computed as $P(1) = 1.1058437979212047601829954708859 \pm 4.90 \times 10^{-32}$, with a negligible imaginary part.
- The coefficient of the logarithmic term in the local basis at $x=\alpha^{-1} \approx 0.0294$ is found to be non-zero, confirming that the generating function $a(x)$ grows as $\alpha^{n+o(n)}$.
- The asymptotic growth rate of Apéry's sequence $a_n$ is confirmed as $a_n \sim \sqrt{\alpha} (2\pi\sqrt{2})^{-3/2} n^{-3/2} \alpha^n$, with the constant $\lambda \approx 0.220043767112643$ computed to high precision.
- The ratio of the coefficients of the $f_1$ component in the decomposition of $b(x)$ and $a(x)$ at $x=\alpha^{-1}$ yields $\zeta(3) \approx 1.2020569031595942853997381615114499907650 \pm 6.08 \times 10^{-41}$.
- The implementation successfully computes the transition matrix from $x=0$ to $x=1$ with precision $10^{-60}$, demonstrating feasibility of high-precision evaluation in complex connection problems.
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.