Mathlib Map

Theorems · Theorem · number theory

DirichletCharacter.card_eq_totient_of_hasEnoughRootsOfUnity

∀ (R : Type u_1) [inst : CommRing R] (n : ℕ) [NeZero n] [HasEnoughRootsOfUnity R (Monoid.exponent (ZMod n)ˣ)],
  Nat.card (DirichletCharacter R n) = n.totient

There are n.totient Dirichlet characters mod n with values in a ring that has enough roots of unity.

Defined in
Mathlib.NumberTheory.DirichletCharacter.Orthogonality
Cited by
1 results in Mathlib
Foundations
Depth 167 from the axioms · uses propext, Classical.choice, Quot.sound
Assumes
CommRingNeZeroHasEnoughRootsOfUnity

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites14

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by1

Results whose statement or proof uses this declaration.