Motives meet SymPy: studying $λ$-ring expressions in Python
Daniel Sanchez, David Alfaya, Jaime Pizarroso
TL;DR
The paper tackles the challenge of manipulating motivic expressions in the Grothendieck ring by introducing motives, a general-purpose Python package integrated with SymPy that implements λ-ring calculus via Adams operations. It presents a robust simplification workflow that rewrites expressions as polynomials in Adams operations and provides a modular architecture with Curves, Groups, and moduli motives. The authors demonstrate significant performance gains and succeed in verifying Mozgovoy's conjectural formula for the motive of twisted Higgs bundle moduli spaces up to genus $g\le 18$ and rank $r\le 3$, illustrating the practical impact of scalable symbolic tools in algebraic geometry. The work lays a foundation for broader motivic computations and future extensions to additional moduli spaces and λ-ring structures.
Abstract
We present a new Python package called "motives", a symbolic manipulation package based on SymPy capable of handling and simplifying motivic expressions in the Grothendieck ring of Chow motives and other types of $λ$-rings. The package is able to manipulate and compare arbitrary expressions in $λ$-rings and, in particular, it contains explicit tools for manipulating motives of several types of commonly used moduli schemes and moduli stacks of decorated bundles on curves. We have applied this new tool to advance in the verification of Mozgovoy's conjectural formula for the motive of the moduli space of twisted Higgs bundles, proving that it holds in rank 2 and 3 for any curve of genus up to 18 and any twisting bundle of small degree.
