Documentation

TauCeti.Data.ZMod.ExactDivisor

The Chinese remainder splitting of ZMod N at an exact divisor #

For an exact divisor Q of N (Q ∣ N with Q coprime to N / Q) the Chinese remainder theorem splits ZMod N as ZMod Q × ZMod (N / Q). This file records the splitting through its idempotent, the residue e_Q that is 1 modulo Q and 0 modulo N / Q, rather than through a ring isomorphism with a product, so that no cast between ZMod N and ZMod (Q * (N / Q)) is ever needed.

Inverting the Q-component of a unit and fixing its N / Q-component is then the automorphism u ↦ e_Q u⁻¹ + (1 - e_Q) u of (ZMod N)ˣ, the instance of IsIdempotentElem.unitsInvPart at e_Q. On characters it is the operation χ_Q · χ_{N/Q} ↦ χ_Q⁻¹ · χ_{N/Q}, inverting the Q-part of a character and keeping its N / Q-part. This is how the Atkin–Lehner operator W_Q moves the nebentypus of a modular form of level N. At Q = N it is inversion, the shift χ ↦ χ⁻¹ of the Fricke operator, and at Q = 1 it is the identity.

Main definitions #

Main results #

References #

The residue e_Q of ZMod N that is 1 modulo Q and 0 modulo N / Q, when Q is an exact divisor of N (Nat.IsExactDivisor.eq_exactDivisorIdempotent_iff). It is (N / Q) · y for the Bézout coefficient y of Q · x + (N / Q) · y = 1, the coefficient that also builds the Atkin–Lehner matrix TauCeti.atkinLehnerMatrix N Q.

Equations
Instances For
    theorem TauCeti.Nat.IsExactDivisor.eq_of_castHom_eq {N Q : ℕ} (h : IsExactDivisor Q N) {x y : ZMod N} (hQ : (ZMod.castHom ⋯ (ZMod Q)) x = (ZMod.castHom ⋯ (ZMod Q)) y) (hR : (ZMod.castHom ⋯ (ZMod (N / Q))) x = (ZMod.castHom ⋯ (ZMod (N / Q))) y) :
    x = y

    An element of ZMod N is determined by its residues modulo Q and modulo N / Q, for an exact divisor Q of N: the injectivity half of the Chinese remainder theorem.

    e_Q is the residue that is 1 modulo Q and 0 modulo N / Q.

    e_Q is idempotent: e_Q ^ 2 has the same residues 1 and 0.

    Inverting the residue modulo Q: for an exact divisor Q of N, the automorphism u ↦ e_Q u⁻¹ + (1 - e_Q) u of (ZMod N)ˣ, which inverts the residue of a unit modulo Q and fixes its residue modulo N / Q (Nat.IsExactDivisor.eq_unitsInvPart_iff).

    Equations
    Instances For

      The value of unitsInvPart at a unit u is e_Q u⁻¹ + (1 - e_Q) u.

      @[simp]

      unitsInvPart is an involution: it is its own inverse.

      @[simp]

      unitsInvPart is an involution, applied twice to a unit.

      @[simp]

      unitsInvPart inverts the residue modulo Q.

      @[simp]

      unitsInvPart fixes the residue modulo N / Q.

      unitsInvPart u is the unit with residue u⁻¹ modulo Q and u modulo N / Q.

      theorem TauCeti.Nat.IsExactDivisor.comp_unitsInvPart {N Q : ℕ} {G : Type u_1} [CommGroup G] (h : IsExactDivisor Q N) (ψ : (ZMod Q)ˣ →* G) (φ : (ZMod (N / Q))ˣ →* G) :

      The character shift χ_Q · χ_{N/Q} ↦ χ_Q⁻¹ · χ_{N/Q}: on a character of (ZMod N)ˣ pulled back from a character ψ modulo Q and a character φ modulo N / Q, precomposition with unitsInvPart inverts ψ and keeps φ.

      @[simp]

      At Q = N the automorphism is inversion: every residue is a residue modulo Q.

      @[simp]

      At Q = 1 the automorphism is the identity: every residue is a residue modulo N / Q.