Numerical Integration in Arbitrary-Precision Ball Arithmetic

Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10931)


We present an implementation of arbitrary-precision numerical integration with rigorous error bounds in the Arb library. Rapid convergence is ensured for piecewise complex analytic integrals by use of the Petras algorithm, which combines adaptive bisection with adaptive Gaussian quadrature where error bounds are determined via complex magnitudes without evaluating derivatives. The code is general, easy to use, and efficient, often outperforming existing non-rigorous software.


Numerical integration Interval arithmetic Special functions 


  1. 1.
    Bailey, D.H., Borwein, J.M.: High-precision numerical integration: progress and challenges. J. Symbolic Comput. 46(7), 741–754 (2011)MathSciNetCrossRefGoogle Scholar
  2. 2.
    Cranley, R., Patterson, T.N.L.: On the automatic numerical evaluation of definite integrals. Comput. J. 14(2), 189–198 (1971)MathSciNetCrossRefGoogle Scholar
  3. 3.
  4. 4.
    Johansson, F.: Arb: efficient arbitrary-precision midpoint-radius interval arithmetic. IEEE Trans. Comput. 66, 1281–1292 (2017)MathSciNetCrossRefGoogle Scholar
  5. 5.
    Johansson, F.: mpmath version 1.0 (2017).
  6. 6.
    Johansson, F., Mezzarobba, M.: Fast and rigorous arbitrary-precision computation of Gauss-Legendre quadrature nodes and weights (2018). arXiv:1802.03948
  7. 7.
    Mahboubi, A., Melquiond, G., Sibut-Pinote, T.: Formally verified approximations of definite integrals. In: Blanchette, J.C., Merz, S. (eds.) ITP 2016. LNCS, vol. 9807, pp. 274–289. Springer, Cham (2016). Scholar
  8. 8.
    Petras, K.: Self-validating integration and approximation of piecewise analytic functions. J. Comp. Appl. Math. 145(2), 345–359 (2002)MathSciNetCrossRefGoogle Scholar
  9. 9.
    Rump, S.M.: Verification methods: rigorous results using floating-point arithmetic. Acta Numerica 19, 287–449 (2010)MathSciNetCrossRefGoogle Scholar
  10. 10.
    The Pari group. Pari/GP version 2.9.4 (2017).
  11. 11.
    The SageMath developers. SageMath version 8.2 (2018).

Copyright information

© Springer International Publishing AG, part of Springer Nature 2018

Authors and Affiliations

  1. 1.LFANT – INRIA – IMBBordeauxFrance

Personalised recommendations