Frobenius structures on hypergeometric equations: computational methods
Kiran S. Kedlaya, Department of Mathematics, University of California, San Diego; [email protected]
Picard-Fuchs Equations and Hypergeometric Motives, Hausdorff Research Institute for Mathematics (Bonn)
March 28, 2018
About this file
This file is a Jupyter notebook hosted on CoCalc (formerly SageMathCloud). The embedded code is to be run using the standard SageMath 8.1 kernel; see below for discussion of hypergeometric motives in Sage.
To retrieve this file, see my web site (http://kskedlaya.org) and click on "Talks".
Acknowledgments
Thanks to Fernando Rodriguez Villegas for helpful discussions. The author was supported by NSF grant DMS-1501214 and the UCSD Department of Mathematics (Stefan E. Warschawski Chair).
References
[BCH]: F. Beukers, H. Cohen, and A. Mellit, Finite hypergeometric functions, arXiv:1505.02900.
[Dw]: B. Dwork, Generalized Hypergeometric Functions, Clarendon Press, Oxford, 1990.
[BH]: F. Beukers and G. Heckman, Monodromy for the hypergeometric function , Inventiones Mathematicae 95 (1989), 325-354.
[Ka]: N.M. Katz, Exponential Sums and Differential Equations, Annals of Math. Studies 124, Princeton Univ. Press, Princeton, 1990.
[Sh1]: I. Shapiro, Frobenius map for quintic threefolds, International Mathematics Research Notices (2009), 2519-2545.
[Sh2]: I. Shapiro, Frobenius map and the -adic Gamma function, Journal of Number Theory 132 (2012), 1770-1779.
See also my slides and Jupyter notebook from ICTP, September 2017 (on my web site; see above).
1. Hypergeometric differential equations
Throughout this talk, by a (hypergeometric) datum we will mean two tuples and of the same length such that:
for ;
and are disjoint: for . (However, there may be repeats within or .)
We say that this datum is Galois-stable if:
in each of and , for any with the fractions and occur with the same multiplicity.
We consider the generalized hypergeometric equation with parameters using the normalization of [BH]: For , we have a (formal) solution at of the form expressed in terms of the Clausen-Thomae hypergeometric series
2. Hypergeometric motives in Sage
As described in [Ka], to any Galois-stable datum one can (modulo formal difficulties with the definition of motives) associate a family of hypergeometric motives over whose associated variation of Hodge structures has Picard-Fuchs equation (for a suitable choice of period) equal to the hypergeometric equation with parameters .
Starting with version 8.1, Sage includes a partial port of the Magma hypergeometric motives package; this is joint work with Frédéric Chapoton. At present, this is limited to basic combinatorial functions plus the hypergeometric trace formula for good primes; see Sage's trac server for running discussion.
Warning: there is a normalization discrepancy between Magma and Sage; the parameter value in Sage corresponds to in Magma. (The convention in Sage is the one compatible with [BH].)
The degree of this Hodge structure is the integer .
The minimal weight and the Hodge numbers are computed using the "zigzag function": To wit, the Hodge vector has -th component and is the largest for which this component is nonzero. (Note: is always even.)
For in a number field , the -function of the hypergeometric motive (without completion by archimedean factors) has the form where for each finite place of , is some polynomial of degree at most . We say that is good if:
does not divide the denominator of some member of or (otherwise is wild);
(otherwise is tame unless it is wild).
For good of absolute norm , the polynomial has the following properties.
The degree of is exactly .
The Hodge numbers, interpreted as slope multiplicities, give a lower bound on the Newton polygon of which is "usually" sharp. (This occurs when is an ordinary prime for this motive.)
There is a functional equation of the form where the sign is given by an explicit formula (and it is always if is odd).
is pure of weight : its roots in all lie on the circle .
The computation of in Sage or Magma uses a certain trace formula which we now describe briefly.
3. Trace formulas for hypergeometric motives
For good, lying over the rational prime , we can interpret where is an endomorphism of a certain -dimensional vector space over a field of characteristic 0. To compute , it would be equivalent to compute for (and then use the functional equation). For , denote this trace by .
In [BCM], an explicit formula for is given in terms of Gauss sums; we will not recall the details here. Using the Gross-Koblitz formula, one can convert this into a formula in terms of the -adic Gamma function ; this formula is used for the computation of in both Magma and Sage. See the Magma documentation or Mark Watkins's writeup for further details (with caution about normalizations; see above).
One key feature of the formula in question is that it involves a sum over terms. This becomes prohibitive for large. (Magma's implementation is noticeably more efficient than Sage, but the general point applies either way.)
4. Frobenius structures and L-functions
A possible alternative to the hypergeometric trace formula is to compute the Frobenius structure on the hypergeometric equation induced by the motivic construction. This approach has previously been used (notably by Lauder) in the computation of zeta functions of algebraic varieties over finite fields, where it is commonly known as the deformation method. However, for a given family of varieties, the complexity of the method depends strongly on the number of singularities of the associated Picard-Fuchs equation; thus hypergeometric motives provide a particularly favorable scenario for this approach.
As noted earlier, can be interpreted as where is a certain endomorphism of a certain finite-dimensional vector space over a certain field of characteristic 0. There are in fact multiple natural constructions that give rise to such data (known as Weil cohomology theories).
The most widely known is étale cohomology, in which may be taken to be for any prime .
However, there are also several related constructions of -adic Weil cohomology in which is either or an unramified extension thereof; these include Dwork cohomology and (rational) crystalline cohomology. (The latter is a special case of rigid cohomology, which also includes Monsky-Washnitzer cohomology as another special case.)
While étale cohomology is often favored over -adic cohomology because its foundations are somewhat more developed, this gap has closed dramatically in recent years. Moreover, for computational applications it is generally much easier to work with -adic cohomology.
The approach we describe for computing involves computing (to suitable -adic precision) the matrix of action of on a particular basis of -adic cohomology. We exploit the fact that this matrix arises by specialization from a -adic analytic family of matrices closely related to the hypergeometric equation; this is the Frobenius structure in the title.
5. Frobenius structures on hypergeometric equations
In order to describe Frobenius structures on a hypergeometric differential equation we introduce the companion matrix
For a Galois-stable datum, a Frobenius structure on is an matrix satisfying where is the substitution . Geometrically, this amounts to giving an isomorphism of the connection associated to with its -pullback.
The catch is that the entries of will not be in ; rather, they will be rigid analytic functions on a certain subspace of . More precisely:
is holomorphic away from the residue discs containing ;
is meromorphic at and , with no further singularities in those discs;
in the residue disc at 1, is holomorphic away from a certain subdisc containing the -th roots of 1.
For the purpose of representing a -adic approximation of to suitable accuracy, we may use a rational function with poles at .
In the general case, we must modify this definition slightly to assert that where is the companion matrix associated to the datum .
Such a Frobenius structure always exists and is unique up to a -scalar. In the Galois-stable case, there is a unique normalization with the following property: for in the unramified extension , the matrix of on a suitable basis is given by where is the reduction mod and is the Teichmüller lift. In particular, if then the matrix we want is simply . (But even if , the computation of takes place over .)
By results of [Dw], there exists a Frobenius structure which is locally analytic in (with analyticity on mod- residue classes), and again this is unique up to normalization. However, I have not confirmed that there is a choice of normalization which specializes to the geometric normalization in all Galois-stable cases.
7. Computing the Frobenius structure: multiplicity-free case
The commutation relation between and amounts to a differential equation on the entries of , which we can solve using the known solutions of the hypergeometric equation plus an initial condition. Let us demonstrate this in the case where the original datum is Galois-stable and is multiplicity-free, i.e., are pairwise distinct.
In this case, we obtain a full basis of solutions of the hypergeometric equation in the Puiseux field by taking where for we write We then form the formal solution matrix by setting this will satisfy
To compute , we first identify the matrix , which satisfies This equation has the following consequence: the entry of can only be nonzero when , and in this case it must equal times some scalar in .
Conjecture: that scalar equals where again denotes the zigzag function. Note that the powers of correspond to the Hodge numbers.
Given (i.e., assuming the conjecture), we compute as a Laurent series. Note that and converge to holomorphic functions on the open unit disc, but do not extend toany larger region (because their coefficients are unbounded); by contrast, does have bounded coefficients and does admit a meromorphic continuation to a suitable subspace of ; this observation can itself be used to compute (compare the lecture by van Straten).
To extract for a particular parameter value , we must evaluate at . The power series converges for , so we cannot plug in the value directly; instead, we must reduce modulo some power of , multiply by a suitable power of to clear denominators, resolve to a polynomial, evaluate, then divide by the evaluation of the same power of .
Warning: doing this correctly and efficiently involves making some extra analysis to work out the levels of -adic and -adic precision and the pole order in the reduction. For this demonstration, we are eyeballing all of this.
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-20-ad26551453b3> in <module>()
----> 1 show(euler_factor(H, t0, p)) # Takes longer, but should give the same answer
<ipython-input-17-0d98919d0dfa> in euler_factor(H, t0, p, pprec, tprec, e)
16 K = Qp(p, pprec)
17 R = LaurentSeriesRing(K, tprec+p, names=('t',)); (t,) = R._first_ngens(1)
---> 18 F = frobenius_structure(H, R, p, tprec, pprec)
19 u = t**p - Integer(1)
20 s = e + Integer(1)
<ipython-input-16-34c4ea810d6a> in frobenius_structure(H, R, p, tprec, pprec)
4 F0 = initial_Frobenius_matrix(H,t,p,pprec)
5 Utrunc = U.apply_map(lambda x: x.add_bigoh(tprec//p+Integer(1)))
----> 6 Uinvsig = (~Utrunc).apply_map(lambda x: sigma(x,p,tprec+p))
7 F = U * F0 * Uinvsig
8 return(F)
/ext/sage/sage-8.3_1804/local/lib/python2.7/site-packages/sage/matrix/matrix0.pyx in sage.matrix.matrix0.Matrix.__invert__ (build/cythonized/sage/matrix/matrix0.c:37188)()
5303
5304 A = self.augment(self.parent().identity_matrix())
-> 5305 A.echelonize()
5306
5307 # Now we want to make sure that B is of the form [I|X], in
/ext/sage/sage-8.3_1804/local/lib/python2.7/site-packages/sage/matrix/matrix2.pyx in sage.matrix.matrix2.Matrix.echelonize (build/cythonized/sage/matrix/matrix2.c:52993)()
6722 if self.base_ring().is_field():
6723 if algorithm in ['classical', 'partial_pivoting', 'scaled_partial_pivoting']:
-> 6724 self._echelon_in_place(algorithm)
6725 elif algorithm == 'strassen':
6726 self._echelon_strassen(cutoff)
/ext/sage/sage-8.3_1804/local/lib/python2.7/site-packages/sage/matrix/matrix2.pyx in sage.matrix.matrix2.Matrix._echelon_in_place (build/cythonized/sage/matrix/matrix2.c:54956)()
7001 scale_factor = 0
7002 for c in range(nc):
-> 7003 abs_val = A.get_unsafe(r, c).abs()
7004 if abs_val > scale_factor:
7005 scale_factor = abs_val
/ext/sage/sage-8.3_1804/local/lib/python2.7/site-packages/sage/structure/element.pyx in sage.structure.element.RingElement.abs (build/cythonized/sage/structure/element.c:19373)()
2715 ArithmeticError: absolute valued not defined on integers modulo n.
2716 """
-> 2717 return abs(self)
2718
2719 def is_prime(self):
TypeError: bad operand type for abs(): 'sage.rings.laurent_series_ring_element.LaurentSeries'
We have tested the conjecture (and the code) extensively on random hypergeometric data of degree at most 6, by computing the resulting Euler factors and comparing against the trace formula. Here is a small example. (This test runs 10 times; I have run it several thousand times with no failures, though one occasionally sees a discrepancy due to too little -adic precision in the calculation.)
For fun, here is a larger example that demonstrates the crossover between computing the trace formula and computing the Frobenius structure when the degree gets large enough. (I wasn't able to get a timing using Sage's built-in function because it is so much slower than Magma; it was still running after 6 hours.)
8. Unresolved issues
Non-Galois data: In some sense, this conjecture should remain valid for non-Galois data. The tricky part is to specify a "geometric" normalization, i.e., to nail down the construction of a family of hypergeometric motives (no longer with coefficients in ).
Repeated parameters: It would obviously be desirable to be able to treat the case where is not multiplicity-free. We have not done any computations in this case yet, but let me indicate conceptually what should be done.
Suppose that for some (and that this value does not repeat elsewhere). We formally introduce a "positive" power series variable and consider what happens when For , we formally have Using the functional equation for and the consideration that should be considered to be divisible by , we formally have
This should yield an expression for without poles; at this point, setting should give a correct conjectural formula for the Frobenius structure. Note that this will naturally produce derivatives of of order up to .
This is consistent with a result of Shapiro [Sh1, Sh2] (see also the earlier lecture by van Straten): in the case corresponding to the Dwork pencil of quintic threefolds, the matrix has a unique off-diagonal entry which can be expressed in terms of , or equivalently in terms of for .
Generalization to GKZ hypergeometrics, and proving the conjecture: It may be possible to handle both of these using the methods of [Dw] and/or the unpublished work of Adolphson mentioned in the earlier lecture by Horja.
Recovering information from the Frobenius structure: It should be possible to recover the trace formula from this description of the Frobenius structure. Can one also recover some supercongruences and/or identify new ones?