Computing A1-Euler numbers with Macaulay2
Sabrina Pauli
TL;DR
The paper develops and applies Macaulay2-based computations to enrich classical enumerative geometry with A1- (Grothendieck–Witt) data. By computing the A1-Euler numbers for vector bundles on Grassmannians and related bundles, it derives enriched counts for lines on cubic surfaces, lines meeting general lines, and singular elements in pencils, producing explicit GW-classes such as e^{A1}(Sym^3 S*) = 15⟨1⟩+12⟨-1⟩ and related hyperbolic multiples. It also formalizes and computes EKL-forms and A1-Milnor numbers for singularities, including Du Val types, via dedicated EKL-code and discusses the connections to existing theories of Witt-valued characteristic classes. The work provides concrete code and examples that demonstrate how Macaulay2 can operationalize A1-enrichment in enumerative problems, offering new proofs and quantitative invariants that refine complex and real counts in GW(k).
Abstract
We use Macaulay2 for several enriched counts in GW(k). First, we compute the count of lines on a general cubic surface using Macaulay2 over Fp in GW(Fp) for p a prime number and over the rational numbers Q in GW(Q). This gives a new proof for the fact that the count of lines on a cubic surface is 3+12h in GW(k) where h denotes the hyperbolic form. Then, we compute the count of lines in P3 meeting 4 general lines, the count of lines on a quadratic surface meeting one general line and the count of singular elements in a pencil of degree d-surfaces. Finally, we provide code to compute the EKL-form and compute several A1-Milnor numbers.
