Linear Recurrences with Polynomial Coefficients and Computation of the Cartier-Manin Operator on Hyperelliptic Curves

  • Alin Bostan
  • Pierrick Gaudry
  • Éric Schost
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2948)


We improve an algorithm originally due to Chudnovsky and Chudnovsky for computing one selected term in a linear recurrent sequence with polynomial coefficients. Using baby-steps / giant-steps techniques, the nth term in such a sequence can be computed in time proportional to \(\sqrt{n}\), instead of n for a naive approach.

As an intermediate result, we give a fast algorithm for computing the values taken by an univariate polynomial P on an arithmetic progression, taking as input the values of P on a translate on this progression.

We apply these results to the computation of the Cartier-Manin operator of a hyperelliptic curve. If the base field has characteristic p, this enables us to reduce the complexity of this computation by a factor of order \(\sqrt{p}\). We treat a practical example, where the base field is an extension of degree 3 of the prime field with p = 23232 – 5 elements.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
  2. 2.
    Aho, A.V., Steiglitz, K., Ullman, J.D.: Evaluating polynomials at fixed sets of points. SIAM J. Comput. 4(4), 533–539 (1975)MATHCrossRefMathSciNetGoogle Scholar
  3. 3.
    Bailey, D., Paar, C.: Optimal extension fields for fast arithmetic in public-key algorithms. In: Krawczyk, H. (ed.) CRYPTO 1998. LNCS, vol. 1462, pp. 472–485. Springer, Heidelberg (1998)Google Scholar
  4. 4.
    Borodin, A., Moenck, R.T.: Fast modular transforms. Comput. System Sci. 8(3), 366–386 (1974)MATHMathSciNetCrossRefGoogle Scholar
  5. 5.
    Bosma, W., Cannon, J., Playoust, C.: The Magma algebra system. I. The user language. J. Symb. Comp. 24(3-4), 235–265 (1997), See also Google Scholar
  6. 6.
    Bostan, A., Lecerf, G., Schost, É.: Tellegen’s principle into practice. In: Proceedings of ISSAC 2003, pp. 37–44. ACM Press, New York (2003)CrossRefGoogle Scholar
  7. 7.
    Bürgisser, P., Clausen, M., Shokrollahi, M.A.: Algebraic complexity theory. Grundlehren Math. Wiss., vol. 315. Springer, Heidelberg (1997)MATHGoogle Scholar
  8. 8.
    Cantor, D.G., Kaltofen, E.: On fast multiplication of polynomials over arbitrary algebras. Acta Informatica 28(7), 693–701 (1991)MATHCrossRefMathSciNetGoogle Scholar
  9. 9.
    Cartier, P.: Une nouvelle opération sur les formes différentielles. C. R. Acad. Sci. Paris 244, 426–428 (1957)MATHMathSciNetGoogle Scholar
  10. 10.
    Chudnovsky, D.V., Chudnovsky, G.V.: Approximations and complex multiplication according to Ramanujan. In: Ramanujan revisited, Urbana-Champaign, Ill, 1987, pp. 375–472. Academic Press, Boston (1988)Google Scholar
  11. 11.
    Flajolet, P., Salvy, B.: The SIGSAM challenges: Symbolic asymptotics in practice. SIGSAM Bull. 31(4), 36–47 (1997)CrossRefGoogle Scholar
  12. 12.
    Gaudry, P., Gürel, N.: Counting points in medium characteristic using Kedlaya’s algorithm. To appear in Experiment. Math.Google Scholar
  13. 13.
    Gaudry, P., Harley, R.: Counting points on hyperelliptic curves over finite fields. In: Bosma, W. (ed.) ANTS 2000. LNCS, vol. 1838, pp. 313–332. Springer, Heidelberg (2000)CrossRefGoogle Scholar
  14. 14.
    Gaudry, P., Schost, É.: Cardinality of a genus 2 hyperelliptic curve over GF(5 . 1024 + 41). e-mail to the NMBRTHRY mailing list (September 2002)Google Scholar
  15. 15.
    Hanrot, G., Quercia, M., Zimmermann, P.: The middle product algorithm, I. Speeding up the division and square root of power series (preprint)Google Scholar
  16. 16.
    Hasse, H., Witt, E.: Zyklische unverzweigte Erweiterungskörper vom primzahlgrade p über einem algebraischen Funktionenkörper der Charakteristik p. Monatsch. Math. Phys. 43, 477–492 (1936)MATHMathSciNetGoogle Scholar
  17. 17.
    Kaltofen, E., Corless, R.M., Jeffrey, D.J.: Challenges of symbolic computation: my favorite open problems. J. Symb. Comp. 29(6), 891–919 (2000)MATHCrossRefMathSciNetGoogle Scholar
  18. 18.
    Kedlaya, K.: Countimg points on hyperelliptic curves using Monsky-Washnitzer. J. Ramanujan Math. Soc. 16, 323–338 (2001)MATHMathSciNetGoogle Scholar
  19. 19.
    Keller-Gehrig, W.: Fast algorithms for the characteristic polynomial. Theor. Comput. Sci. 36(2-3), 309–317 (1985)MATHCrossRefMathSciNetGoogle Scholar
  20. 20.
    Manin, J.I.: The Hasse-Witt matrix of an algebraic curve. Trans. Amer. Math. Soc. 45, 245–264 (1965)Google Scholar
  21. 21.
    Matsuo, K., Chao, J., Tsujii, S.: An improved baby step giant step algorithm for point counting of hyperelliptic curves over finite fields. In: Fieker, C., Kohel, D.R. (eds.) ANTS 2002. LNCS, vol. 2369, pp. 461–474. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  22. 22.
    Moenck, R.T., Borodin, A.: Fast modular transforms via division. In: Thirteenth Annual IEEE Symposium on Switching and Automata Theory, Univ. Maryland, College Park, Md., pp. 90–96 (1972)Google Scholar
  23. 23.
    Pollard, J.M.: Theorems on factorization and primality testing. Proc. Cambridge Philos. Soc. 76, 521–528 (1974)MATHCrossRefMathSciNetGoogle Scholar
  24. 24.
    Schönhage, A.: Schnelle Multiplikation von Polynomen über Körpern der Charakteristik 2. Acta Informatica 7, 395–398 (1977)MATHCrossRefGoogle Scholar
  25. 25.
    Schönhage, A., Strassen, V.: Schnelle Multiplikation großer Zahlen. Computing 7, 281–292 (1971)MATHCrossRefGoogle Scholar
  26. 26.
    Shoup, V.: NTL: A library for doing number theory,
  27. 27.
    Shoup, V.: A fast deterministic algorithm for factoring polynomials over finite fields of small characteristic. In: Proceedings of ISSAC 1991, pp. 14–21. ACM Press, New York (1991)CrossRefGoogle Scholar
  28. 28.
    Stöhr, K.-O., Voloch, J.: A formula for the Cartier operator on plane algebraic curves. J. Reine Angew. Math. 377, 49–64 (1987)MATHMathSciNetCrossRefGoogle Scholar
  29. 29.
    Strassen, V.: Gaussian elimination is not optimal. Numer. Math. 13, 354–356 (1969)MATHCrossRefMathSciNetGoogle Scholar
  30. 30.
    Strassen, V.: Einige Resultate über Berechnungskomplexität. Jber. Deutsch. Math.- Verein. 78(1), 1–8 (1976/1977)Google Scholar
  31. 31.
    von zur Gathen, J., Gerhard, J.: Modern computer algebra. Cambridge University Press, Cambridge (1999)MATHGoogle Scholar
  32. 32.
    Wan, D.: Computing zeta functions over finite fields. Contemp. Math. 225, 131–141 (1999)Google Scholar
  33. 33.
    Yui, N.: On the Jacobian varietes of hyperelliptic curves over fields of characteristic p > 2. J. Algebra 52, 378–410 (1978)MATHCrossRefMathSciNetGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2004

Authors and Affiliations

  • Alin Bostan
    • 1
    • 2
  • Pierrick Gaudry
    • 3
  • Éric Schost
    • 1
  1. 1.Laboratoire STIXÉcole polytechniqueFrance
  2. 2.IMARRomania
  3. 3.Laboratoire LIXÉcole polytechniqueFrance

Personalised recommendations