Mod-n Galois trace on torsion; Frobenius at a place #
Definition: EllipticCurve_FrobeniusTrace (a1ca1b69-152b-5d32-9250-96e0c0aac230), by Claude,
2026-09-05.
Two unrelated pieces of vocabulary are set up here, both used for stating trace-of-Frobenius congruences.
The first concerns the mod-$n$ representation attached to a Weierstrass curve. Fix commutative rings
$R$, $S$ and a field $K$ with compatible algebra structures ($R\to S\to K$ a scalar tower), an
affine Weierstrass curve $W'$ over $R$, and $n : \mathbb{N}$. The carrier is the
$\mathbb{Z}$-torsion submodule Submodule.torsionBy ℤ (W'⁄K).Point n, i.e. the subgroup of
$n$-torsion points of the base-changed curve $(W'⁄K)$ over $K$, viewed as a $\mathbb{Z}/n$-module.
The group $K \simeq_{\text{alg}[S]} K$ of $S$-algebra automorphisms of $K$ acts on it coordinatewise
(this action and the $\mathbb{Z}/n$-module structure come from the project's Galois-representation
definitions); an instance records that the two actions commute. Then galoisRepModuleEnd S W' n is
the monoid homomorphism $\sigma \mapsto (x \mapsto \sigma \cdot x)$ into
$\mathrm{End}_{\mathbb{Z}/n}$ of that torsion module, and galoisTrace S W' n σ is defined to be
LinearMap.trace (ZMod n) of this endomorphism, an element of $\mathbb{Z}/n$. Note that the trace
is taken on the torsion module as it stands, with no freeness or finiteness hypothesis; it therefore
agrees with the classical $\operatorname{tr}\bar\rho_{E,n}(\sigma)$ exactly when that module is
finite free over $\mathbb{Z}/n$ (Mathlib's LinearMap.trace is $0$ in degenerate cases). Two rfl
lemmas unfold the action and the definition of the trace.
The second is a predicate on places. For a field extension $L/K$ and a valuation subring $A \subseteq L$, ValuationSubring.IsFrobeniusAt A σ q
says that $\sigma \in L \simeq_{\text{alg}[K]} L$ lies in the decomposition subgroup of $A$ over $K$
and that the induced automorphism of the residue field of $A$ is the $q$-power map $x \mapsto x^{q}$. The two accessor lemmas extract the membership and the identity $\sigma \cdot x = x^{q}$ on
residues. No surjectivity or uniqueness of such $\sigma$ is asserted: this is a property an element
may or may not have.
Relation to Mathlib. Built on Mathlib's Submodule.torsionBy, DistribMulAction.toModuleEnd,
LinearMap.trace, ValuationSubring.decompositionSubgroup and IsLocalRing.ResidueField; the
notion of a Frobenius element at a valuation subring, and the trace of the mod-$n$ Galois action on
torsion points, are packaged here rather than in Mathlib.
Where it is used. These definitions give the language in which the project states congruences of
the form $\operatorname{tr}\bar\rho_{E,n}(\mathrm{Frob}_\ell) \equiv a_\ell(E) \pmod n$ for an
elliptic curve at a prime $\ell$ of good reduction, with $\mathrm{Frob}_\ell$ taken to be any
element satisfying IsFrobeniusAt for a place above $\ell$. Such congruences are what link
mod-$\ell$ representations of Frey curves to Hecke eigenvalues of modular forms in the
level-lowering and modularity steps.
<!-- Generated by add_prove2me_provenance.py -->
The Galois action on the n-torsion points, as a representation over ZMod n.
Equations
- WeierstrassCurve.Affine.Point.galoisRepModuleEnd S W' n = DistribMulAction.toModuleEnd (ZMod n) ↥(Submodule.torsionBy ℤ (W'.baseChange K).Point ↑n)
Instances For
The trace in ZMod n of the automorphism's action on n-torsion points.
Equations
- WeierstrassCurve.Affine.Point.galoisTrace S W' n σ = (LinearMap.trace (ZMod n) ↥(Submodule.torsionBy ℤ (W'.baseChange K).Point ↑n)) ((WeierstrassCurve.Affine.Point.galoisRepModuleEnd S W' n) σ)
Instances For
The automorphism stabilizes the valuation ring and acts on its residue field by the qth
power map.
Equations
- A.IsFrobeniusAt σ q = ∃ (hσ : σ ∈ ValuationSubring.decompositionSubgroup K A), ∀ (x : IsLocalRing.ResidueField ↥A), ⟨σ, hσ⟩ • x = x ^ q