The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.DirichletCharacter.GaussSum

4 declarations. Mathlib docs · Source

theorem gaussSum_aux_of_mulShift E1 #

∀ {N : ℕ} [inst : NeZero N] {R : Type u_1} [inst_1 : CommRing R] (e : AddChar (ZMod N) R) (χ : DirichletCharacter R N)
  {d : ℕ} (hd : d ∣ N),
  e.mulShift ↑d = 1 → ∀ {u : (ZMod N)ˣ}, (ZMod.unitsMap hd) u = 1 → χ ↑u * gaussSum χ e = gaussSum χ e

theorem factorsThrough_of_gaussSum_ne_zero E1 #

∀ {N : ℕ} [inst : NeZero N] {R : Type u_1} [inst_1 : CommRing R] (e : AddChar (ZMod N) R) [IsDomain R]
  {χ : DirichletCharacter R N} {d : ℕ}, d ∣ N → e.mulShift ↑d = 1 → gaussSum χ e ≠ 0 → χ.FactorsThrough d

If gaussSum χ e ≠ 0, and d is such that e.mulShift d = 1, then χ must factor through d. (This will be used to show that Gauss sums vanish when χ is primitive and e is not.)

theorem gaussSum_eq_zero_of_isPrimitive_of_not_isPrimitive E1 #

∀ {N : ℕ} [inst : NeZero N] {R : Type u_1} [inst_1 : CommRing R] (e : AddChar (ZMod N) R) [IsDomain R]
  {χ : DirichletCharacter R N}, χ.IsPrimitive → ¬e.IsPrimitive → gaussSum χ e = 0

If χ is primitive, but e is not, then gaussSum χ e = 0.

theorem gaussSum_mulShift_of_isPrimitive E1 #

∀ {N : ℕ} [inst : NeZero N] {R : Type u_1} [inst_1 : CommRing R] (e : AddChar (ZMod N) R) [IsDomain R]
  {χ : DirichletCharacter R N}, χ.IsPrimitive → ∀ (a : ZMod N), gaussSum χ (e.mulShift a) = χ⁻¹ a * gaussSum χ e

If χ is a primitive character, then the function a ↦ gaussSum χ (e.mulShift a), for any fixed additive character e, is a constant multiple of χ⁻¹.