[Paper Review] The art of algorithmic guessing in $ exttt{gfun}$
This paper demonstrates how the Maple package gfun enables efficient algorithmic guessing of holonomic sequences and D-finite generating functions, using two recent mathematical research examples: proving monotonicity of a generating function related to random walks and discovering a hypergeometric identity for Canham’s model in biology. The approach combines symbolic computation with automated recurrence guessing and differential operator verification to streamline conjecture formation and proof in experimental mathematics.
The technique of guessing can be very fruitful when dealing with sequences which arise in practice. This holds true especially when guessing is performed algorithmically and efficiently. One highly useful tool for this purpose is the package named $ exttt{gfun}$ in the software Maple. In this text we explore and explain some of $ exttt{gfun}$'s possibilities and illustrate them on two examples from recent mathematical research by the author and his collaborators.
Motivation & Objective
- To illustrate the practical use of Maple’s gfun package for algorithmic guessing of holonomic sequences and D-finite generating functions.
- To demonstrate how automated guessing and subsequent proof via differential operators can accelerate discovery in experimental mathematics.
- To show that gfun supports parametric and complex expressions, including hypergeometric functions and symbolic parameters.
- To provide accessible, reproducible workflows for researchers to apply 'guess and prove' strategies in their own work.
Proposed method
- Use of gfun’s `guessgf` and `seriestorec` functions to infer minimal linear recurrence relations from sequence terms.
- Transformation of generating functions into hypergeometric forms using known identities and series expansions.
- Application of differential operators via `holexprtodiffeq` and `de2diffop` to derive D-finite equations from guessed expressions.
- Verification of identities by computing the greatest common right divisor (GCRD) of differential operators to confirm equivalence.
- Use of Gauss’ contiguous relations and summation theorems to simplify and validate hypergeometric expressions.
- Integration of symbolic computation with parametric coefficients, allowing automated handling of variables in recurrence and differential equations.
Experimental results
Research questions
- RQ1How can algorithmic guessing in gfun accelerate the discovery of closed-form identities for holonomic sequences?
- RQ2In what ways can gfun assist in proving monotonicity of generating functions arising in combinatorics and mathematical biology?
- RQ3Can automated recurrence guessing and differential operator verification replace or complement traditional human proofs in symbolic computation?
- RQ4How does the combination of gfun and DEtools enable the simplification and validation of complex hypergeometric expressions?
Key findings
- The generating function for the number of closed walks in a 3-regular graph was successfully guessed and verified using gfun, leading to a closed-form expression in terms of hypergeometric functions.
- A monotonicity proof for the generating function Iso(z) was completed by first guessing a recurrence for a transformed hypergeometric-like series and then verifying it via differential operator GCRD computation.
- An identity relating the derivative of a hypergeometric function to a generalized hypergeometric series was discovered and algorithmically confirmed using gfun and differential operator algebra.
- The method enabled the derivation of a parametric differential equation for wa(x), whose positivity of Taylor coefficients was established via a guessed first-order recurrence and verified using operator GCRD.
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.