Primitive Dirichlet characters for the multiplicative large sieve #
This module supplies the finite primitive-character and conductor interface
needed before a Bombieri--Davenport large sieve can be stated faithfully.
It deliberately does not state a sum over moduli: the pinned analytic-number-
theory dependency has only the single-modulus all-character estimate
characterSieveModulus_le.
The underlying Mathlib API already defines DirichletCharacter.conductor,
DirichletCharacter.IsPrimitive, primitiveCharacter, and changeLevel.
The definitions below package those heterogeneous conductor-level objects into
a finite subtype that can be used directly by Finset sums. The module also
constructs the standard primitive additive character on ZMod q, bridges its
Gauss sums to the existing finite Fourier API, and proves both
‖τ(χ)‖ ^ 2 = q and ‖τ(χ)‖ = √q for primitive complex characters.
Primitive complex Dirichlet characters of the fixed modulus q.
This is a subtype rather than a new character structure, so every existing
DirichletCharacter theorem applies to its coercion.
Equations
Instances For
The primitive characters of a fixed modulus form a finite type.
A positive modulus has at most its totient many primitive characters.
Primitive characters as a filtered finset of all characters modulo q.
This form is useful when applying an all-character estimate.
Equations
Instances For
A member of the primitive subtype has conductor exactly its modulus.
The conductor-level primitive character associated to an arbitrary Dirichlet character, packaged in the finite primitive subtype.
Instances For
Exact conductor decomposition: changing the conductor-level primitive character back to the original modulus recovers the original character.
A sum over the primitive subtype is the corresponding filtered sum over all characters.
Restricting a nonnegative all-character sum to primitive characters can only decrease it.
The first primitive-character multiplicative large-sieve foundation:
the pinned single-modulus all-character estimate restricts to the primitive
subtype. This is intentionally only pointwise in q; it is not the missing
Bombieri--Davenport sum over moduli.
Primitive Gauss sums #
The standard primitive additive character x ↦ exp(2πix/q) on ZMod q.
Instances For
The standard additive character on ZMod q is primitive.
Sums over ZMod q can be written using the canonical representatives 0 ≤ r < q.
The Gauss sum against a shifted standard additive character is its explicit finite Fourier sum.
Primitive complex Dirichlet characters have the classical Gauss-sum norm:
|τ(χ)|² = q.
Norm form of the primitive Gauss-sum identity.