Paperlane

no. 16 · Tuesday 17 November 2026

ECPack.wl: A Mathematica Package for Elliptic Curves over the Rationals and Finite Fields

B. Ananthanarayan, Darsh R. Bhatt and Parastoo Taghizadeh Asl

math.NT · code

Abstract

We present a Mathematica package entitled ECPack.wl, where we implement many important properties and commands relevant to the study of elliptic curves over the rationals and finite fields, namely $\mathbb{Q}$ and $\mathbb{F}_q$, where $q=p^r$ and $p$ is prime. By streamlining the analysis of general elliptic curves and their transformations, ECPack.wl offers foundational computational tools for applications in high-energy physics, including elliptic Feynman integrals. This package significantly extends the functionalities of a package due to McGee in so far as we are able to study all versions of elliptic curves, such as the long Weierstrass, quartic and Legendre forms. We implement suitable transformations that are required for the general case, as well as those associated with fields of characteristic 2 and 3. Furthermore, the package computes many curve properties, such as point arithmetic, minimality checks, rank bounds and analytic rank, group structure, invariants, and the Weil and Tate pairings, over both $\mathbb{Q}$ and $\mathbb{F}_p$, as well as the Kodaira classification of the singular fibres of one-parameter families of elliptic curves, with the associated F-theory data. The package and its accompanying notebooks are available at https://github.com/DhamakedarDarsh/Mathematica-Code-and-worked-out-notebooks-for-Elliptic-Curves

code
github.com/DhamakedarDarsh/Mathematica-Code-and-worked-out-notebooks-for-Elliptic-Curves
fields
Number Theory, Mathematical Physics
pdf ↗ page arXiv:2611.20548 ↗