PINAR KILIC ¸ER Sorina Ionica
email: sorina.ionica@u-picardie.fr

Kristin Lauter
email: klauter@microsoft.com

Elisa Lorenzo
email: elisa.lorenzogarcia@univ-rennes1.fr

Garc Ía

Maike Massierer
email: maike.massierer@gmail.com

Adelina M Ânz

Ȃ T ¸eanu

Christelle Vincent
email: christelle.vincent@uvm.edu

Pınar Kılıc

Elisa Lorenzo García

Adelina Mânzȃt

MODULAR INVARIANTS FOR GENUS 3 HYPERELLIPTIC CURVES

In this article we prove an analogue of a theorem of Lachaud, Ritzenthaler, and Zykin, which allows us to connect invariants of binary octics to Siegel modular forms of genus 3. We use this connection to show that certain modular functions, when restricted to the hyperelliptic locus, assume values whose denominators are products of powers of primes of bad reduction for the associated hyperelliptic curves. We illustrate our theorem with explicit computations. This work is motivated by the study of the values of these modular functions at CM points of the Siegel upper-half space, which, if their denominators are known, can be used to effectively compute models of (hyperelliptic, in our case) curves with CM.

Introduction

In his beautiful paper, Igusa [START_REF] Igusa | Modular forms and projective invariants[END_REF] proved that there is a homomorphism from a subring (containing forms of even weight) of the graded ring of Siegel modular forms of genus g and level 1 to the graded ring of invariants of binary forms of degree 2g + 2. In this paper, we consider Siegel modular functions which map to invariants of hyperelliptic curves under this homomorphism, and are thus called modular invariants.

We are interested in the primes that divide the denominators of certain quotients of these modular invariants. 1 Our work is motivated by the following computational problem: To recognize the value of a modular invariant as an exact algebraic number from a floating point approximation, one must have a bound on its denominator. Furthermore, the running time of the algorithm is greatly improved when the bound is tight.

Igusa [START_REF] Igusa | Modular forms and projective invariants[END_REF] gave an explicit construction of the above-mentioned homomorphism for all modular forms of level 1 which can be written as polynomials in the thetaconstants. Our first contribution is an analogue of a result of Lachaud, Ritzenthaler, and Zykin [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF]Corollary 3.3.2], which connects Siegel modular forms to invariants of plane quartics. Using a similar approach, which first connects Siegel modular forms to Teichmüller modular forms, we obtain a construction which is equivalent to Igusa's for modular forms of even weight. We then compute the image of the discriminant of a hyperelliptic curve under this homomorphism, thus extending and rephrasing a result of Lockhart [START_REF] Lockhart | On the discriminant of a hyperelliptic curve[END_REF]Proposition 3.2]. This allows us to prove our main theorem: Theorem 1.1. Let Z be a period matrix in H 3 , the Siegel upper half-plane of genus 3, corresponding to a smooth genus 3 hyperelliptic curve C defined over a number field M . Let f be a Siegel modular form of weight k such that the invariant Φ obtained in Corollary 3.6 is integral. Then

j(Z) = f 140 gcd(k,140) Σ k gcd(k,140) 140 (Z)
is an algebraic number lying in M . Moreover, if an odd prime p of O M divides the denominator of this number, then the curve C has geometrically bad reduction modulo p.

Here, Σ 140 is the Siegel modular form of genus 3 defined by Igusa [START_REF] Igusa | Modular forms and projective invariants[END_REF] in terms of the theta constants (see equation (2.1)) as follows:

Σ 140 (Z) = 36 i=1 j =i ϑ[ξ j ](0, Z) 8 , (1.1)
where the ξ i , i = 1, . . . , 36 are the even theta characteristics we define in Section 2.

To illustrate this theorem, in Section 5 we compute values of several modular invariants whose expressions have a power of Σ 140 in the denominator. For our experiments, we used: genus 3 hyperelliptic CM curves defined over Q, a complete list of which is given in [START_REF] Kılıçer | Rational CM points and class polynomials for genus three[END_REF]; genus 3 hyperelliptic curves already appearing in some experiments concerning the Chabauty-Coleman method [START_REF] Balakrishnan | Chabauty-Coleman experiments for genus 3 hyperelliptic curves[END_REF]; and some genus 3 hyperelliptic modular curves [START_REF] Steven | Equations For Modular Curves[END_REF][START_REF] Ogg | Hyperelliptic modular curves[END_REF].

Note that Theorem 1.1 is an analogue of a result of Goren and Lauter for curves of genus 2 with CM [START_REF] Eyal | Class invariants for quartic CM fields[END_REF]. The case of CM hyperelliptic curves is interesting because the bound on the primes dividing the denominators of Igusa invariants proved in [START_REF] Eyal | Class invariants for quartic CM fields[END_REF] is used to improve the algorithms to construct genus 2 CM curves. We hope that apart from its theoretical interest, our result will allow a similar computation in the case of CM hyperelliptic curves of genus 3. Outline. This paper is organized as follows. We begin in Section 2 with some background on theta functions, the Igusa construction and the Shioda invariants of hyperelliptic curves. Only the most basic facts are given, and references are provided for the reader who would like to delve further.

Then, in Section 3, we give a correspondence that allows us to relate invariants of octics to Siegel modular forms of degree 3. Using this correspondence, we then show in Section 4 that the primes dividing the denominators of modular invariants that have powers of the Siegel modular form Σ 140 as their denominator are primes of bad reduction, which is our main theorem (Theorem 1.1 above).

Finally, in Section 5 we present the list of hyperelliptic curves of genus 3 for which we computed the values of several modular invariants having powers of Σ 140 as their denominator, when evaluated at a period matrix of their Jacobian. We compared the factorization of the denominators of these values against that of the denominators of the Shioda invariants of these curves and the odd primes of bad reduction of these curves.

acknowledgements

The authors would like to thank the Lorentz Center in Leiden for hosting the Women in Numbers Europe 2 workshop and providing a productive and enjoyable environment for our initial work on this project. We are grateful to the organizers of WIN-E2, Irene Bouw, Rachel Newton and Ekin Ozman, for making this conference and this collaboration possible. We thank Irene Bouw and Christophe Ritzenhaler for helpful discussions.

Hyperelliptic curves of genus 3 with complex multiplication

In this section we introduce notation and discuss theta functions and theta characteristics, which are crucial to the definition of the Siegel modular invariants we consider in this paper. We briefly recall Igusa's contruction of a homomorphism between the graded ring of Siegel modular forms and the graded ring of invariants of a binary form. Finally, we define the Shioda invariants of genus 3 hyperelliptic curves.

2.1. Theta functions and theta characteristics. In this work, by period matrix we will mean a g × g symmetric matrix Z with positive imaginary part, that is, a matrix in in the Siegel upper half-space of genus g. (This is sometimes called a small period matrix, but for simplicity and since there is no risk of confusion here we call them period matrices.)

In this case, the relationship between the abelian variety and the period matrix is that the complex points of the abelian variety are exactly the complex points of the torus C g /(Z g + ZZ g ).

We denote by H g the Siegel upper half space. We now turn our attention to the subject of theta functions. For ω ∈ C g and Z ∈ H g , we define the following important series:

ϑ(ω, Z) = n∈Z g exp(πin T Zn + 2πin T ω),
where throughout this article an exponent of T on a vector or a matrix denotes the transpose.

Given a period matrix Z ∈ H g , we obtain a set of coordinates on the torus C g /(Z g + ZZ g ) in the following way: A vector x ∈ [0, 1) 2g corresponds to the point x 2 + Zx 1 ∈ C g /(Z g + ZZ g ), where x 1 denotes the first g entries and x 2 denotes the last g entries of the vector x of length 2g.

For reasons beyond the scope of this short text, it is of interest to consider the value of this theta function as we translate ω by points that, under the natural quotient map C g → C g /(Z g + ZZ g ), map to 2-torsion points. These points are of the form ξ 2 + Zξ 1 for ξ ∈ (1/2)Z 2g . This motivates the following definition:

ϑ[ξ](ω, Z) = exp(πiξ T 1 Zξ 1 + 2πiξ T 1 (ω + ξ 2 ))ϑ(ω + ξ 2 + Zξ 1 , Z), (2.1)
which is given in [22, page 123]. In this context, ξ is customarily called a characteristic or theta characteristic. The value ϑ[ξ](0, Z) is called a theta constant.

For ξ ∈ (1/2)Z 2g , let e * (ξ) = exp(4πiξ T 1 ξ 2 ). (2.2) We say that a characteristic ξ ∈ (1/2)Z 2g is even if e * (ξ) = 1 and odd if e * (ξ) = -1.
If ξ is even we call ϑ[ξ](0, Z) an even theta constant and if ξ is odd we call ϑ[ξ](0, Z) an odd theta constant.

We have the following fact about the series ϑ[ξ](ω, Z) [22, Chapter II, Proposition 3.14]:

For ξ ∈ (1/2)Z 2g , ϑ[ξ](-ω, Z) = e * (ξ)ϑ[ξ](ω, Z).
From this we conclude that all odd theta constants vanish. Furthermore, we have that if n ∈ Z 2g is a vector with integer entries,

ϑ[ξ + n](ω, Z) = exp(2πiξ T 1 n 2 )ϑ[ξ](ω, Z).
In other words, if ξ is modified by a vector with integer entries, the theta value at worst acquires a factor of -1. Up to this sign, we note that there are in total 2 g-1 (2 g + 1) even theta constants and 2 g-1 (2 g -1) odd ones.

We can now finally fully describe the modular form Σ 140 defined in the introduction (equation (1.1)). First, we note that when g = 3, there are 36 even theta characteristics. For simplicity of notation, we give an arbitrary ordering to these even theta characteristics, and label them ξ 1 , . . . , ξ 36 . Then we have

Σ 140 (Z) = 36 i=1 j =i ϑ[ξ j ](0, Z) 8 ,
the 35 th elementary symmetric polynomial in the even theta constants.

We will also need another Siegel modular form introduced by Igusa [START_REF] Igusa | Modular forms and projective invariants[END_REF] and given by

χ 18 (Z) = 36 i=1 ϑ[ξ i ](0, Z). (2.3)
Igusa shows that Σ 140 and χ 18 are Siegel modular forms for the symplectic group of level 1 Sp(6, Z). The significance of these modular forms is the following: in loc. cit, Igusa shows that a period matrix Z corresponds to a simple Jacobian of hyperelliptic curve when χ 18 (Z) = 0 and Σ 140 (Z) = 0 and it is a reducible Jacobian when χ 18 (Z) = Σ 140 (Z) = 0. Moreover, χ 18 will appear later as the kernel of Siegel's homomorphism mentioned in the introduction. 2.2. Igusa's construction. Let S(2, 2g + 2) be the graded ring of projective invariants of a binary form of degree 2g + 2. We denote by Sp(2g, Z) the symplectic group of matrices of dimension 2g and by A(Sp(2g, Z)) the graded ring of modular forms of degree g and level 1. There exists a homomorphism

ρ : A(Sp(2g, Z)) → S(2, 2g + 2),
which was first constructed by Igusa [START_REF] Igusa | Modular forms and projective invariants[END_REF]. Historically, Igusa only showed that the domain of ρ equals A(Sp(2g, Z)) when g is odd or g = 2, 4, and that for even g > 4, a sufficient condition for the domain to be the full ring A(Sp(2g, Z)) is the existence of a modular form of odd weight that does not vanish on the hyperelliptic locus. Such a form was later exhibited by Salvati Manni in [START_REF] Salvati | Slope of cusp forms and theta series[END_REF], from which it follows that the domain of ρ is the full ring of Siegel modular forms.

The kernel of ρ is given by modular forms which vanish on all points in H g associated with a hyperelliptic curve. In particular, Igusa shows that in genus 3, the kernel of ρ is a principal ideal generated by the form χ 18 defined in equation (2.3). Furthermore, Igusa shows that this homomorphism ρ is unique, up to a constant. More precisely, any other map is of the form ζ k 4 ρ on the homogenous part A(Sp(2g, Z)) k , where ζ 4 is a fourth root of unity. In Section 3 we display a similar map sending Siegel modular forms to invariants, by going first through the space of geometric Siegel modular forms and then through that of Teichmüller forms. As a consequence, our map coincides with the map ρ constructed by Igusa, up to constants. The advantage of our construction is that it allows us to identify a modular form that is in the preimage of a power of the discriminant of the curve under this homomorphism.

2.3. Shioda invariants. We lastly turn our attention to the (integral) invariants under study in this article. We say that polynomials in the coefficients of a binary form corresponding to a hyperelliptic curve that are invariant under the natural action of SL 2 (C) are invariants of the hyperelliptic curve, and furthermore that such an invariant is integral if the polynomial has integer coefficients. Shioda gave a set of generators for the algebra of invariants of binary octics over the complex numbers [START_REF] Shioda | On the graded ring of invariants of binary octavics[END_REF], which are now called Shioda invariants. In addition, over the complex numbers, Shioda invariants completely classify isomorphism classes of hyperelliptic curves of genus 3. More specifically, the Shioda invariants are 9 weighted projective invariants (J 2 , J 3 , J 4 , J 5 , J 6 , J 7 , J 8 , J 9 , J 10 ), where J i has degree i, and J 2 , . . . , J 7 are algebraically independent, while J 8 , J 9 , J 10 depend algebraically on the previous Shioda invariants.

In [START_REF] Lercier | Hyperelliptic curves and their invariants: geometric, arithmetic and algorithmic aspects[END_REF], the authors showed that these invariants are also generators of the algebra of invariants and determine hyperelliptic curves of genus 3 up to isomorphism in characteristic p > 7. Later, in his thesis [START_REF] Basson | Arithmétique des espaces de modules des courbes hyperelliptiques de genre 3 en caractéristique positive[END_REF], Basson provided some extra invariants that together with the classical Shioda invariants classify hyperelliptic curves of genus 3 up to isomorphism in characteristics 3 and 7. The characteristic 5 case is still an unpublished theorem of Basson.

Invariants of hyperelliptic curves and Siegel modular forms

The aim of this section is to establish an analogue for the hyperelliptic locus of Corollary 3.3.2 in an article of Lachaud, Ritzenthaler and Zykin [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF]. Our result, while technically new, does not use any ideas that do not appear in the original paper. We begin by establishing the basic ingredients necessary, using the same notation as in [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF] for clarity, and with the understanding that, when omitted, all details may be found in loc. cit.

Roughly speaking, the main idea of the proof is to compare three different "flavors" of modular forms and invariants of non-hyperelliptic curves (which will here be replaced with invariants of hyperelliptic curves). The comparison goes as follows: to connect analytic Siegel modular forms to invariants of curves, the authors first connect analytic Siegel modular forms to geometric modular forms. Following this, geometric modular forms are connected to Teichmüller modular forms, via the Torelli map and a result of Ichikawa. Finally Teichmüller forms are connected to invariants of curves.

3.1.

From analytic Siegel modular forms to geometric Siegel modular forms. Let A g be the moduli stack of principally polarized abelian schemes of relative dimension g, and π : V g → A g be the universal abelian scheme with zero section ǫ : A g → V g . Then the relative canonical line bundle over A g is given in terms of the rank g bundle of relative regular differential forms of degree one on V g over A g by the expression

ω = g ǫ * Ω 1
Vg /Ag . With this notation, a geometric Siegel modular form of genus g and weight h, for h a positive integer, over a field k, is an element of the k-vector space

S g,h (k) = Γ(A g ⊗ k, ω ⊗h ).
If f ∈ S g,h (k) and A is a principally polarized abelian variety of dimension g defined over k equipped with a basis α of the 1-dimensional space

ω k (A) = g Ω 1 k (A), we define f (A, α) = f (A) α ⊗h .
In this way f (A, α) is an algebraic or geometric modular form in the usual sense, i.e., [START_REF] Balakrishnan | Chabauty-Coleman experiments for genus 3 hyperelliptic curves[END_REF]

f (A, λα) = λ -h f (A, α) for any λ ∈ k × ,

and

(2) f (A, α) depends only on the k-isomorphism class of the pair (A, α).

Conversely, such a rule defines a unique f ∈ S g,h .

We first compare these geometric Siegel modular forms to the usual analytic Siegel modular forms: [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF]). Let R g,h (C) denote the usual space of analytic Siegel modular forms of genus g and weight h. Then there is an isomorphism

Proposition 3.1 (Proposition 2.2.1 of
S g,h (C) → R g,h (C),
given by sending f ∈ S g,h (C) to

f (Z) = f (A Z ) (2πi) gh (dz 1 ∧ . . . ∧ dz g ) ⊗h ,
where

A Z = C g /(Z g + ZZ g ), Z ∈ H g and each z i ∈ C.
Furthermore, this isomorphism has the following pleasant property: Proposition 3.2 (Proposition 2.4.4 of [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF]). Let (A, a) be a principally polarized abelian variety of dimension g defined over C, let ω 1 , . . . , ω g be a basis of

Ω 1 C (A) and let ω = ω 1 ∧ . . . ∧ ω g ∈ ω C (A). If Ω = ( Ω1 Ω2
) is a Riemann matrix obtained by integrating the forms ω i against a basis of H 1 (A, Z) for the polarization a, then

Z = Ω -1 2 Ω 1 is in H g and f (A, ω) = (2πi) gh f (Z) det Ω h 2 .

3.2.

From geometric Siegel modular forms to Teichmüller modular forms.

We now turn our attention to so-called Teichmüller modular forms, which were studied by Ichikawa [8] [START_REF] Ichikawa | Teichmüller modular forms of degree 3[END_REF][10] [START_REF] Ichikawa | Generalized Tate curve and integral Teichmüller modular forms[END_REF]. Let M g be the moduli stack of curves of genus g, let π : C g → M g be the universal curve, and let

λ = g π * Ω 1 Cg /Mg
be the invertible sheaf associated to the Hodge bundle.

With this notation, a Teichmüller modular form of genus g and weight h, for h a positive integer, over a field k, is an element of the k-vector space

T g,h (k) = Γ(M g ⊗ k, λ ⊗h ).
As before, if f ∈ T g,h (k) and C is a curve of genus g defined over k equipped with a basis λ of λ k (C) =

g Ω 1 k (C), we define

f (C, λ) = f (C) λ ⊗h . Again, f (C, λ
) is an algebraic modular form in the usual sense. Ichikawa proves: [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF]). The Torelli map θ : M g → A g , associating to a curve C its Jacobian Jac C with the canonical polarization j, satisfies θ * ω = λ, and induces for any field a linear map

Proposition 3.3 (Proposition 2.3.1 of
θ * : S g,h (k) → T g,h (k) such that (θ * f )(C) = θ * (f (Jac C)).
In other words, for a basis λ of λ k (C) and fixing α such that a basis α of ω k (C) whose pullback to C equals λ,

f (Jac C, α) = (θ * f )(C, λ).

3.3.

From Teichmüller modular forms to invariants of binary forms. We finally connect the Teichmüller modular forms to invariants of hyperelliptic curves. To this end, let E be a vector space of dimension 2 over a field k of characteristic different from 2, and put G = GL(E) and X d = Sym d (E * ), the space of homogeneous polynomials of degree d on E. We define the action of G on

X d , u • F for F ∈ X d , by (u • F )(x, z) = F (u -1 (x, z)).
(By a slight abuse of notation we denote an element of E by the pair (x, z), effectively prescribing a basis. Our reason to do so will become clear later.)

We say that Φ is an invariant of degree h if Φ is a regular function on X d , homogeneous of degree h (by which we mean that Φ(λF

) = λ h Φ(F ) for λ ∈ k × and F ∈ X d ) and u • Φ = Φ for every u ∈ SL(E),
where the action u • Φ is given by

(u • Φ)(F ) = Φ(u -1 • F ).
We note the space of invariants of degree h by Inv h (X d ). Note that in what follows we will define an open set of X 0 d , and be interested in the invariants of degree h that are regular on that open set. The definition of invariance is the same, all that changes is the set on which the function is required to be regular.

From now on we require d ≥ 6 to be even, and put g = d-2 2 , then the universal hyperelliptic curve over the the affine space X d = Sym d (E) is the variety

Y d = (F, (x, y, z)) ∈ X d × P 1, d 2 , 1 : y 2 = F (x, z) ,
where P(1, g + 1, 1) is the weighted projective plane with x and z having weight 1 and y having weight g + 1. The non-singular locus of X d is the open set

X 0 d = {F ∈ X d : Disc(F ) = 0}.
We denote by Y 0 d the restriction of Y d to the nonsingular locus. The projection gives a smooth surjective k-morphism π : Y 0 d → X 0 d and its fiber over F is the nonsingular hyperelliptic curve C F : y 2 = F (x, z) of genus g. In this case we have en explicit k-basis for the space of holomorphic differentials of C F , denoted Ω 1 (C F ), given by

ω 1 = dx y , ω 2 = xdx y , . . . , ω g = x g-1 dx y . (3.1) Now let u ∈ G act on Y d by u • (F, (x, y, z)) = (u • F, u • (x, y, z)),
where the action on F is given by

(u • F )(x, z) = F (u -1 (x, z))
and the action of u on (x, y, z) is given by replacing the vector (x, z) by u(x, z) and leaving y invariant. Then the projection

π : Y 0 d → X 0 d is G-equivariant.
Then as in [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF], the section

ω = ω 1 ∧ . . . ∧ ω g
is a basis of the one-dimensional space Γ(X 0 d , α), where

α = g π * Ω 1 Y 0 d /X 0 d ,
the Hodge bundle of the universal curve over X 0 d . For every F ∈ X 0 d , an element u ∈ G induces an isomorphism

φ u : C F → C u•F ,
and this defines a linear automorphism φ * u of α.

For any h ∈ Z, we define Γ(X 0 d , α ⊗h ) G the subspace of sections s ∈ Γ(X 0 d , α ⊗h ) such that φ * u (s) = s for every u ∈ G. Then if α ∈ Γ(X 0 d , α) and F ∈ X 0 d , we define s(F, α) = s(F ) α ⊗h
. This gives us the space that will be related to invariants of hyperelliptic curves, which we now define.

In this setting we have the exact analogue of Proposition 3.2.1 of [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF]:

Proposition 3.4. The section ω ∈ Γ(X 0 d , α) satisfies the following properties:

(1) If u ∈ G, then φ * u ω = det(u) w0 ω, with w 0 = dg 4 .
(2) Let h ≥ 0 be an integer. The linear map

τ : Inv gh 2 (X 0 d ) → Γ(X 0 d , α ⊗h ) G Φ → Φ • ω ⊗h is an isomorphism.
Proof. The proof of the first part goes exactly as in the original: For u ∈ G, we have that

(φ * u ω)(F, ω) = c(u, F )ω(F, ω
), and we can conclude, via the argument given in [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF], that c(u, F ) is independent of F and a character χ of G, and that in fact

c(u, F ) = χ(u) = det u w0
for some integer w 0 . To compute w 0 we again follow the original and set u = λI 2 with λ ∈ k × to obtain

ω i (λ -d F ) ω i (F ) = x i-1 dx λ -d F (x, y) ÷ x i-1 dx F (x, y) = λ d/2 ,
since y = F (x, y), for each i = 1, . . . , g. Hence (φ * u ω)(F, ω) = λ dg/2 = det(u) w0 and since det(u) = λ 2 we have

w 0 = dg 4 = d(d -2) 8 .
The proof of the second part also goes exactly as in the original, with the replacement of a denominator of 4 instead of 3 in the quantity that is denoted w in [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF].

3.4. Final step. With this in hand, we immediately obtain the analogue of Proposition 3.3.1 of [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF]. We begin by setting up the notation we will need. We continue to have d ≥ 6 an even integer and g = d-2

2 . Because the fibers of π : Y 0 d → X 0 d are smooth hyperelliptic curves of genus g, by the universal property of M g , we get a morphism p : X 0 g → M hyp g , where this time M hyp g is the hyperelliptic locus of the moduli stack M g of curves of genus g. By construction we have p * λ = α, and therefore we obtain a morphism

p * : Γ(M hyp g , λ ⊗h ) → Γ(X 0 d , α ⊗h ).
As in [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF], by the universal property of M hyp g , we have

φ * u • p * (s) = p * (s)
for s ∈ Γ(M hyp g , λ ⊗h ). From this we conclude that p * (s) ∈ Γ(X 0 d , α) G , and combining this with the second part of Proposition 3.4, which establishes the isomorphism of Γ(X 0 d , α) G and Inv gh (X 0 d ), we obtain: Proposition 3.5. For any even h ≥ 0, the linear map given by σ

= τ -1 • p * is a homomorphism σ : Γ(M hyp g , λ ⊗h ) → Inv gh 2 (X 0 d ) satisfying σ(f )(F ) = f (C F , (p * ) -1 ω)
for any F ∈ X 0 d and any section f ∈ Γ(M hyp g , λ ⊗h ). This is the last ingredient necessary to show the analogue of Corollary 3.3.2 of [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF].

Corollary 3.6. Let f ∈ S g,h (C) be a geometric Siegel modular form, f ∈ R g,h (C) be the corresponding analytic modular form, and Φ = σ(θ * f ) the corresponding invariant. Let further F ∈ X 0 d give rise to the curve C F equipped with the basis of regular differentials given by the forms ω 1 , . . . , ω g given in equation (3.1). Then if Ω = ( Ω1 Ω2 ) is a Riemann matrix for the curve C F obtained by integrating the forms ω i against a symplectic basis for the homology group H 1 (C F , Z) and Z = Ω -1

2 Ω 1 ∈ H g , we have

Φ(F ) = (2iπ) gh f (Z) det Ω h 2 .
The last two results display a connection between Siegel modular forms of even weight restricted to the hyperelliptic locus and invariants of binary forms of degree 2g + 2.

Denominators of modular invariants and primes of bad reduction

In this Section we prove our main theorem, Theorem 1.1. The proof of this result has three main ingredients. In the previous Section, we have already adapted to the case of hyperelliptic curves a result of Lachaud, Ritzenthaler and Zykin [START_REF] Lachaud | Jacobians among abelian threefolds: a formula of Klein and a question of Serre[END_REF] that connects invariants of curves to Siegel modular forms. In this Section, we now generalize a result of Lockhart [START_REF] Lockhart | On the discriminant of a hyperelliptic curve[END_REF] to specifically connect the discriminant of a hyperelliptic curve to the Siegel modular form Σ 140 of equation (1.1). Then, we deduce the divisibility of Σ 140 by an odd prime p to the bad reduction of the curve using a result of Kılıçer, Lauter, Lorenzo García, Newton, Ozman, and Streng [START_REF] Kılıçer | A bound on the primes of bad reduction for CM curves of genus 3[END_REF]. (see [START_REF] Lockhart | On the discriminant of a hyperelliptic curve[END_REF]Definition 1.6]), and a Siegel modular form similar to Σ 140 . From a computational perspective, the issue with the Siegel modular form proposed by Lockhart is that its value, as written, will be nonzero only for Z a matrix in a certain Γ(2)-equivalence class. Indeed, on page 740, the author chooses the traditional symplectic basis for H 1 (C, Z) which is given by Mumford [23, Chapter III, Section 5]. If one acts on the symplectic basis by a matrix in Γ(2), the value of the form given by Lockhart will change by a nonzero constant (the appearance of the principal congruence subgroup of level 2 is related to the use of half-integral theta characteristics to define the form), but if one acts on the symplectic basis by a general element of Sp(6, Z), the value of the form might become zero. As explained in [START_REF] Balakrishnan | Constructing genus-3 hyperelliptic Jacobians with CM[END_REF], in general to allow for the period matrix to belong to a different Γ(2)-equivalence class, one must attach to the period matrix an element of a set defined by Poor [START_REF] Poor | The hyperelliptic locus[END_REF], which we call an η-map. Therefore in general one must either modify Lockhart's definition to vary with a map η admitted by the period matrix or use the form Σ 140 , which is nonzero for any hyperelliptic period matrix. We give here the connection between these two options. We begin by describing the maps η that can be attached a hyperelliptic period matrix. We refer the reader to [START_REF] Poor | The hyperelliptic locus[END_REF] or [START_REF] Balakrishnan | Constructing genus-3 hyperelliptic Jacobians with CM[END_REF] for full details.

Throughout, let C be a smooth hyperelliptic curve of genus g defined over C equipped with a period matrix Z for its Jacobian, and for which the branch points of the degree 2 morphism π : C → P 1 have been labeled with the symbols {1, 2, . . . , 2g + 1, ∞}. We note that this choice of period matrix yields an Abel-Jacobi map, AJ : Jac(C) → C g /(Z g + ZZ g ). We begin by defining a certain combinatorial group we will need. Given the labeling of the branch points of C, there is a group isomorphism (see [START_REF] Mumford | Jacobian theta functions and differential equations, With the collaboration[END_REF]Corollary 2.11] for details) between the 2-torsion of the Jacobian of C and the group G B in the following manner: To each set S ⊆ B such that #S ≡ 0 (mod 2), associate the divisor class of the divisor

e S = i∈S P i -(#S)P ∞ . (4.2)
Then we can assign a map which we denote η by sending S ⊆ B to the unique vector η S in (1/2)Z 2g /Z 2g such that AJ(e S ) = (η S ) 2 + Z(η S ) 1 . Since there are (2g + 2)! different ways to label the 2g + 2 branch points of a hyperelliptic curve C of genus g, there are several ways to assign a map η to a matrix Z ∈ H g . It suffices for our purposes to have one such map η.

Given a map η attached to Z, one may further define a set U η ⊆ B:

U η = {i ∈ B -{∞} : e * (η({i})) = -1} ∪ {∞},
where for ξ = ( ξ1 ξ2 ) ∈ (1/2)Z 2g , we write e * (ξ) = exp(4πiξ T 1 ξ 2 ), as in equation (2.2).

Then following Lockhart [20, Definition 3.1], we define Definition 4.2. Let Z ∈ H g be a hyperelliptic period matrix. Then we write

φ η (Z) = T ∈I ϑ[η T •Uη ](0, Z) 4 (4.3)
where I is the collection of subsets of {1, 2, . . . , 2g + 1, ∞} that have cardinality g + 1.

Remark 4.3. We note that in this work we write our hyperelliptic curves with a model of the form y 2 = F (x, 1), where F is of degree 2g + 2. In other words we do not require one of the Weierstrass points of the curve to be at infinity. It is for this reason that we modify Lockhart's definition above, so that the analogue of his Proposition 3.2 holds for F of degree 2g + 2 rather than 2g + 1.

The Siegel modular form that we define here is equal to the one given in his Definition 3.1 for the following reason: Because

T c • U η = (T • U η ) c , it follows that η T •Uη ≡ η T c •Uη (mod Z). Therefore ϑ[η T •Uη ](0, Z) differs from ϑ[η T c
•Uη ](0, Z) by at worse their sign. Since we are raising the theta function to the fourth power, the sign disappears, and the product above is equal to the product given by Lockhart, in which T ranges only over the subsets of {1, 2, . . . , 2g + 1} of cardinality g + 1, but each theta function is raised to the eighth power.

We now recall Thomae's formula, which is proven in [START_REF] Fay | Theta functions on Riemann surfaces[END_REF][START_REF] Mumford | Jacobian theta functions and differential equations, With the collaboration[END_REF] for Mumford's period matrix, obtained using his so-called traditional choice of symplectic basis for the homology group H 1 (C, Z), and in [START_REF] Balakrishnan | Constructing genus-3 hyperelliptic Jacobians with CM[END_REF] for any period matrix. 2 Ω 1 ∈ H g be the period matrix associated to this symplectic basis. Finally, let η be an η-map attached to the period matrix Z. For any subset S of B of even cardinality, we have that

ϑ[η S•Uη ](0, Z) 4 = c i<j i,j∈S (a i -a j ) i<j i,j ∈S (a i -a j ),
where c is a constant depending on Z and on the model for C.

We now restrict our attention to the case of genus g = 3 which is of interest to us in this work. We note that since Z is a hyperelliptic period matrix, by [START_REF] Igusa | Modular forms and projective invariants[END_REF] a single one of its even theta constants vanishes, and therefore we have

φ η (Z) = Σ 140 (Z).
We then have the following Theorem, which is a generalization to our setting of Proposition 3.2 of [START_REF] Lockhart | On the discriminant of a hyperelliptic curve[END_REF] for genus 3 hyperelliptic curves: Theorem 4.5. Let C be a hyperelliptic curve defined over C and fix

y 2 = F (x, 1) = 2g+2 i=1 (x -a i ) a model for C. Let Ω = ( Ω1 Ω2
) be a Riemann matrix for the curve obtained by integrating the forms ω i of equation (3.1) against a symplectic basis for the homology group H 1 (C, Z) and Z = Ω -1

2 Ω 1 ∈ H g be the period matrix associated to this symplectic basis. Then

∆ 15 = 2 180 π 420 det(Ω 2 ) -140 Σ 140 (Z), (4.4)
where we recall that ∆ is the discriminant of the model that we have fixed for C.

Proof. We show how to modify Lockhart's proof. We first remind the reader that ∆ = 2 12 D by [START_REF] Lockhart | On the discriminant of a hyperelliptic curve[END_REF]Definition 1.6], where again D is the discriminant of the binary form F (x, z). Then as Lockhart does, we use Thomae's formula:

ϑ[η T •Uη ](0, Z) 4 = c i<j i,j∈T (a i -a j ) i<j i,j ∈T (a i -a j ),
if T is a subset of {1, 2, . . . , 7, ∞} of cardinality 4. Taking the product over all such T , we get

φ η (Z) = c 70 T     i<j i,j∈T (a i -a j ) i<j i,j ∈T (a i -a j )     ,
since 8 4 = 70. We now count how many times each factor of (a ia j ) appears on the left-hand side:

#{T : i, j ∈ T or i, j ∈ T } = #{T : i, j ∈ T } + #{T : i, j ∈ T } = 6 2 + 6 4 = 2 6 4 = 30.
Therefore,

φ η (Z) = c 70 i<j i,j∈B (a i -a j ) 30 , = c 70 D 15 , = 2 -180 c 70 ∆ 15 .
Since Σ 140 (Z) = φ η (Z) when Z is hyperelliptic, we therefore get that

∆ 15 = 2 180 c -70 Σ 140 (Z). (4.5)
We now compute the value of the constant c. We denote by Z the period matrix associated to Mumford's so-called traditional choice of a symplectic basis for the homology group H 1 (C, Z). Lockhart showed that:

∆ 15 = 2 180 π 420 det( Ω2 ) -140 Σ 140 ( Z), (4.6)
where Ω2 is the right half of the Riemann matrix obtained by integrating the basis of forms ω i of equation (3.1) against Mumford's traditional basis for homology. Now consider again our arbitrary period matrix Z and let M = ( A B C D ) ∈ Sp(6, Z) be such that M • Z = Z. Since Σ 140 is a Siegel modular form of weight 140 for Sp(6, Z), it follows that Σ 140 (Z) = det(C Z+D) 140 Σ 140 ( Z) and combining equations (4.5) and (4.6), we obtain

c = π -6 det(C Z + D) 2 det( Ω2 ) 2 = π -6 det( ZC T + D T ) 2 det( Ω2 ) 2 = π -6 det(Ω 2 ) 2 .
To obtain the last equality we used the fact that Ω 2 = Ω1 C T + Ω2 D T . This concludes the proof.

Up to the factors of 2 appearing in the formula, this Theorem therefore realizes Corollary 3.6, as it connects explicitly an invariant of a hyperelliptic curve to a Siegel modular form. We furthermore note that the proof above suggests that the constant c in Thomae's formula for a general period matrix Z of the Jacobian of a hyperelliptic curve of genus g is π -2g det(Ω 2 ) 2 . Finally, the proof of Theorem 4.5 could be easily generalized to genus g > 3 if φ η were shown to be a modular form for Sp(2g, Z). We believe this is true, but leave it as future work. . In [26, p. 291], for Z a hyperelliptic period matrix, the author defines the set M = (ξ 1 , . . . , ξ ng ) to be the unique, up to permutations, sequence of mutually distinct even characteristics satisfying:

P (M )(Z) = ϑ[ξ 1 ](0, Z)ϑ[ξ 2 ](0, Z) . . . ϑ[ξ ng ](0, Z) = 0.
We note that the eighth power of this form is exactly the form which we denote here by φ η , since θ[η T •Uη ](0, Z) = 0 if and only if T has cardinality g + 1, by Mumford and Poor's Vanishing Criterion for hyperelliptic curves [25, Proposition 1.4.17], and in the product giving φ η , each characteristic appears twice.

The author then introduces the modular form

F (Z) = σ∈Sp(2g,F2) P (σ • M ) 8 (Z),
where Sp(2g, F 2 ) is the group of 2g × 2g symplectic matrices with entries in F 2 , and where the action of Sp(2g, F 2 ) on the set M is given in the following manner: For

σ = ( A B C D ) ∈ Sp(2g, F 2 ) and m ∈ (1/2)Z 2g (mod Z 2g ) a characteristic, we write σ • m = D -C -B A m + diag(C T D) diag(A T B) .
Then P (σ • M ) is simply the form P (M ) but with each characteristic ξ i replaced with σ • ξ i .

For Z a hyperelliptic matrix, P (σ • M )(Z) is nonzero exactly when σ • M is a permutation of M , by definition of the set M . Therefore, up to a constant, F is simply Σ 140 on the hyperelliptic locus, and therefore F -Σ 140 is of the form aχ 18 for a ∈ C.

The author then proves that ρ(F ) = D gng /(2g+1) , where as before D is the discriminant of the binary form F (x, z) such that the hyperelliptic curve is given by the equation y 2 = F (x, 1). We note that the power given here corrects an error in the manuscript [START_REF] Salvati | Slope of cusp forms and theta series[END_REF], and agrees with the result we obtain in this paper. Therefore we have

j(Z) = h Σ ℓ 140 (Z) = (2πi) -3 k det(Ω 2 ) k Φ(F ) π -420ℓ det(Ω 2 ) 140ℓ Disc(F ) 15ℓ = 2 -140k gcd(k,140) Φ(F ) Disc(F ) 15ℓ .
We note that since Φ is assumed to be an integral invariant, it does not have a denominator when evaluated at F ∈ Z[x, z]. We have thus obtained an invariant as in [START_REF] Kılıçer | A bound on the primes of bad reduction for CM curves of genus 3[END_REF]Theorem 7.1] (we note that loc. cit. assumes throughout that invariants of hyperelliptic curves are integral, see the discussion between Proposition 1.4 and Theorem 1.5), having negative valuation at the prime p. We conclude that C has bad reduction at this prime.

Computing modular invariants

In this Section, we consider certain modular functions having Σ 140 in the denominator. We then present a list of hyperelliptic curves of genus 3 for which we computed the primes of bad reduction. As illustration of Theorem 1.1, we implemented and computed with high precision the modular functions involving the form Σ 140 at period matrices corresponding to curves in our list. 5.1. Computation of the modular invariants. For a given hyperelliptic curve model, we used the Molin-Neurohr Magma code [21] to compute a first period matrix and then applied the reduction algorithm given in [START_REF] Kılıçer | Plane quartics over Q with complex multiplication[END_REF] and implemented by Sijsling in Magma to obtain a so-called reduced period matrix that is Sp(2g, Z)equivalent to the first matrix, but that provides faster convergence of the theta constants.

Once we obtained a reduced period matrix Z, using Labrande's Magma implementation for fast theta function evaluation [START_REF] Labrande | Code for fast theta function evaluation[END_REF], we computed the 36 even theta constants for these reduced period matrices, up to 30,000 bits of precision. 2 Finally, from these theta constants we computed the modular invariants that we define below.

To define our modular invariants, we consider the following Siegel modular forms. Let h 4 be the Eisenstein series of weight 4 given by

h 4 (Z) = 1 2 3 ξ θ[ξ] 8 (Z), (5.1)
where ξ ranges over all even theta characteristics. We denote by α 12 the modular form of weight 12 defined by Tsuyumine [START_REF] Tsuyumine | On Siegel modular forms of degree 3[END_REF]:

α 12 (Z) = 1 2 3 • 3 2 (ξi) (θ[ξ 1 ](Z)θ[ξ 2 ](Z)θ[ξ 3 ](Z)θ[ξ 4 ](Z)θ[ξ 5 ](Z)θ[ξ 6 ](Z)) 4 , (5.2)
where (ξ 1 , ξ 2 , ξ 3 , ξ 4 , ξ 5 , ξ 6 ) is a maximal azygetic system of even theta characteristics. By this we mean that (ξ i ) is a sextuple of even theta characteristics such 2 Apart from curves (1) and ( 6), we could recognize these values as algebraic numbers with 15,000 bits of precision; for curve (1), we needed 30,000 bits of precision. In fact, for CM field [START_REF] Steven | Equations For Modular Curves[END_REF], the theta constants obtained using the Magma implementation [START_REF] Labrande | Code for fast theta function evaluation[END_REF] for high precision (i.e. ≥ 30, 000 bits) were not conclusive. We therefore ran an improved implementation of the naive method to get these values up to 30,000 bits of precision, and recognized the invariants as algebraic numbers after multiplying by the expected denominators.

that the sum of any three among these six is odd. Notice that α 12 is one of the 35 generators given by Tsuyumine [START_REF] Tsuyumine | On the Siegel modular function field of degree three[END_REF] of the graded ring A(Γ 3 ) of modular forms of degree 3 and cannot be written as a polynomial in Eisenstein series.

In the computations below, we consider thus the following three modular functions:

j 1 (Z) = h 35 4 Σ 140 (Z), j 2 (Z) = α 35 12 Σ 3 140 (Z), j 3 (Z) = h 5 4 α 10 12
Σ 140 (Z).

(5.3) 5.2. Invariants of hyperelliptic curves of genus 3. We say that a genus 3 curve C over a field M has complex multiplication (CM) by an order O in a sextic CM field K if there is an embedding O ֒→ End(Jac(C) M ). The curves numbered ( 1)-( 8) below are the conjectural complete list of hyperelliptic CM curves of genus 3 that are defined over Q. As we mentioned in the introduction, they are taken from a list that can be found in [START_REF] Kılıçer | Rational CM points and class polynomials for genus three[END_REF]. We note more specifically that the curves ( 5), ( 6) and (8) were found by Balakrishnan, Ionica, Kılıçer, Lauter, Somoza, Streng, and Vincent, and ( 1), ( 2), (3), and (7) were computed by Weng [START_REF] Weng | A class of hyperelliptic CM-curves of genus three[END_REF]. Moreover, the hyperelliptic model of the curve with complex multiplication by the ring of integers in CM field (3) was proved to be correct by Tautz, Top, and Verberkmoes [29, Proposition 4], and the hyperelliptic model of the curve with complex multiplication by the ring of integers in CM field (4) was given by Shimura and Taniyama [START_REF] Shimura | Abelian varieties with complex multiplication and modular functions[END_REF] (see Example (II) on page 76). For these examples, O K denotes the ring of integers of the CM field K.

The curves numbered ( 9)-( 10) are non-CM hyperelliptic curves presented in [START_REF] Balakrishnan | Chabauty-Coleman experiments for genus 3 hyperelliptic curves[END_REF]. They were already used there for experiments, this time related to the Chabauty-Coleman method. The curves numbered (11)-( 13) are non-CM modular hyperelliptic curves; a list, which contains X 0 (33), X 0 (39) and X 0 (41), of modular hyperelliptic curves are given by Ogg [START_REF] Ogg | Hyperelliptic modular curves[END_REF], then Galbraith in his Ph.D thesis writes equations for these curves [START_REF] Steven | Equations For Modular Curves[END_REF].

When we say that a prime is of bad reduction, we will mean that it is a prime of geometrically bad reduction of the curve. For each curve below, the odd primes of bad reduction are computed using the results in [18, Section 3] if p > 7 and in Proposition 4.5 and Corollary 4.6 in [START_REF] Bouw | Computing L-functions and semistable reduction of superelliptic curves[END_REF] if p = 3, 5, 7. We denote the discriminant of a curve C by ∆, as before.

( ( We note that because of its large weight, Σ 140 is expensive to compute, so the modular invariants computed here may not be the most convenient to use from a computational point of view. As suggested by Lockhart [20,p. 741], it might be worth finding a Siegel modular form that corresponds to a lower power of the discriminant, especially if one is to pursue further the goal of finding modular expressions for the Shioda invariants. We note that Tsuyumine [START_REF] Tsuyumine | On the Siegel modular function field of degree three[END_REF] introduced the modular form χ 28 of weight 28 such that ρ(χ 28 ) = D 3 , where as earlier D is the discriminant of the binary form F (x, z) such that the hyperelliptic curve is given by y 2 = F (x, z). The reason for which we chose to work with Σ 140 in the computations is because it was straightforward to implement.

) ([32, §6 -3rd ex.]) Let K = Q[x]/(x 6 + 13x 4 + 50x 2 + 49), 1
3) ([32, §6 -1st ex.]) Let K = Q[x]/(x 6 + 5x 4 + 6x 2 + 1) = Q(ζ 7 + ζ -1 7 , i),
Finally, we note that in the non-hyperelliptic curve case, one could show with similar reasoning as in Theorem 1.1 that a modular function having a power of χ 18 in the denominator, when evaluated at a plane quartic period matrix, has denominator divisible by the primes of bad reduction or of hyperelliptic reduction of the curve associated to the period matrix. In this direction, a relationship between χ 18 and the discriminant of the non-hyperelliptic curve was shown by Lachaud, Ritzenthaler, and Zykin [17, Theorem 4.1.2, Klein's formula].

Conclusion

We have displayed a connection between the values of certain geometric modular forms of even weight restricted to the hyperelliptic locus and the primes of bad reduction of hyperelliptic curves. A complete description of the Shioda invariants of hyperelliptic curves in terms of modular forms deserves further investigation. However, our result, combined with the bounds obtained in [START_REF] Kılıçer | A bound on the primes of bad reduction for CM curves of genus 3[END_REF] on primes of bad reduction for hyperelliptic curves, yields a bound on the primes appearing in the denominators of modular invariants.

4. 1 .

 1 The modular discriminant. We first turn our attention to the work of Lockhart, [20, Definition 3.1], in which the author gives a relationship between the discriminant ∆ of a hyperelliptic curve of genus g given by y 2 = F (x, 1), which is related to the discriminant D of the binary form F (x, z) by the relation ∆ = 2 4g D (4.1)

Definition 4 . 1 .

 41 Let B = {1, 2, . . . , 2g + 1, ∞}. For any two subsets S 1 , S 2 ⊆ B, we defineS 1 • S 2 = (S 1 ∪ S 2 ) -(S 1 ∩ S 2 ), the symmetric difference of the two sets. For S ⊆ B we also define S c = B -S, the complement of S in B. Then we have that the set {S ⊆ B : #S ≡ 0 (mod 2)}/{S ∼ S c } is a commutative group under the operation •, of order 2 2g , with identity ∅ ∼ B.

Theorem 4 . 4 (

 44 Thomae's formula). Let C be a hyperelliptic curve defined over C and fixy 2 = F (x, 1) = 2g+2 i=1 (x-a i ) a model for C. Let Ω = ( Ω1 Ω2) be a Riemann matrix for the curve obtained by integrating the forms ω i of equation (3.1) against a symplectic basis for the homology group H 1 (C, Z) and Z = Ω -1

Remark 4 . 6 .

 46 Let n g = 2g+1 g

4. 2 .

 2 Proof of Theorem 1.1. We are now in a position to prove Theorem 1.1. For simplicity, we replace f 140 gcd(k,140) with h, a Siegel modular form of weight k = 140k gcd(k,140) , and let ℓ = k gcd(k,140) . Note that k = 140ℓ and is divisible by 4. Using the notation of Section 3, the analytic Siegel modular form h corresponds to a geometric Siegel modular form h by Proposition 3.1. Let Φ = σ(θ * h) be the corresponding invariant of the hyperelliptic curve. Then by Corollary 3.6, if the hyperelliptic curve y 2 = F (x, 1) has period matrix Z, we have Φ(F ) = (2πi) 3 k det(Ω 2 ) -kh(Z ).

( 6 )

 6 which is of class number 1. A model for the hyperelliptic curve with CM by O K is C : y 2 = x 7 + 7x 5 + 14x 3 + 7x with ∆ = -2 18 • 77 . The curve C has good reduction at each odd p = 7 and potentially good reduction at p = 7.(4) Let K = Q[x]/(x 6 + 7x 4 + 14x 2 + 7) = Q(ζ 7 ), which is of class number 1 and contains Q( √ -7). A model for the hyperelliptic curve with CM by O K is C : y 2 = x 7 -1 with ∆ = -2 12 • 77 . The curve C has good reduction at each odd p = 7 and potentially good reduction at p = 7.(5) Let K = Q[x]/(x 6 + 42x 4 + 441x 2 + 847),which is of class number 12 and contains Q( √ -7). A model for the hyperelliptic curve with CM by O K is C : y 2 + x 4 y = -7x 6 + 63x 4 -140x 2 + 393x -28 with ∆ = -3 8 • 5 24 • 7 7 . The odd primes of bad reduction of C are 3 and 5. Let K = Q[x]/(x 6 + 29x 4 + 180x 2 + 64), which is of class number 4 and contains Q(i). A model for the hyperelliptic curve with CM by O K is C : y 2 = 1024x 7 -12857x 5 + 731x 3 + 688x with ∆ = -2 60 • 11 24 • 43 7 . The only odd prime of bad reduction of C is 11. (7) ([32, §6 -4th ex.]) Let K = Q[x]/(x 6 + 21x 4 + 116x 2 + 64), which is of class number 4 and contains Q(i). A model for the hyperelliptic curve with CM by O K is C : y 2 = 64x 7 -124x 5 + 31x 3 + 31x with ∆ = -2 44 • 31 7 . The curve has potentially good reduction at 31. (8) Let K = Q[x]/(x 6 + 42x 4 + 441x 2 + 784), which is of class number 4 and contains Q(i). A model for the hyperelliptic curve with CM by O K is C : y 2 = 16x 7 + 357x 5 -819x 3 + 448x with ∆ = -2 48 • 3 8 • 7 7 . The only odd prime of bad reduction of C is 3. (9) ([1]) The hyperelliptic curve C : y 2 = 4x 7 + 9x 6 -8x 5 -36x 4 -16x 3 + 32x 2 + 32x + 8 is a non-CM curve with ∆ = 2 37 •1063. The only odd prime of bad reduction of C is 1063. (10) ([1]) The hyperelliptic curve C : y 2 = -4x 7 + 24x 6 -56x 5 + 72x 4 -56x 3 + 28x 2 -8x + 1 is a non-CM curve with ∆ = -2 28 •3 4 •599. The odd primes of bad reduction of C are 3 and 599.

  which is of class number 1 and contains Q(i). A model for the hyperelliptic curve with CM by O K is C : y 2 = x 7 + 1786x 5 + 44441x 3 + 278179x with ∆ = -2 18 • 7 24 • 11 12 • 19 7 . The odd primes of bad reduction of C are 7 and 11.

	(2) ([32, §6 -2nd ex.]) Let K = Q[x]/(x 6 + 6x 4 + 9x 2 + 1), which is of class number 1 and contains Q(i). A model for the hyperelliptic curve with CM
	by O K is

C : y 2 = x 7 + 6x 5 + 9x 3 + x with ∆ = -2

18

• 3 8 . The only odd prime of bad reduction of C is 3.

Most of Kılıçer's work was carried out during her stay in Universiteit Leiden and Carl von Ossietzky Universität Oldenburg.

Maike Massierer was supported by the Australian Research Council (DP150101689).

Vincent is supported by the National Science Foundation under Grant No. DMS-1802323.

 [START_REF] Ichikawa | Generalized Tate curve and integral Teichmüller modular forms[END_REF] ([6] [START_REF] Ogg | Hyperelliptic modular curves[END_REF]) The hyperelliptic curve C : y 2 = x 8 + 10x 6 -8x 5 + 47x 4 -40x 3 + 82x 2 -44x + 33 is the modular curve X 0 (33). It has ∆ = 2 28 • 3 12 • 11 6 . The odd primes of bad reduction of C are 3 and 11. [START_REF] Igusa | Modular forms and projective invariants[END_REF] ([6] [START_REF] Ogg | Hyperelliptic modular curves[END_REF]) The hyperelliptic curve C : y 2 = x 8 -6x 7 + 3x 6 + 12x 5 -23x 4 + 12x 3 + 3x 2 -6x + 1 is the modular curve X 0 (39). It has ∆ = 2 28 • 3 8 • 13 4 . The odd primes of bad reduction of C are 3 and 13. (13) ([6] [START_REF] Ogg | Hyperelliptic modular curves[END_REF]) The hyperelliptic curve

is the modular curve X 0 (41). It has ∆ = -2 28 • 41 6 . The only odd prime of bad reduction of C is 41.

We recall that the discriminant ∆ of a hyperelliptic curve C of genus 3 is an invariant of degree 14 (Section 1.5 of [START_REF] Lercier | Hyperelliptic curves and their invariants: geometric, arithmetic and algorithmic aspects[END_REF]). For our computations, we considered the following absolute 3 invariants, derived using the Shioda invariants:

2 /∆, J 14 3 /∆ 3 , J 7 4 /∆ 2 , J 14 5 /∆ 5 , J 7 6 /∆ 3 , J 2 7 /∆, J 7 8 /∆ 4 , J 14 9 /∆ 9 , J 7 10 /∆ 5 .

(

The numerical data in Table 5.1 shows the tight connection between the odd primes appearing in the denominators of these invariants, the odd primes of bad reduction for the hyperelliptic curve, and the odd primes dividing the denominators of j 1 , j 2 and j 3 . In the denominators of j 1 , j 2 and j 3 , we intentionally omitted the denominators of the formulae (5.1) and (5.2), i.e. 2 3 and 2 3 • 3 2 . Note that we do not have a proof for the fact that h 4 and α 12 fulfill the condition in Theorem 1.1, i.e. that their corresponding curve invariants are integral. One can see that for all the curves we considered, a prime ≥ 3 appears in the denominator of these modular invariants if and only if it is a prime of bad reduction for the curve. Our results are evidence that either the condition in Theorem 1.1 is a reasonable one, or that the result in this theorem may be extended to a larger class of modular forms.

Note that the Shioda invariants J 2 , J 3 , . . . , J 10 are not integral and their denominators factor as products of powers of 2,3,5 and 7 (see [START_REF] Lercier | Hyperelliptic curves and their invariants: geometric, arithmetic and algorithmic aspects[END_REF] for a set of formulae). This is the reason why these primes may appear in the denominators of the Shioda invariants, even when they are not primes of bad reduction. However, one can see that the primes > 7 appearing in the denominators of the invariants in Eq. (5.4) are exactly the primes of bad reduction, which confirms Theorem 7.1 in [START_REF] Kılıçer | A bound on the primes of bad reduction for CM curves of genus 3[END_REF]. In the Table, all the entries marked byrepresent values equal to zero. (2)