2.2. Dirichlet characters
Let N\ge 1 and let R be a commutative ring. A Dirichlet character modulo
N with values in R is a multiplicative map
\chi : \mathbb{Z}/N\mathbb{Z} \to R which vanishes on non-units.
Lean code for Definition2.2.1●1 definition
Associated Lean declarations
-
DirichletCharacter[complete]
-
DirichletCharacter[complete]
-
abbrevdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
abbrev DirichletCharacter.{u_1} (R : Type u_1) [CommMonoidWithZero R] (n : ℕ) : Type u_1
abbrev DirichletCharacter.{u_1} (R : Type u_1) [CommMonoidWithZero R] (n : ℕ) : Type u_1
The type of Dirichlet characters of level `n`.
When p is prime, the non-trivial characters modulo p are exactly the
characters of the cyclic group (\mathbb{Z}/p\mathbb{Z})^\times. In particular they
form a cyclic group of order p-1, and every non-trivial character satisfies the
orthogonality relation \sum_{a\in \mathbb{Z}/p\mathbb{Z}} \chi(a) = 0.
Teichmüller character. The Teichmüller character is the unique character
\omega : (\mathbb{Z}/p\mathbb{Z})^\times \longrightarrow \mathbb{Z}_p^\times
such that \omega(a)\equiv a\pmod p for every nonzero residue class a. It
generates the character group.
Lean code for Definition2.2.2●1 definition
Associated Lean declarations
-
BernoulliRegular.teichmullerCharQp[complete]
-
BernoulliRegular.teichmullerCharQp[complete]
-
defdefined in BernoulliRegular/BernoulliGeneralized.leancomplete
def BernoulliRegular.teichmullerCharQp (p : ℕ) [Fact (Nat.Prime p)] : DirichletCharacter ℚ_[p] p
def BernoulliRegular.teichmullerCharQp (p : ℕ) [Fact (Nat.Prime p)] : DirichletCharacter ℚ_[p] p
The `ℚ_[p]`-valued Teichmüller character, obtained by post-composing the `ℤ_[p]`-valued Teichmüller character with the natural embedding `ℤ_[p] → ℚ_[p]`.
Thus every Dirichlet character modulo p can be written uniquely as a power
\omega^j with 0\le j\le p-2.