/-
Copyright (c) 2023 Michael Stoll. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Michael Stoll
-/
module
public import Mathlib.Analysis.Normed.Field.Basic
public import Mathlib.NumberTheory.DirichletCharacter.Basic
import Mathlib.Data.Nat.Totient
import Mathlib.Data.Sym.Sym2
import Mathlib.Tactic.ContinuousFunctionalCalculus
import Mathlib.Tactic.NormNum.GCD
import Mathlib.Tactic.Positivity
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Bounds for values of Dirichlet characters
We consider Dirichlet characters `χ` with values in a normed field `F`.
We show that `‖χ a‖ = 1` if `a` is a unit and `‖χ a‖ ≤ 1` in general.
-/
public section
variable {F : Type*} [NormedField F] {n : ℕ} (χ : DirichletCharacter F n)
namespace DirichletCharacter
/-- The value at a unit of a Dirichlet character with target a normed field has norm `1`. -/
@[simp] lemma unit_norm_eq_one (a : (ZMod n)ˣ) : ‖χ a‖ = 1 := by
refine (pow_eq_one_iff_of_nonneg (norm_nonneg _) (Nat.card_pos (α := (ZMod n)ˣ)).ne').mp ?_
rw [← norm_pow, ← map_pow, ← Units.val_pow_eq_pow_val, pow_card_eq_one', Units.val_one, map_one,
norm_one]
/-- The value at `-1` of a Dirichlet character with target a normed field has norm `1`. -/
@[simp] lemma norm_neg_one : ‖χ (-1)‖ = 1 := by simpa using χ.unit_norm_eq_one (-1)
/-- The values of a Dirichlet character with target a normed field have norm bounded by `1`. -/
lemma norm_le_one (a : ZMod n) : ‖χ a‖ ≤ 1 := by
by_cases h : IsUnit a
· exact (χ.unit_norm_eq_one h.unit).le
· rw [χ.map_nonunit h, norm_zero]
exact zero_le_one
end DirichletCharacter
¤ Dauer der Verarbeitung: 0.20 Sekunden
¤
*© Formatika GbR, Deutschland