Thakur characterised the Wilson primes of F_q[t] (q odd) as the primes with vanishing second derivative, and asked for generalisations to other function fields, for instance of class number one. Let A = F_3[x,y]/(y^2 - x^3 + x + 1), the coordinate ring of an elliptic curve with a single rational point; it is a principal ideal domain. We define a Wilson product W_d in A which reduces to Thakur's F_d in genus 0 and satisfies W_d = -1 mod pi for every prime pi of degree d. We prove that pi is a Wilson prime, i.e. W_d = -1 mod pi^2, if and only if D^2 pi = 0 and the coefficient of the monomial of degree d-1 in pi vanishes, where D is the invariant derivation. The second condition has no counterpart in genus 0. There is no Wilson prime of degree d = 1 mod 3, and y^(4*25^k) + y^(25^k) - 1 (k >= 0) is an infinite family of Wilson primes. The criterion is confirmed by exact computation on all 25430 primes of degree at most 11.
Statement
Let k=F3, f=x3−x−1, and A=k[x,y]/(y2−f), the affine coordinate ring of the elliptic curve E:y2=x3−x−1 with its point ∞ removed. Since f takes the value −1 on F3, we have E(F3)={∞}, hence the class number of A is #E(F3)=1: A is a principal ideal domain with A×=k×. Put deg=−ord∞, so degx=2, degy=3, and for a prime π, degπ=dimkA/π. The monomials m2i=xi, m2i+3=xiy (i≥0) form a k-basis of A, with exactly one monomial mj of each degree j≥0, j=1. For a∈A we write a=∑jajmj, with the convention a1=0.
Definition 1. For d≥2 let Vd be the k-span of the mj with 0≤j≤d+1, j=d, and
Wd=v∈Vd∖{0}∏v∈A.
Lemma 2. For every prime π of degree d≥2, reduction Vd→A/π is bijective, and Wd≡−1(modπ).
Proof.dimkVd=d. A non-zero multiple gπ has degree d+degg∈{d}∪[d+2,∞), and if it has degree d it is cπ, c∈k×, whose coefficient on md is non-zero. So Vd∩πA=0. The product of the non-zero elements of a finite field is −1. □
In Fq[t] the analogous recipe (all monomials of degree <d) gives Thakur’s Fd, the product of all non-zero polynomials of degree less than d[3, 4]; infinitely many Wilson primes in Fq[t] were exhibited for many q in [2] and for every q in [3]. The space Vd is stable under the automorphisms (x,y)↦(x+a,±y), a∈F3, of A.
Definition 3. A prime π of degree d≥2 is a Wilson prime if Wd≡−1(modπ2).
Let D be the k-derivation of A with Dx=−y, Dy=−1 (it respects y2=f because D(y2)=−2y=y and D(f)=−Dx=y). Since 2ydy=f′(x)dx=−dx, we have dx=ydy, so ΩA/k=Ady and D=−d/dy. For π of degree d put
c(π)=πdπd−1.
Theorem 4. Let π be a prime of A of degree d≥2.
(1) π is a Wilson prime if and only if π divides D2π+c(π)Dπ.
(2) π is a Wilson prime if and only if D2π=0 and c(π)=0.
(3) There is no Wilson prime of degree d≡1(mod3). If d≡2(mod3), then D2π=0 implies c(π)=0.
In degree 3 every prime is ±(y+αx+β) and D2π=απ3=π2, so D2π=0 again implies c(π)=0. In degrees 6 and 9 the condition c(π)=0 is not a consequence of D2π=0: in degree 6 there are 12 primes with D2π=0, of which 6 are Wilson primes; in degree 9, 56 and 14. We do not know what happens for general d≡0(mod3).
Theorem 5. Let P∈F3[y] be monic irreducible with P′′=0 and degP≡1(mod3). Then P(y) is a Wilson prime of A of degree 3degP. In particular y4⋅25k+y25k−1 is a Wilson prime of degree 12⋅25k for every k≥0.
Preliminaries
Expansions at infinity. Let u=x/y, a uniformiser at ∞. From y2=f(x) one gets x=u−2(1+O(u4)) and y=u−3(1+O(u4)), hence mj=u−j(1+O(u4)) for all j. Consequently, for a∈A of degree n,
a=j=n−3∑naju−j+O(u−n+4).(1)
Moreover dy=(1+O(u2))du (the term −3u−4 vanishes), so dy has neither zero nor pole on E, and
D(u−j)=ju−j−1(1+O(u2)).(2)
The derivation.D3 is a derivation (characteristic 3) killing x and y, so D3=0. If Da=0 then da=0, so a is a cube in the fraction field, hence in A (A is normal): kerD=A3. If π is prime, its zeros on E(k) are simple and dy does not vanish there, so Dπ is a unit modulo π.
Reduction to a linear coefficient
Fix a prime π of degree d≥2, κ=A/π, and let ρ:Vd→κ be the bijection of Lemma 2. Define the k-linear map ∂:κ→κ by ∂(ρ(v))=D(v)modπ. Every k-linear endomorphism of κ is uniquely z↦∑j=0d−1λjz3j, λj∈κ; let λ0=λ0(π) be the coefficient of z for ∂.
Proposition 6.Wd≡−1+πλ0/Dπ(modπ2). In particular π is Wilson if and only if λ0=0.
Proof. The completion of A at π is κ[[π]], with κ embedded by Teichmüller representatives. For a∈A write a≡aˉ+δ(a)π(modπ2) with aˉ,δ(a)∈κ. Then δ is a k-derivation A→κ with δ(π)=1; as ΩA/k=Ady, δ=D(⋅)/Dπ. Let e(z)=∏v∈Vd(z−v)∈A[z]. It is an additive polynomial, monic of degree 3d, and its coefficient of z is ∏v=0(−v)=Wd. Modulo π it is z3d−z, so e(z)≡z3d−z+πg(z)(modπ2) with g∈κ[z] additive of degree <3d. For v∈Vd, v3d≡vˉ3d=vˉ(modπ2), so 0=e(v)≡vˉ−v+πg(vˉ), i.e. g(vˉ)=δ(v). Hence
g(z)=∂(z)/Dπ for all z∈κ, and both sides being additive polynomials of degree <3d, they coincide. Comparing coefficients of z gives the claim. □
Lemma 7. For a∈κ let Ma be multiplication by a. Then trk(Ma∘∂)=Trκ/k(aλ0). Hence λ0=0 if and only if trk(Ma∘∂)=0 for all a∈κ.
Proof. Let φ be the Frobenius of κ/k. It suffices to show trk(Mbφj)=0 for 0<j<d. This trace is k-linear in b, so equals Trκ/k(cjb) for some cj. Conjugating by Mζ, ζ∈κ×, gives Tr(cjb)=Tr(cjbζ3j−1) for all b, so cj(1−ζ3j−1)=0; taking ζ a generator of κ× gives cj=0. □
The residue pairing and the kernel
For b,c∈A put ⟨b,c⟩=−Res∞(bcdy/π).
Lemma 8.⟨b,c⟩=Trκ/k(bc/πy) with πy=−Dπ. So ⟨,⟩ induces a non-degenerate symmetric k-bilinear form on κ, and ⟨ab,c⟩=⟨a,bc⟩.
Proof. The differential bcdy/π has poles only at ∞ and at the zeros of π, which are simple and form one Galois orbit. As dπ=πydy, its residue at a zero Q is (bc/πy)(Q). Apply the residue theorem. □
Write a1=a⊗1, a2=1⊗a in A⊗kA, the coordinate ring of (E∖∞)2.
Lemma 9. Let C=(y1+y2)/(x1−x2). Then
C=y2−y11−y2−y1(x2−x1)2,(3)
and R0:=(π2−π1)C belongs to A⊗kA.
Proof.(y1+y2)(y2−y1)−(x1−x2)=(f(x2)−f(x1))+(x2−x1)=x23−x13=(x2−x1)3; divide by (x1−x2)(y2−y1). The function x1−x2 vanishes simply on the diagonal Δ and on the graph Δ− of [−1], and y1+y2 vanishes on Δ−; so on the smooth affine surface the only possible pole of C is a simple pole along Δ, where π2−π1 vanishes. (The surface is smooth, hence normal, so a function without polar divisor is regular; the points of Δ∩Δ− have codimension 2. The denominator y2−y1 in (3) creates no further pole: away from Δ it vanishes only where x2−x1=±1, and there 1−(x2−x1)2=0.) □
Lemma 10. Write R0=∑iri⊗si. For every b∈A, ∑i⟨b,si⟩ri≡b(modπ).
Proof. As π is separable it suffices to evaluate at a zero P∈E(k) of π, the pairing being extended k-linearly in the second variable. There R0(P,⋅)=π⋅C(P,⋅), so the left side is −ResQ=∞(b(Q)C(P,Q)dyQ). The differential bC(P,⋅)dy has poles only at P and ∞: at Q=−P=P the numerator of C vanishes, and if P=−P then x−xP has a double zero and y a simple zero at P. By (3), and because y−y(P) is a uniformiser at P, its residue at P is b(P). Conclude by the residue theorem. □
Proposition 11. Let (mj)j∈J be the monomial basis of Vd. Then R:=R0+c(π)π1 lies in Vd⊗kA; writing R=∑j∈Jmj⊗tj, we have ⟨mi,tj⟩=δij, and
Θ:=j∈J∑D(mj)tj=D2π+c(π)Dπin A.
Proof. Expand in the first variable at ∞, with u=u1 and coefficients in A (second variable). We have C=u−1(1+y2/y1)(1−x2/x1)−1=u−1(1+O(u2)), hence, by (1) and d≥2,
R0=−πdu−d−1−πd−1u−d+O(u−d+1).
So R0∈Ld+1⊗A, where Ln is the span of the mj, j≤n, and its coefficient on md is −πd−1⊗1; adding c(π)π1 removes it, so R∈Vd⊗A. Since R−R0=c(π)π⊗1 contributes a multiple of π, Lemma 10 gives ∑j⟨mi,tj⟩mj≡mi(modπ), and Vd∩πA=0 gives ⟨mi,tj⟩=δij.
Let μ:A⊗A→A be the multiplication (restriction to Δ) and D1=D⊗1. Then Θ=μ(D1R)=μ(D1R0)+c(π)Dπ. By (3), R0=Φ⋅(1−(x2−x1)2) with Φ=(π2−π1)/(y2−y1), regular near Δ; the second factor is 1 on Δ and its D1-derivative vanishes on Δ, so μ(D1R0)=μ(D1Φ). Applying D1 twice to Φ(y2−y1)=π2−π1, with D1(y2−y1)=1, gives
D12Φ⋅(y2−y1)+2D1Φ=−(D2π)1,
so on Δ: 2μ(D1Φ)=−D2π, i.e. μ(D1Φ)=D2π in characteristic 3.
Proof of Theorem 4
Part (1). The trace of an endomorphism T of κ is ∑j⟨Tmˉj,tˉj⟩, by Proposition 11. With T=Ma∘∂ and Lemma 8,
trκ(Ma∘∂)=j∑⟨aD(mj),tj⟩=⟨a,Θ⟩.
By Proposition 6 and Lemma 7, π is Wilson iff ⟨a,Θ⟩=0 for all a, iff Θ≡0(modπ) (nondegeneracy), iff π∣D2π+c(π)Dπ, since Θ=D2π+c(π)Dπ.
Parts (2) and (3). Normalise πd=1, c=c(π), and let Θ′=D2π+cDπ. By (1) and (2),
Assume π∣Θ′. As degΘ′≤d+2, Θ′=(a+bx)π with a,b∈F3, and (a+bx)π=bu−d−2+bcu−d−1+O(u−d). Comparing: b=d(d+1) and d2c=d(d+1)c, i.e. dc=0.
Case d≡1(mod3). Then c=0, b=−1, and D2π=(a−x)π. Applying D2 and using D3=0, D(a−x)=y, D2(a−x)=−1:
0=(a−x)D2π+2yDπ−π≡2yDπ(modπ),
because (a−x)D2π=(a−x)2π. As Dπ is a unit modulo π, π∣y, so d≤3, contradicting d≥4. So there is no Wilson prime of degree ≡1(mod3).
Case d≡0,2(mod3). Then b=0 and Θ′=aπ. Applying D2: 0=D4π+cD3π=aD2π. If a=0 then D2π=0, so cDπ=aπ, which forces c=0 (Dπ is a unit modulo π) and then aπ=0, absurd. So a=0 and D2π=−cDπ. Applying D: 0=D3π=−cD2π. If c=0 then D2π=0, hence Dπ=0 and π∈A3, which is impossible for a prime. So c=0 and D2π=0. The converse is clear.
Finally, if D2π=0 the coefficient d(d−1)c vanishes, which gives c=0 when d≡2(mod3).
Remark 12. Carrying out the same argument in Fq[t], q odd, with C=1/(t2−t1) and V the polynomials of degree <d, one finds Θ≡±21℘′′, which recovers Thakur’s criterion ℘′′=0[3]. The term c(π)Dπ comes from the simple pole of C at infinity, which is absent in genus 0.
Proof of Theorem 5
Let n=degP≡1(mod3), θ a root of P, κ0=F3(θ). Since A=F3[y][x]/(x3−x−(y2+1)), the element P(y) is prime in A iff x3−x−(θ2+1) is irreducible over κ0, iff Trκ0/F3(θ2+1)=0 (Artin–Schreier). The coefficient of yn−2 in P′′ is (n−2)(n−3) times the coefficient e2 of yn−2 in P, and (n−2)(n−3)=0 in F3 because n≡1(mod3); as P′′=0, e2=0 (for n=1 there is nothing to prove), so by Newton’s identity Tr(θ2)=e12 with −e1 the coefficient of yn−1, and Tr(θ2+1)=e12+n=e12+1=0 in F3. So π=P(y) is a prime of degree d=3n. It satisfies D2π=P′′(y)=0, and π=u−3n(1+O(u3)) because yj=u−3j(1+O(u4)), so c(π)=0 by (1). Theorem 4 applies.
Let P0=y4+y−1. It is irreducible over F3 and its roots have multiplicative order 80. By [1 Theorem 3.35], P0(ys) is irreducible for s=25k, k≥1 (the only prime factor of s divides 80, (34−1)/80=1, and 4∤s). Its degree is 4⋅25k≡1(mod3), and P0(ys)′′=0 because 4s≡s≡1(mod3)). □
Numerical Verification
The following was computed in exact arithmetic over F3; the counts of primes agree with the zeta function of E.
d
2
3
4
5
6
7
8
9
10
11
primes
3
9
21
54
125
324
819
2184
5853
16038
Wilson primes
0
3
0
6
6
0
45
14
0
198
Table 1.
For every one of these 25 430 primes, the Wilson property was decided from the definition, by computing Wd exactly in A and testing divisibility of Wd+1 by π2, and compared with the criterion of Theorem 4(2): no discrepancy. For d≤7 the Wilson property was computed a second time by a different route (Wd modulo π2 after Hensel lifting), with the same result.
The identity of Proposition 11 was checked directly, modulo π, on the 518 primes a(x)+b(x)y, b=0, of degree 4 to 7 (this check is not part of the ancillary script), and y4+y−1 was confirmed to be a Wilson prime of degree 12 from the definition. The ancillary script verify_wilson_elliptic.py reproduces the table up to degree 9 and the checks of Theorem 5. The Wilson primes of degree 3 are y, y+1, y−1.
Status and Questions
Theorems 4 and 5 are proved above. Nothing in this note has been checked by a third party. Open: the other coordinate rings of class number one, in particular in characteristic 2; the exact power of π dividing Wd+1 for Wilson primes; and whether Wilson primes exist in every degree d≡0,2(mod3), d≥3.
Acknowledgement. This work was carried out with the AI system Claude (Anthropic), which performed the computations and the drafting under the author’s direction.
Independent Researcher, France. ORCID 0009-0009-1526-1178
References
[1]R. Lidl, H. Niederreiter, Finite Fields, 2nd ed., Cambridge University Press, 1997.
[2]J. Sauerberg, L. Shu, D. S. Thakur, G. Todd, Infinitude of Wilson primes for F_q[t], Acta Arith. 157 (2013), 91–100.DOI
[3]D. S. Thakur, Differential characterization of Wilson primes for F_q[t], Algebra Number Theory 7 (2013), no. 8, 1841–1848.
[4]D. S. Thakur, Fermat–Wilson supercongruences, arithmetic derivatives and strange factorizations, J. Théor. Nombres Bordeaux 36 (2024), no. 2, 481–491.arxiv.org/abs/2211.01076