Skip to content

primitive character ​

Also known as: primitive Dirichlet character.

A Dirichlet character modulo q whose pattern does not come from any strictly smaller dividing modulus; its modulus q equals its minimal period (conductor).

Diagram illustrating primitive character
Diagram illustrating primitive character.

Level 1 — First-Principles ​

Take the modulo-4 pattern χ4 (0,+1,0,−1,…) and pretend you only know it modulo 12. For every number coprime to 12, set χ12(n)=χ4(n), and set χ12(n)=0 whenever n is divisible by 2 or 3. This gives a valid periodic multiplicative labelDirichlet character modulo 12, yet its values on units are completely inherited from modulus 4—the factor 3 only punched extra zeros into the sequence at multiples of 3.

A character modulo q that is genuinely native to modulus q—meaning it cannot be inherited from any strictly smaller divisor d∣q—is a primitive character (or primitive Dirichlet character). Its modulus q is called its conductor. Every character χmodN comes from a unique underlying primitive character χ∗modq with q∣N. When forming the twisted sum L(χ,s)Dirichlet L-function, only primitive characters obey the clean mirror symmetry s↦1−s and have no extra zeros outside the predictable non-positive integer zerostrivial zero and the open vertical band 0<Re(s)<1.

Limits of the intuition ​

Treating an imprimitive character as "essentially the same" as its primitive parent is safe inside the open strip 0<Re(s)<1, because the missing prime factors (1−χ∗(p)p−s) never vanish when Re(s)>0. The analogy breaks right on the boundary Re(s)=0: whenever χ∗(p)≠0, the factor 1−χ∗(p)p−s vanishes at infinitely many purely imaginary points s=i(arg⁡χ∗(p)+2πk)/ln⁡p on Re(s)=0, which are not negative integers and would falsify a naive "all non-integer zeros lie on Re(s)=1/2" statement if primitivity were omitted.

Level 2 — Undergrad Bridge ​

Let χ be a Dirichlet character modulo N. A positive divisor d∣N induces χ if there exists a character ψmodd such that χ(n)=ψ(n) for all n with gcd(n,N)=1. The smallest such divisor q∣N is the conductor of χ, and the unique character χ∗modq inducing χ is its associated primitive character. We call χ primitive if its conductor equals N.

For any χmodN with primitive character χ∗modq, the two L-functions are linked for all s∈C (away from s=1 if χ=1) by

L(χ,s)=L(χ∗,s)∏p∣N(1−χ∗(p)p−s).

This identity explains two central steps in Stage 00:

  1. Inside 0<Re(s)<1: For every prime p∣N, |χ∗(p)p−s|≤p−Re(s)<1, so 1−χ∗(p)p−s≠0. Thus L(χ,s) and L(χ∗,s) have the exact same zeros inside the open critical strip. In the condensed upstream proof, New.zeros_on_line (src/New/Main.lean:29-36) deduces DirichletLZerosOnLine for all characters directly from DirichletLNonvanishingRightOfHalf via the functional-equation symmetry New.gammaFactor_eq_zero_or_LFunction_one_sub_eq_zero, and the primitive case follows immediately by specialization.
  2. Across all of C: Because imprimitive characters pick up zeros on Re(s)=0, formal-conjectures restricts GRH.generalized_riemann_hypothesis to hχ : χ.IsPrimitive so that s ∉ Int.cast '' GRH.trivialZeros χ captures all nontrivial zeros cleanly.

Level 3 — Formal Lean Contract ​

In Mathlib4 (Mathlib.NumberTheory.DirichletCharacter.Basic), χ.IsPrimitive holds when χ.conductor = N. Stage 00 anchors primitive characters in:

  • 00_statement/statements.lean#PrimitiveDirichletLZerosOnLine (upstream src/Statements.lean:18-20):
    lean
    def PrimitiveDirichletLZerosOnLine : Prop :=
      ∀ (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N), χ.IsPrimitive →
        ∀ s : ℂ, 0 < s.re → s.re < 1 → DirichletCharacter.LFunction χ s = 0 → s.re = 1 / 2
  • 00_statement/main.lean#LFunction_eq_zero_re_of_isPrimitive (upstream src/Main.lean:23-26), proved by the one-line lambda fun N _ χ _ ↦ LFunction_eq_zero_re N χ, which specializes LFunction_eq_zero_re and drops the unused χ.IsPrimitive hypothesis.

In formal-conjectures (archived on upstream alpoge@c900e67c2 in comparator/FormalConjecturesBridge.lean pending re-integration on condensed main), primitiveDirichletLZerosOnLine_iff proved that PrimitiveDirichletLZerosOnLine is logically equivalent to formal-conjectures' whole-plane GRH.generalized_riemann_hypothesis. See the page's live verification banner (audit/verification-status.json) for the currently pinned upstream snapshot and local Lean build status (build_status: unverified-locally).

Where this analogy breaks ​

Viewing an imprimitive character as a harmless redundant copy of its primitive parent breaks down on the line Re(s)=0: deleting primes p∣N multiplies L(χ∗,s) by (1−χ∗(p)p−s), which creates infinitely many extra zeros on Re(s)=0 and breaks the clean symmetric functional equation.

Formal Lean Anchors ​

def PrimitiveDirichletLZerosOnLine — Upstream source (src/Statements.lean L18-L20)

lean
def PrimitiveDirichletLZerosOnLine : Prop :=
  ∀ (N : ℕ) [NeZero N] (χ : DirichletCharacter ℂ N), χ.IsPrimitive →
    ∀ s : ℂ, 0 < s.re → s.re < 1 → DirichletCharacter.LFunction χ s = 0 → s.re = 1 / 2

theorem LFunction_eq_zero_re_of_isPrimitive — Upstream source (src/Main.lean L23-L26)

lean
/-- The Generalized Riemann Hypothesis for primitive Dirichlet characters, a special case of
`LFunction_eq_zero_re`. -/
theorem LFunction_eq_zero_re_of_isPrimitive : PrimitiveDirichletLZerosOnLine := by
  sorry -- [EXTRACTED_STUB upstream=src/Main.lean:23-26 commit=41c2716658c42ba08eb0648994a2efe83082a95c body_lines=1 body_sha256=ddf20e0c95001d383f8f18dc5ad738d1111afcee8ce88a2b6be8608f7c9e4b8c]
  • Dirichlet character — A periodic multiplicative label χ : ℤ → ℂ modulo N that equals 0 when gcd(n, N) > 1, takes roots of unity when gcd(n, N) = 1, and satisfies χ(ab) = χ(a)χ(b).
  • Dirichlet L-function — The meromorphic continuation of ∑ χ(n) n⁻ˢ associated to a Dirichlet character χ, generalizing ζ(s) to track primes across residue classes modulo N.
  • trivial zero — A zero at a non-positive integer forced purely by poles of the gamma factor in the functional equation, carrying no hidden information about prime fluctuations.

Referenced By ​

Authoritative Sources ​

  • Multiplicative Number Theory (book) — H. Davenport, 3rd ed., Springer Graduate Texts in Mathematics 74 (2000), Chapter 5: Primitive Characters.
  • Introduction to Analytic Number Theory (book) — T. M. Apostol, Springer Undergraduate Texts in Mathematics (1976), Chapter 8: Gauss Sums and Quadratic Reciprocity.
  • Mathlib4: DirichletCharacter.IsPrimitive (mathlib) — Mathlib.NumberTheory.DirichletCharacter.Basic (DirichletCharacter.IsPrimitive, DirichletCharacter.conductor, DirichletCharacter.primitiveCharacter, pinned mathlib rev 31ce06eaadf4a200c0e1407c5f10953cf606b8f8).

Page Glossary ​

Dirichlet character
A periodic multiplicative label χ : ℤ → ℂ modulo N that equals 0 when gcd(n, N) > 1, takes roots of unity when gcd(n, N) = 1, and satisfies χ(ab) = χ(a)χ(b).
Dirichlet L-function
The meromorphic continuation of ∑ χ(n) n⁻ˢ associated to a Dirichlet character χ, generalizing ζ(s) to track primes across residue classes modulo N.
trivial zero
A zero at a non-positive integer forced purely by poles of the gamma factor in the functional equation, carrying no hidden information about prime fluctuations.