Skip to content

Conversation

@xcaruso
Copy link
Contributor

@xcaruso xcaruso commented Oct 29, 2025

We implement the class HypergeometricAlgebraic which provides methods for dealing with algebraic properties of hypergeometric functions, including algebraicity, global boundedness and stuffs about reductions modulo primes (p-curvature, annihilating polynomial, Lucas property, etc.)

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

Dependences

#41205

@xcaruso
Copy link
Contributor Author

xcaruso commented Oct 29, 2025

@mantepse: we (Florian and I) point out this PR that you might be interested in reviewing (when finished) :-)

@github-actions
Copy link

github-actions bot commented Oct 29, 2025

Documentation preview for this PR (built with commit d9af29a; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@mantepse
Copy link
Contributor

Is the new framework suitable to express whether a P-recursive sequence can be written as a linear combination of hypergeometric terms (using https://en.wikipedia.org/wiki/Petkov%C5%A1ek%27s_algorithm)?

(I'm not asking to implement the algorithm, it is only whether the framework would allow to express spaces of hypergeometric functions)

@xcaruso
Copy link
Contributor Author

xcaruso commented Nov 11, 2025

I'm not entirely sure to understand your question but we have parents for hypergeometric functions over any base ring. Nonetheless, our hypergeometric functions are not that general than the ones of the Wikipedia page you linked since we require that the numerators and denominators of the rational function $r(n)$ are split.

However, I usually consider Petkovšek algorithm as an algorithm for finding linear factors of a Ore polynomial in $K(n)[\text{shift}]$. So maybe, the right place to implement it is in (the suitable subclass of) OrePolynomial.

@xcaruso
Copy link
Contributor Author

xcaruso commented Nov 11, 2025

I'm not entirely sure to understand your question but we have parents for hypergeometric functions over any base ring. Nonetheless, our hypergeometric functions are not that general than the ones of the Wikipedia page you linked since we require that the numerators and denominators of the rational function $r(n)$ are split.

Well, they are actually also more general in another direction since they include the case of positive characteristic (with parameters in $\mathbb Q$).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants