LinApart: optimizing the univariate partial fraction decomposition
Bakar Chargeishvili, Levente Fekésházy, Gábor Somogyi, Sam Van Thurenhout
TL;DR
LinApart tackles the bottleneck of univariate partial fraction decomposition for large symbolic expressions in perturbative quantum field theory. It introduces a closed‑form, residue‑based decomposition formula for rational functions with fully factorized denominators and implements it in both Mathematica and C. The authors report dramatic performance gains over the built‑in Apart routine across diverse input classes and provide practical options to optimize large decompositions, including term pre‑collection and factorization strategies. The work enables efficient decomposition of complex expressions encountered in loop and phase space integrals and can be integrated with other tools such as FORM, though it currently omits non‑linear denominators in its core formulation and suggests future extensions to quadratic factors.
Abstract
We present LinApart, a routine designed for efficiently performing the univariate partial fraction decomposition of large symbolic expressions. Our method is based on an explicit closed formula for the decomposition of rational functions with fully factorized denominators. We provide implementations in both the Wolfram Mathematica and C languages, made available at https://github.com/fekeshazy/LinApart . The routine can provide very significant performance gains over available tools such as the Apart command in Mathematica.
