Dirichlet Characters #
Let R
be a commutative monoid with zero. A Dirichlet character χ
of level n
over R
is a
multiplicative character from ZMod n
to R
sending non-units to 0. We then obtain some properties
of toUnitHom χ
, the restriction of χ
to a group homomorphism (ZMod n)ˣ →* Rˣ
.
Main definitions:
DirichletCharacter
: The type representing a Dirichlet character.changeLevel
: Extend the Dirichlet character χ of leveln
to levelm
, wheren
dividesm
.conductor
: The conductor of a Dirichlet character.IsPrimitive
: If the level is equal to the conductor.
Tags #
dirichlet character, multiplicative character
Definitions #
The type of Dirichlet characters of level n
.
Equations
Instances For
Changing levels #
A function that modifies the level of a Dirichlet character to some multiple of its original level.
Equations
Instances For
The changeLevel
map is injective (except in the degenerate case m = 0
).
χ
of level n
factors through a Dirichlet character χ₀
of level d
if d ∣ n
and
χ₀ = χ ∘ (ZMod n → ZMod d)
.
Equations
Instances For
The fact that d
divides n
when χ
factors through a Dirichlet character at level d
The Dirichlet character at level d
through which χ
factors
Equations
Instances For
The fact that χ
factors through χ₀
of level d
The character of level d
through which χ
factors is uniquely determined.
A Dirichlet character χ
factors through d | n
iff its associated unit-group hom is trivial
on the kernel of ZMod.unitsMap
.
Edge cases #
Equations
A Dirichlet character of modulus ≠ 1
maps 0
to 0
.
The conductor #
The set of natural numbers d
such that χ
factors through a character of level d
.
Equations
Instances For
The minimum natural number level n
through which χ
factors.
Equations
Instances For
The conductor of the trivial character is 1.
A character is primitive if its level is equal to its conductor.
Equations
Instances For
The primitive character associated to a Dirichlet character.
Equations
Instances For
Dirichlet character associated to multiplication of Dirichlet characters, after changing both levels to the same
Equations
Instances For
Primitive character associated to multiplication of Dirichlet characters, after changing both levels to the same
Equations
Instances For
A Dirichlet character is odd if its value at -1 is -1.
Equations
Instances For
A Dirichlet character is even if its value at -1 is 1.
Equations
Instances For
An even Dirichlet character is an even function.
An odd Dirichlet character is an odd function.