Documentation

LeanPool.FLTEichlerShimura.Definitions.Def_EllipticCurve_FrobeniusTrace

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 -->

noncomputable def WeierstrassCurve.Affine.Point.galoisRepModuleEnd {R : Type r} (S : Type s) {K : Type v} [CommRing R] [CommRing S] [Field K] [DecidableEq K] [Algebra R S] [Algebra R K] [Algebra S K] [IsScalarTower R S K] (W' : Affine R) (n : ℕ) :

The Galois action on the n-torsion points, as a representation over ZMod n.

Equations
Instances For
    @[simp]
    theorem WeierstrassCurve.Affine.Point.galoisRepModuleEnd_apply {R : Type r} {S : Type s} {K : Type v} [CommRing R] [CommRing S] [Field K] [DecidableEq K] [Algebra R S] [Algebra R K] [Algebra S K] [IsScalarTower R S K] (W' : Affine R) (n : ℕ) (σ : K ≃ₐ[S] K) (x : ↥(Submodule.torsionBy ℤ (W'.baseChange K).Point ↑n)) :
    ((galoisRepModuleEnd S W' n) σ) x = σ • x
    noncomputable def WeierstrassCurve.Affine.Point.galoisTrace {R : Type r} (S : Type s) {K : Type v} [CommRing R] [CommRing S] [Field K] [DecidableEq K] [Algebra R S] [Algebra R K] [Algebra S K] [IsScalarTower R S K] (W' : Affine R) (n : ℕ) (σ : K ≃ₐ[S] K) :

    The trace in ZMod n of the automorphism's action on n-torsion points.

    Equations
    Instances For
      theorem WeierstrassCurve.Affine.Point.galoisTrace_def {R : Type r} {S : Type s} {K : Type v} [CommRing R] [CommRing S] [Field K] [DecidableEq K] [Algebra R S] [Algebra R K] [Algebra S K] [IsScalarTower R S K] (W' : Affine R) (n : ℕ) (σ : K ≃ₐ[S] K) :
      def ValuationSubring.IsFrobeniusAt {K : Type u_1} {L : Type u_2} [Field K] [Field L] [Algebra K L] (A : ValuationSubring L) (σ : Gal(L/K)) (q : ℕ) :

      The automorphism stabilizes the valuation ring and acts on its residue field by the qth power map.

      Equations
      Instances For
        theorem ValuationSubring.IsFrobeniusAt.mem_decompositionSubgroup {K : Type u_1} {L : Type u_2} [Field K] [Field L] [Algebra K L] {A : ValuationSubring L} {σ : Gal(L/K)} {q : ℕ} (h : A.IsFrobeniusAt σ q) :
        theorem ValuationSubring.IsFrobeniusAt.smul_residue_eq {K : Type u_1} {L : Type u_2} [Field K] [Field L] [Algebra K L] {A : ValuationSubring L} {σ : Gal(L/K)} {q : ℕ} (h : A.IsFrobeniusAt σ q) (x : IsLocalRing.ResidueField ↥A) :
        ⟨σ, ⋯⟩ • x = x ^ q