Fast Computation of the Nth Term of an Algebraic Series over a Finite Prime Field
Alin Bostan, Gilles Christol, Philippe Dumas

TL;DR
This paper presents an efficient algorithm for computing the Nth term of algebraic power series over finite prime fields, reducing complexity from quasi-linear in sqrt(N) to logarithmic in N.
Contribution
It introduces a new algorithm leveraging automata and diagonals of rational functions to compute terms with complexity O(log N) over prime fields.
Findings
Complexity reduced to O(log N) over prime fields
Automata theory enables efficient computation of algebraic series
Algorithm is linear in log N and quasi-linear in p
Abstract
We address the question of computing one selected term of an algebraic power series. In characteristic zero, the best algorithm currently known for computing the th coefficient of an algebraic series uses differential equations and has arithmetic complexity quasi-linear in . We show that over a prime field of positive characteristic , the complexity can be lowered to . The mathematical basis for this dramatic improvement is a classical theorem stating that a formal power series with coefficients in a finite field is algebraic if and only if the sequence of its coefficients can be generated by an automaton. We revisit and enhance two constructive proofs of this result for finite prime fields. The first proof uses Mahler equations, whose sizes appear to be prohibitively large. The second proof relies on diagonals of rational functions; we turn it into an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
