All blog entries

Explicit Coleman integration over finite extensions of 𝐐p\mathbf{Q}_p

With Yulin Cai, we extended explicit Coleman integration from 𝐐p\mathbf{Q}_p to all finite extensions of 𝐐p\mathbf{Q}_p, ramified or not. Our Magma code can be used to find rational and quadratic points on curves over number fields.

Why this matters. Let XX be a curve of genus g≥2g \ge 2 over 𝐐\mathbf{Q} with Jacobian JJ. By Faltings’ theorem, X(𝐐)X(\mathbf{Q}) is finite, but the proof does not tell us how to find its points. The Chabauty–Coleman method can often find them. Fix a prime pp of good reduction and a rational point P0P_0. If rk⁡J(𝐐)<g\operatorname{rk}J(\mathbf{Q}) < g, there is a nonzero holomorphic differential ω\omega on XX over 𝐐p\mathbf{Q}_p such that the pp-adic function P↦∫P0PωP \mapsto \int_{P_0}^P \omega vanishes at every rational point. This function has only finitely many zeros, and we can compute them. These pp-adic integrals are called Coleman integrals, and computing them is the basic step of the method and of its newer variants such as quadratic and symmetric Chabauty. Balakrishnan and Tuitman gave an algorithm and Magma code for curves with good reduction over 𝐐p\mathbf{Q}_p.

Extensions of 𝐐p\mathbf{Q}_p. Many computations need Coleman integrals over a finite extension KK of 𝐐p\mathbf{Q}_p:

  1. Points over number fields. For a curve over a number field FF, Siksek’s variant of the method uses the completions FvF_v at all places vv above pp at once, and it can work even when the rank of the Jacobian is at least the genus. If pp splits completely in FF, then every FvF_v is 𝐐p\mathbf{Q}_p, but completely split primes can be rare and large.

  2. Quadratic points. Modulo pp, a quadratic point on a curve over 𝐐\mathbf{Q} reduces either to two points over 𝐅p\mathbf{F}_p or to two conjugate points over 𝐅p2\mathbf{F}_{p^2}. In the second case, its points are defined over the unramified quadratic extension 𝐐p2\mathbf{Q}_{p^2} of 𝐐p\mathbf{Q}_p. For large pp, this happens in about half of all residue classes, and for points of degree dd in a proportion close to 1−1/d!1 - 1/d!.

Our results. We extend the algorithm of Balakrishnan and Tuitman to curves with good reduction over any finite extension KK of 𝐐p\mathbf{Q}_p, allowing both ramification and residue degree larger than 11. The input is a plane model Q(x,y)=0Q(x,y) = 0 of the curve together with integral bases of its function field, satisfying explicit good-reduction conditions. For any two points P,R∈X(K)P, R \in X(K) and differentials ω1,…,ω2g\omega_1, \dots, \omega_{2g} whose classes form a basis of HdR1(XK){\mathrm{H}}^1_{\mathrm{dR}}(X_K), the algorithm computes the integrals ∫PRωi\int_P^R \omega_i to any desired precision. As over 𝐐p\mathbf{Q}_p, we compute the action of Frobenius on cohomology, compute tiny integrals between points in the same residue disc by power series, and use that Coleman integrals are compatible with Frobenius to reduce everything to a linear system. The main work is to show that each step, together with its precision analysis, also works over ramified extensions and over residue fields larger than 𝐅p\mathbf{F}_p. We prove explicit precision bounds, and the code returns a certified precision for each integral. Previously, Balakrishnan and Tuitman treated general curves over 𝐐p\mathbf{Q}_p, and Best treated superelliptic curves over unramified extensions of 𝐐p\mathbf{Q}_p.

Running time. Two features of the implementation save time. First, the main algebraic computations are done exactly in the finite ring 𝒪F/𝔓N\mathcal{O}_F/\mathfrak{P}^N instead of in a pp-adic field with finite precision. Second, if KK is unramified of degree ff over 𝐐p\mathbf{Q}_p, we can lift the pp-power Frobenius and iterate it ff times instead of lifting the pfp^f-power Frobenius directly. For example, for a genus-22 curve over 𝐐(23)\mathbf{Q}(\sqrt[3]{2}) from Siksek’s paper on Chabauty over number fields, the integrals at the inert prime 77 (i.e., over 𝐐73\mathbf{Q}_{7^3}) take about half a second instead of 4545 seconds.

An example. As our main example, we consider the modular curve C=X(s3,ns5)C = X(s3,ns5) over F=𝐐(5)F = \mathbf{Q}(\sqrt{5}), a smooth plane quartic of genus 33. The motivation comes from Box’s proof that elliptic curves over totally real quartic fields not containing 5\sqrt{5} are modular. For the fields containing 5\sqrt{5}, the remaining cases lead to quadratic points over 𝐐(5)\mathbf{Q}(\sqrt{5}) on modular curves, some of which map to CC. The curve CC has a degree-22 map to the elliptic curve E=X(ns3,ns5)E = X(ns3,ns5), which has rank 11 over FF. Pulling back points of EE gives infinitely many quadratic points on CC, and we call all other quadratic points sporadic. Since 1919 splits in FF, the completion at a place above 1919 is 𝐐19\mathbf{Q}_{19}. But over 𝐐19\mathbf{Q}_{19}, one only finds the 1212 affine sporadic quadratic points whose two conjugate points reduce to points over 𝐅19\mathbf{F}_{19}, and the other 2323 reduce to pairs of conjugate points over 𝐅192\mathbf{F}_{19^2}. With integrals over 𝐐p\mathbf{Q}_p only, we had to combine eight split primes, from 1919 to 7979, to find all 3535. Working over 𝐐192\mathbf{Q}_{19^2}, our code finds all 3535 with the single prime 1919.

Completeness. In an appendix, we prove with symmetric Chabauty and a Mordell–Weil sieve that this list is complete. So CC has exactly 3636 sporadic quadratic points over 𝐐(5)\mathbf{Q}(\sqrt{5}), namely the 3535 affine ones and one at infinity.

Our implementation. The code is useful for everybody who computes rational points on curves. It builds on the code of Balakrishnan and Tuitman. Besides Coleman integrals over the completions of number fields, it contains Chabauty–Coleman, Siksek’s variant for number fields (which uses several places above pp at once), and symmetric Chabauty for quadratic points.

The file models.m. The algorithm needs a plane model with good reduction and integral bases as input. Finding such a model is often the most tedious part of a computation, and the paper does not treat it. The file models.m does this. Given a curve as a Magma Curve (also in a higher-dimensional space), it

  1. finds a monic integral plane model, and better ones by changes of coordinates;

  2. finds the primes at which all good-reduction conditions of the paper hold, and says why the other primes fail;

  3. covers the residue discs by affine patches in which they are good, so that the expensive bad discs are avoided;

  4. converts points into the input format of the integration routines, including points at infinity, singular points of the plane model, and points of degree 22.

So Chabauty–Coleman for a curve over 𝐐\mathbf{Q} needs only one call:

AttachSpec("package/ColemanIntegralsLocalFields.spec");
A2<a,b> := AffineSpace(Rationals(), 2);
C := Curve(A2, b^2 + b - (a^5 - 2*a^3 + a));  // genus 2, rank 1
pts := PointSearch(ProjectiveClosure(C), 10);  // its 7 rational points
res := curve_chabauty(C, pts);

This chooses a model and the good prime p=7p = 7, computes the zeros of the vanishing integral in C(𝐐7)C(\mathbf{Q}_7), and compares them with the known points. Here 77 of the 99 zeros are the known rational points, and the other two are 77-adic points that are not rational. Similarly, curve_quadratic_points runs symmetric Chabauty for quadratic points over a number field. For X(s3,ns5)X(s3,ns5) over 𝐐(5)\mathbf{Q}(\sqrt{5}), one call finds all 3636 sporadic quadratic points at the prime 1919 in about four minutes. The 370370 residue classes that it leaves open are removed by the Mordell–Weil sieve of our appendix.

Possible applications.

  1. Generalized Fermat equations. The equation xp+yq=zrx^p + y^q = z^r with 1/p+1/q+1/r<11/p + 1/q + 1/r < 1 has only finitely many solutions in coprime integers (Darmon–Granville), and finding them often leads to points on curves over number fields. The remaining cases in Freitas and Stoll’s work on x2+y3=z25x^2 + y^3 = z^{25} lead to five genus-22 curves Y2=X5+AiY^2 = X^5 + A_i over number fields of degree 1212. For these fields, completely split primes are rare, and the smallest one is at least 571571. With our code, one can also use small primes that do not split completely.

  2. Modularity over quartic fields. The modular curves in the remaining cases of Box’s work (which motivated our example) are natural next candidates.

  3. Points of higher degree. Box, Gajović and Goodman computed cubic and quartic points on modular curves with a generalized symmetric Chabauty method. To avoid integrals over extensions, they combined tiny integrals with a Mordell–Weil sieve, which restricts the computation to residue classes containing a known point. Our code can also compute directly in the other residue classes.