[Paper Review] CHAPLIN - Complex Harmonic Polylogarithms in Fortran
This paper presents Chaplin, a high-performance Fortran library for numerically evaluating all harmonic polylogarithms (HPLs) up to weight four for arbitrary complex arguments. It achieves fast and accurate results by reducing HPLs to a minimal set of 32 basis functions, computed via optimized series expansions inside the unit circle and inversion relations outside, enabling efficient use in high-energy physics loop calculations with complex kinematics.
Abstract We present a new Fortran library to evaluate all harmonic polylogarithms up to weight four numerically for any complex argument. The algorithm is based on a reduction of harmonic polylogarithms up to weight four to a minimal set of basis functions that are computed numerically using series expansions allowing for fast and reliable numerical results. Title of program: Chaplin Catalogue Id: AETC_v1_0 Nature of problem Numerical evaluation of harmonic polylogarithms. Versions of this program held in the CPC repository in Mendeley Data AETC_v1_0; Chaplin; 10.1016/j.cpc.2014.05.022 This program has been imported from the CPC Program Library held at Queen's University Belfast (1969-2018)
Motivation & Objective
- To develop a fast and reliable numerical library for evaluating harmonic polylogarithms (HPLs) up to weight four for arbitrary complex arguments.
- To address the need for efficient HPL evaluation in next-to-next-to-leading order (NNLO) calculations in quantum field theory.
- To provide a Fortran-based solution that outperforms existing tools in speed while maintaining numerical accuracy across the complex plane.
- To enable accurate computation of HPLs in complex mass schemes and for general kinematic configurations involving massive particles.
Proposed method
- The library reduces all HPLs up to weight four to a minimal set of 32 basis functions, including classical polylogarithms and two new weight-four functions.
- Inside the unit circle, basis functions are computed using carefully chosen series expansions for fast convergence.
- Outside the unit circle, inversion relations are applied to map arguments into the interior of the unit disk for evaluation.
- The algorithm leverages the shuffle algebra of HPLs to systematically reduce higher-weight functions to lower-weight components.
- Numerical stability and precision are ensured through optimized series expansions and careful handling of logarithmic and polylogarithmic singularities.
- The implementation is in Fortran 77, chosen for performance-critical applications in high-energy physics.
Experimental results
Research questions
- RQ1How can harmonic polylogarithms up to weight four be evaluated efficiently and accurately for arbitrary complex arguments?
- RQ2What is the optimal reduction of HPLs to a minimal basis set that enables fast numerical evaluation?
- RQ3Can series expansions be constructed to ensure fast convergence both inside and outside the unit circle?
- RQ4How does the performance of this Fortran-based implementation compare to existing symbolic or C++-based tools?
- RQ5What is the numerical accuracy and reliability of the method across diverse complex kinematic configurations?
Key findings
- The Chaplin library evaluates all harmonic polylogarithms up to weight four in 0.2 to 400 microseconds per call, depending on the weight vector and argument.
- The method achieves high numerical accuracy, with results matching those of HPL (Mathematica) and GiNaC to at least 14 decimal places for test points like z = 2.0 + 2.0i.
- The reduction to 32 basis functions, including two new weight-four functions, enables a systematic and efficient evaluation strategy.
- Series expansions are constructed to ensure fast convergence, particularly in the interior of the unit circle, where most evaluations are performed.
- The use of inversion relations allows reliable evaluation for arguments outside the unit circle, extending applicability to complex mass schemes and general loop integrals.
- The library demonstrates superior performance compared to hplog (Fortran) and is competitive with symbolic tools like GiNaC in speed while being natively compiled and portable.
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.