Left to Solve
Problems / MathOverflow (not formalized)

How to count to cusps of the modular curve $X_1(N)$, i.e., for the congruence subgroup $\Gamma_1(N)$

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

I already saw the calculations in the book of Diamond and Shurman pag 103 to count the number of cusps of but I really can not understand how to do the calculations for with .

The calculation of the book is:

The To count the cusps of recall from Proposition 3.8.3 that for this group, vectors $\begin{bmatrix} a\\ c \end{bmatrix}\begin{bmatrix} a'\\ c' \end{bmatrix}\gcd(a,c)=\gcd(a′,c′)=1$ represent the same cusp when $\begin{bmatrix} ya'\\ c' \end{bmatrix}\equiv \begin{bmatrix} a+jc\\ c \end{bmatrix} \mod Njy\gcd(y,N)=1c′\equiv yc \mod Ny\gcd(c′,N)=\gcd(c,N)d=\gcd(c,N)y_0\in\mathbb{Z}y_0\equiv c′c^{−1} \mod Ny\equiv y_0+iN/d \mod Ni$ (confirming the calculations in the paragraph is Exercise 3.8.4.). For any divisor of , pick one value modulo such that . Then any cusp of represented by some vector $\begin{bmatrix} a\\ c \end{bmatrix}\gcd(c′,N)=d$ is also represented by …

Posed by María · nt.number-theory, modular-curves

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-447121.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-447121.lean

import Mathlib

/-!
# How to count to cusps of the modular curve $X_1(N)$, i.e., for the congruence subgroup $\Gamma_1(N)$

Source: https://mathoverflow.net/questions/447121
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_447121

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_447121