\documentclass[11pt,reqno]{amsart} \usepackage{amsmath,amssymb,amsthm} \usepackage{booktabs} \usepackage[letterpaper,margin=1.25in]{geometry} \usepackage{xcolor} \usepackage[backref]{hyperref} \usepackage{aliascnt} \usepackage{cleveref} \newtheorem{theorem}{Theorem}[section] \newcommand{\sharedtheorem}[2]{\newaliascnt{#1}{theorem}\newtheorem{#1}[#1]{#2}\aliascntresetthe{#1}} \sharedtheorem{lemma}{Lemma} \sharedtheorem{proposition}{Proposition} \sharedtheorem{corollary}{Corollary} \sharedtheorem{conjecture}{Conjecture} \theoremstyle{definition} \sharedtheorem{remark}{Remark} \numberwithin{equation}{section} \setlength{\emergencystretch}{2em} \crefname{conjecture}{Conjecture}{Conjectures} \Crefname{conjecture}{Conjecture}{Conjectures} \newcommand{\Q}{\mathbb{Q}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\C}{\mathbb{C}} \newcommand{\F}{\mathbb{F}} \newcommand{\T}{\mathbb{T}} \newcommand{\Qbar}{\overline{\Q}} \newcommand{\OO}{\mathcal{O}} \newcommand{\cA}{\mathcal{A}} \newcommand{\cJ}{\mathcal{J}} \newcommand{\cU}{\mathcal{U}} \newcommand{\cV}{\mathcal{V}} \newcommand{\cX}{\mathcal{X}} \newcommand{\cH}{\mathcal{H}} \newcommand{\tor}{\mathrm{tors}} \newcommand{\diamondop}[1]{\langle #1 \rangle} \def\torz#1{\mathbb Z /#1 \mathbb Z} \DeclareMathOperator{\SL}{SL} \DeclareMathOperator{\Hom}{Hom} \DeclareMathOperator{\End}{End} \DeclareMathOperator{\Spec}{Spec} \DeclareMathOperator{\Spf}{Spf} \DeclareMathOperator{\Frac}{Frac} \DeclareMathOperator{\Res}{Res} \DeclareMathOperator{\Frob}{Frob} \DeclareMathOperator{\Ver}{Ver} \DeclareMathOperator{\divisor}{div} \newcommand{\todo}[1]{{\color{red}[TODO: #1]}} % Links to the code, pinned to the revision named in the data availability paragraph. \newcommand{\coderev}{0b1ad1c7fc5536eca2f899cf0603d285028cab95} \newcommand{\gitlink}[2]{\href{https://github.com/F-Najman/J1_p_tors/blob/\coderev/#1}{#2}} \newcommand{\github}[2]{[\href{https://github.com/F-Najman/J1_p_tors/blob/\coderev/#1}{\texttt{\detokenize{#1}}}, #2]} \title[Rational torsion of $J_1(p)$]{The rational torsion of $J_1(p)$ is generated by differences of rational cusps} \author{Filip Najman} \address{University of Zagreb, Bijeni\v{c}ka Cesta 30, 10000 Zagreb, Croatia} \email{fnajman@math.hr} \keywords{modular Jacobians, rational torsion, cuspidal subgroup, Eisenstein ideal, unbounded denominators} \subjclass[2020]{11G18, 14G35, 11F11, 14G05} \thanks{The author was supported by the Croatian Science Foundation under the project no.\ IP-2022-10-5008, by the project ``Implementation of cutting-edge research and its application as part of the Scientific Center of Excellence for Quantum and Complex Systems, and Representations of Lie Algebras'', PK.1.1.10.0004, co-financed by the European Union through the European Regional Development Fund -- Competitiveness and Cohesion Programme 2021--2027, and by the European Union -- NextGenerationEU through the National Recovery and Resilience Plan 2021--2026, via an institutional grant of the University of Zagreb Faculty of Science, IK IA 1.1.3, Impact4Math.} \begin{document} \begin{abstract} Let $p\geq 5$ be a prime. Conrad, Edixhoven and Stein conjectured that the rational torsion subgroup of the Jacobian $J_1(p)$ of the modular curve $X_1(p)$ is generated by the differences of the rational cusps of $X_1(p)$. Ohta proved the conjecture up to $2$-primary torsion, and it has been verified computationally for all $p\leq 157$. We prove the conjecture for all primes $p$. The main new ingredient is the injectivity of the reduction map $J_1(N)(\Q)_\tor\to J_1(N)(\F_2)$, which we prove for every odd integer $N\geq5$ using the unbounded denominators theorem of Calegari, Dimitrov and Tang. For $N=p$ this allows us to extend Ohta's method to the prime $2$. \end{abstract} \maketitle \section{Introduction} Let $p$ be a prime and let $J_0(p)$ and $J_1(p)$ be the Jacobians of the modular curves $X_0(p)$ and $X_1(p)$. By the Manin-Drinfeld theorem \cite{Drinfeld73,Manin72}, the classes of divisors of degree $0$ supported on the cusps of a modular curve are torsion points of its Jacobian. Ogg \cite{Ogg73} showed that the class of $(0)-(\infty)$ generates a subgroup of $J_0(p)(\Q)$ of order $n$, the numerator of $(p-1)/12$, and conjectured \cite{Ogg75} that this subgroup is all of $J_0(p)(\Q)_\tor$. Mazur \cite{Mazur77} proved Ogg's conjecture, as a part of his study of the Eisenstein ideal. For $J_1(p)$ the corresponding statement was conjectured by Conrad, Edixhoven and Stein. We use the model of $X_1(p)$ over $\Q$ whose non-cuspidal points parametrize pairs $(E,P)$ consisting of an elliptic curve $E$ and a point $P\in E$ of order $p$ (see \Cref{sec:notation}). Exactly $(p-1)/2$ of the $p-1$ cusps of $X_1(p)$ are defined over $\Q$. We denote by $C_1(p)$ the subgroup of $J_1(p)(\Q)$ generated by the classes of the differences of these cusps, and call it the \textit{rational cuspidal subgroup}. \begin{conjecture}[{\cite[Conjecture 6.2.2]{CES}}]\label{conj:CES} Let $p\geq 5$ be a prime. Then $J_1(p)(\Q)_\tor=C_1(p)$. \end{conjecture} The order of $C_1(p)$ was computed by Kubert and Lang \cite[Chapter 6, Theorem 3.4]{KubertLang}, following Klimek: \begin{equation}\label{eq:cp} |C_1(p)|=|c(p)|,\qquad\text{where}\qquad c(p):=p\prod_{\chi}\frac{B_{2,\chi}}{4}, \end{equation} $\chi$ runs through the nontrivial even Dirichlet characters modulo $p$, and $B_{2,\chi}$ is the second generalized Bernoulli number of $\chi$ (see also \cite[Section 6.2.3]{CES} and \cite[(3.2.3)]{Ohta13}). Hence \Cref{conj:CES} is equivalent to the equality $|J_1(p)(\Q)_\tor|=|c(p)|$. Ogg \cite{Ogg73} showed that $J_1(13)(\Q)\simeq\torz{19}$. Conrad, Edixhoven and Stein computed an upper bound for $|J_1(p)(\Q)_\tor|$ for all primes $p\leq 157$ and found that it is equal to $|c(p)|$ for all of them except $p\in\{29,97,101,109,113\}$ \cite[Section 6.2.3 and Table 1]{CES}, proving \Cref{conj:CES} for the other primes $p\leq 157$. Derickx, Kamienny, Stein and Stoll proved the conjecture for $p=29$ \cite[Theorem 3.2]{DKSS}, and De Leo and Stoll for $p\in\{97,101,109,113\}$ \cite[Theorem 1.3]{DeLeoStoll}, so the conjecture is known for all $p\leq 157$. De Leo and Stoll also determined the structure of $J_1(p)(\Q)_\tor$ for all $p\leq 113$ \cite[Table 4.5]{DeLeoStoll}. Kamienny \cite{Kamienny05} showed that if a prime $\ell\geq 5$ divides the order of the rational torsion subgroup of the quotient of $J_1(p)$ by the image of $J_0(p)$, then $\ell$ divides $c(p)$. Ohta \cite[Theorem I]{Ohta13} proved \Cref{conj:CES} up to $2$-primary torsion: for every odd prime $\ell$ (including $\ell=p$) he showed that $$J_1(p)(\Q)[\ell^\infty]=C_1(p)[\ell^\infty].$$ His proof follows Mazur's approach through the Eisenstein ideal: he shows that a certain Eisenstein ideal of the $\ell$-adic Hecke algebra annihilates $J_1(p)(\Q)[\ell^\infty]$ and that its index is the $\ell$-part of $c(p)$. The $2$-primary part remained open. Ohta remarks that his proof that the Eisenstein ideal annihilates $J_1(p)(\Q)[\ell^\infty]$ also works for $\ell=2$, except for the element $T_2-1-2\diamondop{2}$, and that this is ``the only (but serious) obstacle'' to the annihilation at $2$ \cite[Remark 3.1.4]{Ohta13}. In this paper we prove \Cref{conj:CES}. \begin{theorem}\label{main_theorem} Let $p\geq 5$ be a prime. Then $J_1(p)(\Q)_\tor=C_1(p)$. In particular $|J_1(p)(\Q)_\tor|=|c(p)|$. \end{theorem} By Ohta's theorem, \Cref{main_theorem} is equivalent to the equality $$J_1(p)(\Q)[2^\infty]=C_1(p)[2^\infty],$$ which we prove in \Cref{sec:proof}. We also show that $J_1(p)(\Q)[2^\infty]$ is isomorphic, as a module over the $2$-adic Hecke algebra, to the quotient of this algebra by the Eisenstein ideal (\Cref{cor:hecke_module}), which is the analogue at $2$ of \cite[Proposition 3.2.7]{Ohta13}. The main new ingredient is the following theorem, which we prove in \Cref{sec:inj}. Unlike \Cref{main_theorem}, it holds at every odd level. \begin{theorem}\label{thm:inj} Let $N\geq 5$ be an odd integer. Then the reduction map $J_1(N)(\Q)_\tor\to J_1(N)(\F_2)$ is injective. \end{theorem} Here $J_1(N)$ is the Jacobian of the modular curve $X_1(N)$ (see \Cref{sec:notation}). As $N$ is odd, $J_1(N)$ has good reduction at $2$, so the reduction map is defined. For every odd prime $\ell\nmid N$ the reduction map $J_1(N)(\Q)_\tor\to J_1(N)(\F_\ell)$ is injective (see \cite[Section 6.1.1]{CES}), so \Cref{thm:inj} shows that $J_1(N)(\Q)_\tor$ injects into $J_1(N)(\F_\ell)$ for every prime $\ell\nmid N$. In the proof of \Cref{main_theorem} we only use the case $N=p$. For the primes $p$ for which $J_1(p)(\Q)$ is finite, this case was proved by Derickx, Kamienny, Stein and Stoll \cite[Proposition 3.4]{DKSS}, by an explicit computation for $p\in\{17,29,31,41\}$. For an odd prime $\ell\neq p$, the statement that $J_1(p)(\Q)[\ell^\infty]$ injects into $J_1(p)(\F_\ell)$ also follows from a theorem of Raynaud \cite[Th\'eor\`eme 3.3.3]{Raynaud74}, and this is what Ohta uses at $\ell$ (see \cite[proof of Lemma 3.1.3 and Section 3.2]{Ohta13}). Raynaud's theorem does not apply when $\ell=2$, and the analogue of \Cref{thm:inj} for $J_0(N)$ is false. For example, $J_0(17)(\Q)\simeq\torz{4}$, and the reduction modulo $2$ of a generator has order $2$ \cite[Remark after Proposition 3.4]{DKSS}. Similarly, $J_0(15)(\Q)\simeq\torz2\times\torz4$ has order $8$, while $\#J_0(15)(\F_2)=4$. In contrast, $X_1(15)$ is the elliptic curve with Cremona label 15a8, and the reduction map $J_1(15)(\Q)\to J_1(15)(\F_2)$ is an isomorphism of groups of order $4$ (see \Cref{sec:numerics}). The proof of \Cref{thm:inj} goes as follows. Suppose that $P\in J_1(N)(\Q)$ is a point of order $2$ that reduces to $0$ modulo $2$. Then the schematic closure of $\{0,P\}$ in the N\'eron model of $J_1(N)$ over $\Z_2$ is isomorphic to $\mu_2$, and from this we obtain an isogeny $\varphi\colon A\to J_1(N)$ of degree $2$ that extends to an \'etale morphism of N\'eron models over $\Z_\ell$ for every prime $\ell$, including $\ell=2$ (\Cref{lem:isogeny}). Pulling $\varphi$ back along an Abel-Jacobi map based at a rational cusp gives a geometrically connected finite \'etale double cover $W$ of the modular curve, with a rational point $w$ above that cusp. Using a smooth model of the modular curve over $\Z$ near the cusp and the N\'eron mapping property, we show that every function on $W$ that is integral over $\Z[j]$ has a $q$-expansion at $w$ with coefficients in $\Z$ (\Cref{lem:integral}). The theorem of Calegari, Dimitrov and Tang \cite[Theorem 1.0.1]{CDT} then shows that the subgroup of index $2$ of $\Gamma_1(N)$ (up to $\pm1$) that corresponds to $W$ is a congruence subgroup. As $W$ is unramified over the modular curve, this subgroup has the same cusp widths as $\Gamma_1(N)$, so by Wohlfahrt's theorem \cite[Theorem 2]{Wohlfahrt64} it contains $\Gamma(N)$. This is impossible, as $\Gamma(N)$ has odd index $N$ in $\Gamma_1(N)$. For $J_0(N)$ the argument breaks down exactly at this last step (see \Cref{rem:J0}). Our argument is an adaptation of the argument of Chi, Liu and Nie in their recent work on the Manin constant \cite[Section 4]{CLN}. They use \cite[Theorem 1.0.1]{CDT} and Wohlfahrt's theorem to show that the lift of a modular parametrization of an elliptic curve through an isogeny is modular, provided that its $q$-expansion has bounded denominators, and they indicate how to extend their method to abelian varieties \cite[Remark 4.8]{CLN}. In our setting the integrality of $q$-expansions comes from the fact that $\varphi$ extends to an \'etale morphism over every $\Z_\ell$. This is the only place where we use that $P$ reduces to $0$ modulo $2$. With \Cref{thm:inj} at hand, Ohta's proof for odd primes \cite[Sections 2, 3.1 and 3.2]{Ohta13} can be carried out at the prime $2$. \Cref{thm:inj} and the Eichler-Shimura relation show that $T_2-1-2\diamondop{2}$ annihilates $J_1(p)(\Q)[2^\infty]$ (\Cref{lem:annihilation}), and \Cref{thm:inj} also replaces Raynaud's theorem in the counting argument of \cite[Section 3.2]{Ohta13}. Ohta's computation of the index of the Eisenstein ideal \cite[Theorem 2.4.2]{Ohta13} uses that the residue characteristic is odd only to see that the constant terms $-B_{2,\chi}/4$ of certain Eisenstein series are integral (in two places). We remove this restriction by writing $B_{2,\chi}/4$ as a linear combination of the values of $\chi$ with $2$-integral coefficients (\Cref{lem:bernoulli}). Finally, Ohta's multiplicity one result \cite[Lemma 3.2.6]{Ohta13} is stated for odd residue characteristic. We prove it in characteristic $2$ along the same lines (\Cref{lem:mult_one}), using Cartier duality instead of the isomorphism of Cartier and Serre, so that the compatibility with the Hecke operator $T_2$ is clear. The proofs in this paper do not use computer calculations. In \Cref{sec:numerics} we describe some computations, for $p\leq 139$ and for $N=15$, that are consistent with \Cref{thm:inj} and \Cref{main_theorem}. As \Cref{conj:CES} was already known for $p\leq 157$, they only test the intermediate statements and our conventions. The code for these computations, together with the logs of our runs, can be found at \begin{center} \url{https://github.com/F-Najman/J1_p_tors} \end{center} In the digital form of this article, the words reporting a computation, such as ``we \gitlink{orders.m}{compute}'', are hyperlinks to the script that carries it out, at the revision \begin{center} \path{0b1ad1c7fc5536eca2f899cf0603d285028cab95} \end{center} of the repository. Each claim of \Cref{sec:numerics} is labelled in the code by a comment such as \texttt{// Claim 1}, is checked there by an \texttt{assert} statement, and is confirmed in the log by the line \texttt{Claim 1 successfully verified}. The file \texttt{README.md} lists, for each claim, the script and the log. We fix our conventions in \Cref{sec:notation}. We prove \Cref{thm:inj} in \Cref{sec:inj}, compute the index of the Eisenstein ideal at $2$ in \Cref{sec:index}, and prove \Cref{main_theorem} in \Cref{sec:proof}. \subsection*{AI disclosure and comments} AI models were extensively used in the work leading to this paper. OpenAI's GPT-6.2 Astra produced the first version of the proof. Anthropic's Claude Opus 5.5 and Fable 5.2 reviewed that version, ran the computations of \Cref{sec:numerics}, and wrote the draft of the present manuscript, which differs from the first version mainly in the proof of \Cref{thm:inj} and in the details given in \Cref{sec:index,sec:proof}. \section{Conventions and notation}\label{sec:notation} For an abelian group $M$ and an integer $n$, we denote by $M[n]$ the kernel of multiplication by $n$ and by $M[2^\infty]$ the $2$-primary part of $M$. For an abelian variety $A$ over $\Q$ and a prime $\ell$, we denote by $\cA_\ell$ the N\'eron model of $A_{\Q_\ell}$ over $\Z_\ell$. By the N\'eron mapping property, every morphism from a smooth $\Z_\ell$-scheme $\cU$ to $\cA_\ell$ is determined by its generic fibre, and every morphism $\cU_{\Q_\ell}\to A_{\Q_\ell}$ extends to a morphism $\cU\to\cA_\ell$ \cite[Section 1.2]{BLR}. In particular, homomorphisms of abelian varieties extend to homomorphisms of their N\'eron models. If $A$ has good reduction at $\ell$, then $\cA_\ell$ is an abelian scheme \cite[Section 1.2]{BLR}, and we denote by $A(\F_\ell)$ the group of $\F_\ell$-points of its special fibre and by $A(\Q)\to A(\F_\ell)$ the reduction map. Let $N\geq 5$ be an integer. We use the models of modular curves over $\Q$ of \cite{CES} and \cite{Ohta13}. The curve $X_1(N)$ is the smooth projective curve over $\Q$ that contains, as a dense open subscheme, the coarse moduli scheme of pairs $(E,P)$ of an elliptic curve $E$ and a point $P\in E$ of order $N$, and $J_1(N)$ is its Jacobian. By Igusa's theorem \cite[Theorem 8.6.1]{DiamondShurman}, the curve $X_1(N)$ has good reduction at every prime $\ell\nmid N$, and hence so does $J_1(N)$. We also use the curve $X_\mu(N)$, which is defined in the same way using pairs $(E,\alpha)$ of an elliptic curve $E$ and a closed immersion $\alpha\colon\mu_N\hookrightarrow E$ of group schemes \cite[Definition 1.3]{CLN}. The curves $X_1(N)$ and $X_\mu(N)$ are isomorphic over $\Z[1/N]$, via $(E,P)\mapsto(E/\langle P\rangle,E[N]/\langle P\rangle)$, where $E[N]/\langle P\rangle$ is identified with $\mu_N$ by the Weil pairing \cite[proof of Lemma 6.1.6]{CES}. Hence the Jacobian $J_\mu(N)$ of $X_\mu(N)$ is isomorphic to $J_1(N)$ over $\Q$. Let $\infty\in X_\mu(N)(\Q)$ be the cusp given by the standard $1$-gon together with the embedding of $\mu_N$ into its smooth locus $\mathbb G_m$. Let $\cX_\mu(N)$ be the coarse moduli scheme over $\Z$ of pairs $(E,\alpha)$, where $E$ is a generalized elliptic curve with irreducible geometric fibres and $\alpha\colon\mu_N\hookrightarrow E^{\mathrm{sm}}$ is a closed immersion of group schemes. We will use the following facts, which are stated in \cite[proof of Lemma 6.1.6]{CES} (where they are deduced from \cite{KatzMazur} and \cite{DeligneRapoport}, see \cite[Sections 9.3 and 12.3]{DiamondIm}). \begin{enumerate} \item[a)] The scheme $\cX_\mu(N)$ is smooth over $\Z$, and its generic fibre is an open subscheme of $X_\mu(N)$ containing $\infty$. \item[b)] The cusp $\infty$ extends to a point $\infty\in\cX_\mu(N)(\Z)$, and the Tate curve gives an isomorphism between $\Spf\Z[[q]]$ and the formal completion of $\cX_\mu(N)$ along $\infty$. In particular, the expansion of the $j$-invariant in $q$ is the $j$-invariant of the Tate curve, $j=q^{-1}+744+196884q+\dots\in q^{-1}\Z[[q]]$. \item[c)] The choice $\zeta_N=e^{2\pi i/N}$ identifies $X_\mu(N)(\C)$ with $\Gamma_1(N)\backslash\cH^*$, where $\cH^*$ is the union of the upper half plane $\cH$ and $\mathbb P^1(\Q)$. Under this identification the point $\infty$ is the cusp $\infty$ and the parameter $q$ of b) is $e^{2\pi i\tau}$. \end{enumerate} We write $\Z((q))=\Z[[q]][q^{-1}]$, and similarly for other rings of coefficients. By b), the formal completion of $X_\mu(N)$ at $\infty$ is $\Spf\Q[[q]]$, and we call the induced embedding $\Q(X_\mu(N))\hookrightarrow\Q((q))$ the \textit{$q$-expansion} at $\infty$. Now let $p\geq 5$ be a prime. Then $X_1(p)$ is the compactified moduli space of pairs $(E,\beta)$, where $E$ is a generalized elliptic curve and $\beta\colon\torz p\hookrightarrow E^{\mathrm{sm}}$ is an embedding into its smooth locus \cite[Section 3.1]{Ohta13}, and $X_\mu(p)$ is the curve of \cite[Section 1.1]{Ohta13}. Exactly $(p-1)/2$ cusps of $X_1(p)$ are defined over $\Q$ (they are called $0$-cusps in \cite{Ohta13}), and the other $(p-1)/2$ are defined over $\Q(\zeta_p)^+$, the maximal real subfield of $\Q(\zeta_p)$. We denote by $C_1(p)$ the subgroup of $J_1(p)(\Q)$ generated by the classes of divisors of degree $0$ supported on the rational cusps (this is the group $C_0$ of \cite{Ohta13}). Let $G=(\torz p)^\times/\{\pm1\}$. For $a\in G$ we denote by $\diamondop a$ the diamond operator, and for an integer $n\geq1$ by $T_n$ the Hecke operator ($T(n)$ in the notation of \cite{Ohta13}). For a ring $R$, let $h_2(\Gamma_1(p);R)$ be the Hecke algebra of \cite[Definition 1.2.5]{Ohta13}, i.e. the $R$-algebra of endomorphisms of $S_2(\Gamma_1(p);R)$ generated by all $T_n$ and $\diamondop a$. By \cite[Remark 1.3.8(1)]{Ohta13}, $h_2(\Gamma_1(p);R)=h_2(\Gamma_1(p);\Z)\otimes_\Z R$. We put $$\T:=h_2(\Gamma_1(p);\Z_2)=h_2(\Gamma_1(p);\Z)\otimes_\Z\Z_2.$$ As in \cite[(3.1.1)]{Ohta13}, we let $h_2(\Gamma_1(p);\Z)$ act on $J_1(p)$ through Albanese (covariant) functoriality. These endomorphisms extend to the N\'eron models of $J_1(p)$, so they commute with the reduction maps. With this convention, for every prime $\ell\neq p$ the Eichler-Shimura relation reads \begin{equation}\label{eq:ES} T_\ell=\Frob_\ell+\diamondop\ell\Ver_\ell \end{equation} on the special fibre of the N\'eron model of $J_1(p)$ over $\Z_\ell$, where $\Frob_\ell$ and $\Ver_\ell$ are the Frobenius and the Verschiebung \cite[proof of Lemma 3.1.3]{Ohta13}. The \textit{Eisenstein ideal} $I$ of $\T$ is the ideal generated by $$\eta_\ell:=T_\ell-1-\ell\diamondop\ell\ \ (\ell\neq p\text{ prime}),\qquad T_p-1\qquad\text{and}\qquad \tau:=\sum_{a\in G}\diamondop a.$$ This is the ideal $I_{\infty,\Z_2}$ of \cite[Definition 2.1.12]{Ohta13}, and by \cite[Corollary 2.1.14]{Ohta13} it is generated by $\tau$ and the elements $\eta_\ell$. For a ring $R$ we denote by $I_{\infty,R}$ the ideal of $h_2(\Gamma_1(p);R)$ generated by the same elements. For a subgroup $\Gamma\subseteq\SL_2(\Z)$ of finite index containing $-I$ and a cusp $\kappa=\sigma\infty$ with $\sigma\in\SL_2(\Z)$, the \textit{width} of $\kappa$ for $\Gamma$ is the smallest integer $m\geq1$ such that $\sigma U^m\sigma^{-1}\in\Gamma$, where $U=\left(\begin{smallmatrix}1&1\\0&1\end{smallmatrix}\right)$. It is the ramification index at $\kappa$ of the map $\Gamma\backslash\cH^*\to\SL_2(\Z)\backslash\cH^*$. The (Wohlfahrt) \textit{level} $L(\Gamma)$ is the least common multiple of the cusp widths of $\Gamma$ \cite[Section 4.1]{CDT}. The group $\Gamma$ is a \textit{congruence subgroup} if it contains $\Gamma(M)$ for some $M\geq1$. For a subgroup $\Gamma$ of $\SL_2(\Z)$ we denote by $\pm\Gamma$ the subgroup generated by $\Gamma$ and $-I$. Finally, $\Delta=q\prod_{n\geq1}(1-q^n)^{24}\in q\Z[[q]]$ is the discriminant modular form, of weight $12$ for $\SL_2(\Z)$, which has no zeros on $\cH$. \section{Reduction modulo \texorpdfstring{$2$}{2} is injective}\label{sec:inj} We first prove some lemmas about abelian varieties with a point of order $2$ in the kernel of reduction modulo $2$. \begin{lemma}\label{lem:kernel_order2} Let $A$ be an abelian variety over $\Q$ with good reduction at $2$. If the kernel of the reduction map $A(\Q)_\tor\to A(\F_2)$ is nontrivial, then it contains a point of order $2$. \end{lemma} \begin{proof} Let $m$ be an odd integer. The group scheme $\cA_2[m]$ is finite and \'etale over $\Z_2$, so by Hensel's lemma the reduction map $\cA_2[m](\Z_2)\to\cA_2[m](\F_2)$ is injective. Hence the kernel of reduction contains no nonzero points of odd order. Let $Q$ be a nonzero point in the kernel, and write its order as $2^am$ with $m$ odd. Then $2^aQ$ lies in the kernel and has order $m$, so $m=1$, and $a\geq1$ as $Q\neq0$. The point $2^{a-1}Q$ has order $2$ and lies in the kernel. \end{proof} \begin{lemma}\label{lem:mu2} Let $\cA$ be an abelian scheme over $\Z_2$, and let $P\in\cA(\Z_2)$ be a point whose generic fibre has order $2$ and whose reduction is $0\in\cA(\F_2)$. Then the schematic closure $H$ of $\{0,P_{\Q_2}\}$ in $\cA$ is a finite flat subgroup scheme of $\cA$ isomorphic to $\mu_2$. \end{lemma} \begin{proof} The group scheme $\cA[2]=\Spec B$ is finite and flat over $\Z_2$, and its generic fibre contains $\{0,P_{\Q_2}\}$. Hence $H$ is a closed subscheme of $\cA[2]$, flat over $\Z_2$, and $H=\Spec R$, where $R$ is the image of $B$ in the ring of functions on $\{0,P_{\Q_2}\}$, which we identify with $\Q_2\times\Q_2$ by evaluation at $0$ and at $P$. Note that $H$ is a subgroup scheme, as the multiplication of $\cA[2]$ maps $H\times H$, which is flat over $\Z_2$ and hence the closure of its generic fibre, into $H$. Since $0$ and $P$ are $\Z_2$-points of $\cA[2]$, we have $R\subseteq\Z_2\times\Z_2$, and $(1,1)\in R$. If $(x,y)\in R$, then $(0,y-x)=(x,y)-x(1,1)\in R$. Hence $R=\Z_2(1,1)\oplus\Z_2t$, where $t=(0,2^h)$ and $2^h\Z_2$ is the ideal of second coordinates of the elements of $R$ with first coordinate $0$. Since $0$ and $P$ have the same reduction, $x\equiv y\pmod 2$ for every $(x,y)\in R$, so $h\geq1$. The comultiplication $\Delta\colon R\to R\otimes_{\Z_2}R$ is given by $\Delta(f)(x,y)=f(x+y)$ for $x,y\in\{0,P\}$. The function $t$ takes the value $0$ at $0$ and $2^h$ at $P$, so $\Delta(t)$ takes the values $0,2^h,2^h,0$ at $(0,0),(0,P),(P,0),(P,P)$. The function $t\otimes1+1\otimes t$ takes the values $0,2^h,2^h,2^{h+1}$, and $t\otimes t$ takes the value $2^{2h}$ at $(P,P)$ and $0$ at the other three points. It follows that $$\Delta(t)=t\otimes1+1\otimes t-2^{1-h}\,t\otimes t.$$ As $R\otimes_{\Z_2}R$ is a free $\Z_2$-module with basis $1\otimes1$, $t\otimes1$, $1\otimes t$, $t\otimes t$, we obtain $2^{1-h}\in\Z_2$, so $h=1$. Then $x:=1-t=(1,-1)$ generates $R$ as a $\Z_2$-algebra and satisfies $x^2=1$ and $\Delta(x)=x\otimes x$. Hence $H\simeq\Spec\Z_2[x]/(x^2-1)=\mu_2$ as group schemes. \end{proof} \begin{lemma}\label{lem:isogeny} Let $J$ be a principally polarized abelian variety over $\Q$ with good reduction at $2$, and let $P\in J(\Q)$ be a point of order $2$ whose reduction in $J(\F_2)$ is $0$. Then there exist an abelian variety $A$ over $\Q$ and isogenies $\varphi\colon A\to J$ and $\psi\colon J\to A$ over $\Q$ such that $\deg\varphi=2$ and $\psi\circ\varphi=[2]$, and such that for every prime $\ell$ the extension $\varphi_\ell\colon\cA_\ell\to\cJ_\ell$ of $\varphi$ to the N\'eron models over $\Z_\ell$ is \'etale. \end{lemma} \begin{proof} Let $\lambda\colon J\to J^\vee$ be the principal polarization and put $P'=\lambda(P)$. Let $c\colon J^\vee\to A':=J^\vee/\langle P'\rangle$ be the quotient isogeny, let $A=(A')^\vee$, and let $\varphi\colon A\to J$ be the dual isogeny $c^\vee$, composed with the canonical isomorphism $(J^\vee)^\vee\simeq J$. Then $\deg\varphi=\deg c=2$, so $\ker\varphi\subseteq A[2]$, and hence there is an isogeny $\psi\colon J\to A$ with $\psi\circ\varphi=[2]$. Suppose first that $\ell=2$. The varieties $J$, $J^\vee$, $A$ and $A'$ are isogenous, so they all have good reduction at $2$ and their N\'eron models over $\Z_2$ are abelian schemes. The polarization $\lambda$ extends to an isomorphism $\cJ_2\to\cJ^\vee_2$, so $P'$ has order $2$ and reduction $0$. By \Cref{lem:mu2}, the schematic closure $H$ of $\{0,P'\}$ in $\cJ^\vee_2$ is isomorphic to $\mu_2$. The isogeny $c$ extends to an isogeny $c_2\colon\cJ^\vee_2\to\cA'_2$ of abelian schemes, whose kernel is finite and flat over $\Z_2$ with generic fibre $\{0,P'\}$. As a finite flat scheme over $\Z_2$ is the schematic closure of its generic fibre, $\ker c_2=H$. The dual abelian scheme of $\cA'_2$ is an abelian scheme with generic fibre $A$, hence equal to $\cA_2$, and the dual isogeny $c_2^\vee$ is the extension $\varphi_2$ of $\varphi$. Its special fibre is the dual of the special fibre of $c_2$, whose kernel is $H_{\F_2}\simeq\mu_{2,\F_2}$. By \cite[Section 15, Theorem 1]{Mumford70}, the kernel of the special fibre of $\varphi_2$ is the Cartier dual of $\mu_{2,\F_2}$, which is the constant group scheme $\torz 2$ and is \'etale. The generic fibre of $\ker\varphi_2$ is also \'etale, so the finite flat group scheme $\ker\varphi_2$ is \'etale over $\Z_2$ \cite[Tag 02GU]{stacks}, and hence the isogeny $\varphi_2$ of abelian schemes is \'etale. Suppose now that $\ell$ is odd. By the N\'eron mapping property, $\varphi$ and $\psi$ extend to homomorphisms $\varphi_\ell$ and $\psi_\ell$ of N\'eron models with $\psi_\ell\circ\varphi_\ell=[2]$. Since $2$ is invertible in $\Z_\ell$, multiplication by $2$ is \'etale on $\cA_\ell$ \cite[Section 7.3]{BLR}. As $\psi_\ell\circ\varphi_\ell$ is \'etale, $\varphi_\ell$ is unramified \cite[Tag 02GG]{stacks}. On each fibre over $\Z_\ell$, $\varphi_\ell$ is an unramified morphism between smooth varieties of the same dimension, hence flat \cite[Tag 00R4]{stacks}. Since $\cA_\ell$ and $\cJ_\ell$ are flat over $\Z_\ell$, it follows from the fibrewise criterion of flatness \cite[Tag 039B]{stacks} that $\varphi_\ell$ is flat, and hence \'etale. \end{proof} \begin{lemma}\label{lem:connected} Let $X$ be a smooth projective geometrically connected curve over $\Q$, let $x_0\in X(\Q)$, let $J$ be the Jacobian of $X$ and $\iota\colon X\to J$, $x\mapsto[x-x_0]$ the Abel-Jacobi map, and let $\varphi\colon A\to J$ be an isogeny of degree $2$ of abelian varieties over $\Q$. Then $$W:=X\times_{\iota,J,\varphi}A$$ is a geometrically connected finite \'etale cover of $X$ of degree $2$, and $w:=(x_0,0)\in W(\Q)$. \end{lemma} \begin{proof} As an isogeny in characteristic $0$, $\varphi$ is finite and \'etale of degree $2$, and hence so is its base change $W\to X$. Since $\iota(x_0)=0=\varphi(0)$, we have $w\in W(\Q)$. Suppose that $W$ is not geometrically connected, so that $W_{\C}$ is not connected. Then $W_\C$ is the disjoint union of two copies of $X_\C$, so $W_\C\to X_\C$ has a section. Composing a section with the projection $W\to A$ gives a morphism $g\colon X_\C\to A_\C$ such that $\varphi\circ g=\iota$. Let $g'=g-g(x_0)$. Then $g'(x_0)=0$ and $\varphi\circ g'=\iota-\varphi(g(x_0))=\iota-\iota(x_0)=\iota$. By the universal property of the Jacobian \cite[11.4.1]{BirkenhakeLange}, there is a homomorphism $h\colon J_\C\to A_\C$ such that $g'=h\circ\iota$. Then $(\varphi\circ h)\circ\iota=\iota$, and by the uniqueness part of the same universal property, $\varphi\circ h$ is the identity of $J_\C$. As $\dim A=\dim J$, the homomorphism $h$ is an isogeny, and $1=\deg(\varphi\circ h)=2\deg h$, which is a contradiction. \end{proof} Let $N\geq5$ be an integer, let $W$ be a smooth geometrically connected curve over $\Q$ with a finite \'etale morphism $W\to X_\mu(N)$, and let $w\in W(\Q)$ be a point above $\infty$. As $W\to X_\mu(N)$ is \'etale at $w$ and both $w$ and $\infty$ are rational points, it induces an isomorphism of the completed local rings at $\infty$ and at $w$ \cite[Tags 039H and 039M]{stacks}. The completed local ring at $\infty$ is $\Q[[q]]$, so we obtain an embedding $$\epsilon_w\colon\Q(W)\hookrightarrow\Q((q))$$ extending the $q$-expansion at $\infty$, which we call the \textit{$q$-expansion at $w$}. \begin{lemma}\label{lem:integral} Let $N\geq5$ be an integer, let $\iota\colon X_\mu(N)\to J_\mu(N)$ be the Abel-Jacobi map based at $\infty$, and let $\varphi\colon A\to J_\mu(N)$ be an isogeny of degree $2$ over $\Q$ such that for every prime $\ell$ the extension $\varphi_\ell\colon\cA_\ell\to\cJ_\ell$ of $\varphi$ to the N\'eron models over $\Z_\ell$ is \'etale. Let $W=X_\mu(N)\times_{\iota,J_\mu(N),\varphi}A$ and $w=(\infty,0)\in W(\Q)$. If $z\in\Q(W)$ is integral over $\Z[j]$, then $\epsilon_w(z)\in\Z((q))$. \end{lemma} \begin{proof} Fix a prime $\ell$ and let $\cU=\cX_\mu(N)\otimes\Z_\ell$. By \Cref{sec:notation} a), $\cU$ is smooth over $\Z_\ell$ and its generic fibre is an open subscheme of $X_\mu(N)_{\Q_\ell}$ containing $\infty$. By the N\'eron mapping property, the restriction of $\iota$ to $\cU_{\Q_\ell}$ extends to a morphism $\iota_\ell\colon\cU\to\cJ_\ell$. As $\iota(\infty)=0$, the composition of $\iota_\ell$ with the section $\infty\in\cU(\Z_\ell)$ is the zero section. Let $$\cV=\cU\times_{\iota_\ell,\cJ_\ell,\varphi_\ell}\cA_\ell.$$ Then $\cV\to\cU$ is \'etale, as a base change of $\varphi_\ell$, and $(\infty,0)$ is a section of $\cV$ over $\Z_\ell$ whose generic fibre is $w$. The generic fibre $\cV_{\Q_\ell}=\cU_{\Q_\ell}\times_{J_\mu(N)}A$ is an open subscheme of $W_{\Q_\ell}$, which is irreducible by \Cref{lem:connected}. Let $u\in\cU$ and $v\in\cV$ be the closed points of the sections $\infty$ and $(\infty,0)$, and let $\OO=\OO_{\cU,u}$ and $R=\OO_{\cV,v}$. The homomorphism $\OO\to R$ is \'etale and both residue fields are $\F_\ell$, so it induces an isomorphism $\widehat\OO\to\widehat R$ of completions \cite[Tags 039H and 039M]{stacks}. By \Cref{sec:notation} b), $\widehat\OO=\Z_\ell[[q]]$, and the section $\infty$ corresponds to the ideal $(q)$. The ring $R$ is a regular local ring, flat over $\Z_\ell$, so it is a domain whose generic point lies in $\cV_{\Q_\ell}$, and its field of fractions is the function field $\Q_\ell(W)$ of $W_{\Q_\ell}$. We obtain field embeddings $$\Q(W)\subseteq\Q_\ell(W)=\Frac(R)\hookrightarrow\Frac(\widehat R)=\Frac(\Z_\ell[[q]])\subseteq\Q_\ell((q)),$$ and we denote their composition by $\epsilon_\ell$. We claim that $\epsilon_\ell(f)=\epsilon_w(f)$ for all $f\in\Q(W)$. Let $\mathfrak p\subset R$ be the prime ideal of the section $(\infty,0)$. Then $\mathfrak p\widehat R=q\Z_\ell[[q]]$, so $\epsilon_\ell$ maps the local ring $\OO_{W,w}\subseteq R_{\mathfrak p}$ into the completion $\Q_\ell[[q]]$ of $\Z_\ell[[q]]_{(q)}$, by a local homomorphism. By \Cref{sec:notation} b), the restriction of $\epsilon_\ell$ to $\OO_{X_\mu(N),\infty}$ is the $q$-expansion. The same holds for $\epsilon_w$. Since $\OO_{X_\mu(N),\infty}\to\OO_{W,w}$ induces an isomorphism of completions, there is at most one local homomorphism $\OO_{W,w}\to\Q_\ell[[q]]$ extending the $q$-expansion on $\OO_{X_\mu(N),\infty}$. Hence $\epsilon_\ell$ and $\epsilon_w$ agree on $\OO_{W,w}$, and so on its field of fractions $\Q(W)$, proving the claim. Now let $z\in\Q(W)$ be integral over $\Z[j]$. By \Cref{sec:notation} b), $\epsilon_\ell(j)\in q^{-1}\Z[[q]]$, so $\epsilon_\ell(z)\in\Frac(\Z_\ell[[q]])$ is integral over $\Z_\ell((q))=\Z_\ell[[q]][q^{-1}]$. The ring $\Z_\ell[[q]]$ is regular, hence normal, and so is its localization $\Z_\ell((q))$, whose field of fractions is $\Frac(\Z_\ell[[q]])$. It follows that $\epsilon_\ell(z)\in\Z_\ell((q))$, and by the claim, the coefficients of $\epsilon_w(z)\in\Q((q))$ lie in $\Z_\ell$. As this holds for every prime $\ell$, we conclude that $\epsilon_w(z)\in\Z((q))$. \end{proof} \begin{lemma}\label{lem:wohlfahrt} Let $N\geq3$ be an odd integer and let $L$ be a subgroup of index $2$ of $\pm\Gamma_1(N)$ containing $-I$ such that every cusp has the same width for $L$ as for $\pm\Gamma_1(N)$. Then $L$ is not a congruence subgroup. \end{lemma} \begin{proof} The group $\Gamma(N)\subseteq\pm\Gamma_1(N)$ is normal in $\SL_2(\Z)$, so $\sigma U^N\sigma^{-1}\in\pm\Gamma_1(N)$ for every $\sigma\in\SL_2(\Z)$, and hence every cusp width of $\pm\Gamma_1(N)$ divides $N$. By assumption the same holds for $L$, so $L(L)$ divides $N$. Suppose that $L$ is a congruence subgroup. By Wohlfahrt's theorem \cite[Theorem 2]{Wohlfahrt64}, in the form given at the end of the proof of \cite[Lemma 4.4.1]{CDT}, every congruence subgroup $\Gamma$ containing $-I$ contains $\pm\Gamma(L(\Gamma))$. Hence $\pm\Gamma(N)\subseteq\pm\Gamma(L(L))\subseteq L$. As $N\geq3$, no element of $-\Gamma(N)$ lies in $\Gamma_1(N)$, so the group $\pm\Gamma_1(N)/\pm\Gamma(N)$ is isomorphic to $\Gamma_1(N)/\Gamma(N)$, which is cyclic of order $N$ (generated by the image of $U$). Hence $2=[\pm\Gamma_1(N):L]$ divides $[\pm\Gamma_1(N):\pm\Gamma(N)]=N$, which is a contradiction, as $N$ is odd. \end{proof} \begin{lemma}\label{lem:cdt} Let $N\geq5$ be an odd integer, let $W\to X_\mu(N)$ be a geometrically connected finite \'etale cover of degree $2$, and let $w\in W(\Q)$ be a point above $\infty$. Then there is no $z\in\Q(W)\setminus\Q(X_\mu(N))$ that is integral over $\Z[j]$ and satisfies $\epsilon_w(z)\in\Z((q))$. \end{lemma} \begin{proof} Suppose the opposite, and let $z$ be such a function. Write $X=X_\mu(N)$ and identify $X(\C)$ with $\Gamma_1(N)\backslash\cH^*$ as in \Cref{sec:notation} c). Since $N\geq5$, the group $\pm\Gamma_1(N)/\{\pm I\}\simeq\Gamma_1(N)$ acts freely on $\cH$. The cover $W(\C)\to X(\C)$ is a connected unramified cover of degree $2$, so its restriction to $\Gamma_1(N)\backslash\cH$ corresponds to a subgroup $L$ of index $2$ of $\pm\Gamma_1(N)$ containing $-I$, and $W(\C)=L\backslash\cH^*$. The two points of $W(\C)$ above $\infty$ are interchanged by the nontrivial automorphism of $W$ over $X$, so we may choose this identification such that $w$ is the cusp $\infty$ of $L\backslash\cH^*$. As $W\to X$ is unramified, the ramification index of $W(\C)\to\SL_2(\Z)\backslash\cH^*$ at every cusp is equal to that of $X(\C)\to\SL_2(\Z)\backslash\cH^*$ at its image. Hence every cusp has the same width for $L$ as for $\pm\Gamma_1(N)$. In particular, the cusp $\infty$ has width $1$ for $L$, so $q=e^{2\pi i\tau}$ is a local parameter at $\infty$ on $L\backslash\cH^*$, and it is the pullback of the parameter $q$ at $\infty\in X(\C)$. It follows that the Fourier expansion at $\infty$ of $z$, viewed as an $L$-invariant meromorphic function on $\cH$, is $\epsilon_w(z)\in\Z((q))$. Since $z$ satisfies a monic equation whose coefficients are polynomials in $j$, and $j$ is holomorphic on $\cH$, the function $z$ is holomorphic on $\cH$. Choose $m\geq0$ such that $q^m\epsilon_w(z)\in\Z[[q]]$, and let $F=z\Delta^m$. Then $F$ is holomorphic on $\cH$, satisfies $F(\gamma\tau)=(c\tau+d)^{12m}F(\tau)$ for all $\gamma=\left(\begin{smallmatrix}a&b\\c&d\end{smallmatrix}\right)\in L$, is meromorphic at the cusps, and its Fourier expansion at $\infty$ lies in $\Z[[q]]$, as $\Delta\in q\Z[[q]]$. Note that $\Z[[q]]\subseteq\Z[[e^{\pi i\tau}]]$, which is the normalization used in \cite{CDT}. By \cite[Theorem 1.0.1]{CDT}, $F$ is a modular form for some congruence subgroup $\Gamma'$. As $\Delta^m$ is a modular form of weight $12m$ for $\SL_2(\Z)$ without zeros on $\cH$, the function $z=F/\Delta^m$ is invariant under $\Gamma'$. On the other hand, let $\sigma$ be the nontrivial automorphism of $W$ over $X$, which is defined over $\Q$ as $W\to X$ is finite \'etale of degree $2$. As $z\notin\Q(X)=\Q(W)^\sigma$, we have $\sigma(z)\neq z$ in $\Q(W)\subseteq\C(W)$. As $W$ is geometrically connected, $W_\C\to X_\C$ is a Galois cover whose Galois group is generated by $\sigma$, so $\C(X)=\C(W)^\sigma$, and hence $z\notin\C(X)$. Thus $z$ is not invariant under $\pm\Gamma_1(N)$, and its stabilizer in $\pm\Gamma_1(N)$ is $L$. It follows that $\Gamma'\cap\pm\Gamma_1(N)\subseteq L$, so $L$ is a congruence subgroup, which contradicts \Cref{lem:wohlfahrt}. \end{proof} \begin{proof}[Proof of \Cref{thm:inj}] Suppose the opposite. The isomorphism $J_1(N)\simeq J_\mu(N)$ over $\Q$ extends to an isomorphism of N\'eron models over $\Z_2$, so the kernel of the reduction map $J_\mu(N)(\Q)_\tor\to J_\mu(N)(\F_2)$ is nontrivial. By \Cref{lem:kernel_order2}, it contains a point $P$ of order $2$. The Jacobian $J_\mu(N)$ is principally polarized and has good reduction at $2$, as $N$ is odd, so by \Cref{lem:isogeny} there is an isogeny $\varphi\colon A\to J_\mu(N)$ of degree $2$ over $\Q$ such that $\varphi_\ell$ is \'etale for every prime $\ell$. Let $\iota\colon X_\mu(N)\to J_\mu(N)$ be the Abel-Jacobi map based at $\infty$. By \Cref{lem:connected}, $W=X_\mu(N)\times_{\iota,J_\mu(N),\varphi}A$ is a geometrically connected finite \'etale cover of $X_\mu(N)$ of degree $2$, and $w=(\infty,0)\in W(\Q)$. Let $y\in\Q(W)\setminus\Q(X_\mu(N))$. As $\Q(X_\mu(N))$ is a finite extension of $\Q(j)$, the function $y$ is algebraic over $\Q(j)$. Let $y^n+a_1y^{n-1}+\dots+a_n=0$ with $a_i\in\Q(j)$, and let $d\in\Z[j]$ be nonzero with $da_i\in\Z[j]$ for all $i$. Then $z=dy$ satisfies $z^n+da_1z^{n-1}+\dots+d^na_n=0$, so it is integral over $\Z[j]$, and $z\notin\Q(X_\mu(N))$. By \Cref{lem:integral}, $\epsilon_w(z)\in\Z((q))$, which contradicts \Cref{lem:cdt}. \end{proof} \begin{remark}\label{rem:J0} The analogue of \Cref{thm:inj} for $J_0(N)$ is false. For example, $J_0(17)(\Q)\simeq\torz4$ and the reduction modulo $2$ of a generator has order $2$ \cite[Remark after Proposition 3.4]{DKSS}, and $J_0(15)(\Q)\simeq\torz2\times\torz4$ has order $8$, while $\#J_0(15)(\F_2)=4$ (see \Cref{sec:numerics}). The step of the proof above that has no analogue for $X_0(N)$ is \Cref{lem:wohlfahrt}, where we use that $[\pm\Gamma_1(N):\pm\Gamma(N)]=N$ is odd. The index $[\pm\Gamma_0(15):\pm\Gamma(15)]=60$ is even, and so is $[\pm\Gamma_0(p):\pm\Gamma(p)]=p(p-1)/2$ for a prime $p\equiv1\pmod4$, and $\pm\Gamma_0(17)$ does have a congruence subgroup of index $2$ with the same cusp widths, namely the group of matrices in $\pm\Gamma_0(17)$ whose lower right entry is a square modulo $17$. \end{remark} \begin{remark} One could also try to conclude the proof of \Cref{thm:inj} using \cite[Theorem 7.4.10]{CDT}, which says that the connected component containing the cusp $\infty$ of the smooth locus of the minimal regular model of the modular curve $X(N)$ over the ring of integers $\OO_K$ of a finite extension $K$ of $\Q(\zeta_N)$ has the same algebraic fundamental group as $\Spec\OO_K$. The pullback of $W$ to $X(N)$ is geometrically connected, as $[\pm\Gamma_1(N):\pm\Gamma(N)]=N$ is odd, and one would show, using the N\'eron mapping property and purity of the branch locus, that it extends to a finite \'etale cover of this model, which is impossible. The proof of \cite[Theorem 7.4.10]{CDT} is only sketched in \cite{CDT}, so we have used \cite[Theorem 1.0.1]{CDT} instead. \end{remark} \section{The index of the Eisenstein ideal at \texorpdfstring{$2$}{2}}\label{sec:index} In this section we extend Ohta's computation of the index of the Eisenstein ideal \cite[Theorem 2.4.2]{Ohta13} to the prime $2$. We use the notation of \cite[Sections 1 and 2]{Ohta13}, with $N=p$. The proof of \cite[Theorem 2.4.2]{Ohta13} uses that the residue characteristic is odd only to show that the constant terms $-B_{2,\chi}/4$ of the Eisenstein series $E_{2,\chi}$ of \cite[(2.1.3)]{Ohta13} are integral, at the beginning of the proof and at the end of the proof of \cite[Lemma 2.4.6]{Ohta13}. The following lemma takes care of both places. \begin{lemma}\label{lem:bernoulli} Let $p\geq5$ be a prime and let $\chi$ be a nontrivial even Dirichlet character modulo $p$. Then $$\frac{B_{2,\chi}}{4}=\sum_{a=1}^{(p-1)/2}\beta(a)\chi(a),\qquad\text{where}\qquad\beta(a)=\frac{a(a-p)}{2p}\in\frac1p\Z.$$ \end{lemma} \begin{proof} By \cite[(2.1.5)]{Ohta13} (see also \cite[Exercise 4.2]{Washington}), $B_{2,\chi}=\frac1p\sum_{a=1}^{p}\chi(a)a^2$. As $\chi(p)=0$ and $\chi(p-a)=\chi(a)$, grouping the terms for $a$ and $p-a$ gives $$B_{2,\chi}=\frac1p\sum_{a=1}^{(p-1)/2}\chi(a)\left(a^2+(p-a)^2\right)=\frac1p\sum_{a=1}^{(p-1)/2}\chi(a)\left(2a(a-p)+p^2\right).$$ Since $\chi$ is even and nontrivial, $\sum_{a=1}^{(p-1)/2}\chi(a)=\frac12\sum_{a=1}^{p-1}\chi(a)=0$, so $$B_{2,\chi}=\frac2p\sum_{a=1}^{(p-1)/2}\chi(a)a(a-p),$$ which is the claimed formula. Since $p$ is odd, exactly one of $a$ and $a-p$ is even, so $\beta(a)\in\frac1p\Z$. \end{proof} \begin{proposition}\label{prop:index} Let $p\geq5$ be a prime and let $\OO$ be the ring of integers of a finite extension of $\Q_2$. Then $$|h_2(\Gamma_1(p);\OO):I_{\infty,\OO}|=|\OO:c(p)\OO|.$$ In particular, $|\T/I|=2^{v_2(c(p))}=|C_1(p)[2^\infty]|$. \end{proposition} \begin{proof} Ohta proves the first statement for the ring of integers $\OO$ of a finite extension of $\Q_\ell$, where $\ell\neq2,p$ \cite[Theorem 2.4.2]{Ohta13}. We go through his proof for $\ell=2$. Note that $c(p)\neq0$ by \eqref{eq:cp}. The results of \cite[Sections 1 and 2.1--2.3]{Ohta13} that the proof uses, namely \cite[Corollary 1.3.6, Remark 1.3.8, Proposition 2.1.13, Corollary 2.1.14, Corollary 2.2.7, Proposition 2.2.8, Proposition 2.3.4 and Proposition 2.3.6]{Ohta13}, are stated and proved for all $\Z[1/p]$-algebras, all integral domains of characteristic $0$, all principal ideal domains, or all rings of integers of finite extensions of $\Q_\ell$ with $\ell\neq p$, so they hold for $\ell=2$. In particular, by \cite[Proposition 2.3.6]{Ohta13}, the group $h_2(\Gamma_1(p);\OO)/I_{\infty,\OO}$ is isomorphic to the congruence module attached to the exact sequence $$0\to S_2(\Gamma_1(p);\OO)\to M_2^\infty(\Gamma_1(p);\OO)\xrightarrow{\ \Res\ }\OO[C_\infty]^0\to0$$ of \cite[(2.3.5)]{Ohta13} and its splitting over the field of fractions of $\OO$. As in \cite[Section 2.4]{Ohta13}, since the formation of congruence modules commutes with flat extensions, we may assume that $\OO$ contains the values of all characters of $G$. As explained above, Ohta's computation of the order of this congruence module in \cite[Section 2.4]{Ohta13} uses that $\ell$ is odd at two places, and we now show that both remain valid for $\ell=2$. First, \cite[Lemma 2.4.6]{Ohta13} and the definition of the lattice $L_2$ before it require that the Eisenstein series $E_{2,\chi}$ lie in $M_2^\infty(\Gamma_1(p);\OO)$. By \cite[(2.1.3)]{Ohta13} the $q$-expansion of $E_{2,\chi}$ is $$-\frac{B_{2,\chi}}{4}+\sum_{n\geq1}\Big(\sum_{0