-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: bounds for Dirichlet characters (#8449)
This adds `NumberTheory.DirichletCharacter.Bounds` containing proofs of `‖χ a‖ = 1` if `a` is a unit and `‖χ a‖ ≤ 1` in general, where `χ` is a Dirichlet character with values in a normed field. There are also two API lemmas added elsewhere that are used in the proofs.
- Loading branch information
1 parent
66fa2b6
commit a235cfc
Showing
4 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/- | ||
Copyright (c) 2023 Michael Stoll. All rights reserved. | ||
Released under Apache 2.0 license as described in the file LICENSE. | ||
Authors: Michael Stoll | ||
-/ | ||
import Mathlib.Analysis.Normed.Field.Basic | ||
import Mathlib.FieldTheory.Finite.Basic | ||
import Mathlib.NumberTheory.DirichletCharacter.Basic | ||
|
||
/-! | ||
# 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. | ||
-/ | ||
|
||
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 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 |