Build the idea in three steps
- Two strands of the story can finally be compared: the curve attached to the Frey package, and the coefficients of a cusp form.
- ModularRepOfLevel bundles one request: exhibit a normalized eigenform f, an integral model W of the Frey curve, and a maximal ideal 𝔪 containing p.
- At each qualifying prime ℓ, the form’s coefficient and the curve’s arithmetic number must land in the same residue class modulo 𝔪. One Prop statement collects all of these demands.
A small example
13 and 18 have the same remainder 3 modulo 5, since their difference is 5. The formal definition compares arithmetic data modulo the chosen ideal 𝔪; that agreement need not be equality before reduction.