6.1. Dirichlet characters
This section lists the LMFDB definitions in the category character. Each definition links back to its LMFDB knowl. It also lists the knowl about the LMFDB's data on this subject that has mathematical content, from the category portrait.
DirichletCharacter[complete]MulChar[complete]DirichletCharacter.apply_eq_zero_iff[complete]MulChar.apply_mem_rootsOfUnity[complete]
Dirichlet character. (LMFDB)
A Dirichlet character is a function \chi: \Z\to \C together with a positive integer q called the modulus such that \chi is completely multiplicative, i.e. \chi(mn)=\chi(m)\chi(n) for all integers m and n, and \chi is periodic modulo q, i.e. \chi(n+q)=\chi(n) for all n. If (n,q)>1 then \chi(n)=0, whereas if (n,q)=1, then \chi(n) is a root of unity. The character \chi is primitive if its
conductor
is equal to its modulus.
Tau Ceti Review: DirichletCharacter, MulChar, DirichletCharacter.apply_eq_zero_iff.
Lean code for Definition6.1.1●4 declarationsAssociated Lean declarationsDirichletCharacter[complete]MulChar[complete]DirichletCharacter.apply_eq_zero_iff[complete]MulChar.apply_mem_rootsOfUnity[complete]
DirichletCharacter[complete]MulChar[complete]DirichletCharacter.apply_eq_zero_iff[complete]MulChar.apply_mem_rootsOfUnity[complete]
- abbrevdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
abbrev DirichletCharacter.{u_1} (R : Type u_1) [CommMonoidWithZero R] (n : ℕ) : Type u_1
abbrev DirichletCharacter.{u_1} (R : Type u_1) [CommMonoidWithZero R] (n : ℕ) : Type u_1
The type of Dirichlet characters of level
n. - structuredefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
structure MulChar.{u_1, u_2} (R : Type u_1) [CommMonoid R] (R' : Type u_2) [CommMonoidWithZero R'] : Type (max u_1 u_2)
structure MulChar.{u_1, u_2} (R : Type u_1) [CommMonoid R] (R' : Type u_2) [CommMonoidWithZero R'] : Type (max u_1 u_2)
Define a structure for multiplicative characters. A multiplicative character from a commutative monoid
Rto a commutative monoid with zeroR'is a homomorphism of (multiplicative) monoids that sends non-units to zero.Extends
R →* R'
Fields
toFun : R → R'
Inherited fromMonoidHomOneHom
map_one' : (↑self.toMonoidHom).toFun 1 = 1
Inherited fromMonoidHomOneHom
map_mul' : ∀ (x y : R), (↑self.toMonoidHom).toFun (x * y) = (↑self.toMonoidHom).toFun x * (↑self.toMonoidHom).toFun y
Inherited fromMonoidHom
map_nonunit' : ∀ (a : R), ¬IsUnit a → (↑self.toMonoidHom).toFun a = 0
- theoremdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
theorem DirichletCharacter.apply_eq_zero_iff.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) [Nontrivial R] (a : ℤ) : χ ↑a = 0 ↔ ¬IsCoprime a ↑n
theorem DirichletCharacter.apply_eq_zero_iff.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) [Nontrivial R] (a : ℤ) : χ ↑a = 0 ↔ ¬IsCoprime a ↑n
- theoremdefined in Mathlib/NumberTheory/MulChar/Lemmas.leancomplete
theorem MulChar.apply_mem_rootsOfUnity.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [CommRing R'] [Fintype Rˣ] (a : Rˣ) {χ : MulChar R R'} : (MulChar.equivToUnitHom χ) a ∈ rootsOfUnity (Fintype.card Rˣ) R'
theorem MulChar.apply_mem_rootsOfUnity.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [CommRing R'] [Fintype Rˣ] (a : Rˣ) {χ : MulChar R R'} : (MulChar.equivToUnitHom χ) a ∈ rootsOfUnity (Fintype.card Rˣ) R'
The values of a multiplicative character on
Rarenth roots of unity, wheren = #Rˣ.
Conductor of a Dirichlet character. (LMFDB)
The conductor of a Dirichlet character \chi modulo q is the least positive integer q_1 dividing q for which \chi(n+kq_1)=\chi(n) for all n and n+kq_1 coprime to q.
Tau Ceti Review: DirichletCharacter.conductor.
Depends on: Definition 6.1.1
Lean code for Definition6.1.2●1 definitionAssociated Lean declarationsDirichletCharacter.conductor[complete]
DirichletCharacter.conductor[complete]
- defdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
def DirichletCharacter.conductor.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) : ℕ
def DirichletCharacter.conductor.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) : ℕ
The minimum natural number level
nthrough whichχfactors.
TauCeti.conreyCharacter[complete]DirichletCharacter.bijective_conreyCharacter_unitOfCoprime[complete]DirichletCharacter.range_conreyCharacter_subset[complete]DirichletCharacter.isLeast_conreyGenerator[complete]DirichletCharacter.conreyCharacter_prime_pow_apply_of_eq_pow[complete]DirichletCharacter.conreyCharacter_two_pow_apply[complete]DirichletCharacter.conreyCharacter_mul_apply[complete]DirichletCharacter.localFactor_prod_changeLevel[complete]
Conrey label of Dirichlet characters. (LMFDB)
We use the notation \chi_{q}(n,\cdot) to identify Dirichlet characters \Z\to \C, where q is the
modulus, and n is the index, a positive integer coprime to q that identifies a Dirichlet character of modulus q as described below. The LMFDB label \texttt{q.n}, with 1\le n < \max(q,2) uniquely identifies \chi_{q}(n,\cdot).
Introduced by Brian Conrey, this labeling system is based on an explicit isomorphism between the multiplicative group (\Z/q\Z)^\times and the group of Dirichlet characters of modulus q that makes it easy to recover the
order, the
conductor, and the
parity
of a Dirichlet character from its label, or to induce characters.
As an example,
\chi_q(1, \cdot) is always trivial, \chi_q(m,\cdot) is real if m^2=1\bmod q, and for all m,n coprime to q we have \chi_q(m,n)=\chi_q(n,m).
For prime powers q=p^e we define \chi_q(n,\cdot) as follows:
For each odd prime
pwe choose the least positive integerg_pwhichis a primitive root for all
p^e, and then forn \equiv g_p^amodp^{e}andm \equiv g_p^{b}modp^{e}coprime topwe define
\chi_{p^e}(n, m) = \exp\left(2\pi i \frac{a b}{\phi(p^{e})} \right).
\chi_2(1, \cdot)is trivial,\chi_4(3, \cdot)is theunique nontrivial character of modulus
4, and for larger powers of2we choose-1and5as generators of the multiplicative group. Fore > 2, if
n \equiv \epsilon_a 5^a \pmod{2^e}
and
m \equiv \epsilon_b 5^b \pmod{2^e}
with \epsilon_a, \epsilon_b \in \{\pm 1\}, then
\chi_{2^e}(n, m) = \exp\left(2 \pi i \left(\frac{(1 - \epsilon_a)(1 - \epsilon_b)}{8}
+ \frac{ab}{2^{e-2}}\right)\right).
For general q, the function \chi_q(n, m) is defined multiplicatively: \chi_{q_1 q_2}(n, m) := \chi_{q_1}(n, m)\chi_{q_2}(n, m) for all coprime positive integers q_1 and q_2. The Chinese remainder theorem implies that this definition is well founded and that every Dirichlet character can be defined in this way. In particular, every Dirichlet character \chi of modulus q can be written uniquely as a product of Dirichlet characters of prime power modulus.
Depends on: Definition 6.1.1 Definition 6.1.4 Definition 6.1.5 Definition 6.1.8 Definition 6.1.9 Definition 6.1.16 Definition 6.1.20
Lean code for Definition6.1.3●8 declarationsAssociated Lean declarationsTauCeti.conreyCharacter[complete]DirichletCharacter.bijective_conreyCharacter_unitOfCoprime[complete]DirichletCharacter.range_conreyCharacter_subset[complete]DirichletCharacter.isLeast_conreyGenerator[complete]DirichletCharacter.conreyCharacter_prime_pow_apply_of_eq_pow[complete]DirichletCharacter.conreyCharacter_two_pow_apply[complete]DirichletCharacter.conreyCharacter_mul_apply[complete]DirichletCharacter.localFactor_prod_changeLevel[complete]
TauCeti.conreyCharacter[complete]DirichletCharacter.bijective_conreyCharacter_unitOfCoprime[complete]DirichletCharacter.range_conreyCharacter_subset[complete]DirichletCharacter.isLeast_conreyGenerator[complete]DirichletCharacter.conreyCharacter_prime_pow_apply_of_eq_pow[complete]DirichletCharacter.conreyCharacter_two_pow_apply[complete]DirichletCharacter.conreyCharacter_mul_apply[complete]DirichletCharacter.localFactor_prod_changeLevel[complete]
- defdefined in TauCeti/NumberTheory/DirichletCharacter/Conrey.leancomplete
def TauCeti.conreyCharacter (N : ℕ) [NeZero N] : (ZMod N)ˣ ≃* DirichletCharacter ℂ N
def TauCeti.conreyCharacter (N : ℕ) [NeZero N] : (ZMod N)ˣ ≃* DirichletCharacter ℂ N
The Conrey labelling of the Dirichlet characters modulo
N: the isomorphism(ℤ/N)ˣ ≃* DirichletCharacter ℂ Nsendingmto the characterχ_N(m, ·)whose value at a unitnis the Conrey pairingχ_N(m, n)(TauCeti.conreyCharacter_apply). The Conrey label of a characterχis(conreyCharacter N).symm χ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyLabellingFacts.leancomplete
theorem DirichletCharacter.bijective_conreyCharacter_unitOfCoprime {q : ℕ} [NeZero q] : Function.Bijective fun n => (TauCeti.conreyCharacter q) (ZMod.unitOfCoprime ↑n ⋯)
theorem DirichletCharacter.bijective_conreyCharacter_unitOfCoprime {q : ℕ} [NeZero q] : Function.Bijective fun n => (TauCeti.conreyCharacter q) (ZMod.unitOfCoprime ↑n ⋯)
The Conrey labels identify the characters (LMFDB
character.dirichlet.conrey): the mapn ↦ χ_q(n, ·)is a bijection from the natural numbersnwith1 ≤ n < max(q, 2)coprime toqonto the Dirichlet characters moduloq. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyLabellingFacts.leancomplete
theorem DirichletCharacter.range_conreyCharacter_subset {q : ℕ} [NeZero q] {m : (ZMod q)ˣ} (hm : m ^ 2 = 1) : Set.range ⇑((TauCeti.conreyCharacter q) m) ⊆ Set.range Complex.ofReal
theorem DirichletCharacter.range_conreyCharacter_subset {q : ℕ} [NeZero q] {m : (ZMod q)ˣ} (hm : m ^ 2 = 1) : Set.range ⇑((TauCeti.conreyCharacter q) m) ⊆ Set.range Complex.ofReal
A Conrey character with
m ^ 2 = 1is real (LMFDBcharacter.dirichlet.conrey): the values ofχ_q(m, ·)lie inℝ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyLabellingFacts.leancomplete
theorem DirichletCharacter.isLeast_conreyGenerator {p : ℕ} (hp : Nat.Prime p) (hp2 : p ≠ 2) : IsLeast {g | 0 < g ∧ ∀ (e : ℕ), orderOf ↑g = (p ^ e).totient} (TauCeti.conreyGenerator p)
theorem DirichletCharacter.isLeast_conreyGenerator {p : ℕ} (hp : Nat.Prime p) (hp2 : p ≠ 2) : IsLeast {g | 0 < g ∧ ∀ (e : ℕ), orderOf ↑g = (p ^ e).totient} (TauCeti.conreyGenerator p)
The Conrey generator is the least positive primitive root modulo every power of
p(LMFDBcharacter.dirichlet.conrey), for an odd primep. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyFactorisation.leancomplete
theorem DirichletCharacter.conreyCharacter_prime_pow_apply_of_eq_pow {p e : ℕ} [Fact (Nat.Prime p)] (hp2 : p ≠ 2) {m n : (ZMod (p ^ e))ˣ} {a b : ℕ} (hm : ↑m = ↑(TauCeti.conreyGenerator p) ^ a) (hn : ↑n = ↑(TauCeti.conreyGenerator p) ^ b) : ((TauCeti.conreyCharacter (p ^ e)) m) ↑n = Complex.exp (2 * ↑Real.pi * Complex.I * (↑a * ↑b) / ↑(p ^ e).totient)
theorem DirichletCharacter.conreyCharacter_prime_pow_apply_of_eq_pow {p e : ℕ} [Fact (Nat.Prime p)] (hp2 : p ≠ 2) {m n : (ZMod (p ^ e))ˣ} {a b : ℕ} (hm : ↑m = ↑(TauCeti.conreyGenerator p) ^ a) (hn : ↑n = ↑(TauCeti.conreyGenerator p) ^ b) : ((TauCeti.conreyCharacter (p ^ e)) m) ↑n = Complex.exp (2 * ↑Real.pi * Complex.I * (↑a * ↑b) / ↑(p ^ e).totient)
The Conrey character modulo an odd prime power (LMFDB
character.dirichlet.conrey): ifm ≡ g_p ^ aandn ≡ g_p ^ bmodulop ^ e, whereg_pis the Conrey generator, thenχ_{p ^ e}(m, n) = e(a b / φ(p ^ e)). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyFactorisation.leancomplete
theorem DirichletCharacter.conreyCharacter_two_pow_apply {e : ℕ} (he : 2 ≤ e) {m n : (ZMod (2 ^ e))ˣ} {εa εb : ℤ} {a b : ℕ} (hεa : εa = 1 ∨ εa = -1) (hεb : εb = 1 ∨ εb = -1) (hm : ↑m = ↑εa * 5 ^ a) (hn : ↑n = ↑εb * 5 ^ b) : ((TauCeti.conreyCharacter (2 ^ e)) m) ↑n = Complex.exp (2 * ↑Real.pi * Complex.I * ((1 - ↑εa) * (1 - ↑εb) / 8 + ↑a * ↑b / 2 ^ (e - 2)))
theorem DirichletCharacter.conreyCharacter_two_pow_apply {e : ℕ} (he : 2 ≤ e) {m n : (ZMod (2 ^ e))ˣ} {εa εb : ℤ} {a b : ℕ} (hεa : εa = 1 ∨ εa = -1) (hεb : εb = 1 ∨ εb = -1) (hm : ↑m = ↑εa * 5 ^ a) (hn : ↑n = ↑εb * 5 ^ b) : ((TauCeti.conreyCharacter (2 ^ e)) m) ↑n = Complex.exp (2 * ↑Real.pi * Complex.I * ((1 - ↑εa) * (1 - ↑εb) / 8 + ↑a * ↑b / 2 ^ (e - 2)))
The Conrey character modulo a power of two (LMFDB
character.dirichlet.conrey): fore ≥ 2, ifm ≡ ε_a 5 ^ aandn ≡ ε_b 5 ^ bmodulo2 ^ ewithε_a, ε_b ∈ {±1}, thenχ_{2 ^ e}(m, n) = e((1 - ε_a)(1 - ε_b) / 8 + a b / 2 ^ (e - 2)). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyFactorisation.leancomplete
theorem DirichletCharacter.conreyCharacter_mul_apply {q₁ q₂ : ℕ} [NeZero q₁] [NeZero q₂] (h : q₁.Coprime q₂) (m n : (ZMod (q₁ * q₂))ˣ) : ((TauCeti.conreyCharacter (q₁ * q₂)) m) ↑n = ((TauCeti.conreyCharacter q₁) ((ZMod.unitsMap ⋯) m)) ↑((ZMod.unitsMap ⋯) n) * ((TauCeti.conreyCharacter q₂) ((ZMod.unitsMap ⋯) m)) ↑((ZMod.unitsMap ⋯) n)
theorem DirichletCharacter.conreyCharacter_mul_apply {q₁ q₂ : ℕ} [NeZero q₁] [NeZero q₂] (h : q₁.Coprime q₂) (m n : (ZMod (q₁ * q₂))ˣ) : ((TauCeti.conreyCharacter (q₁ * q₂)) m) ↑n = ((TauCeti.conreyCharacter q₁) ((ZMod.unitsMap ⋯) m)) ↑((ZMod.unitsMap ⋯) n) * ((TauCeti.conreyCharacter q₂) ((ZMod.unitsMap ⋯) m)) ↑((ZMod.unitsMap ⋯) n)
The Conrey characters are multiplicative in the modulus (LMFDB
character.dirichlet.conrey): for coprimeq₁andq₂,χ_{q₁ q₂}(m, n) = χ_{q₁}(m, n) χ_{q₂}(m, n), wheremandnare read moduloq₁andq₂on the right. - theoremdefined in TauCeti/NumberTheory/DirichletCharacter/LocalFactor.leancomplete
theorem DirichletCharacter.localFactor_prod_changeLevel.{u_1} {R : Type u_1} [CommMonoidWithZero R] {N : ℕ} (ψ : (p : ℕ) → DirichletCharacter R (p ^ N.factorization p)) {q : ℕ} (hq : q ∈ N.primeFactors) : (DirichletCharacter.localFactor q) (∏ p ∈ N.primeFactors, (DirichletCharacter.changeLevel ⋯) (ψ p)) = ψ q
theorem DirichletCharacter.localFactor_prod_changeLevel.{u_1} {R : Type u_1} [CommMonoidWithZero R] {N : ℕ} (ψ : (p : ℕ) → DirichletCharacter R (p ^ N.factorization p)) {q : ℕ} (hq : q ∈ N.primeFactors) : (DirichletCharacter.localFactor q) (∏ p ∈ N.primeFactors, (DirichletCharacter.changeLevel ⋯) (ψ p)) = ψ q
Uniqueness of the local decomposition: if
ψ pis a character of levelp ^ v_p(N)for each primep ∣ N, then the local factor atqof the product of their lifts to levelNisψ q. WithDirichletCharacter.prod_changeLevel_localFactor, the local factors are the only such family whose product is a given character.
DirichletCharacter.localFactor_conreyCharacter[complete]DirichletCharacter.conductor_conreyCharacter_eq_prod[complete]DirichletCharacter.unitsPowRangeEquiv[complete]DirichletCharacter.conreyCharacter_unitsPowRangeEquiv[complete]DirichletCharacter.conductor_conreyCharacter_one[complete]DirichletCharacter.conductor_conreyCharacter_prime_pow[complete]DirichletCharacter.conductor_conreyCharacter_four[complete]DirichletCharacter.conductor_conreyCharacter_two_pow[complete]
Conductor of a Dirichlet character from its Conrey label. (LMFDB)
Let
\chi_q(n,\cdot)=\prod_{p|q}\chi_{p^e}(n,\cdot)
be the unique factorization of the Dirichlet character \chi_q(n,\cdot) into characters of prime power modulus p^e under the Conrey labeling system. The conductor of \chi_q(n,\cdot) is the product of the conductors of the \chi_{p^e}(n,\cdot).
For odd primes p and 1\leq f\leq e, the isomorphism between (\Z/p^f\Z)^\times
and the image of x\mapsto x^{p^{e-f}} in (\Z/p^e\Z)^\times is compatible with
the Conrey labeling system.
Thus for odd primes p, the conductor of \chi_{p^e}(n,\cdot) is
1ifn\equiv 1\bmod p^e;p^fifn^{p-1}has orderp^{f-1}modulop^e.
For p=2 the conductor of \chi_{p^e}(n,\cdot) is
1 if
n\equiv 1\bmod 2^e;4ife=2andn\equiv 3\bmod 4;2^{f+2}ife\geq3and\varepsilon nhas order2^fmodulo2^e, where\varepsilon\in\{-1,1\}satisfiesn\equiv \epsilon\bmod 4.
Depends on: Definition 6.1.1 Definition 6.1.2
Lean code for Definition6.1.4●8 declarationsAssociated Lean declarationsDirichletCharacter.localFactor_conreyCharacter[complete]DirichletCharacter.conductor_conreyCharacter_eq_prod[complete]DirichletCharacter.unitsPowRangeEquiv[complete]DirichletCharacter.conreyCharacter_unitsPowRangeEquiv[complete]DirichletCharacter.conductor_conreyCharacter_one[complete]DirichletCharacter.conductor_conreyCharacter_prime_pow[complete]DirichletCharacter.conductor_conreyCharacter_four[complete]DirichletCharacter.conductor_conreyCharacter_two_pow[complete]
DirichletCharacter.localFactor_conreyCharacter[complete]DirichletCharacter.conductor_conreyCharacter_eq_prod[complete]DirichletCharacter.unitsPowRangeEquiv[complete]DirichletCharacter.conreyCharacter_unitsPowRangeEquiv[complete]DirichletCharacter.conductor_conreyCharacter_one[complete]DirichletCharacter.conductor_conreyCharacter_prime_pow[complete]DirichletCharacter.conductor_conreyCharacter_four[complete]DirichletCharacter.conductor_conreyCharacter_two_pow[complete]
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyFactorisation.leancomplete
theorem DirichletCharacter.localFactor_conreyCharacter {N : ℕ} (p : ℕ) [NeZero N] (m : (ZMod N)ˣ) : (DirichletCharacter.localFactor p) ((TauCeti.conreyCharacter N) m) = (TauCeti.conreyCharacter (p ^ N.factorization p)) ((ZMod.unitsMap ⋯) m)
theorem DirichletCharacter.localFactor_conreyCharacter {N : ℕ} (p : ℕ) [NeZero N] (m : (ZMod N)ˣ) : (DirichletCharacter.localFactor p) ((TauCeti.conreyCharacter N) m) = (TauCeti.conreyCharacter (p ^ N.factorization p)) ((ZMod.unitsMap ⋯) m)
The local factors of a Conrey character are Conrey characters: the local factor at
pofχ_N(m, ·)is the Conrey characterχ_{p ^ v}(m, ·)modulo the exact powerp ^ vofpdividingN. WithDirichletCharacter.prod_changeLevel_conreyCharacterandDirichletCharacter.localFactor_prod_changeLevel, the charactersχ_{p ^ v}(m, ·)are the unique factorisation ofχ_N(m, ·)into characters of prime-power modulus. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyConductor.leancomplete
theorem DirichletCharacter.conductor_conreyCharacter_eq_prod {q : ℕ} [NeZero q] (n : (ZMod q)ˣ) : ((TauCeti.conreyCharacter q) n).conductor = ∏ p ∈ q.primeFactors, ((TauCeti.conreyCharacter (p ^ q.factorization p)) ((ZMod.unitsMap ⋯) n)).conductor
theorem DirichletCharacter.conductor_conreyCharacter_eq_prod {q : ℕ} [NeZero q] (n : (ZMod q)ˣ) : ((TauCeti.conreyCharacter q) n).conductor = ∏ p ∈ q.primeFactors, ((TauCeti.conreyCharacter (p ^ q.factorization p)) ((ZMod.unitsMap ⋯) n)).conductor
The conductor of a Conrey character is the product of the conductors of its prime-power factors (LMFDB
character.dirichlet.conrey.conductor). - defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyConductor.leancomplete
def DirichletCharacter.unitsPowRangeEquiv {p e f : ℕ} [Fact (Nat.Prime p)] (hp2 : p ≠ 2) (hf : f ≠ 0) (hfe : f ≤ e) : (ZMod (p ^ f))ˣ ≃* ↥(powMonoidHom (p ^ (e - f))).range
def DirichletCharacter.unitsPowRangeEquiv {p e f : ℕ} [Fact (Nat.Prime p)] (hp2 : p ≠ 2) (hf : f ≠ 0) (hfe : f ≤ e) : (ZMod (p ^ f))ˣ ≃* ↥(powMonoidHom (p ^ (e - f))).range
The isomorphism between
(ℤ/p ^ f)ˣand the image ofx ↦ x ^ p ^ (e - f)in(ℤ/p ^ e)ˣ(LMFDBcharacter.dirichlet.conrey.conductor), for an odd primepand1 ≤ f ≤ e: it sends the class modulop ^ fof a unitxmodulop ^ etox ^ p ^ (e - f)(DirichletCharacter.unitsPowRangeEquiv_unitsMap). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyConductor.leancomplete
theorem DirichletCharacter.conreyCharacter_unitsPowRangeEquiv {p e f : ℕ} [Fact (Nat.Prime p)] (hp2 : p ≠ 2) (hf : f ≠ 0) (hfe : f ≤ e) (y : (ZMod (p ^ f))ˣ) : (TauCeti.conreyCharacter (p ^ e)) ↑((DirichletCharacter.unitsPowRangeEquiv hp2 hf hfe) y) = (DirichletCharacter.changeLevel ⋯) ((TauCeti.conreyCharacter (p ^ f)) y)
theorem DirichletCharacter.conreyCharacter_unitsPowRangeEquiv {p e f : ℕ} [Fact (Nat.Prime p)] (hp2 : p ≠ 2) (hf : f ≠ 0) (hfe : f ≤ e) (y : (ZMod (p ^ f))ˣ) : (TauCeti.conreyCharacter (p ^ e)) ↑((DirichletCharacter.unitsPowRangeEquiv hp2 hf hfe) y) = (DirichletCharacter.changeLevel ⋯) ((TauCeti.conreyCharacter (p ^ f)) y)
The isomorphism
(ℤ/p ^ f)ˣ ≃* {x ^ p ^ (e - f)}is compatible with the Conrey labelling (LMFDBcharacter.dirichlet.conrey.conductor): the Conrey character of the image ofymodulop ^ eis the lift ofχ_{p ^ f}(y, ·). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyConductor.leancomplete
theorem DirichletCharacter.conductor_conreyCharacter_one {q : ℕ} [NeZero q] : ((TauCeti.conreyCharacter q) 1).conductor = 1
theorem DirichletCharacter.conductor_conreyCharacter_one {q : ℕ} [NeZero q] : ((TauCeti.conreyCharacter q) 1).conductor = 1
The conductor of
χ_q(1, ·)is1(LMFDBcharacter.dirichlet.conrey.conductor). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyConductor.leancomplete
theorem DirichletCharacter.conductor_conreyCharacter_prime_pow {p e f : ℕ} [Fact (Nat.Prime p)] (hp2 : p ≠ 2) {n : (ZMod (p ^ e))ˣ} (hn : n ≠ 1) (hf : 1 ≤ f) (hord : orderOf (n ^ (p - 1)) = p ^ (f - 1)) : ((TauCeti.conreyCharacter (p ^ e)) n).conductor = p ^ f
theorem DirichletCharacter.conductor_conreyCharacter_prime_pow {p e f : ℕ} [Fact (Nat.Prime p)] (hp2 : p ≠ 2) {n : (ZMod (p ^ e))ˣ} (hn : n ≠ 1) (hf : 1 ≤ f) (hord : orderOf (n ^ (p - 1)) = p ^ (f - 1)) : ((TauCeti.conreyCharacter (p ^ e)) n).conductor = p ^ f
The conductor of a Conrey character modulo an odd prime power (LMFDB
character.dirichlet.conrey.conductor): for an odd primep, ifn ≢ 1 mod p ^ eandn ^ (p - 1)has orderp ^ (f - 1)modulop ^ e, with1 ≤ f, then the conductor ofχ_{p ^ e}(n, ·)isp ^ f. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyConductor.leancomplete
theorem DirichletCharacter.conductor_conreyCharacter_four {n : (ZMod (2 ^ 2))ˣ} (hn : ↑n = 3) : ((TauCeti.conreyCharacter (2 ^ 2)) n).conductor = 4
theorem DirichletCharacter.conductor_conreyCharacter_four {n : (ZMod (2 ^ 2))ˣ} (hn : ↑n = 3) : ((TauCeti.conreyCharacter (2 ^ 2)) n).conductor = 4
The conductor of
χ_4(3, ·)is4(LMFDBcharacter.dirichlet.conrey.conductor): fore = 2andn ≡ 3 mod 4, the conductor ofχ_{2 ^ e}(n, ·)is4. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyConductor.leancomplete
theorem DirichletCharacter.conductor_conreyCharacter_two_pow {e f : ℕ} (he : 2 ≤ e) {n ε : (ZMod (2 ^ e))ˣ} (hn : n ≠ 1) (hε : ε = 1 ∨ ε = -1) (hnε : (ZMod.unitsMap ⋯) n = (ZMod.unitsMap ⋯) ε) (hf : orderOf (ε * n) = 2 ^ f) : ((TauCeti.conreyCharacter (2 ^ e)) n).conductor = 2 ^ (f + 2)
theorem DirichletCharacter.conductor_conreyCharacter_two_pow {e f : ℕ} (he : 2 ≤ e) {n ε : (ZMod (2 ^ e))ˣ} (hn : n ≠ 1) (hε : ε = 1 ∨ ε = -1) (hnε : (ZMod.unitsMap ⋯) n = (ZMod.unitsMap ⋯) ε) (hf : orderOf (ε * n) = 2 ^ f) : ((TauCeti.conreyCharacter (2 ^ e)) n).conductor = 2 ^ (f + 2)
The conductor of a Conrey character modulo a power of two (LMFDB
character.dirichlet.conrey.conductor): fore ≥ 2, ifn ≢ 1 mod 2 ^ e,ε ∈ {±1}satisfiesn ≡ ε mod 4andε nhas order2 ^ fmodulo2 ^ e, then the conductor ofχ_{2 ^ e}(n, ·)is2 ^ (f + 2).
DirichletCharacter.lmfdbConreyIndex[complete]DirichletCharacter.lmfdbConreyIndex_pos[complete]DirichletCharacter.lmfdbConreyIndex_lt_max[complete]DirichletCharacter.natCast_lmfdbConreyIndex[complete]DirichletCharacter.conreyCharacter_eq_of_coe_eq[complete]DirichletCharacter.bijective_conreyCharacter_unitOfCoprime[complete]TauCeti.conreyCharacter[complete]TauCeti.conreyCharacter_apply[complete]DirichletCharacter.lmfdbConreyIndex_conreyCharacter_unitOfCoprime[complete]DirichletCharacter.lmfdbConreyIndex_eq_of_conreyCharacter_eq[complete]
Conrey index of a Dirichlet character. (LMFDB)
The Conrey index (or index) of a Dirichlet character \chi of modulus q is the unique positive integer n < \max(q,2) for which \chi = \chi_q(n,\cdot) in the Conrey labeling system.
Depends on: Definition 6.1.1 Definition 6.1.27
Lean code for Definition6.1.5●10 declarationsAssociated Lean declarationsDirichletCharacter.lmfdbConreyIndex[complete]DirichletCharacter.lmfdbConreyIndex_pos[complete]DirichletCharacter.lmfdbConreyIndex_lt_max[complete]DirichletCharacter.natCast_lmfdbConreyIndex[complete]DirichletCharacter.conreyCharacter_eq_of_coe_eq[complete]DirichletCharacter.bijective_conreyCharacter_unitOfCoprime[complete]TauCeti.conreyCharacter[complete]TauCeti.conreyCharacter_apply[complete]DirichletCharacter.lmfdbConreyIndex_conreyCharacter_unitOfCoprime[complete]DirichletCharacter.lmfdbConreyIndex_eq_of_conreyCharacter_eq[complete]
DirichletCharacter.lmfdbConreyIndex[complete]DirichletCharacter.lmfdbConreyIndex_pos[complete]DirichletCharacter.lmfdbConreyIndex_lt_max[complete]DirichletCharacter.natCast_lmfdbConreyIndex[complete]DirichletCharacter.conreyCharacter_eq_of_coe_eq[complete]DirichletCharacter.bijective_conreyCharacter_unitOfCoprime[complete]TauCeti.conreyCharacter[complete]TauCeti.conreyCharacter_apply[complete]DirichletCharacter.lmfdbConreyIndex_conreyCharacter_unitOfCoprime[complete]DirichletCharacter.lmfdbConreyIndex_eq_of_conreyCharacter_eq[complete]
- defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/LmfdbConreyIndex.leancomplete
def DirichletCharacter.lmfdbConreyIndex {N : ℕ} (χ : DirichletCharacter ℂ N) : ℕ
def DirichletCharacter.lmfdbConreyIndex {N : ℕ} (χ : DirichletCharacter ℂ N) : ℕ
The Conrey index (LMFDB
character.dirichlet.conrey.index) of a Dirichlet characterχof modulusN, as the LMFDB writes it in the Conrey labelN.nofχ: the unique positive integern < max(N, 2)withχ = χ_N(n, ·), that is, the representative in[1, N)of the Conrey label(TauCeti.conreyCharacter N).symm χofχwhenN > 1, and1whenN = 1. The value forN = 0carries no meaning. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/LmfdbConreyIndex.leancomplete
theorem DirichletCharacter.lmfdbConreyIndex_pos {N : ℕ} (χ : DirichletCharacter ℂ N) : 0 < χ.lmfdbConreyIndex
theorem DirichletCharacter.lmfdbConreyIndex_pos {N : ℕ} (χ : DirichletCharacter ℂ N) : 0 < χ.lmfdbConreyIndex
The Conrey index is positive.
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/LmfdbConreyIndex.leancomplete
theorem DirichletCharacter.lmfdbConreyIndex_lt_max {N : ℕ} (χ : DirichletCharacter ℂ N) : χ.lmfdbConreyIndex < max N 2
theorem DirichletCharacter.lmfdbConreyIndex_lt_max {N : ℕ} (χ : DirichletCharacter ℂ N) : χ.lmfdbConreyIndex < max N 2
The Conrey index of a character of modulus
Nis less thanmax(N, 2). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/LmfdbConreyIndex.leancomplete
theorem DirichletCharacter.natCast_lmfdbConreyIndex {N : ℕ} (χ : DirichletCharacter ℂ N) [NeZero N] : ↑χ.lmfdbConreyIndex = ↑((TauCeti.conreyCharacter N).symm χ)
theorem DirichletCharacter.natCast_lmfdbConreyIndex {N : ℕ} (χ : DirichletCharacter ℂ N) [NeZero N] : ↑χ.lmfdbConreyIndex = ↑((TauCeti.conreyCharacter N).symm χ)
The Conrey index reduces modulo
Nto the Conrey label(TauCeti.conreyCharacter N).symm χof the character. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/LmfdbConreyIndex.leancomplete
theorem DirichletCharacter.conreyCharacter_eq_of_coe_eq {N : ℕ} (χ : DirichletCharacter ℂ N) [NeZero N] {u : (ZMod N)ˣ} (hu : ↑u = ↑χ.lmfdbConreyIndex) : (TauCeti.conreyCharacter N) u = χ
theorem DirichletCharacter.conreyCharacter_eq_of_coe_eq {N : ℕ} (χ : DirichletCharacter ℂ N) [NeZero N] {u : (ZMod N)ˣ} (hu : ↑u = ↑χ.lmfdbConreyIndex) : (TauCeti.conreyCharacter N) u = χ
χ = χ_N(n, ·)for the Conrey indexnofχ: the Conrey character of the unit ofℤ/Nrepresented bynisχ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyLabellingFacts.leancomplete
theorem DirichletCharacter.bijective_conreyCharacter_unitOfCoprime {q : ℕ} [NeZero q] : Function.Bijective fun n => (TauCeti.conreyCharacter q) (ZMod.unitOfCoprime ↑n ⋯)
theorem DirichletCharacter.bijective_conreyCharacter_unitOfCoprime {q : ℕ} [NeZero q] : Function.Bijective fun n => (TauCeti.conreyCharacter q) (ZMod.unitOfCoprime ↑n ⋯)
The Conrey labels identify the characters (LMFDB
character.dirichlet.conrey): the mapn ↦ χ_q(n, ·)is a bijection from the natural numbersnwith1 ≤ n < max(q, 2)coprime toqonto the Dirichlet characters moduloq. - defdefined in TauCeti/NumberTheory/DirichletCharacter/Conrey.leancomplete
def TauCeti.conreyCharacter (N : ℕ) [NeZero N] : (ZMod N)ˣ ≃* DirichletCharacter ℂ N
def TauCeti.conreyCharacter (N : ℕ) [NeZero N] : (ZMod N)ˣ ≃* DirichletCharacter ℂ N
The Conrey labelling of the Dirichlet characters modulo
N: the isomorphism(ℤ/N)ˣ ≃* DirichletCharacter ℂ Nsendingmto the characterχ_N(m, ·)whose value at a unitnis the Conrey pairingχ_N(m, n)(TauCeti.conreyCharacter_apply). The Conrey label of a characterχis(conreyCharacter N).symm χ. - theoremdefined in TauCeti/NumberTheory/DirichletCharacter/Conrey.leancomplete
theorem TauCeti.conreyCharacter_apply (N : ℕ) [NeZero N] (m n : (ZMod N)ˣ) : ((TauCeti.conreyCharacter N) m) ↑n = ↑(((TauCeti.conreyPairing N) m) n)
theorem TauCeti.conreyCharacter_apply (N : ℕ) [NeZero N] (m n : (ZMod N)ˣ) : ((TauCeti.conreyCharacter N) m) ↑n = ↑(((TauCeti.conreyPairing N) m) n)
The Conrey character
χ_N(m, ·)takes the valueχ_N(m, n)at a unitn. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/LmfdbConreyIndex.leancomplete
theorem DirichletCharacter.lmfdbConreyIndex_conreyCharacter_unitOfCoprime {N : ℕ} [NeZero N] {n : ℕ} (hn : n.Coprime N) (h1 : 1 ≤ n) (hnN : n < max N 2) : ((TauCeti.conreyCharacter N) (ZMod.unitOfCoprime n hn)).lmfdbConreyIndex = n
theorem DirichletCharacter.lmfdbConreyIndex_conreyCharacter_unitOfCoprime {N : ℕ} [NeZero N] {n : ℕ} (hn : n.Coprime N) (h1 : 1 ≤ n) (hnN : n < max N 2) : ((TauCeti.conreyCharacter N) (ZMod.unitOfCoprime n hn)).lmfdbConreyIndex = n
The Conrey index of
χ_N(n, ·)isnforncoprime toNwith1 ≤ n < max(N, 2): the Conrey indexDirichletCharacter.lmfdbConreyIndexinverts the labellingn ↦ χ_N(n, ·), Tau Ceti'sTauCeti.conreyCharacter. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/LmfdbConreyIndex.leancomplete
theorem DirichletCharacter.lmfdbConreyIndex_eq_of_conreyCharacter_eq {N : ℕ} {χ : DirichletCharacter ℂ N} [NeZero N] {n : ℕ} (hn : n.Coprime N) (h1 : 1 ≤ n) (hnN : n < max N 2) (h : (TauCeti.conreyCharacter N) (ZMod.unitOfCoprime n hn) = χ) : χ.lmfdbConreyIndex = n
theorem DirichletCharacter.lmfdbConreyIndex_eq_of_conreyCharacter_eq {N : ℕ} {χ : DirichletCharacter ℂ N} [NeZero N] {n : ℕ} (hn : n.Coprime N) (h1 : 1 ≤ n) (hnN : n < max N 2) (h : (TauCeti.conreyCharacter N) (ZMod.unitOfCoprime n hn) = χ) : χ.lmfdbConreyIndex = n
The Conrey index is the unique
nwithχ = χ_N(n, ·)among thencoprime toNwith1 ≤ n < max(N, 2), where the Conrey index isDirichletCharacter.lmfdbConreyIndexandχ_N(n, ·)is Tau Ceti'sTauCeti.conreyCharacter.
DirichletCharacter.galoisOrbitLabel[complete]DirichletCharacter.orbitLabelVector[complete]DirichletCharacter.letterCode[complete]DirichletCharacter.galoisOrbitLabel_eq[complete]DirichletCharacter.orbitIndex_eq_ncard_orbitLabelVector[complete]DirichletCharacter.orbitLabelVector_lt_orbitLabelVector_iff[complete]DirichletCharacter.orbitLabelVector_eq_iff[complete]DirichletCharacter.valueTrace_one[complete]DirichletCharacter.orbitIndex[complete]DirichletCharacter.galoisOrbitTraceVector[complete]
Labels for Galois orbits of Dirichlet Characters. (LMFDB)
A Galois orbit of Dirichlet characters is labelled as \texttt{q.A}, where \texttt{q} is the modulus of the characters in the orbit, and \texttt{A} is a lower-case letter which corresponds to the lexicographic ordering of the Galois-invariant vector \left( \textup{Order}(\chi), \mathrm{Tr}(\chi(2)), \cdots, \mathrm{Tr}(\chi(\texttt{q} - 1) \right), for \chi any Dirichlet character in the orbit. See Section 3.3 of for more details.
Depends on: Definition 6.1.1 Definition 6.1.12
Lean code for Definition6.1.6●10 declarationsAssociated Lean declarationsDirichletCharacter.galoisOrbitLabel[complete]DirichletCharacter.orbitLabelVector[complete]DirichletCharacter.letterCode[complete]DirichletCharacter.galoisOrbitLabel_eq[complete]DirichletCharacter.orbitIndex_eq_ncard_orbitLabelVector[complete]DirichletCharacter.orbitLabelVector_lt_orbitLabelVector_iff[complete]DirichletCharacter.orbitLabelVector_eq_iff[complete]DirichletCharacter.valueTrace_one[complete]DirichletCharacter.orbitIndex[complete]DirichletCharacter.galoisOrbitTraceVector[complete]
DirichletCharacter.galoisOrbitLabel[complete]DirichletCharacter.orbitLabelVector[complete]DirichletCharacter.letterCode[complete]DirichletCharacter.galoisOrbitLabel_eq[complete]DirichletCharacter.orbitIndex_eq_ncard_orbitLabelVector[complete]DirichletCharacter.orbitLabelVector_lt_orbitLabelVector_iff[complete]DirichletCharacter.orbitLabelVector_eq_iff[complete]DirichletCharacter.valueTrace_one[complete]DirichletCharacter.orbitIndex[complete]DirichletCharacter.galoisOrbitTraceVector[complete]
- defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
def DirichletCharacter.galoisOrbitLabel {q : ℕ} (χ : DirichletCharacter ℂ q) : String
def DirichletCharacter.galoisOrbitLabel {q : ℕ} (χ : DirichletCharacter ℂ q) : String
The label of the Galois orbit of a Dirichlet character
χof modulusq(LMFDBcharacter.dirichlet.galois_orbit_label):q.a, whereais the letter code of the orbit index ofχminus one, so that the orbit indices1, 2, 27are writtena, b, ba. - defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/OrbitLabelVector.leancomplete
def DirichletCharacter.orbitLabelVector {q : ℕ} (χ : DirichletCharacter ℂ q) : List ℚ
def DirichletCharacter.orbitLabelVector {q : ℕ} (χ : DirichletCharacter ℂ q) : List ℚ
The Galois-invariant vector
(ord χ, Tr χ(2), …, Tr χ(q - 1))of a Dirichlet characterχof modulusq(LMFDBcharacter.dirichlet.conrey.orbit_label), whose lexicographic order labels the Galois orbits: the order ofχfollowed by the traces ofχ ifrom the field of values ofχtoℚfori = 2, …, q - 1. It is the trace vectorDirichletCharacter.galoisOrbitTraceVectorwithout its entryTr χ(1)(DirichletCharacter.eraseIdx_galoisOrbitTraceVector). - defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
def DirichletCharacter.letterCode (n : ℕ) : String
def DirichletCharacter.letterCode (n : ℕ) : String
The letter code of a natural number
n: its base-26expansion with the digits writtena, b, …, z, so that0, 1, …, 25, 26are writtena, b, …, z, ba. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/OrbitLabelVector.leancomplete
theorem DirichletCharacter.galoisOrbitLabel_eq {q : ℕ} (χ : DirichletCharacter ℂ q) : χ.galoisOrbitLabel = toString q ++ "." ++ DirichletCharacter.letterCode {t | t ∈ Set.range DirichletCharacter.orbitLabelVector ∧ t < χ.orbitLabelVector}.ncard
theorem DirichletCharacter.galoisOrbitLabel_eq {q : ℕ} (χ : DirichletCharacter ℂ q) : χ.galoisOrbitLabel = toString q ++ "." ++ DirichletCharacter.letterCode {t | t ∈ Set.range DirichletCharacter.orbitLabelVector ∧ t < χ.orbitLabelVector}.ncard
The label of a Galois orbit is the knowl's (LMFDB
character.dirichlet.conrey.orbit_label): the label of the orbit ofχisq.A, whereAis the letter code of the number of vectors(ord ψ, Tr ψ(2), …, Tr ψ(q - 1))of the charactersψof modulusqthat are lexicographically smaller than that ofχ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/OrbitLabelVector.leancomplete
theorem DirichletCharacter.orbitIndex_eq_ncard_orbitLabelVector {q : ℕ} (χ : DirichletCharacter ℂ q) : χ.orbitIndex = {t | t ∈ Set.range DirichletCharacter.orbitLabelVector ∧ t < χ.orbitLabelVector}.ncard + 1
theorem DirichletCharacter.orbitIndex_eq_ncard_orbitLabelVector {q : ℕ} (χ : DirichletCharacter ℂ q) : χ.orbitIndex = {t | t ∈ Set.range DirichletCharacter.orbitLabelVector ∧ t < χ.orbitLabelVector}.ncard + 1
The orbit index is the position of the knowl's vector (LMFDB
character.dirichlet.conrey.orbit_label): it is one more than the number of vectors(ord ψ, Tr ψ(2), …, Tr ψ(q - 1))of the charactersψof modulusqthat are lexicographically smaller than that ofχ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/OrbitLabelVector.leancomplete
theorem DirichletCharacter.orbitLabelVector_lt_orbitLabelVector_iff {q : ℕ} {χ ψ : DirichletCharacter ℂ q} : ψ.orbitLabelVector < χ.orbitLabelVector ↔ ψ.galoisOrbitTraceVector < χ.galoisOrbitTraceVector
theorem DirichletCharacter.orbitLabelVector_lt_orbitLabelVector_iff {q : ℕ} {χ ψ : DirichletCharacter ℂ q} : ψ.orbitLabelVector < χ.orbitLabelVector ↔ ψ.galoisOrbitTraceVector < χ.galoisOrbitTraceVector
The knowl's vectors are ordered as the trace vectors: the extra entry
Tr χ(1) = φ(ord χ)of the trace vector is a function of its first entryord χ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/OrbitLabelVector.leancomplete
theorem DirichletCharacter.orbitLabelVector_eq_iff {q : ℕ} {χ ψ : DirichletCharacter ℂ q} [NeZero q] : ψ.orbitLabelVector = χ.orbitLabelVector ↔ ψ ∈ MulChar.galoisOrbit χ
theorem DirichletCharacter.orbitLabelVector_eq_iff {q : ℕ} {χ ψ : DirichletCharacter ℂ q} [NeZero q] : ψ.orbitLabelVector = χ.orbitLabelVector ↔ ψ ∈ MulChar.galoisOrbit χ
The knowl's vector depends only on the Galois orbit and determines it: two Dirichlet characters of nonzero modulus have the same vector
(ord χ, Tr χ(2), …, Tr χ(q - 1))exactly when they lie in one Galois orbit. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/OrbitLabelVector.leancomplete
theorem DirichletCharacter.valueTrace_one {q : ℕ} (χ : DirichletCharacter ℂ q) : χ.valueTrace 1 = ↑(orderOf χ).totient
theorem DirichletCharacter.valueTrace_one {q : ℕ} (χ : DirichletCharacter ℂ q) : χ.valueTrace 1 = ↑(orderOf χ).totient
The trace of
χ 1is the degreeφ(ord χ)of the field of values. - defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
def DirichletCharacter.orbitIndex {q : ℕ} (χ : DirichletCharacter ℂ q) : ℕ
def DirichletCharacter.orbitIndex {q : ℕ} (χ : DirichletCharacter ℂ q) : ℕ
The orbit index of a Dirichlet character
χof modulusq(LMFDBcharacter.dirichlet.galois_orbit_index): the position, counted from1, of the trace vector ofχin the lexicographic order on the trace vectors of the Dirichlet characters of modulusq. It depends only on the Galois orbit ofχand determines it (orbitIndex_eq_iff). - defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
def DirichletCharacter.galoisOrbitTraceVector {q : ℕ} (χ : DirichletCharacter ℂ q) : List ℚ
def DirichletCharacter.galoisOrbitTraceVector {q : ℕ} (χ : DirichletCharacter ℂ q) : List ℚ
The trace vector
t([χ]) = (n, t₁, …, t_{q-1})of a Dirichlet characterχof modulusq: its ordernfollowed by the tracestᵢ = tr_{ℚ(χ)/ℚ}(χ i)fori = 1, …, q - 1. Thetᵢare rational integers; we keep them inℚ, whose order agrees with that ofℤ.
TauCeti.conreyCharacter[complete]MulEquiv.orderOf_eq[complete]map_pow[complete]MulChar.pow_apply'[complete]
Order of a Dirichlet character from its label. (LMFDB)
Since \chi_q(m^r,n)=\chi_q(m,n)^r, a Dirichlet character of Conrey index m
has order r, where r is the multiplicative order of m in (\Z/q\Z)^\times.
Depends on: Definition 6.1.1 Definition 6.1.3 Definition 6.1.28
Lean code for Definition6.1.7●4 declarationsAssociated Lean declarationsTauCeti.conreyCharacter[complete]MulEquiv.orderOf_eq[complete]map_pow[complete]MulChar.pow_apply'[complete]
TauCeti.conreyCharacter[complete]MulEquiv.orderOf_eq[complete]map_pow[complete]MulChar.pow_apply'[complete]
- defdefined in TauCeti/NumberTheory/DirichletCharacter/Conrey.leancomplete
def TauCeti.conreyCharacter (N : ℕ) [NeZero N] : (ZMod N)ˣ ≃* DirichletCharacter ℂ N
def TauCeti.conreyCharacter (N : ℕ) [NeZero N] : (ZMod N)ˣ ≃* DirichletCharacter ℂ N
The Conrey labelling of the Dirichlet characters modulo
N: the isomorphism(ℤ/N)ˣ ≃* DirichletCharacter ℂ Nsendingmto the characterχ_N(m, ·)whose value at a unitnis the Conrey pairingχ_N(m, n)(TauCeti.conreyCharacter_apply). The Conrey label of a characterχis(conreyCharacter N).symm χ. - theoremdefined in Mathlib/GroupTheory/OrderOfElement.leancomplete
theorem MulEquiv.orderOf_eq.{u_1, u_6} {G : Type u_1} [Monoid G] {H : Type u_6} [Monoid H] (e : G ≃* H) (x : G) : orderOf (e x) = orderOf x
theorem MulEquiv.orderOf_eq.{u_1, u_6} {G : Type u_1} [Monoid G] {H : Type u_6} [Monoid H] (e : G ≃* H) (x : G) : orderOf (e x) = orderOf x
A multiplicative equivalence preserves orders of elements.
- theoremdefined in Mathlib/Algebra/Group/Hom/Defs.leancomplete
theorem map_pow.{u_7, u_8, u_9} {G : Type u_7} {H : Type u_8} {F : Type u_9} [FunLike F G H] [Monoid G] [Monoid H] [MonoidHomClass F G H] (f : F) (a : G) (n : ℕ) : f (a ^ n) = f a ^ n
theorem map_pow.{u_7, u_8, u_9} {G : Type u_7} {H : Type u_8} {F : Type u_9} [FunLike F G H] [Monoid G] [Monoid H] [MonoidHomClass F G H] (f : F) (a : G) (n : ℕ) : f (a ^ n) = f a ^ n
See note [hom simp lemma priority]
- theoremdefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
theorem MulChar.pow_apply'.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] (χ : MulChar R R') {n : ℕ} (hn : n ≠ 0) (a : R) : (χ ^ n) a = χ a ^ n
theorem MulChar.pow_apply'.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] (χ : MulChar R R') {n : ℕ} (hn : n ≠ 0) (a : R) : (χ ^ n) a = χ a ^ n
If
nis positive, then(χ ^ n) a = (χ a) ^ n.
DirichletCharacter.Even[complete]DirichletCharacter.localFactor_conreyCharacter[complete]DirichletCharacter.conreyCharacter_apply_neg_one[complete]DirichletCharacter.odd_conreyCharacter_iff[complete]DirichletCharacter.even_conreyCharacter_prime_pow_iff[complete]DirichletCharacter.even_localFactor_conreyCharacter_iff[complete]DirichletCharacter.even_conreyCharacter_two_pow_iff[complete]DirichletCharacter.even_conreyCharacter_two[complete]
Parity of a Dirichlet character from its Conrey label. (LMFDB)
Let
\chi_q(n,\cdot)=\prod_{p|q}\chi_{p^e}(n,\cdot)
be the unique factorization of the Dirichlet character \chi_q(n,\cdot) into characters of prime power modulus p^e under the Conrey labeling system. The parity of \chi_q(n,\cdot) is the sum of the parities of the Dirichlet characters \chi_{p^e}(n,\cdot), which can be computed as follows:
for
p>2, the character\chi_{p^e}(n,\cdot)is even if and only ifnis a square modulop;for
p=2ande>1the character\chi_{p^e}(n,\cdot)is even if and only ifnis a square modulo4.for
p=2ande=1the character\chi_{p^e}(n,\cdot)=\chi_2(1,\cdot)is even.
Tau Ceti Review: DirichletCharacter.Even.
Depends on: Definition 6.1.1 Definition 6.1.29
Lean code for Definition6.1.8●8 declarationsAssociated Lean declarationsDirichletCharacter.Even[complete]DirichletCharacter.localFactor_conreyCharacter[complete]DirichletCharacter.conreyCharacter_apply_neg_one[complete]DirichletCharacter.odd_conreyCharacter_iff[complete]DirichletCharacter.even_conreyCharacter_prime_pow_iff[complete]DirichletCharacter.even_localFactor_conreyCharacter_iff[complete]DirichletCharacter.even_conreyCharacter_two_pow_iff[complete]DirichletCharacter.even_conreyCharacter_two[complete]
DirichletCharacter.Even[complete]DirichletCharacter.localFactor_conreyCharacter[complete]DirichletCharacter.conreyCharacter_apply_neg_one[complete]DirichletCharacter.odd_conreyCharacter_iff[complete]DirichletCharacter.even_conreyCharacter_prime_pow_iff[complete]DirichletCharacter.even_localFactor_conreyCharacter_iff[complete]DirichletCharacter.even_conreyCharacter_two_pow_iff[complete]DirichletCharacter.even_conreyCharacter_two[complete]
- defdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
def DirichletCharacter.Even.{u_2} {S : Type u_2} [CommRing S] {m : ℕ} (ψ : DirichletCharacter S m) : Prop
def DirichletCharacter.Even.{u_2} {S : Type u_2} [CommRing S] {m : ℕ} (ψ : DirichletCharacter S m) : Prop
A Dirichlet character is even if its value at -1 is 1.
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyFactorisation.leancomplete
theorem DirichletCharacter.localFactor_conreyCharacter {N : ℕ} (p : ℕ) [NeZero N] (m : (ZMod N)ˣ) : (DirichletCharacter.localFactor p) ((TauCeti.conreyCharacter N) m) = (TauCeti.conreyCharacter (p ^ N.factorization p)) ((ZMod.unitsMap ⋯) m)
theorem DirichletCharacter.localFactor_conreyCharacter {N : ℕ} (p : ℕ) [NeZero N] (m : (ZMod N)ˣ) : (DirichletCharacter.localFactor p) ((TauCeti.conreyCharacter N) m) = (TauCeti.conreyCharacter (p ^ N.factorization p)) ((ZMod.unitsMap ⋯) m)
The local factors of a Conrey character are Conrey characters: the local factor at
pofχ_N(m, ·)is the Conrey characterχ_{p ^ v}(m, ·)modulo the exact powerp ^ vofpdividingN. WithDirichletCharacter.prod_changeLevel_conreyCharacterandDirichletCharacter.localFactor_prod_changeLevel, the charactersχ_{p ^ v}(m, ·)are the unique factorisation ofχ_N(m, ·)into characters of prime-power modulus. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyParity.leancomplete
theorem DirichletCharacter.conreyCharacter_apply_neg_one {q : ℕ} [NeZero q] (n : (ZMod q)ˣ) : ((TauCeti.conreyCharacter q) n) (-1) = ∏ p ∈ q.primeFactors, ((TauCeti.conreyCharacter (p ^ q.factorization p)) ((ZMod.unitsMap ⋯) n)) (-1)
theorem DirichletCharacter.conreyCharacter_apply_neg_one {q : ℕ} [NeZero q] (n : (ZMod q)ˣ) : ((TauCeti.conreyCharacter q) n) (-1) = ∏ p ∈ q.primeFactors, ((TauCeti.conreyCharacter (p ^ q.factorization p)) ((ZMod.unitsMap ⋯) n)) (-1)
The value of a Conrey character at
-1is the product of the values at-1of its prime-power factors:χ_q(n, -1) = ∏_{p ∣ q} χ_{p ^ e}(n, -1). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyParity.leancomplete
theorem DirichletCharacter.odd_conreyCharacter_iff {q : ℕ} [NeZero q] (n : (ZMod q)ˣ) : ((TauCeti.conreyCharacter q) n).Odd ↔ {p ∈ q.primeFactors | ((TauCeti.conreyCharacter (p ^ q.factorization p)) ((ZMod.unitsMap ⋯) n)).Odd}.card % 2 = 1
theorem DirichletCharacter.odd_conreyCharacter_iff {q : ℕ} [NeZero q] (n : (ZMod q)ˣ) : ((TauCeti.conreyCharacter q) n).Odd ↔ {p ∈ q.primeFactors | ((TauCeti.conreyCharacter (p ^ q.factorization p)) ((ZMod.unitsMap ⋯) n)).Odd}.card % 2 = 1
The parity of a Conrey character is the sum of the parities of its prime-power factors (LMFDB
character.dirichlet.conrey.parity), parities read inℤ/2:χ_q(n, ·)is odd exactly when an odd number of the charactersχ_{p ^ e}(n, ·),p ∣ q, are odd. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyParity.leancomplete
theorem DirichletCharacter.even_conreyCharacter_prime_pow_iff {p e : ℕ} [Fact (Nat.Prime p)] (hp2 : p ≠ 2) (he : e ≠ 0) (n : (ZMod (p ^ e))ˣ) : ((TauCeti.conreyCharacter (p ^ e)) n).Even ↔ IsSquare ((ZMod.castHom ⋯ (ZMod p)) ↑n)
theorem DirichletCharacter.even_conreyCharacter_prime_pow_iff {p e : ℕ} [Fact (Nat.Prime p)] (hp2 : p ≠ 2) (he : e ≠ 0) (n : (ZMod (p ^ e))ˣ) : ((TauCeti.conreyCharacter (p ^ e)) n).Even ↔ IsSquare ((ZMod.castHom ⋯ (ZMod p)) ↑n)
The parity of a Conrey character modulo an odd prime power (LMFDB
character.dirichlet.conrey.parity): for an odd primepande ≠ 0,χ_{p ^ e}(n, ·)is even exactly whennis a square modulop. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyParity.leancomplete
theorem DirichletCharacter.even_localFactor_conreyCharacter_iff {q p : ℕ} [NeZero q] [Fact (Nat.Prime p)] (hp2 : p ≠ 2) (hpq : p ∣ q) (n : (ZMod q)ˣ) : ((DirichletCharacter.localFactor p) ((TauCeti.conreyCharacter q) n)).Even ↔ IsSquare ((ZMod.castHom hpq (ZMod p)) ↑n)
theorem DirichletCharacter.even_localFactor_conreyCharacter_iff {q p : ℕ} [NeZero q] [Fact (Nat.Prime p)] (hp2 : p ≠ 2) (hpq : p ∣ q) (n : (ZMod q)ˣ) : ((DirichletCharacter.localFactor p) ((TauCeti.conreyCharacter q) n)).Even ↔ IsSquare ((ZMod.castHom hpq (ZMod p)) ↑n)
The parity of the factor of a Conrey character at an odd prime (LMFDB
character.dirichlet.conrey.parity): for an odd primep ∣ q, the factorχ_{p ^ e}(n, ·)ofχ_q(n, ·)is even exactly whennis a square modulop. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyParity.leancomplete
theorem DirichletCharacter.even_conreyCharacter_two_pow_iff {e : ℕ} (he : 2 ≤ e) (n : (ZMod (2 ^ e))ˣ) : ((TauCeti.conreyCharacter (2 ^ e)) n).Even ↔ IsSquare ((ZMod.castHom ⋯ (ZMod 4)) ↑n)
theorem DirichletCharacter.even_conreyCharacter_two_pow_iff {e : ℕ} (he : 2 ≤ e) (n : (ZMod (2 ^ e))ˣ) : ((TauCeti.conreyCharacter (2 ^ e)) n).Even ↔ IsSquare ((ZMod.castHom ⋯ (ZMod 4)) ↑n)
The parity of a Conrey character modulo a power of two (LMFDB
character.dirichlet.conrey.parity): fore ≥ 2,χ_{2 ^ e}(n, ·)is even exactly whennis a square modulo4. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ConreyParity.leancomplete
theorem DirichletCharacter.even_conreyCharacter_two (n : (ZMod 2)ˣ) : ((TauCeti.conreyCharacter 2) n).Even
theorem DirichletCharacter.even_conreyCharacter_two (n : (ZMod 2)ˣ) : ((TauCeti.conreyCharacter 2) n).Even
The Conrey characters modulo
2are even (LMFDBcharacter.dirichlet.conrey.parity).
Conrey primitive generator modulo p. (LMFDB)
For an odd prime p and an exponent e\geq1, the group (\Z/p^e\Z)^\times is cyclic. It happens that any integer a which generates (\Z/p^2\Z)^\times will also be a generator of (\Z/p^e\Z)^\times for all e\geq 1. We call the least such a the Conrey (primitive) generator modulo p.
Interestingly, the Conrey generator is also the smallest generator of (\Z/p\Z)^\times
for all primes p<10^{12} except two cases:
for
p=40487, the Conrey generator is10instead of5.for
p=6692367337, the Conrey generator is7instead of5.
MulChar.degree[complete]MulChar.degree_eq_totient[complete]Nat.totient[complete]ZMod.card_units_eq_totient[complete]
Degree of a Dirichlet character. (LMFDB)
The degree of a Dirichlet character \chi is the degree of its field of values \Q(\chi(\Z)).
If \chi has order n then its degree is \phi(n):=\#(\Z/n\Z)^\times.
Tau Ceti Review: Nat.totient, ZMod.card_units_eq_totient.
Depends on: Definition 6.1.28 Definition 6.1.34 Definition 5.1.14
Lean code for Definition6.1.10●4 declarationsAssociated Lean declarationsMulChar.degree[complete]MulChar.degree_eq_totient[complete]Nat.totient[complete]ZMod.card_units_eq_totient[complete]
MulChar.degree[complete]MulChar.degree_eq_totient[complete]Nat.totient[complete]ZMod.card_units_eq_totient[complete]
- defdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/FieldOfValues.leancomplete
def MulChar.degree.{u_1, u_2} {M : Type u_1} {K : Type u_2} [CommMonoid M] [Field K] [CharZero K] (χ : MulChar M K) : ℕ
def MulChar.degree.{u_1, u_2} {M : Type u_1} {K : Type u_2} [CommMonoid M] [Field K] [CharZero K] (χ : MulChar M K) : ℕ
The degree (LMFDB
character.dirichlet.degree) of a characterχwith values in a field of characteristic zero, such as a Dirichlet character: the degree overℚof its field of valuesℚ(χ), the subfield generated by its values. A character of ordernon a monoid with finitely many units has degreeφ(n)(MulChar.degree_eq_totient). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/FieldOfValues.leancomplete
theorem MulChar.degree_eq_totient.{u_1, u_2} {M : Type u_1} {K : Type u_2} [CommMonoid M] [Field K] [CharZero K] (χ : MulChar M K) [Finite Mˣ] : χ.degree = (orderOf χ).totient
theorem MulChar.degree_eq_totient.{u_1, u_2} {M : Type u_1} {K : Type u_2} [CommMonoid M] [Field K] [CharZero K] (χ : MulChar M K) [Finite Mˣ] : χ.degree = (orderOf χ).totient
A character of order
nhas degreeφ(n). - defdefined in Mathlib/Data/Nat/Totient.leancomplete
def Nat.totient (n : ℕ) : ℕ
def Nat.totient (n : ℕ) : ℕ
Euler's totient function. This counts the number of naturals strictly less than
nwhich are coprime withn. - theoremdefined in Mathlib/Data/Nat/Totient.leancomplete
theorem ZMod.card_units_eq_totient (n : ℕ) [NeZero n] [Fintype (ZMod n)ˣ] : Fintype.card (ZMod n)ˣ = n.totient
theorem ZMod.card_units_eq_totient (n : ℕ) [NeZero n] [Fintype (ZMod n)ˣ] : Fintype.card (ZMod n)ˣ = n.totient
Note this takes an explicit
Fintype ((ZMod n)ˣ)argument to avoid trouble with instance diamonds.
DirichletCharacter.fixedField[complete]DirichletCharacter.mem_fixedField_iff[complete]IsCyclotomicExtension.Rat.galEquivZMod[complete]DirichletCharacter.galEquivRange[complete]MulChar.isCyclic_range_toUnitHom[complete]MulChar.card_range_toUnitHom[complete]
Fixed field of a Dirichlet character. (LMFDB)
Let \chi:\mathbb{Z}\to \mathbb{C} be a Dirichlet character with modulus q. The fixed field of \chi is \mathbb{Q}(\zeta_q)^{\ker(\chi)}. By definition, this is the subfield of elements fixed
under Galois morphisms \zeta_q\mapsto \zeta_q^k for all k such that \chi(k)=1.
In fact \chi determines a homomorphism \chi:(\mathbb{Z}/q\mathbb{Z})^\times\to \mathbb{C}^\times. Identifying (\mathbb{Z}/q\mathbb{Z})^\times with \textrm{Gal}(\mathbb{Q}(\zeta_q)/\mathbb{Q}) by a\mapsto \sigma_a with \sigma_a(\zeta_q)=\zeta_q^a, we then identify \ker(\chi) with a subgroup of \textrm{Gal}(\mathbb{Q}(\zeta_q)/\mathbb{Q}).
By the Galois correspondence, the fixed field \mathbb{Q}(\zeta_q)^{\ker(\chi)} of this subgroup is a subfield of \mathbb{Q}(\zeta_q) whose Galois group is isomorphic to \textrm{Im}(\chi), which is cyclic of order n where n is the order of \chi.
Tau Ceti Review: IsCyclotomicExtension.Rat.galEquivZMod.
Depends on: Definition 6.1.1 Definition 6.1.28
Lean code for Definition6.1.11●6 declarationsAssociated Lean declarationsDirichletCharacter.fixedField[complete]DirichletCharacter.mem_fixedField_iff[complete]IsCyclotomicExtension.Rat.galEquivZMod[complete]DirichletCharacter.galEquivRange[complete]MulChar.isCyclic_range_toUnitHom[complete]MulChar.card_range_toUnitHom[complete]
DirichletCharacter.fixedField[complete]DirichletCharacter.mem_fixedField_iff[complete]IsCyclotomicExtension.Rat.galEquivZMod[complete]DirichletCharacter.galEquivRange[complete]MulChar.isCyclic_range_toUnitHom[complete]MulChar.card_range_toUnitHom[complete]
- abbrevdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/FixedField.leancomplete
abbrev DirichletCharacter.fixedField.{u_1} {q : ℕ} [NeZero q] (K : Type u_1) [Field K] [NumberField K] [IsCyclotomicExtension {q} ℚ K] (χ : DirichletCharacter ℂ q) : IntermediateField ℚ K
abbrev DirichletCharacter.fixedField.{u_1} {q : ℕ} [NeZero q] (K : Type u_1) [Field K] [NumberField K] [IsCyclotomicExtension {q} ℚ K] (χ : DirichletCharacter ℂ q) : IntermediateField ℚ K
The fixed field (LMFDB
character.dirichlet.field_cut_out) of a complex Dirichlet characterχof modulusq: the subfieldℚ(ζ_q)^{ker χ}of aq-th cyclotomic fieldK = ℚ(ζ_q), for instance the subfieldadjoin ℚ {b : ℂ | b ^ q = 1}ofℂ, fixed by the subgroup ofGal(K/ℚ)that corresponds to the kernel ofχon(ℤ/qℤ)ˣunder Mathlib'sIsCyclotomicExtension.Rat.galEquivZMod, the isomorphismGal(K/ℚ) ≃* (ℤ/qℤ)ˣsendingσ_a : ζ_q ↦ ζ_q ^ atoa. Its elements are those fixed by the automorphismsζ_q ↦ ζ_q ^ kwithχ(k) = 1(DirichletCharacter.mem_fixedField_iff). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/FixedField.leancomplete
theorem DirichletCharacter.mem_fixedField_iff.{u_1} {q : ℕ} [NeZero q] {K : Type u_1} [Field K] [NumberField K] [IsCyclotomicExtension {q} ℚ K] (χ : DirichletCharacter ℂ q) {x : K} : x ∈ DirichletCharacter.fixedField K χ ↔ ∀ (k : ℕ) (σ : Gal(K/ℚ)), σ (IsCyclotomicExtension.zeta q ℚ K) = IsCyclotomicExtension.zeta q ℚ K ^ k → χ ↑k = 1 → σ x = x
theorem DirichletCharacter.mem_fixedField_iff.{u_1} {q : ℕ} [NeZero q] {K : Type u_1} [Field K] [NumberField K] [IsCyclotomicExtension {q} ℚ K] (χ : DirichletCharacter ℂ q) {x : K} : x ∈ DirichletCharacter.fixedField K χ ↔ ∀ (k : ℕ) (σ : Gal(K/ℚ)), σ (IsCyclotomicExtension.zeta q ℚ K) = IsCyclotomicExtension.zeta q ℚ K ^ k → χ ↑k = 1 → σ x = x
The fixed field of
χconsists of the elements fixed by the automorphismsζ_q ↦ ζ_q ^ kwithχ(k) = 1,ζ_qbeing the primitiveq-th root of unityIsCyclotomicExtension.zeta. - abbrevdefined in Mathlib/NumberTheory/NumberField/Cyclotomic/Galois.leancomplete
abbrev IsCyclotomicExtension.Rat.galEquivZMod.{u_1} (n : ℕ) [NeZero n] (K : Type u_1) [Field K] [NumberField K] [hK : IsCyclotomicExtension {n} ℚ K] : Gal(K/ℚ) ≃* (ZMod n)ˣ
abbrev IsCyclotomicExtension.Rat.galEquivZMod.{u_1} (n : ℕ) [NeZero n] (K : Type u_1) [Field K] [NumberField K] [hK : IsCyclotomicExtension {n} ℚ K] : Gal(K/ℚ) ≃* (ZMod n)ˣ
The isomorphism between
Gal(ℚ(ζₙ)/ℚ)and(ℤ/nℤ)ˣthat sendsσto the classasuch thatσ (ζₙ) = ζₙ ^ a. - defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/FixedField.leancomplete
def DirichletCharacter.galEquivRange.{u_1} {q : ℕ} [NeZero q] (K : Type u_1) [Field K] [NumberField K] [IsCyclotomicExtension {q} ℚ K] (χ : DirichletCharacter ℂ q) : Gal(↥(DirichletCharacter.fixedField K χ)/ℚ) ≃* ↥(MulChar.toUnitHom χ).range
def DirichletCharacter.galEquivRange.{u_1} {q : ℕ} [NeZero q] (K : Type u_1) [Field K] [NumberField K] [IsCyclotomicExtension {q} ℚ K] (χ : DirichletCharacter ℂ q) : Gal(↥(DirichletCharacter.fixedField K χ)/ℚ) ≃* ↥(MulChar.toUnitHom χ).range
The isomorphism (LMFDB
character.dirichlet.field_cut_out) of the Galois group of the fixed fieldℚ(ζ_q)^{ker χ}of a Dirichlet characterχwith the imageIm(χ)ofχon units, given by the Galois correspondence:Gal(ℚ(ζ_q)^{ker χ}/ℚ) ≅ Gal(ℚ(ζ_q)/ℚ)/ker(χ ∘ σ) ≅ Im(χ). It sends the restriction ofσ_atoχ(a)(DirichletCharacter.galEquivRange_restrictNormalHom). The imageIm(χ)is the cyclic group ofn-th roots of unity,nbeing the order ofχ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/Order.leancomplete
theorem MulChar.isCyclic_range_toUnitHom.{u_1, u_2} {M : Type u_1} {R : Type u_2} [CommMonoid M] [CommRing R] (χ : MulChar M R) [Finite Mˣ] [IsDomain R] : IsCyclic ↥χ.toUnitHom.range
theorem MulChar.isCyclic_range_toUnitHom.{u_1, u_2} {M : Type u_1} {R : Type u_2} [CommMonoid M] [CommRing R] (χ : MulChar M R) [Finite Mˣ] [IsDomain R] : IsCyclic ↥χ.toUnitHom.range
The image of a character on units is cyclic.
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/Order.leancomplete
theorem MulChar.card_range_toUnitHom.{u_1, u_2} {M : Type u_1} {R : Type u_2} [CommMonoid M] [CommRing R] (χ : MulChar M R) [Finite Mˣ] [IsDomain R] : Nat.card ↥χ.toUnitHom.range = orderOf χ
theorem MulChar.card_range_toUnitHom.{u_1, u_2} {M : Type u_1} {R : Type u_2} [CommMonoid M] [CommRing R] (χ : MulChar M R) [Finite Mˣ] [IsDomain R] : Nat.card ↥χ.toUnitHom.range = orderOf χ
The image of a character on units has the order of the character.
MulChar.galoisOrbit[complete]MulChar.galoisConj[complete]MulChar.image_val_orbit[complete]MulChar.faithfulSMul_galois[complete]MulChar.adjoin_range_eq_adjoin_nth_roots[complete]IsPrimitiveRoot.isCyclotomicExtension_adjoin_nth_roots[complete]
Galois orbit of a Dirichlet character. (LMFDB)
The Galois orbit of a Dirichlet character \chi of modulus q and order n is the set [\chi]:=\{\sigma(\chi): \sigma\in \Gal(\Q(\zeta_n)/\Q)\}, where \sigma(\chi) denotes the Dirichlet character of modulus q defined by k \mapsto \sigma(\chi(k)). The map \chi\to \sigma(\chi) defines a faithful action of the Galois group \Gal(\Q(\zeta_n)/\Q) on the set of Dirichlet characters of modulus q and order n, each of which has \Q(\zeta_n) as its field of values.
Tau Ceti Review: MulChar.galoisOrbit, IsPrimitiveRoot.isCyclotomicExtension_adjoin_nth_roots.
Depends on: Definition 6.1.1 Definition 6.1.27 Definition 6.1.28 Definition 6.1.34 Definition 5.1.23
Lean code for Definition6.1.12●6 declarationsAssociated Lean declarationsMulChar.galoisOrbit[complete]MulChar.galoisConj[complete]MulChar.image_val_orbit[complete]MulChar.faithfulSMul_galois[complete]MulChar.adjoin_range_eq_adjoin_nth_roots[complete]IsPrimitiveRoot.isCyclotomicExtension_adjoin_nth_roots[complete]
MulChar.galoisOrbit[complete]MulChar.galoisConj[complete]MulChar.image_val_orbit[complete]MulChar.faithfulSMul_galois[complete]MulChar.adjoin_range_eq_adjoin_nth_roots[complete]IsPrimitiveRoot.isCyclotomicExtension_adjoin_nth_roots[complete]
- defdefined in TauCeti/NumberTheory/MulChar/GaloisOrbit.leancomplete
def MulChar.galoisOrbit.{u_1, u_2} {M : Type u_1} [CommMonoid M] {R : Type u_2} [CommMonoidWithZero R] (χ : MulChar M R) : Set (MulChar M R)
def MulChar.galoisOrbit.{u_1, u_2} {M : Type u_1} [CommMonoid M] {R : Type u_2} [CommMonoidWithZero R] (χ : MulChar M R) : Set (MulChar M R)
The Galois orbit of a multiplicative character
χ: the characters generating the same cyclic subgroup of characters asχ. Whenχhas finite order these are the powersχ ^ awithaprime to its order (MulChar.mem_galoisOrbit_iff_exists_pow). When moreover the monoid has finitely many units and the values lie in a field of characteristic zero, they are the conjugatesσ ∘ χunder the embeddingsσof the field generated by the values ofχ(MulChar.mem_galoisOrbit_iff_exists_algHom). - defdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/GaloisAction.leancomplete
def MulChar.galoisConj.{u_1} {M : Type u_1} [CommMonoid M] {n : ℕ} (σ : Gal(↥(IntermediateField.adjoin ℚ {b | b ^ n = 1})/ℚ)) {χ : MulChar M ℂ} (hχ : χ ^ n = 1) : MulChar M ℂ
def MulChar.galoisConj.{u_1} {M : Type u_1} [CommMonoid M] {n : ℕ} (σ : Gal(↥(IntermediateField.adjoin ℚ {b | b ^ n = 1})/ℚ)) {χ : MulChar M ℂ} (hχ : χ ^ n = 1) : MulChar M ℂ
The Galois conjugate (LMFDB
character.dirichlet.galois_orbit)σ(χ) : x ↦ σ(χ x)of a complex characterχwithχ ^ n = 1, such as a Dirichlet character of modulusqand ordern, by an automorphismσof the subfieldℚ(ζ_n)ofℂgenerated by then-th roots of unity, which contains the values ofχ. On the characters of ordernit is an action ofGal(ℚ(ζ_n)/ℚ)whose orbits are the Galois orbits (MulChar.image_val_orbit). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/GaloisAction.leancomplete
theorem MulChar.image_val_orbit.{u_1} {M : Type u_1} [CommMonoid M] (χ : MulChar M ℂ) [Finite Mˣ] : Subtype.val '' MulAction.orbit Gal(↥(IntermediateField.adjoin ℚ {b | b ^ orderOf χ = 1})/ℚ) ⟨χ, ⋯⟩ = χ.galoisOrbit
theorem MulChar.image_val_orbit.{u_1} {M : Type u_1} [CommMonoid M] (χ : MulChar M ℂ) [Finite Mˣ] : Subtype.val '' MulAction.orbit Gal(↥(IntermediateField.adjoin ℚ {b | b ^ orderOf χ = 1})/ℚ) ⟨χ, ⋯⟩ = χ.galoisOrbit
The orbit of a character
χof ordernunderGal(ℚ(ζ_n)/ℚ)is its Galois orbit, the set{σ(χ) : σ ∈ Gal(ℚ(ζ_n)/ℚ)}: the automorphismσ_araising then-th roots of unity to the poweraprime tonsendsχtoχ ^ a. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/GaloisAction.leancomplete
theorem MulChar.faithfulSMul_galois.{u_1} {M : Type u_1} [CommMonoid M] (χ : MulChar M ℂ) [Finite Mˣ] : FaithfulSMul Gal(↥(IntermediateField.adjoin ℚ {b | b ^ orderOf χ = 1})/ℚ) { ψ // orderOf ψ = orderOf χ }
theorem MulChar.faithfulSMul_galois.{u_1} {M : Type u_1} [CommMonoid M] (χ : MulChar M ℂ) [Finite Mˣ] : FaithfulSMul Gal(↥(IntermediateField.adjoin ℚ {b | b ^ orderOf χ = 1})/ℚ) { ψ // orderOf ψ = orderOf χ }
The action of
Gal(ℚ(ζ_n)/ℚ)on the characters of ordernis faithful,nbeing the order of a characterχ, so that there are characters of ordern. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/FieldOfValues.leancomplete
theorem MulChar.adjoin_range_eq_adjoin_nth_roots.{u_1, u_2} {M : Type u_1} {K : Type u_2} [CommMonoid M] [Field K] [CharZero K] (χ : MulChar M K) [Finite Mˣ] : IntermediateField.adjoin ℚ (Set.range ⇑χ) = IntermediateField.adjoin ℚ {b | b ^ orderOf χ = 1}
theorem MulChar.adjoin_range_eq_adjoin_nth_roots.{u_1, u_2} {M : Type u_1} {K : Type u_2} [CommMonoid M] [Field K] [CharZero K] (χ : MulChar M K) [Finite Mˣ] : IntermediateField.adjoin ℚ (Set.range ⇑χ) = IntermediateField.adjoin ℚ {b | b ^ orderOf χ = 1}
The field of values of a character of order
nis the fieldℚ(μ_n)generated by then-th roots of unity, ann-th cyclotomic field (Tau Ceti'sIsPrimitiveRoot.isCyclotomicExtension_adjoin_nth_roots). - theoremdefined in TauCeti/NumberTheory/Cyclotomic/Adjoin.leancomplete
theorem IsPrimitiveRoot.isCyclotomicExtension_adjoin_nth_roots.{u_1, u_2} {K : Type u_1} {M : Type u_2} [Field K] [Field M] [Algebra K M] {m : ℕ} [NeZero m] {ζ : M} (hζ : IsPrimitiveRoot ζ m) : IsCyclotomicExtension {m} K ↥(IntermediateField.adjoin K {b | b ^ m = 1})
theorem IsPrimitiveRoot.isCyclotomicExtension_adjoin_nth_roots.{u_1, u_2} {K : Type u_1} {M : Type u_2} [Field K] [Field M] [Algebra K M] {m : ℕ} [NeZero m] {ζ : M} (hζ : IsPrimitiveRoot ζ m) : IsCyclotomicExtension {m} K ↥(IntermediateField.adjoin K {b | b ^ m = 1})
K(μ_m)is anm-th cyclotomic extension ofKinside any extension ofKcontaining a primitivem-th root of unity.
DirichletCharacter.orbitIndex[complete]DirichletCharacter.intTraceVector[complete]DirichletCharacter.galoisOrbitTraceVector[complete]DirichletCharacter.intCast_num_valueTrace[complete]DirichletCharacter.length_intTraceVector[complete]DirichletCharacter.intTraceVector_eq_iff[complete]DirichletCharacter.orbitIndex_eq_ncard_intTraceVector[complete]DirichletCharacter.orbitIndex_one[complete]DirichletCharacter.orbitIndex_eq_iff[complete]DirichletCharacter.galoisOrbitTraceVector_eq_iff[complete]
Orbit index of a Dirichlet character. (LMFDB)
The Galois orbits of Dirichlet characters of modulus q are ordered as follows.
Let \chi be any character in the Galois orbit [\chi] and define the N-tuple of integers
t([\chi]) := (n,t_1,t_2,\ldots,t_{q-1}) \in \Z^q,
where n is the order of \chi and t_i:=\mathrm{tr}_{\Q(\chi)/\Q}(\chi(i)) is the trace of \chi(i) from the field of values of \chi to \Q. The q-tuple t([\chi]) is independent of the choice of representative \chi and uniquely identifies the Galois orbit [\chi].
The orbit index of \chi is the index of t([\chi]) in the lexicographic ordering of all such tuples arising for Dirichlet characters of modulus q; indexing begins at 1, which is always the index of the Galois orbit of the principal character of modulus 1.
Depends on: Definition 6.1.1 Definition 6.1.12 Definition 6.1.27 Definition 6.1.28 Definition 6.1.31 Definition 6.1.34
Lean code for Definition6.1.13●10 declarationsAssociated Lean declarationsDirichletCharacter.orbitIndex[complete]DirichletCharacter.intTraceVector[complete]DirichletCharacter.galoisOrbitTraceVector[complete]DirichletCharacter.intCast_num_valueTrace[complete]DirichletCharacter.length_intTraceVector[complete]DirichletCharacter.intTraceVector_eq_iff[complete]DirichletCharacter.orbitIndex_eq_ncard_intTraceVector[complete]DirichletCharacter.orbitIndex_one[complete]DirichletCharacter.orbitIndex_eq_iff[complete]DirichletCharacter.galoisOrbitTraceVector_eq_iff[complete]
DirichletCharacter.orbitIndex[complete]DirichletCharacter.intTraceVector[complete]DirichletCharacter.galoisOrbitTraceVector[complete]DirichletCharacter.intCast_num_valueTrace[complete]DirichletCharacter.length_intTraceVector[complete]DirichletCharacter.intTraceVector_eq_iff[complete]DirichletCharacter.orbitIndex_eq_ncard_intTraceVector[complete]DirichletCharacter.orbitIndex_one[complete]DirichletCharacter.orbitIndex_eq_iff[complete]DirichletCharacter.galoisOrbitTraceVector_eq_iff[complete]
- defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
def DirichletCharacter.orbitIndex {q : ℕ} (χ : DirichletCharacter ℂ q) : ℕ
def DirichletCharacter.orbitIndex {q : ℕ} (χ : DirichletCharacter ℂ q) : ℕ
The orbit index of a Dirichlet character
χof modulusq(LMFDBcharacter.dirichlet.galois_orbit_index): the position, counted from1, of the trace vector ofχin the lexicographic order on the trace vectors of the Dirichlet characters of modulusq. It depends only on the Galois orbit ofχand determines it (orbitIndex_eq_iff). - defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/TraceVectorIntegral.leancomplete
def DirichletCharacter.intTraceVector {q : ℕ} (χ : DirichletCharacter ℂ q) : List ℤ
def DirichletCharacter.intTraceVector {q : ℕ} (χ : DirichletCharacter ℂ q) : List ℤ
The trace vector
t([χ]) = (n, t₁, …, t_{q-1}) ∈ ℤ^qof a Dirichlet characterχof modulusq(LMFDBcharacter.dirichlet.galois_orbit_index): the ordernofχfollowed by the tracestᵢ = tr_{ℚ(χ)/ℚ}(χ i)fori = 1, …, q - 1, which are rational integers (DirichletCharacter.intCast_num_valueTrace), here written as their numerators. Inℚit isDirichletCharacter.galoisOrbitTraceVector(DirichletCharacter.map_intCast_intTraceVector). - defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
def DirichletCharacter.galoisOrbitTraceVector {q : ℕ} (χ : DirichletCharacter ℂ q) : List ℚ
def DirichletCharacter.galoisOrbitTraceVector {q : ℕ} (χ : DirichletCharacter ℂ q) : List ℚ
The trace vector
t([χ]) = (n, t₁, …, t_{q-1})of a Dirichlet characterχof modulusq: its ordernfollowed by the tracestᵢ = tr_{ℚ(χ)/ℚ}(χ i)fori = 1, …, q - 1. Thetᵢare rational integers; we keep them inℚ, whose order agrees with that ofℤ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/TraceVectorIntegral.leancomplete
theorem DirichletCharacter.intCast_num_valueTrace {q : ℕ} (χ : DirichletCharacter ℂ q) (x : ZMod q) : ↑(χ.valueTrace x).num = χ.valueTrace x
theorem DirichletCharacter.intCast_num_valueTrace {q : ℕ} (χ : DirichletCharacter ℂ q) (x : ZMod q) : ↑(χ.valueTrace x).num = χ.valueTrace x
The traces
tᵢare rational integers (LMFDBcharacter.dirichlet.galois_orbit_index): the trace ofχ xfrom the field of values ofχtoℚis the integer given by its numerator, asχ xis an algebraic integer. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/TraceVectorIntegral.leancomplete
theorem DirichletCharacter.length_intTraceVector {q : ℕ} (χ : DirichletCharacter ℂ q) [NeZero q] : χ.intTraceVector.length = q
theorem DirichletCharacter.length_intTraceVector {q : ℕ} (χ : DirichletCharacter ℂ q) [NeZero q] : χ.intTraceVector.length = q
The trace vector has
qentries, the order and the tracest₁, …, t_{q-1}. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/TraceVectorIntegral.leancomplete
theorem DirichletCharacter.intTraceVector_eq_iff {q : ℕ} {χ ψ : DirichletCharacter ℂ q} [NeZero q] : ψ.intTraceVector = χ.intTraceVector ↔ ψ ∈ MulChar.galoisOrbit χ
theorem DirichletCharacter.intTraceVector_eq_iff {q : ℕ} {χ ψ : DirichletCharacter ℂ q} [NeZero q] : ψ.intTraceVector = χ.intTraceVector ↔ ψ ∈ MulChar.galoisOrbit χ
The trace vector in
ℤ^qdepends only on the Galois orbit and determines it: two Dirichlet characters of nonzero modulus have the same trace vector exactly when they lie in one Galois orbit. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/TraceVectorIntegral.leancomplete
theorem DirichletCharacter.orbitIndex_eq_ncard_intTraceVector {q : ℕ} (χ : DirichletCharacter ℂ q) : χ.orbitIndex = {t | t ∈ Set.range DirichletCharacter.intTraceVector ∧ t < χ.intTraceVector}.ncard + 1
theorem DirichletCharacter.orbitIndex_eq_ncard_intTraceVector {q : ℕ} (χ : DirichletCharacter ℂ q) : χ.orbitIndex = {t | t ∈ Set.range DirichletCharacter.intTraceVector ∧ t < χ.intTraceVector}.ncard + 1
The orbit index is the position of the trace vector in
ℤ^q(LMFDBcharacter.dirichlet.galois_orbit_index): it is one more than the number of trace vectors inℤ^qof the characters of modulusqthat are lexicographically smaller than that ofχ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
theorem DirichletCharacter.orbitIndex_one {q : ℕ} : DirichletCharacter.orbitIndex 1 = 1
theorem DirichletCharacter.orbitIndex_one {q : ℕ} : DirichletCharacter.orbitIndex 1 = 1
The Galois orbit of the principal character has orbit index
1, since every other character has a larger order. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
theorem DirichletCharacter.orbitIndex_eq_iff {q : ℕ} {χ ψ : DirichletCharacter ℂ q} [NeZero q] : ψ.orbitIndex = χ.orbitIndex ↔ ψ ∈ MulChar.galoisOrbit χ
theorem DirichletCharacter.orbitIndex_eq_iff {q : ℕ} {χ ψ : DirichletCharacter ℂ q} [NeZero q] : ψ.orbitIndex = χ.orbitIndex ↔ ψ ∈ MulChar.galoisOrbit χ
Two Dirichlet characters of nonzero modulus have the same orbit index exactly when they lie in one Galois orbit.
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
theorem DirichletCharacter.galoisOrbitTraceVector_eq_iff {q : ℕ} {χ ψ : DirichletCharacter ℂ q} [NeZero q] : ψ.galoisOrbitTraceVector = χ.galoisOrbitTraceVector ↔ ψ ∈ MulChar.galoisOrbit χ
theorem DirichletCharacter.galoisOrbitTraceVector_eq_iff {q : ℕ} {χ ψ : DirichletCharacter ℂ q} [NeZero q] : ψ.galoisOrbitTraceVector = χ.galoisOrbitTraceVector ↔ ψ ∈ MulChar.galoisOrbit χ
Two Dirichlet characters of nonzero modulus have the same trace vector exactly when they lie in one Galois orbit.
DirichletCharacter.galoisOrbitLabel[complete]DirichletCharacter.letterCode[complete]DirichletCharacter.letterCode_zero[complete]DirichletCharacter.letterCode_one[complete]DirichletCharacter.letterCode_twentySix[complete]
Label of a Galois orbit of a Dirichlet character. (LMFDB)
The label of a Galois orbit of a Dirichlet character \chi of modulus N takes the form N.a, where a is a letter or string of letters representing the index of the Galois orbit.
The index 1 is written as a, the index 2 is written as b, the index 27 is written as ba, and so on.
Depends on: Definition 6.1.1 Definition 6.1.12 Definition 6.1.13
Lean code for Definition6.1.14●5 declarationsAssociated Lean declarationsDirichletCharacter.galoisOrbitLabel[complete]DirichletCharacter.letterCode[complete]DirichletCharacter.letterCode_zero[complete]DirichletCharacter.letterCode_one[complete]DirichletCharacter.letterCode_twentySix[complete]
DirichletCharacter.galoisOrbitLabel[complete]DirichletCharacter.letterCode[complete]DirichletCharacter.letterCode_zero[complete]DirichletCharacter.letterCode_one[complete]DirichletCharacter.letterCode_twentySix[complete]
- defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
def DirichletCharacter.galoisOrbitLabel {q : ℕ} (χ : DirichletCharacter ℂ q) : String
def DirichletCharacter.galoisOrbitLabel {q : ℕ} (χ : DirichletCharacter ℂ q) : String
The label of the Galois orbit of a Dirichlet character
χof modulusq(LMFDBcharacter.dirichlet.galois_orbit_label):q.a, whereais the letter code of the orbit index ofχminus one, so that the orbit indices1, 2, 27are writtena, b, ba. - defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
def DirichletCharacter.letterCode (n : ℕ) : String
def DirichletCharacter.letterCode (n : ℕ) : String
The letter code of a natural number
n: its base-26expansion with the digits writtena, b, …, z, so that0, 1, …, 25, 26are writtena, b, …, z, ba. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
theorem DirichletCharacter.letterCode_zero : DirichletCharacter.letterCode 0 = "a"
theorem DirichletCharacter.letterCode_zero : DirichletCharacter.letterCode 0 = "a"
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
theorem DirichletCharacter.letterCode_one : DirichletCharacter.letterCode 1 = "b"
theorem DirichletCharacter.letterCode_one : DirichletCharacter.letterCode 1 = "b"
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaloisOrbitLabel.leancomplete
theorem DirichletCharacter.letterCode_twentySix : DirichletCharacter.letterCode 26 = "ba"
theorem DirichletCharacter.letterCode_twentySix : DirichletCharacter.letterCode 26 = "ba"
gaussSum[complete]ZMod.stdAddChar[complete]AddChar.mulShift[complete]
Gauss sum. (LMFDB)
Let \chi be a Dirichlet character with modulus q. For a \in \mathbb{Z}, the Gauss sum associated to \chi and a is given by
\large \tau_{a}(\chi) = \sum_{r \,\in\, \mathbb{Z}/q\mathbb{Z}} \chi(r)\, e^{2\pi iar/q}.
The Gauss sum \tau_1(\chi) is often called "the Gauss sum" of \chi.
Tau Ceti Review: gaussSum, ZMod.stdAddChar, AddChar.mulShift.
Depends on: Definition 6.1.1
Lean code for Definition6.1.15●3 definitionsAssociated Lean declarationsgaussSum[complete]ZMod.stdAddChar[complete]AddChar.mulShift[complete]
gaussSum[complete]ZMod.stdAddChar[complete]AddChar.mulShift[complete]
- defdefined in Mathlib/NumberTheory/GaussSum.leancomplete
def gaussSum.{u, v} {R : Type u} [CommRing R] [Fintype R] {R' : Type v} [CommRing R'] (χ : MulChar R R') (ψ : AddChar R R') : R'
def gaussSum.{u, v} {R : Type u} [CommRing R] [Fintype R] {R' : Type v} [CommRing R'] (χ : MulChar R R') (ψ : AddChar R R') : R'
Definition of the Gauss sum associated to a multiplicative and an additive character.
- defdefined in Mathlib/Analysis/SpecialFunctions/Complex/CircleAddChar.leancomplete
def ZMod.stdAddChar {N : ℕ} [NeZero N] : AddChar (ZMod N) ℂ
def ZMod.stdAddChar {N : ℕ} [NeZero N] : AddChar (ZMod N) ℂ
The additive character from
ZMod Ntoℂ, sendingj mod Ntoexp (2 * π * I * j / N). - defdefined in Mathlib/Algebra/Group/AddChar.leancomplete
def AddChar.mulShift.{u_1, u_2} {R : Type u_1} {M : Type u_2} [Ring R] [CommMonoid M] (ψ : AddChar R M) (r : R) : AddChar R M
def AddChar.mulShift.{u_1, u_2} {R : Type u_1} {M : Type u_2} [Ring R] [CommMonoid M] (ψ : AddChar R M) (r : R) : AddChar R M
Define the multiplicative shift of an additive character. This satisfies
mulShift ψ a x = ψ (a * x).
MulChar.commGroup[complete]MulChar.coeToFun_mul[complete]DirichletCharacter.mulEquiv_units[complete]
Dirichlet character group. (LMFDB)
The Dirichlet characters \chi\colon\Z\to\C of modulus q form a group under pointwise multiplication.
In the Conrey labeling system we simply have \chi_q(n_1,\cdot)\chi_q(n_2,\cdot) = \chi_q(n_1n_2,\cdot).
This group is (non-canonically) isomorphic to the multiplicative group (\Z/q\Z)^\times.
Tau Ceti Review: MulChar.commGroup, MulChar.coeToFun_mul.
Depends on: Definition 6.1.1 Definition 6.1.27
Lean code for Definition6.1.16●3 declarationsAssociated Lean declarationsMulChar.commGroup[complete]MulChar.coeToFun_mul[complete]DirichletCharacter.mulEquiv_units[complete]
MulChar.commGroup[complete]MulChar.coeToFun_mul[complete]DirichletCharacter.mulEquiv_units[complete]
- defdefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
def MulChar.commGroup.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] : CommGroup (MulChar R R')
def MulChar.commGroup.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] : CommGroup (MulChar R R')
The commutative group structure on
MulChar R R'. - theoremdefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
theorem MulChar.coeToFun_mul.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] (χ χ' : MulChar R R') : ⇑(χ * χ') = ⇑χ * ⇑χ'
theorem MulChar.coeToFun_mul.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] (χ χ' : MulChar R R') : ⇑(χ * χ') = ⇑χ * ⇑χ'
- theoremdefined in Mathlib/NumberTheory/DirichletCharacter/Orthogonality.leancomplete
theorem DirichletCharacter.mulEquiv_units.{u_1} (R : Type u_1) [CommRing R] (n : ℕ) [NeZero n] [HasEnoughRootsOfUnity R (Monoid.exponent (ZMod n)ˣ)] : Nonempty (DirichletCharacter R n ≃* (ZMod n)ˣ)
theorem DirichletCharacter.mulEquiv_units.{u_1} (R : Type u_1) [CommRing R] (n : ℕ) [NeZero n] [HasEnoughRootsOfUnity R (Monoid.exponent (ZMod n)ˣ)] : Nonempty (DirichletCharacter R n ≃* (ZMod n)ˣ)
The group of Dirichlet characters mod
nwith values in a ringRthat has enough roots of unity is (noncanonically) isomorphic to(ZMod n)ˣ.
Subgroup.closure[complete]Subgroup.zpowers[complete]DirichletCharacter.exists_generators_bijective_prod_zpowers[complete]CommGroup.exists_bijective_prod_zpowers[complete]CommGroup.closure_range_eq_top_of_surjective_prod_zpowers[complete]
Generators of a Dirichlet character group. (LMFDB)
A set of generators of the Dirichlet character group G of modulus q is a set of Dirichlet characters \chi_q(n_i,\cdot) that generate G under multiplication. These may be chosen so that G is the direct product of the cyclic groups generated by each of the \chi_q(n_i,\cdot).
Tau Ceti Review: Subgroup.closure, Subgroup.zpowers.
Depends on: Definition 6.1.1 Definition 6.1.27
Lean code for Definition6.1.17●5 declarationsAssociated Lean declarationsSubgroup.closure[complete]Subgroup.zpowers[complete]DirichletCharacter.exists_generators_bijective_prod_zpowers[complete]CommGroup.exists_bijective_prod_zpowers[complete]CommGroup.closure_range_eq_top_of_surjective_prod_zpowers[complete]
Subgroup.closure[complete]Subgroup.zpowers[complete]DirichletCharacter.exists_generators_bijective_prod_zpowers[complete]CommGroup.exists_bijective_prod_zpowers[complete]CommGroup.closure_range_eq_top_of_surjective_prod_zpowers[complete]
- defdefined in Mathlib/Algebra/Group/Subgroup/Lattice.leancomplete
def Subgroup.closure.{u_1} {G : Type u_1} [Group G] (k : Set G) : Subgroup G
def Subgroup.closure.{u_1} {G : Type u_1} [Group G] (k : Set G) : Subgroup G
The
Subgroupgenerated by a set. - defdefined in Mathlib/Algebra/Group/Subgroup/ZPowers/Basic.leancomplete
def Subgroup.zpowers.{u_1} {G : Type u_1} [Group G] (g : G) : Subgroup G
def Subgroup.zpowers.{u_1} {G : Type u_1} [Group G] (g : G) : Subgroup G
The subgroup generated by an element.
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/Generators.leancomplete
theorem DirichletCharacter.exists_generators_bijective_prod_zpowers (q : ℕ) : ∃ ι x χ, Subgroup.closure (Set.range χ) = ⊤ ∧ Function.Bijective fun x_1 => ∏ i, ↑(x_1 i)
theorem DirichletCharacter.exists_generators_bijective_prod_zpowers (q : ℕ) : ∃ ι x χ, Subgroup.closure (Set.range χ) = ⊤ ∧ Function.Bijective fun x_1 => ∏ i, ↑(x_1 i)
The group of Dirichlet characters of modulus
qhas generatorsχ_isuch that it is the direct product of the cyclic subgroups⟨χ_i⟩: theχ_igenerate it under multiplication, and the map∏ᵢ ⟨χ_i⟩ → G,(x_i) ↦ ∏ᵢ x_i, is bijective. - theoremdefined in LeanBridge/ForMathlib/GroupTheory/FiniteAbelian/ProdZPowers.leancomplete
theorem CommGroup.exists_bijective_prod_zpowers.{u_1} (G : Type u_1) [CommGroup G] [Finite G] : ∃ ι x g, Function.Bijective fun x_1 => ∏ i, ↑(x_1 i)
theorem CommGroup.exists_bijective_prod_zpowers.{u_1} (G : Type u_1) [CommGroup G] [Finite G] : ∃ ι x g, Function.Bijective fun x_1 => ∏ i, ↑(x_1 i)
A finite commutative group is the internal direct product of the cyclic subgroups generated by suitable elements
g_i: the map∏ᵢ ⟨g_i⟩ → G,(x_i) ↦ ∏ᵢ x_i, is bijective. - theoremdefined in LeanBridge/ForMathlib/GroupTheory/FiniteAbelian/ProdZPowers.leancomplete
theorem CommGroup.closure_range_eq_top_of_surjective_prod_zpowers.{u_1, u_2} {G : Type u_1} [CommGroup G] {ι : Type u_2} [Fintype ι] {g : ι → G} (h : Function.Surjective fun x => ∏ i, ↑(x i)) : Subgroup.closure (Set.range g) = ⊤
theorem CommGroup.closure_range_eq_top_of_surjective_prod_zpowers.{u_1, u_2} {G : Type u_1} [CommGroup G] {ι : Type u_2} [Fintype ι] {g : ι → G} (h : Function.Surjective fun x => ∏ i, ↑(x i)) : Subgroup.closure (Set.range g) = ⊤
Elements
g_isuch thatGis the product of the cyclic subgroups⟨g_i⟩generateG.
Order of a Dirichlet character group. (LMFDB)
The set of Dirichlet characters \chi\colon\Z\to\C of modulus q form a group isomorphic (though not canonically) to (\Z/q\Z)^\times, which has order \varphi(q), where \varphi is the Euler function.
Tau Ceti Review: DirichletCharacter.card_eq_totient_of_hasEnoughRootsOfUnity.
Depends on: Definition 6.1.1 Definition 6.1.27
Lean code for Definition6.1.18●2 theoremsAssociated Lean declarations
- theoremdefined in Mathlib/NumberTheory/DirichletCharacter/Orthogonality.leancomplete
theorem DirichletCharacter.card_eq_totient_of_hasEnoughRootsOfUnity.{u_1} (R : Type u_1) [CommRing R] (n : ℕ) [NeZero n] [HasEnoughRootsOfUnity R (Monoid.exponent (ZMod n)ˣ)] : Nat.card (DirichletCharacter R n) = n.totient
theorem DirichletCharacter.card_eq_totient_of_hasEnoughRootsOfUnity.{u_1} (R : Type u_1) [CommRing R] (n : ℕ) [NeZero n] [HasEnoughRootsOfUnity R (Monoid.exponent (ZMod n)ˣ)] : Nat.card (DirichletCharacter R n) = n.totient
There are
n.totientDirichlet characters modnwith values in a ring that has enough roots of unity. - theoremdefined in Mathlib/NumberTheory/DirichletCharacter/Orthogonality.leancomplete
theorem DirichletCharacter.mulEquiv_units.{u_1} (R : Type u_1) [CommRing R] (n : ℕ) [NeZero n] [HasEnoughRootsOfUnity R (Monoid.exponent (ZMod n)ˣ)] : Nonempty (DirichletCharacter R n ≃* (ZMod n)ˣ)
theorem DirichletCharacter.mulEquiv_units.{u_1} (R : Type u_1) [CommRing R] (n : ℕ) [NeZero n] [HasEnoughRootsOfUnity R (Monoid.exponent (ZMod n)ˣ)] : Nonempty (DirichletCharacter R n ≃* (ZMod n)ˣ)
The group of Dirichlet characters mod
nwith values in a ringRthat has enough roots of unity is (noncanonically) isomorphic to(ZMod n)ˣ.
DirichletCharacter.groupStructure[complete]DirichletCharacter.groupStructure_eq_iff[complete]DirichletCharacter.groupStructure_eq[complete]AddCommGroup.smithAbelianInvariants[complete]
Structure of a Dirichlet group. (LMFDB)
The structure of a Dirichlet character group of Dirichlet characters of modulus q refers to its isomorphism type as a finite abelian group, which can be uniquely expressed as a product of cyclic groups C_{n_1}\times C_{n_2}\cdots\times C_{n_r} with n_1|n_2|\cdots |n_r. This is the same as the structure of the group (\Z/q\Z)^\times.
Depends on: Definition 6.1.27
Lean code for Definition6.1.19●4 declarationsAssociated Lean declarationsDirichletCharacter.groupStructure[complete]DirichletCharacter.groupStructure_eq_iff[complete]DirichletCharacter.groupStructure_eq[complete]AddCommGroup.smithAbelianInvariants[complete]
DirichletCharacter.groupStructure[complete]DirichletCharacter.groupStructure_eq_iff[complete]DirichletCharacter.groupStructure_eq[complete]AddCommGroup.smithAbelianInvariants[complete]
- defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GroupStructure.leancomplete
def DirichletCharacter.groupStructure (q : ℕ) : List ℕ
def DirichletCharacter.groupStructure (q : ℕ) : List ℕ
The structure (LMFDB
character.dirichlet.group.structure) of the group of Dirichlet characters of modulusq: its invariant factors[n₁, …, n_r], the unique list with1 < n₁ ∣ n₂ ∣ ⋯ ∣ n_rsuch that the group is isomorphic toC_{n₁} × ⋯ × C_{n_r}(groupStructure_eq_iff). It is also the structure of(ℤ/qℤ)ˣ(groupStructure_eq). The LMFDB does not state1 < n₁, without which the list is not unique; forq ≤ 2the group is trivial and the list is empty. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GroupStructure.leancomplete
theorem DirichletCharacter.groupStructure_eq_iff {q : ℕ} {L : List ℕ} : DirichletCharacter.groupStructure q = L ↔ (∀ m ∈ L, 1 < m) ∧ List.IsChain (fun x1 x2 => x1 ∣ x2) L ∧ Nonempty (DirichletCharacter ℂ q ≃* ((i : Fin L.length) → Multiplicative (ZMod L[i])))
theorem DirichletCharacter.groupStructure_eq_iff {q : ℕ} {L : List ℕ} : DirichletCharacter.groupStructure q = L ↔ (∀ m ∈ L, 1 < m) ∧ List.IsChain (fun x1 x2 => x1 ∣ x2) L ∧ Nonempty (DirichletCharacter ℂ q ≃* ((i : Fin L.length) → Multiplicative (ZMod L[i])))
The structure of the group of Dirichlet characters of modulus
qis the unique list[n₁, …, n_r]with1 < n₁ ∣ n₂ ∣ ⋯ ∣ n_rsuch that the group is isomorphic toC_{n₁} × ⋯ × C_{n_r}. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GroupStructure.leancomplete
theorem DirichletCharacter.groupStructure_eq (q : ℕ) [NeZero q] : DirichletCharacter.groupStructure q = AddCommGroup.smithAbelianInvariants (Additive (ZMod q)ˣ)
theorem DirichletCharacter.groupStructure_eq (q : ℕ) [NeZero q] : DirichletCharacter.groupStructure q = AddCommGroup.smithAbelianInvariants (Additive (ZMod q)ˣ)
The structure of the group of Dirichlet characters of modulus
qis the structure of(ℤ/qℤ)ˣ. - defdefined in LeanBridge/ForMathlib/GroupTheory/FiniteAbelian/AbelianInvariants.leancomplete
def AddCommGroup.smithAbelianInvariants.{u_1} (G : Type u_1) [AddCommGroup G] [Finite G] : List ℕ
def AddCommGroup.smithAbelianInvariants.{u_1} (G : Type u_1) [AddCommGroup G] [Finite G] : List ℕ
The Smith abelian invariants of a finite abelian group
A(LMFDBgroup.abelian_invariants), or its invariant factors: the unique list[m₁, …, mₖ]of integers larger than1such thatmᵢ ∣ mᵢ₊₁for alliandA ≃ C_{m₁} × ⋯ × C_{mₖ}(AddCommGroup.smithAbelianInvariants_eq_iff). HereC_misZMod m; the invariants of a multiplicative groupGare those ofAdditive G(CommGroup.smithAbelianInvariants_additive_eq_iff).
DirichletCharacter.changeLevel[complete]DirichletCharacter.IsInducedBy[complete]DirichletCharacter.isInducedBy_iff[complete]DirichletCharacter.isPrimitive_iff_forall_isInducedBy[complete]DirichletCharacter.isPrimitive_and_isInducedBy_iff[complete]DirichletCharacter.primitiveCharacter[complete]
Induced Dirichlet character. (LMFDB)
A Dirichlet character \chi_1 of modulus q_1 is said to be induced by a Dirichlet character \chi_2 of modulus q_2 dividing q_1 if \chi_1(m)=\chi_2(m) for all m coprime to q_1.
A Dirichlet character is primitive if it is not induced by any character other than itself; every Dirichlet character is induced by a uniquely determined primitive Dirichlet character.
Tau Ceti Review: DirichletCharacter.changeLevel, DirichletCharacter.primitiveCharacter.
Depends on: Definition 6.1.1 Definition 6.1.27
Lean code for Definition6.1.20●6 declarationsAssociated Lean declarationsDirichletCharacter.changeLevel[complete]DirichletCharacter.IsInducedBy[complete]DirichletCharacter.isInducedBy_iff[complete]DirichletCharacter.isPrimitive_iff_forall_isInducedBy[complete]DirichletCharacter.isPrimitive_and_isInducedBy_iff[complete]DirichletCharacter.primitiveCharacter[complete]
DirichletCharacter.changeLevel[complete]DirichletCharacter.IsInducedBy[complete]DirichletCharacter.isInducedBy_iff[complete]DirichletCharacter.isPrimitive_iff_forall_isInducedBy[complete]DirichletCharacter.isPrimitive_and_isInducedBy_iff[complete]DirichletCharacter.primitiveCharacter[complete]
- defdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
def DirichletCharacter.changeLevel.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n m : ℕ} (hm : n ∣ m) : DirichletCharacter R n →* DirichletCharacter R m
def DirichletCharacter.changeLevel.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n m : ℕ} (hm : n ∣ m) : DirichletCharacter R n →* DirichletCharacter R m
A function that modifies the level of a Dirichlet character to some multiple of its original level.
- defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/Induced.leancomplete
def DirichletCharacter.IsInducedBy.{u_1} {R : Type u_1} [CommMonoidWithZero R] {q d : ℕ} (χ : DirichletCharacter R q) (ψ : DirichletCharacter R d) : Prop
def DirichletCharacter.IsInducedBy.{u_1} {R : Type u_1} [CommMonoidWithZero R] {q d : ℕ} (χ : DirichletCharacter R q) (ψ : DirichletCharacter R d) : Prop
A Dirichlet character
χof modulusqis induced (LMFDBcharacter.dirichlet.induce) by a Dirichlet characterψof modulusdifddividesqandχ(m) = ψ(m)for every integermprime toq. Equivalently,χis Mathlib'schangeLevelofψ(DirichletCharacter.isInducedBy_iff). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/Induced.leancomplete
theorem DirichletCharacter.isInducedBy_iff.{u_1} {R : Type u_1} [CommMonoidWithZero R] {q d : ℕ} (χ : DirichletCharacter R q) (ψ : DirichletCharacter R d) [NeZero q] : χ.IsInducedBy ψ ↔ ∃ (h : d ∣ q), (DirichletCharacter.changeLevel h) ψ = χ
theorem DirichletCharacter.isInducedBy_iff.{u_1} {R : Type u_1} [CommMonoidWithZero R] {q d : ℕ} (χ : DirichletCharacter R q) (ψ : DirichletCharacter R d) [NeZero q] : χ.IsInducedBy ψ ↔ ∃ (h : d ∣ q), (DirichletCharacter.changeLevel h) ψ = χ
A character is induced by
ψif and only if it ischangeLevelofψ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/Induced.leancomplete
theorem DirichletCharacter.isPrimitive_iff_forall_isInducedBy.{u_1} {R : Type u_1} [CommMonoidWithZero R] {q : ℕ} (χ : DirichletCharacter R q) [NeZero q] : χ.IsPrimitive ↔ ∀ (x : (d : ℕ) × DirichletCharacter R d), χ.IsInducedBy x.snd → x = ⟨q, χ⟩
theorem DirichletCharacter.isPrimitive_iff_forall_isInducedBy.{u_1} {R : Type u_1} [CommMonoidWithZero R] {q : ℕ} (χ : DirichletCharacter R q) [NeZero q] : χ.IsPrimitive ↔ ∀ (x : (d : ℕ) × DirichletCharacter R d), χ.IsInducedBy x.snd → x = ⟨q, χ⟩
A Dirichlet character of modulus
q ≥ 1is primitive if and only if it is induced by no character other than itself. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/Induced.leancomplete
theorem DirichletCharacter.isPrimitive_and_isInducedBy_iff.{u_1} {R : Type u_1} [CommMonoidWithZero R] {q : ℕ} (χ : DirichletCharacter R q) [NeZero q] (x : (d : ℕ) × DirichletCharacter R d) : x.snd.IsPrimitive ∧ χ.IsInducedBy x.snd ↔ x = ⟨χ.conductor, χ.primitiveCharacter⟩
theorem DirichletCharacter.isPrimitive_and_isInducedBy_iff.{u_1} {R : Type u_1} [CommMonoidWithZero R] {q : ℕ} (χ : DirichletCharacter R q) [NeZero q] (x : (d : ℕ) × DirichletCharacter R d) : x.snd.IsPrimitive ∧ χ.IsInducedBy x.snd ↔ x = ⟨χ.conductor, χ.primitiveCharacter⟩
Every Dirichlet character of modulus
q ≥ 1is induced by a unique primitive character, the primitive characterχ.primitiveCharacterof modulus the conductor ofχ. - defdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
def DirichletCharacter.primitiveCharacter.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) : DirichletCharacter R χ.conductor
def DirichletCharacter.primitiveCharacter.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) : DirichletCharacter R χ.conductor
The primitive character associated to a Dirichlet character.
Jacobi sum. (LMFDB)
Given two Dirichlet characters \chi and \psi modulo q, the Jacobi sum associated to these characters is given by
J(\chi,\psi) = \sum_{r \,\in\, \mathbb{Z}/q\mathbb{Z}} \chi(r)\, \psi(1-r).
Tau Ceti Review: jacobiSum.
Depends on: Definition 6.1.1
Lean code for Definition6.1.21●1 definitionAssociated Lean declarationsjacobiSum[complete]
jacobiSum[complete]
- defdefined in Mathlib/NumberTheory/JacobiSum/Basic.leancomplete
def jacobiSum.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [Fintype R] [CommRing R'] (χ ψ : MulChar R R') : R'
def jacobiSum.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [Fintype R] [CommRing R'] (χ ψ : MulChar R R') : R'
The Jacobi sum of two multiplicative characters on a finite commutative ring.
jacobiSym[complete]jacobiSym.quadratic_reciprocity[complete]jacobiSym.at_neg_one[complete]jacobiSym.at_two[complete]
Jacobi symbol. (LMFDB)
The Jacobi symbol \displaystyle\left(\frac{a}{b}\right) is an extension of the Legendre symbol to all positive odd integers b as follows.
We set
\displaystyle\left(\frac{a}{1}\right) =1 for all a.
If b>1, then it has a decomposition into distinct *odd* primes of the form b = p_1^{e_1} p_2^{e_2}\cdots p_r^{e_r} and the Jacobi symbol is defined as the product of Legendre symbols
\displaystyle\left(\frac{a}{b}\right) = \left(\frac{a}{p_1}\right)^{e_1} \left(\frac{a}{p_2}\right)^{e_2}\cdots \left(\frac{a}{p_r}\right)^{e_r}.
The Jacobi symbol is multiplicative in the sense that \displaystyle\left(\frac{a_1 a_2}{b}\right) = \displaystyle\left(\frac{a_1}{b}\right)\displaystyle\left(\frac{a_2}{b}\right) and \displaystyle\left(\frac{a}{b_1b_2}\right) = \displaystyle\left(\frac{a}{b_1}\right)\displaystyle\left(\frac{a}{b_2}\right) for all integers a, a_1, a_2 and all positive odd integers b, b_1, b_2.
It has the same special formulas for a=-1 and a = 2 as the Legendre symbol, namely
\left(\displaystyle \frac{-1}{b}\right)= (-1)^{\frac{b-1}{2}} = \left\{ \begin{array}{cl} 1 & \text{if } b \equiv 1 \bmod 4 \\ -1 & \text{if } b \equiv -1 \bmod 4 \end{array} \right. and \left(\displaystyle \frac{2}{b}\right) = (-1)^{\frac{b^2-1}{8}}=\left\{ \begin{array}{cl} 1 & \text{if } b \equiv \pm1 \bmod 8 \\ -1 & \text{if } b \equiv \pm3 \bmod 8 \end{array} \right..
The law of quadratic reciprocity states that for m,n odd positive coprime integers we have
\left(\displaystyle\frac{n}{m}\right) = (-1)^{\frac{m-1}2 \frac{n-1}2} \left(\displaystyle \frac{m}{n}\right).
Tau Ceti Review: jacobiSym, jacobiSym.quadratic_reciprocity, jacobiSym.at_neg_one, jacobiSym.at_two.
Depends on: Definition 6.1.25
Lean code for Definition6.1.22●4 declarationsAssociated Lean declarationsjacobiSym[complete]jacobiSym.quadratic_reciprocity[complete]jacobiSym.at_neg_one[complete]jacobiSym.at_two[complete]
jacobiSym[complete]jacobiSym.quadratic_reciprocity[complete]jacobiSym.at_neg_one[complete]jacobiSym.at_two[complete]
- defdefined in Mathlib/NumberTheory/LegendreSymbol/JacobiSymbol.leancomplete
def jacobiSym (a : ℤ) (b : ℕ) : ℤ
def jacobiSym (a : ℤ) (b : ℕ) : ℤ
The Jacobi symbol of
aandb - theoremdefined in Mathlib/NumberTheory/LegendreSymbol/JacobiSymbol.leancomplete
theorem jacobiSym.quadratic_reciprocity {a b : ℕ} (ha : Odd a) (hb : Odd b) : jacobiSym (↑a) b = (-1) ^ (a / 2 * (b / 2)) * jacobiSym (↑b) a
theorem jacobiSym.quadratic_reciprocity {a b : ℕ} (ha : Odd a) (hb : Odd b) : jacobiSym (↑a) b = (-1) ^ (a / 2 * (b / 2)) * jacobiSym (↑b) a
The Law of Quadratic Reciprocity for the Jacobi symbol
- theoremdefined in Mathlib/NumberTheory/LegendreSymbol/JacobiSymbol.leancomplete
theorem jacobiSym.at_neg_one {b : ℕ} (hb : Odd b) : jacobiSym (-1) b = ZMod.χ₄ ↑b
theorem jacobiSym.at_neg_one {b : ℕ} (hb : Odd b) : jacobiSym (-1) b = ZMod.χ₄ ↑b
If
bis odd, thenJ(-1 | b)is given byχ₄ b. - theoremdefined in Mathlib/NumberTheory/LegendreSymbol/JacobiSymbol.leancomplete
theorem jacobiSym.at_two {b : ℕ} (hb : Odd b) : jacobiSym 2 b = ZMod.χ₈ ↑b
theorem jacobiSym.at_two {b : ℕ} (hb : Odd b) : jacobiSym 2 b = ZMod.χ₈ ↑b
If
bis odd, thenJ(2 | b)is given byχ₈ b.
kloostermanSum[complete]DirichletCharacter.kloostermanSum_stdAddChar[complete]kloostermanSum_zero_right[complete]ZMod.stdAddChar[complete]gaussSum[complete]
Kloosterman sum. (LMFDB)
Let \chi be a Dirichlet character with modulus q. The Kloosterman sum K(a,b,\chi) is defined by
K(a,b,\chi) = \sum_{r \in (\mathbb{Z}/q\mathbb{Z})^\times} \chi(r)\zeta^{ar+br^{-1}},
where \zeta = e^{2\pi i/q}. This reduces to the Gauss sum if b=0.
Tau Ceti Review: ZMod.stdAddChar, gaussSum.
Depends on: Definition 6.1.1 Definition 6.1.15
Lean code for Definition6.1.23●5 declarationsAssociated Lean declarationskloostermanSum[complete]DirichletCharacter.kloostermanSum_stdAddChar[complete]kloostermanSum_zero_right[complete]ZMod.stdAddChar[complete]gaussSum[complete]
kloostermanSum[complete]DirichletCharacter.kloostermanSum_stdAddChar[complete]kloostermanSum_zero_right[complete]ZMod.stdAddChar[complete]gaussSum[complete]
- defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/KloostermanSum.leancomplete
def kloostermanSum.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [Fintype R] [DecidableEq R] [CommRing R'] (χ : MulChar R R') (ψ : AddChar R R') (a b : R) : R'
def kloostermanSum.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [Fintype R] [DecidableEq R] [CommRing R'] (χ : MulChar R R') (ψ : AddChar R R') (a b : R) : R'
The Kloosterman sum
∑_{r ∈ Rˣ} χ(r) ψ(a r + b r⁻¹)of a multiplicative characterχand an additive characterψof a finite commutative ringRata, b ∈ R. For a Dirichlet characterχof modulusqand the standard additive characterZMod.stdAddCharofZMod q, it is the Kloosterman sumK(a, b, χ) = ∑_{r ∈ (ℤ/qℤ)ˣ} χ(r) ζ ^ (a r + b r⁻¹)(LMFDBcharacter.dirichlet.kloosterman_sum), whereζ = exp (2 π i / q)(DirichletCharacter.kloostermanSum_stdAddChar). The LMFDB takesaandbinℤ; the sum only depends on their residues moduloq, which are its arguments here. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/KloostermanSum.leancomplete
theorem DirichletCharacter.kloostermanSum_stdAddChar {q : ℕ} [NeZero q] (χ : DirichletCharacter ℂ q) (a b : ZMod q) : kloostermanSum χ ZMod.stdAddChar a b = ∑ r, χ ↑r * Complex.exp (2 * ↑Real.pi * Complex.I / ↑q) ^ (a * ↑r + b * ↑r⁻¹).val
theorem DirichletCharacter.kloostermanSum_stdAddChar {q : ℕ} [NeZero q] (χ : DirichletCharacter ℂ q) (a b : ZMod q) : kloostermanSum χ ZMod.stdAddChar a b = ∑ r, χ ↑r * Complex.exp (2 * ↑Real.pi * Complex.I / ↑q) ^ (a * ↑r + b * ↑r⁻¹).val
For a Dirichlet character
χof modulusq, the Kloosterman sum with the standard additive character isK(a, b, χ) = ∑_{r ∈ (ℤ/qℤ)ˣ} χ(r) ζ ^ (a r + b r⁻¹), whereζ = exp (2 π i / q)and the exponent is the residuea r + b r⁻¹moduloq, represented in[0, q). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/KloostermanSum.leancomplete
theorem kloostermanSum_zero_right.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [Fintype R] [DecidableEq R] [CommRing R'] (χ : MulChar R R') (ψ : AddChar R R') (a : R) : kloostermanSum χ ψ a 0 = gaussSum χ (ψ.mulShift a)
theorem kloostermanSum_zero_right.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [Fintype R] [DecidableEq R] [CommRing R'] (χ : MulChar R R') (ψ : AddChar R R') (a : R) : kloostermanSum χ ψ a 0 = gaussSum χ (ψ.mulShift a)
The Kloosterman sum at
b = 0is the Gauss sum ofχandψ.mulShift a. - defdefined in Mathlib/Analysis/SpecialFunctions/Complex/CircleAddChar.leancomplete
def ZMod.stdAddChar {N : ℕ} [NeZero N] : AddChar (ZMod N) ℂ
def ZMod.stdAddChar {N : ℕ} [NeZero N] : AddChar (ZMod N) ℂ
The additive character from
ZMod Ntoℂ, sendingj mod Ntoexp (2 * π * I * j / N). - defdefined in Mathlib/NumberTheory/GaussSum.leancomplete
def gaussSum.{u, v} {R : Type u} [CommRing R] [Fintype R] {R' : Type v} [CommRing R'] (χ : MulChar R R') (ψ : AddChar R R') : R'
def gaussSum.{u, v} {R : Type u} [CommRing R] [Fintype R] {R' : Type v} [CommRing R'] (χ : MulChar R R') (ψ : AddChar R R') : R'
Definition of the Gauss sum associated to a multiplicative and an additive character.
TauCeti.kroneckerSym[complete]TauCeti.kroneckerSym_neg_one_right[complete]TauCeti.kroneckerSym_two_right[complete]TauCeti.kroneckerSym_zero_right[complete]TauCeti.kroneckerSym_eq_legendreSym[complete]LeanBridge.kroneckerSym_eq_sign_mul_prod[complete]TauCeti.kroneckerSym_eq_jacobiSym[complete]DirichletCharacter.exists_kroneckerSym_iff_range_subset[complete]
Kronecker symbol. (LMFDB)
The Kronecker symbol \displaystyle\left(\frac{a}{n}\right) is the multiplicative extension of the Jacobi symbol \displaystyle\left(\frac{a}{m}\right), which is defined on all positive odd integers m, to all integers n\in\mathbb{Z} as follows.
We set
\displaystyle\left(\frac{a}{-1}\right) = \left\{ \begin{array}{cl} 1 & \text{if } a\geq 0\\
-1 & \text{if } a < 0; \end{array} \right.
\displaystyle\left(\frac{a}{2}\right) = \left\{ \begin{array}{cl} 0 & \text{if } a\equiv 0 \bmod 2\\
1 & \text{if } a\equiv \pm 1 \bmod 8\\
-1 & \text{if } a \equiv \pm 3 \bmod 8; \end{array} \right.
and
\displaystyle\left(\frac{a}{0}\right) = \left\{ \begin{array}{cl} 1 & \text{if } a= \pm 1\\
0 & \text{otherwise }. \end{array} \right.
Then for each nonzero integer n = \sgn(n) p_1^{e_1} p_2^{e_2} \cdots p_r^{e_r} the Kronecker symbol is defined as the product of symbols above and the Legendre symbols for odd primes
\displaystyle\left(\frac{a}{n}\right) = \displaystyle\left(\frac{a}{\sgn(n)}\right) \displaystyle\left(\frac{a}{p_1}\right)^{e_1} \displaystyle\left(\frac{a}{p_2}\right)^{e_2}\cdots \displaystyle\left(\frac{a}{p_r}\right)^{e_r}.
A Dirichlet character can be written as a Kronecker symbol \displaystyle\left(\frac{a}{\cdot}\right) if and only if it is
real.
Depends on: Definition 6.1.22 Definition 6.1.25 Definition 6.1.32
Lean code for Definition6.1.24●8 declarationsAssociated Lean declarationsTauCeti.kroneckerSym[complete]TauCeti.kroneckerSym_neg_one_right[complete]TauCeti.kroneckerSym_two_right[complete]TauCeti.kroneckerSym_zero_right[complete]TauCeti.kroneckerSym_eq_legendreSym[complete]LeanBridge.kroneckerSym_eq_sign_mul_prod[complete]TauCeti.kroneckerSym_eq_jacobiSym[complete]DirichletCharacter.exists_kroneckerSym_iff_range_subset[complete]
TauCeti.kroneckerSym[complete]TauCeti.kroneckerSym_neg_one_right[complete]TauCeti.kroneckerSym_two_right[complete]TauCeti.kroneckerSym_zero_right[complete]TauCeti.kroneckerSym_eq_legendreSym[complete]LeanBridge.kroneckerSym_eq_sign_mul_prod[complete]TauCeti.kroneckerSym_eq_jacobiSym[complete]DirichletCharacter.exists_kroneckerSym_iff_range_subset[complete]
- defdefined in TauCeti/NumberTheory/LegendreSymbol/KroneckerSymbol.leancomplete
def TauCeti.kroneckerSym (a b : ℤ) : ℤ
def TauCeti.kroneckerSym (a b : ℤ) : ℤ
The Kronecker symbol
(a / b): the extension of the Jacobi symboljacobiSym a bto all integer denominatorsb, multiplicative inb(over nonzero factors,kroneckerSym_mul_right) and with the standard values at2,-1and0:(a / 2) = χ₈ a,(a / -1)is the sign ofawith(0 / -1) = 1, and(a / 0)is1fora = ±1and0otherwise. Forb ≠ 0with|b| = 2 ^ e * m,modd, it is(a / -1)^[b < 0] * χ₈ a ^ e * J(a | m). - theoremdefined in TauCeti/NumberTheory/LegendreSymbol/KroneckerSymbol.leancomplete
theorem TauCeti.kroneckerSym_neg_one_right (a : ℤ) : TauCeti.kroneckerSym a (-1) = if a < 0 then -1 else 1
theorem TauCeti.kroneckerSym_neg_one_right (a : ℤ) : TauCeti.kroneckerSym a (-1) = if a < 0 then -1 else 1
(a / -1)is-1fora < 0and1otherwise. - theoremdefined in TauCeti/NumberTheory/LegendreSymbol/KroneckerSymbol.leancomplete
theorem TauCeti.kroneckerSym_two_right (a : ℤ) : TauCeti.kroneckerSym a 2 = ZMod.χ₈ ↑a
theorem TauCeti.kroneckerSym_two_right (a : ℤ) : TauCeti.kroneckerSym a 2 = ZMod.χ₈ ↑a
(a / 2) = χ₈ a: it is0for evena,1fora ≡ ±1 (mod 8)and-1fora ≡ ±3 (mod 8)(ZMod.χ₈_int_eq_if_mod_eight). - theoremdefined in TauCeti/NumberTheory/LegendreSymbol/KroneckerSymbol.leancomplete
theorem TauCeti.kroneckerSym_zero_right (a : ℤ) : TauCeti.kroneckerSym a 0 = if a = 1 ∨ a = -1 then 1 else 0
theorem TauCeti.kroneckerSym_zero_right (a : ℤ) : TauCeti.kroneckerSym a 0 = if a = 1 ∨ a = -1 then 1 else 0
(a / 0)is1fora = ±1and0otherwise. It is notjacobiSym a 0 = 1. - theoremdefined in TauCeti/NumberTheory/LegendreSymbol/KroneckerSymbol.leancomplete
theorem TauCeti.kroneckerSym_eq_legendreSym (a : ℤ) (p : ℕ) [Fact (Nat.Prime p)] (hp : p ≠ 2) : TauCeti.kroneckerSym a ↑p = legendreSym p a
theorem TauCeti.kroneckerSym_eq_legendreSym (a : ℤ) (p : ℕ) [Fact (Nat.Prime p)] (hp : p ≠ 2) : TauCeti.kroneckerSym a ↑p = legendreSym p a
At an odd prime the Kronecker symbol is the Legendre symbol.
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/KroneckerSymbolReal.leancomplete
theorem LeanBridge.kroneckerSym_eq_sign_mul_prod (a : ℤ) {b : ℤ} (hb : b ≠ 0) : TauCeti.kroneckerSym a b = TauCeti.kroneckerSym a b.sign * b.natAbs.factorization.prod fun p e => TauCeti.kroneckerSym a ↑p ^ e
theorem LeanBridge.kroneckerSym_eq_sign_mul_prod (a : ℤ) {b : ℤ} (hb : b ≠ 0) : TauCeti.kroneckerSym a b = TauCeti.kroneckerSym a b.sign * b.natAbs.factorization.prod fun p e => TauCeti.kroneckerSym a ↑p ^ e
The Kronecker symbol over a factorization (LMFDB
character.dirichlet.kronecker_symbol): at a nonzero integerb = sgn(b) p₁ ^ e₁ ⋯ p_r ^ e_r, the Kronecker symbol(a / b)is the product of(a / sgn(b))and the powers(a / p_i) ^ e_i. - theoremdefined in TauCeti/NumberTheory/LegendreSymbol/KroneckerSymbol.leancomplete
theorem TauCeti.kroneckerSym_eq_jacobiSym (a : ℤ) {b : ℕ} (hb : Odd b) : TauCeti.kroneckerSym a ↑b = jacobiSym a b
theorem TauCeti.kroneckerSym_eq_jacobiSym (a : ℤ) {b : ℕ} (hb : Odd b) : TauCeti.kroneckerSym a ↑b = jacobiSym a b
At an odd positive denominator the Kronecker symbol is the Jacobi symbol.
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/KroneckerSymbolReal.leancomplete
theorem DirichletCharacter.exists_kroneckerSym_iff_range_subset {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) : (∃ a, ∀ (n : ℤ), χ ↑n = ↑(TauCeti.kroneckerSym a n)) ↔ Set.range ⇑χ ⊆ Set.range Complex.ofReal
theorem DirichletCharacter.exists_kroneckerSym_iff_range_subset {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) : (∃ a, ∀ (n : ℤ), χ ↑n = ↑(TauCeti.kroneckerSym a n)) ↔ Set.range ⇑χ ⊆ Set.range Complex.ofReal
Real Dirichlet characters are Kronecker symbols (LMFDB
character.dirichlet.kronecker_symbol): a Dirichlet character moduloN ≥ 1can be written as a Kronecker symbol(a / ·), that isχ n = (a / n)at every integern, if and only if it is real, its image lying inℝ.
legendreSym[complete]quadraticChar[complete]legendreSym.quadratic_reciprocity[complete]legendreSym.at_neg_one[complete]legendreSym.at_two[complete]
Legendre symbol. (LMFDB)
Let x be an integer and p be an odd prime. The Legendre symbol \displaystyle\left(\frac{x}{p}\right) is defined to be
\left( \frac{x}{p} \right) = \left\{ \begin{array}{cl} 0 & \text{if } p \mid x, \\ 1 & \text{if } x \bmod p \text{ is a non-zero square in } \Z/p\Z, \\ -1 & \text{if } x \bmod p \text{ is not a square in } \Z/p\Z. \end{array} \right.
It can be computed efficiently by using the following formulae inductively:
(Multiplicativity)
\left(\frac{ab}{p}\right) = \left(\frac{a}{p}\right) \left(\frac{b}{p}\right).(Special cases)
\left(\frac{-1}{p}\right)= \left\{ \begin{array}{cl} 1 & \text{if } p \equiv 1 \bmod 4 \\ -1 & \text{if } p \equiv -1 \bmod 4 \end{array} \right.and\left(\frac{2}{p}\right)=\left\{ \begin{array}{cl} 1 & \text{if } p \equiv \pm1 \bmod 8 \\ -1 & \text{if } p \equiv \pm3 \bmod 8 \end{array} \right..(Quadratic reciprocity) If
pandqare distinct odd primes, then\left(\frac{q}{p}\right) = (-1)^{\frac{p-1}2 \frac{q-1}2} \left(\frac{p}{q}\right).
In particular, for a fixed odd prime p, x \mapsto \left(\frac{x}{p}\right) is a Dirichlet character modulo p.
Tau Ceti Review: legendreSym, quadraticChar, legendreSym.at_neg_one, legendreSym.at_two.
Depends on: Definition 6.1.1
Lean code for Definition6.1.25●5 declarationsAssociated Lean declarationslegendreSym[complete]quadraticChar[complete]legendreSym.quadratic_reciprocity[complete]legendreSym.at_neg_one[complete]legendreSym.at_two[complete]
legendreSym[complete]quadraticChar[complete]legendreSym.quadratic_reciprocity[complete]legendreSym.at_neg_one[complete]legendreSym.at_two[complete]
- defdefined in Mathlib/NumberTheory/LegendreSymbol/Basic.leancomplete
def legendreSym (p : ℕ) [Fact (Nat.Prime p)] (a : ℤ) : ℤ
def legendreSym (p : ℕ) [Fact (Nat.Prime p)] (a : ℤ) : ℤ
The Legendre symbol of
a : ℤand a primep,legendreSym p a, is an integer defined as0ifais0modulop;1ifais a nonzero square modulop-1otherwise.
Note the order of the arguments! The advantage of the order chosen here is that
legendreSym pis a multiplicative functionℤ → ℤ. - defdefined in Mathlib/NumberTheory/LegendreSymbol/QuadraticChar/Basic.leancomplete
def quadraticChar.{u_1} (F : Type u_1) [Field F] [Fintype F] [DecidableEq F] : MulChar F ℤ
def quadraticChar.{u_1} (F : Type u_1) [Field F] [Fintype F] [DecidableEq F] : MulChar F ℤ
The quadratic character as a multiplicative character.
- theoremdefined in Mathlib/NumberTheory/LegendreSymbol/QuadraticReciprocity.leancomplete
theorem legendreSym.quadratic_reciprocity {p q : ℕ} [Fact (Nat.Prime p)] [Fact (Nat.Prime q)] (hp : p ≠ 2) (hq : q ≠ 2) (hpq : p ≠ q) : legendreSym q ↑p * legendreSym p ↑q = (-1) ^ (p / 2 * (q / 2))
theorem legendreSym.quadratic_reciprocity {p q : ℕ} [Fact (Nat.Prime p)] [Fact (Nat.Prime q)] (hp : p ≠ 2) (hq : q ≠ 2) (hpq : p ≠ q) : legendreSym q ↑p * legendreSym p ↑q = (-1) ^ (p / 2 * (q / 2))
The Law of Quadratic Reciprocity: if
pandqare distinct odd primes, then(q / p) * (p / q) = (-1)^((p-1)(q-1)/4). - theoremdefined in Mathlib/NumberTheory/LegendreSymbol/Basic.leancomplete
theorem legendreSym.at_neg_one {p : ℕ} [Fact (Nat.Prime p)] (hp : p ≠ 2) : legendreSym p (-1) = ZMod.χ₄ ↑p
theorem legendreSym.at_neg_one {p : ℕ} [Fact (Nat.Prime p)] (hp : p ≠ 2) : legendreSym p (-1) = ZMod.χ₄ ↑p
legendreSym p (-1)is given byχ₄ p. - theoremdefined in Mathlib/NumberTheory/LegendreSymbol/QuadraticReciprocity.leancomplete
theorem legendreSym.at_two {p : ℕ} [Fact (Nat.Prime p)] (hp : p ≠ 2) : legendreSym p 2 = ZMod.χ₈ ↑p
theorem legendreSym.at_two {p : ℕ} [Fact (Nat.Prime p)] (hp : p ≠ 2) : legendreSym p 2 = ZMod.χ₈ ↑p
legendreSym p 2is given byχ₈ p.
DirichletCharacter.IsMinimalOfPrimePowerModulus[complete]DirichletCharacter.IsMinimal[complete]DirichletCharacter.primePowerPart[complete]DirichletCharacter.IsPrimitive.isMinimalOfPrimePowerModulus[complete]DirichletCharacter.not_forall_isPrimitive_of_isMinimalOfPrimePowerModulus[complete]DirichletCharacter.isMinimal_one_iff[complete]DirichletCharacter.isMinimalOfPrimePowerModulus_one_iff[complete]TauCeti.Nat.IsExactDivisor.eq_mul_comp_unitsMap[complete]
Minimal Dirichlet character. (LMFDB)
A Dirichlet character \chi of prime power modulus N is minimal if the following conditions both hold:
The conductor of
\chidoes not lie in the open interval(\sqrt{N},N), and ifNis a square divisible by 16 then{\rm cond}(\chi)\in \{\sqrt{N},N\}.Both the order and conductor of
\chiare minimal among the set of all Dirichlet character\chi\psi^2for which{\rm cond}(\psi){\rm cond}(\chi\psi) | N.
This includes all primitive Dirichlet characters of prime power modulus, but not every minimal Dirichlet character of prime power modulus is primitive.
For a composite modulus N with prime power factorization N=p_1^{e_1}\cdots p_n^{e_n}, a Dirichlet character \chi of modulus N is minimal if and only if every character in its unique factorization into Dirichlet characters of modulus p_1^{e_1},\cdots,p_n^{e_n} is minimal. The trivial Dirichlet character is minimal.
Tau Ceti Review: TauCeti.Nat.IsExactDivisor.eq_mul_comp_unitsMap.
Depends on: Definition 6.1.1 Definition 6.1.2 Definition 6.1.27 Definition 6.1.28 Definition 6.1.30 Definition 6.1.31
Lean code for Definition6.1.26●8 declarationsAssociated Lean declarationsDirichletCharacter.IsMinimalOfPrimePowerModulus[complete]DirichletCharacter.IsMinimal[complete]DirichletCharacter.primePowerPart[complete]DirichletCharacter.IsPrimitive.isMinimalOfPrimePowerModulus[complete]DirichletCharacter.not_forall_isPrimitive_of_isMinimalOfPrimePowerModulus[complete]DirichletCharacter.isMinimal_one_iff[complete]DirichletCharacter.isMinimalOfPrimePowerModulus_one_iff[complete]TauCeti.Nat.IsExactDivisor.eq_mul_comp_unitsMap[complete]
DirichletCharacter.IsMinimalOfPrimePowerModulus[complete]DirichletCharacter.IsMinimal[complete]DirichletCharacter.primePowerPart[complete]DirichletCharacter.IsPrimitive.isMinimalOfPrimePowerModulus[complete]DirichletCharacter.not_forall_isPrimitive_of_isMinimalOfPrimePowerModulus[complete]DirichletCharacter.isMinimal_one_iff[complete]DirichletCharacter.isMinimalOfPrimePowerModulus_one_iff[complete]TauCeti.Nat.IsExactDivisor.eq_mul_comp_unitsMap[complete]
- defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/Minimal.leancomplete
def DirichletCharacter.IsMinimalOfPrimePowerModulus {N : ℕ} (χ : DirichletCharacter ℂ N) : Prop
def DirichletCharacter.IsMinimalOfPrimePowerModulus {N : ℕ} (χ : DirichletCharacter ℂ N) : Prop
A complex Dirichlet character
χof prime power modulusNis minimal (LMFDBcharacter.dirichlet.minimal) if- its conductor does not lie in the open interval
(√N, N), and ifNis a square divisible by16then its conductor is√NorN; - both its order and its conductor are minimal among the characters
χψ², forψrunning over the characters moduloNwithcond(ψ) cond(χψ) ∣ N.
We read the second condition as saying that neither the order nor the conductor of
χexceeds that of such aχψ²(χitself is one of them, forψ = 1). The conditions are stated for every modulusN; the LMFDB uses them for prime powers. - its conductor does not lie in the open interval
- defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/Minimal.leancomplete
def DirichletCharacter.IsMinimal {N : ℕ} (χ : DirichletCharacter ℂ N) : Prop
def DirichletCharacter.IsMinimal {N : ℕ} (χ : DirichletCharacter ℂ N) : Prop
A complex Dirichlet character
χmoduloNis minimal (LMFDBcharacter.dirichlet.minimal) if every character in its factorization into characters of prime power modulip ^ v_p(N), itsp-parts for the primesp ∣ N, is minimal. - defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/Minimal.leancomplete
def DirichletCharacter.primePowerPart.{u_1} {R : Type u_1} [CommMonoidWithZero R] {N : ℕ} (p : ℕ) (ψ : DirichletCharacter R N) : DirichletCharacter R (p ^ N.factorization p)
def DirichletCharacter.primePowerPart.{u_1} {R : Type u_1} [CommMonoidWithZero R] {N : ℕ} (p : ℕ) (ψ : DirichletCharacter R N) : DirichletCharacter R (p ^ N.factorization p)
The
p-part of a Dirichlet characterψmoduloN: the character modulo the exact prime power divisorp ^ v_p(N)ofNthat sendsutoψ û, whereû ≡ umodulop ^ v_p(N)andû ≡ 1moduloN / p ^ v_p(N). Thep-parts ofψ, forpdividingN, are the characters of prime power modulus into whichψfactors uniquely (TauCeti.Nat.IsExactDivisor.eq_mul_comp_unitsMap). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/Minimal.leancomplete
theorem DirichletCharacter.IsPrimitive.isMinimalOfPrimePowerModulus {N : ℕ} {χ : DirichletCharacter ℂ N} (hN : IsPrimePow N) (hχ : χ.IsPrimitive) : χ.IsMinimalOfPrimePowerModulus
theorem DirichletCharacter.IsPrimitive.isMinimalOfPrimePowerModulus {N : ℕ} {χ : DirichletCharacter ℂ N} (hN : IsPrimePow N) (hχ : χ.IsPrimitive) : χ.IsMinimalOfPrimePowerModulus
A primitive Dirichlet character of prime power modulus is minimal.
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/MinimalTrivial.leancomplete
theorem DirichletCharacter.not_forall_isPrimitive_of_isMinimalOfPrimePowerModulus : ¬∀ (N : ℕ), IsPrimePow N → ∀ (χ : DirichletCharacter ℂ N), χ.IsMinimalOfPrimePowerModulus → χ.IsPrimitive
theorem DirichletCharacter.not_forall_isPrimitive_of_isMinimalOfPrimePowerModulus : ¬∀ (N : ℕ), IsPrimePow N → ∀ (χ : DirichletCharacter ℂ N), χ.IsMinimalOfPrimePowerModulus → χ.IsPrimitive
Not every minimal Dirichlet character of prime power modulus is primitive (LMFDB
character.dirichlet.minimal): the trivial character modulo3is minimal,3not being a square divisible by16(DirichletCharacter.isMinimalOfPrimePowerModulus_one_iff), but its conductor is1, not3. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/MinimalTrivial.leancomplete
theorem DirichletCharacter.isMinimal_one_iff {N : ℕ} : DirichletCharacter.IsMinimal 1 ↔ ¬(2 ∣ N.factorization 2 ∧ 4 ≤ N.factorization 2)
theorem DirichletCharacter.isMinimal_one_iff {N : ℕ} : DirichletCharacter.IsMinimal 1 ↔ ¬(2 ∣ N.factorization 2 ∧ 4 ≤ N.factorization 2)
The trivial character modulo
Nis minimal exactly when2 ^ e ∥ Nwitheodd ore < 4(LMFDBcharacter.dirichlet.minimal). The knowl's claim that the trivial character is minimal fails for theNwhose largest power of2dividing it is2 ^ ewithe ≥ 4even, such asN = 16. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/Minimal.leancomplete
theorem DirichletCharacter.isMinimalOfPrimePowerModulus_one_iff {N : ℕ} [NeZero N] : DirichletCharacter.IsMinimalOfPrimePowerModulus 1 ↔ ¬(IsSquare N ∧ 16 ∣ N)
theorem DirichletCharacter.isMinimalOfPrimePowerModulus_one_iff {N : ℕ} [NeZero N] : DirichletCharacter.IsMinimalOfPrimePowerModulus 1 ↔ ¬(IsSquare N ∧ 16 ∣ N)
The trivial character modulo
Nsatisfies the conditions for minimality of a character of prime power modulus exactly whenNis not a square divisible by16: the LMFDB's claim that the trivial character is minimal fails for the moduli2 ^ ewithe ≥ 4even. - theoremdefined in TauCeti/Data/ZMod/ExactDivisor.leancomplete
theorem TauCeti.Nat.IsExactDivisor.eq_mul_comp_unitsMap.{u_1} {N Q : ℕ} {G : Type u_1} [CommMonoid G] (h : TauCeti.Nat.IsExactDivisor Q N) (χ : (ZMod N)ˣ →* G) : χ = ((χ.comp h.unitsEquivProd.symm.toMonoidHom).comp (MonoidHom.inl (ZMod Q)ˣ (ZMod (N / Q))ˣ)).comp (ZMod.unitsMap ⋯) * ((χ.comp h.unitsEquivProd.symm.toMonoidHom).comp (MonoidHom.inr (ZMod Q)ˣ (ZMod (N / Q))ˣ)).comp (ZMod.unitsMap ⋯)
theorem TauCeti.Nat.IsExactDivisor.eq_mul_comp_unitsMap.{u_1} {N Q : ℕ} {G : Type u_1} [CommMonoid G] (h : TauCeti.Nat.IsExactDivisor Q N) (χ : (ZMod N)ˣ →* G) : χ = ((χ.comp h.unitsEquivProd.symm.toMonoidHom).comp (MonoidHom.inl (ZMod Q)ˣ (ZMod (N / Q))ˣ)).comp (ZMod.unitsMap ⋯) * ((χ.comp h.unitsEquivProd.symm.toMonoidHom).comp (MonoidHom.inr (ZMod Q)ˣ (ZMod (N / Q))ˣ)).comp (ZMod.unitsMap ⋯)
A character modulo
Nsplits as the product of its restrictions to the Chinese remainder factors moduloQandN / Q.
DirichletCharacter[complete]MulChar[complete]DirichletCharacter.apply_eq_zero_iff[complete]MulChar.apply_mem_rootsOfUnity[complete]
Modulus of a Dirichlet character. (LMFDB)
A Dirichlet character is a function \chi: \mathbb{Z}\to \mathbb{C} together with a positive integer q, called the modulus of the character, such that \chi is completely multiplicative, i.e. \chi(mn)=\chi(m)\chi(n) for all integers m and n, and \chi is periodic modulo q, i.e. \chi(n+q)=\chi(n) for all n. If (n,q)>1 then \chi(n)=0, whereas if (n,q)=1, then \chi(n) is a root of unity.
Tau Ceti Review: DirichletCharacter, MulChar, DirichletCharacter.apply_eq_zero_iff.
Lean code for Definition6.1.27●4 declarationsAssociated Lean declarationsDirichletCharacter[complete]MulChar[complete]DirichletCharacter.apply_eq_zero_iff[complete]MulChar.apply_mem_rootsOfUnity[complete]
DirichletCharacter[complete]MulChar[complete]DirichletCharacter.apply_eq_zero_iff[complete]MulChar.apply_mem_rootsOfUnity[complete]
- abbrevdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
abbrev DirichletCharacter.{u_1} (R : Type u_1) [CommMonoidWithZero R] (n : ℕ) : Type u_1
abbrev DirichletCharacter.{u_1} (R : Type u_1) [CommMonoidWithZero R] (n : ℕ) : Type u_1
The type of Dirichlet characters of level
n. - structuredefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
structure MulChar.{u_1, u_2} (R : Type u_1) [CommMonoid R] (R' : Type u_2) [CommMonoidWithZero R'] : Type (max u_1 u_2)
structure MulChar.{u_1, u_2} (R : Type u_1) [CommMonoid R] (R' : Type u_2) [CommMonoidWithZero R'] : Type (max u_1 u_2)
Define a structure for multiplicative characters. A multiplicative character from a commutative monoid
Rto a commutative monoid with zeroR'is a homomorphism of (multiplicative) monoids that sends non-units to zero.Extends
R →* R'
Fields
toFun : R → R'
Inherited fromMonoidHomOneHom
map_one' : (↑self.toMonoidHom).toFun 1 = 1
Inherited fromMonoidHomOneHom
map_mul' : ∀ (x y : R), (↑self.toMonoidHom).toFun (x * y) = (↑self.toMonoidHom).toFun x * (↑self.toMonoidHom).toFun y
Inherited fromMonoidHom
map_nonunit' : ∀ (a : R), ¬IsUnit a → (↑self.toMonoidHom).toFun a = 0
- theoremdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
theorem DirichletCharacter.apply_eq_zero_iff.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) [Nontrivial R] (a : ℤ) : χ ↑a = 0 ↔ ¬IsCoprime a ↑n
theorem DirichletCharacter.apply_eq_zero_iff.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) [Nontrivial R] (a : ℤ) : χ ↑a = 0 ↔ ¬IsCoprime a ↑n
- theoremdefined in Mathlib/NumberTheory/MulChar/Lemmas.leancomplete
theorem MulChar.apply_mem_rootsOfUnity.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [CommRing R'] [Fintype Rˣ] (a : Rˣ) {χ : MulChar R R'} : (MulChar.equivToUnitHom χ) a ∈ rootsOfUnity (Fintype.card Rˣ) R'
theorem MulChar.apply_mem_rootsOfUnity.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [CommRing R'] [Fintype Rˣ] (a : Rˣ) {χ : MulChar R R'} : (MulChar.equivToUnitHom χ) a ∈ rootsOfUnity (Fintype.card Rˣ) R'
The values of a multiplicative character on
Rarenth roots of unity, wheren = #Rˣ.
orderOf[complete]MulChar.isLeast_orderOf[complete]MulChar.toUnitHom[complete]MulChar.range_toUnitHom_eq_rootsOfUnity[complete]MulChar.card_range_toUnitHom[complete]rootsOfUnity[complete]
Order of a Dirichlet character. (LMFDB)
The order of a Dirichlet character \chi is the least positive integer n such that \chi^n is the trivial character of the same modulus as \chi. Equivalently, it is the order n of the image of \chi in \mathbb{C}^\times, the group of nth roots of unity.
Tau Ceti Review: orderOf, MulChar.toUnitHom, rootsOfUnity.
Depends on: Definition 6.1.1 Definition 6.1.27 Definition 6.1.31
Lean code for Definition6.1.28●6 declarationsAssociated Lean declarationsorderOf[complete]MulChar.isLeast_orderOf[complete]MulChar.toUnitHom[complete]MulChar.range_toUnitHom_eq_rootsOfUnity[complete]MulChar.card_range_toUnitHom[complete]rootsOfUnity[complete]
orderOf[complete]MulChar.isLeast_orderOf[complete]MulChar.toUnitHom[complete]MulChar.range_toUnitHom_eq_rootsOfUnity[complete]MulChar.card_range_toUnitHom[complete]rootsOfUnity[complete]
- defdefined in Mathlib/GroupTheory/OrderOfElement.leancomplete
def orderOf.{u_1} {G : Type u_1} [Monoid G] (x : G) : ℕ
def orderOf.{u_1} {G : Type u_1} [Monoid G] (x : G) : ℕ
orderOf xis the order of the elementx, i.e. then ≥ 1, s.t.x ^ n = 1if it exists. Otherwise, i.e. ifxis of infinite order, thenorderOf xis0by convention. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/Order.leancomplete
theorem MulChar.isLeast_orderOf.{u_1, u_2} {M : Type u_1} {R : Type u_2} [CommMonoid M] [CommRing R] (χ : MulChar M R) [Finite Mˣ] : IsLeast {n | 0 < n ∧ χ ^ n = 1} (orderOf χ)
theorem MulChar.isLeast_orderOf.{u_1, u_2} {M : Type u_1} {R : Type u_2} [CommMonoid M] [CommRing R] (χ : MulChar M R) [Finite Mˣ] : IsLeast {n | 0 < n ∧ χ ^ n = 1} (orderOf χ)
The order of a character is the least positive integer
nsuch thatχ ^ nis the trivial character. - defdefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
def MulChar.toUnitHom.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] (χ : MulChar R R') : Rˣ →* R'ˣ
def MulChar.toUnitHom.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] (χ : MulChar R R') : Rˣ →* R'ˣ
Turn a
MulCharinto a homomorphism between the unit groups. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/Order.leancomplete
theorem MulChar.range_toUnitHom_eq_rootsOfUnity.{u_1, u_2} {M : Type u_1} {R : Type u_2} [CommMonoid M] [CommRing R] (χ : MulChar M R) [Finite Mˣ] [IsDomain R] : χ.toUnitHom.range = rootsOfUnity (orderOf χ) R
theorem MulChar.range_toUnitHom_eq_rootsOfUnity.{u_1, u_2} {M : Type u_1} {R : Type u_2} [CommMonoid M] [CommRing R] (χ : MulChar M R) [Finite Mˣ] [IsDomain R] : χ.toUnitHom.range = rootsOfUnity (orderOf χ) R
The image of a character on units is the group of
n-th roots of unity,nbeing the order of the character. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/Order.leancomplete
theorem MulChar.card_range_toUnitHom.{u_1, u_2} {M : Type u_1} {R : Type u_2} [CommMonoid M] [CommRing R] (χ : MulChar M R) [Finite Mˣ] [IsDomain R] : Nat.card ↥χ.toUnitHom.range = orderOf χ
theorem MulChar.card_range_toUnitHom.{u_1, u_2} {M : Type u_1} {R : Type u_2} [CommMonoid M] [CommRing R] (χ : MulChar M R) [Finite Mˣ] [IsDomain R] : Nat.card ↥χ.toUnitHom.range = orderOf χ
The image of a character on units has the order of the character.
- defdefined in Mathlib/RingTheory/RootsOfUnity/Basic.leancomplete
def rootsOfUnity.{u_7} (k : ℕ) (M : Type u_7) [CommMonoid M] : Subgroup Mˣ
def rootsOfUnity.{u_7} (k : ℕ) (M : Type u_7) [CommMonoid M] : Subgroup Mˣ
rootsOfUnity k Mis the subgroup of elementsm : Mˣthat satisfym ^ k = 1.
DirichletCharacter.Even[complete]DirichletCharacter.Odd[complete]DirichletCharacter.even_or_odd[complete]
Parity of a Dirichlet character. (LMFDB)
A character has odd/even parity if it is odd/even as a function. A Dirichlet character \chi\colon\Z\to\C is odd if \chi(-1) = -1 and even if \chi(-1)=1.
Tau Ceti Review: DirichletCharacter.Even, DirichletCharacter.Odd, DirichletCharacter.even_or_odd.
Depends on: Definition 6.1.1
Lean code for Definition6.1.29●3 declarationsAssociated Lean declarationsDirichletCharacter.Even[complete]DirichletCharacter.Odd[complete]DirichletCharacter.even_or_odd[complete]
DirichletCharacter.Even[complete]DirichletCharacter.Odd[complete]DirichletCharacter.even_or_odd[complete]
- defdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
def DirichletCharacter.Even.{u_2} {S : Type u_2} [CommRing S] {m : ℕ} (ψ : DirichletCharacter S m) : Prop
def DirichletCharacter.Even.{u_2} {S : Type u_2} [CommRing S] {m : ℕ} (ψ : DirichletCharacter S m) : Prop
A Dirichlet character is even if its value at -1 is 1.
- defdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
def DirichletCharacter.Odd.{u_2} {S : Type u_2} [CommRing S] {m : ℕ} (ψ : DirichletCharacter S m) : Prop
def DirichletCharacter.Odd.{u_2} {S : Type u_2} [CommRing S] {m : ℕ} (ψ : DirichletCharacter S m) : Prop
A Dirichlet character is odd if its value at -1 is -1.
- theoremdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
theorem DirichletCharacter.even_or_odd.{u_2} {S : Type u_2} [CommRing S] {m : ℕ} (ψ : DirichletCharacter S m) [NoZeroDivisors S] : ψ.Even ∨ ψ.Odd
theorem DirichletCharacter.even_or_odd.{u_2} {S : Type u_2} [CommRing S] {m : ℕ} (ψ : DirichletCharacter S m) [NoZeroDivisors S] : ψ.Even ∨ ψ.Odd
Primitive Dirichlet character. (LMFDB)
A Dirichlet character \chi is primitive if its
conductor is equal to its modulus; equivalently, \chi is not induced by a Dirichlet character of smaller modulus.
Tau Ceti Review: DirichletCharacter.IsPrimitive.
Depends on: Definition 6.1.1 Definition 6.1.2 Definition 6.1.20 Definition 6.1.27
Lean code for Definition6.1.30●1 definitionAssociated Lean declarationsDirichletCharacter.IsPrimitive[complete]
DirichletCharacter.IsPrimitive[complete]
- defdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
def DirichletCharacter.IsPrimitive.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) : Prop
def DirichletCharacter.IsPrimitive.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) : Prop
A character is primitive if its level is equal to its conductor.
MulChar.trivial[complete]MulChar.trivial_apply[complete]DirichletCharacter.factorsThrough_one_iff[complete]
Principal Dirichlet character. (LMFDB)
A Dirichlet character is principal (or trivial) if it has order 1, equivalently, if it is induced by the unique Dirichlet character of modulus 1.
The value of the principal Dirichlet character of modulus q at an integer n is 1 if n is coprime to q and 0 otherwise.
Depends on: Definition 6.1.1 Definition 6.1.20 Definition 6.1.27
Lean code for Definition6.1.31●3 declarationsAssociated Lean declarationsMulChar.trivial[complete]MulChar.trivial_apply[complete]DirichletCharacter.factorsThrough_one_iff[complete]
MulChar.trivial[complete]MulChar.trivial_apply[complete]DirichletCharacter.factorsThrough_one_iff[complete]
- defdefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
def MulChar.trivial.{u_1, u_2} (R : Type u_1) [CommMonoid R] (R' : Type u_2) [CommMonoidWithZero R'] : MulChar R R'
def MulChar.trivial.{u_1, u_2} (R : Type u_1) [CommMonoid R] (R' : Type u_2) [CommMonoidWithZero R'] : MulChar R R'
The trivial multiplicative character. It takes the value
0on non-units and the value1on units. - theoremdefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
theorem MulChar.trivial_apply.{u_1, u_2} (R : Type u_1) [CommMonoid R] (R' : Type u_2) [CommMonoidWithZero R'] (x : R) : (MulChar.trivial R R') x = if IsUnit x then 1 else 0
theorem MulChar.trivial_apply.{u_1, u_2} (R : Type u_1) [CommMonoid R] (R' : Type u_2) [CommMonoidWithZero R'] (x : R) : (MulChar.trivial R R') x = if IsUnit x then 1 else 0
- theoremdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
theorem DirichletCharacter.factorsThrough_one_iff.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) : χ.FactorsThrough 1 ↔ χ = 1
theorem DirichletCharacter.factorsThrough_one_iff.{u_1} {R : Type u_1} [CommMonoidWithZero R] {n : ℕ} (χ : DirichletCharacter R n) : χ.FactorsThrough 1 ↔ χ = 1
MulChar.IsQuadratic[complete]Complex.conj_eq_iff_real[complete]
Real Dirichlet character. (LMFDB)
A character is real if its image is contained in \mathbb{R}.
Tau Ceti Review: MulChar.IsQuadratic, Complex.conj_eq_iff_real.
Lean code for Definition6.1.32●2 declarationsAssociated Lean declarationsMulChar.IsQuadratic[complete]Complex.conj_eq_iff_real[complete]
MulChar.IsQuadratic[complete]Complex.conj_eq_iff_real[complete]
- defdefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
def MulChar.IsQuadratic.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommRing R'] (χ : MulChar R R') : Prop
def MulChar.IsQuadratic.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommRing R'] (χ : MulChar R R') : Prop
A multiplicative character is quadratic if it takes only the values
0,1,-1. - theoremdefined in Mathlib/Basic/Complex/Basic.leancomplete
theorem Complex.conj_eq_iff_real {z : ℂ} : (starRingEnd ℂ) z = z ↔ ∃ r, z = ↑r
theorem Complex.conj_eq_iff_real {z : ℂ} : (starRingEnd ℂ) z = z ↔ ∃ r, z = ↑r
Lean code for Definition6.1.33●4 definitionsAssociated Lean declarationsTauCeti.CharacterField[complete]IntermediateField.fixedField[complete]IsCyclotomicExtension.Rat.intermediateFieldEquivSubgroupChar[complete]IntermediateField.adjoin[complete]
TauCeti.CharacterField[complete]IntermediateField.fixedField[complete]IsCyclotomicExtension.Rat.intermediateFieldEquivSubgroupChar[complete]IntermediateField.adjoin[complete]
- defdefined in TauCeti/NumberTheory/ModularForms/Newforms/Fields.leancomplete
def TauCeti.CharacterField {N : ℕ} (χ : (ZMod N)ˣ →* ℂˣ) : IntermediateField ℚ ℂ
def TauCeti.CharacterField {N : ℕ} (χ : (ZMod N)ˣ →* ℂˣ) : IntermediateField ℚ ℂ
The subfield of
ℂgenerated overℚby the values of a nebentypus character. - defdefined in Mathlib/FieldTheory/Galois/Basic.leancomplete
def IntermediateField.fixedField.{u_1, u_2} {F : Type u_1} [Field F] {E : Type u_2} [Field E] [Algebra F E] (H : Subgroup Gal(E/F)) : IntermediateField F E
def IntermediateField.fixedField.{u_1, u_2} {F : Type u_1} [Field F] {E : Type u_2} [Field E] [Algebra F E] (H : Subgroup Gal(E/F)) : IntermediateField F E
The intermediate field fixed by a subgroup.
- defdefined in Mathlib/NumberTheory/NumberField/Cyclotomic/Galois.leancomplete
def IsCyclotomicExtension.Rat.intermediateFieldEquivSubgroupChar.{u_1, u_2} (n : ℕ) [NeZero n] (K : Type u_1) [Field K] [NumberField K] [hK : IsCyclotomicExtension {n} ℚ K] (R : Type u_2) [CommRing R] [HasEnoughRootsOfUnity R (Monoid.exponent (ZMod n)ˣ)] [IsAbelianGalois ℚ K] : IntermediateField ℚ K ≃o Subgroup (DirichletCharacter R n)
def IsCyclotomicExtension.Rat.intermediateFieldEquivSubgroupChar.{u_1, u_2} (n : ℕ) [NeZero n] (K : Type u_1) [Field K] [NumberField K] [hK : IsCyclotomicExtension {n} ℚ K] (R : Type u_2) [CommRing R] [HasEnoughRootsOfUnity R (Monoid.exponent (ZMod n)ˣ)] [IsAbelianGalois ℚ K] : IntermediateField ℚ K ≃o Subgroup (DirichletCharacter R n)
The bijection between the intermediate fields of
ℚ(ζₙ)/ℚand the subgroups of the group of Dirichlet characters of leveln. - defdefined in Mathlib/FieldTheory/IntermediateField/Adjoin/Defs.leancomplete
def IntermediateField.adjoin.{u_1, u_2} (F : Type u_1) [Field F] {E : Type u_2} [Field E] [Algebra F E] (S : Set E) : IntermediateField F E
def IntermediateField.adjoin.{u_1, u_2} (F : Type u_1) [Field F] {E : Type u_2} [Field E] [Algebra F E] (S : Set E) : IntermediateField F E
adjoin F Sextends a fieldFby adjoining a setS ⊆ E.
TauCeti.CharacterField[complete]IntermediateField.adjoin[complete]MulChar.adjoin_range_eq_adjoin_nth_roots[complete]
Field of values of a Dirichlet character. (LMFDB)
The field of values of a Dirichlet character \chi\colon\Z\to\C is the field \Q(\chi(\Z)) generated by its values; it is equal to the cyclotomic field \Q(\zeta_n), where n is the order of \chi.
Tau Ceti Review: TauCeti.CharacterField, IntermediateField.adjoin.
Depends on: Definition 6.1.28
Lean code for Definition6.1.34●3 declarationsAssociated Lean declarationsTauCeti.CharacterField[complete]IntermediateField.adjoin[complete]MulChar.adjoin_range_eq_adjoin_nth_roots[complete]
TauCeti.CharacterField[complete]IntermediateField.adjoin[complete]MulChar.adjoin_range_eq_adjoin_nth_roots[complete]
- defdefined in TauCeti/NumberTheory/ModularForms/Newforms/Fields.leancomplete
def TauCeti.CharacterField {N : ℕ} (χ : (ZMod N)ˣ →* ℂˣ) : IntermediateField ℚ ℂ
def TauCeti.CharacterField {N : ℕ} (χ : (ZMod N)ˣ →* ℂˣ) : IntermediateField ℚ ℂ
The subfield of
ℂgenerated overℚby the values of a nebentypus character. - defdefined in Mathlib/FieldTheory/IntermediateField/Adjoin/Defs.leancomplete
def IntermediateField.adjoin.{u_1, u_2} (F : Type u_1) [Field F] {E : Type u_2} [Field E] [Algebra F E] (S : Set E) : IntermediateField F E
def IntermediateField.adjoin.{u_1, u_2} (F : Type u_1) [Field F] {E : Type u_2} [Field E] [Algebra F E] (S : Set E) : IntermediateField F E
adjoin F Sextends a fieldFby adjoining a setS ⊆ E. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/MulChar/FieldOfValues.leancomplete
theorem MulChar.adjoin_range_eq_adjoin_nth_roots.{u_1, u_2} {M : Type u_1} {K : Type u_2} [CommMonoid M] [Field K] [CharZero K] (χ : MulChar M K) [Finite Mˣ] : IntermediateField.adjoin ℚ (Set.range ⇑χ) = IntermediateField.adjoin ℚ {b | b ^ orderOf χ = 1}
theorem MulChar.adjoin_range_eq_adjoin_nth_roots.{u_1, u_2} {M : Type u_1} {K : Type u_2} [CommMonoid M] [Field K] [CharZero K] (χ : MulChar M K) [Finite Mˣ] : IntermediateField.adjoin ℚ (Set.range ⇑χ) = IntermediateField.adjoin ℚ {b | b ^ orderOf χ = 1}
The field of values of a character of order
nis the fieldℚ(μ_n)generated by then-th roots of unity, ann-th cyclotomic field (Tau Ceti'sIsPrimitiveRoot.isCyclotomicExtension_adjoin_nth_roots).
DirichletCharacter[complete]DirichletCharacter.eq_iff_forall_mem_Icc[complete]MulChar.map_one[complete]DirichletCharacter.apply_modulus[complete]DirichletCharacter.apply_eq_zero_or_exists_rat_apply_eq_exp[complete]DirichletCharacter.exists_rat_apply_eq_exp[complete]MulChar.map_nonunit[complete]
Values of a Dirichlet character. (LMFDB)
Complete information about a Dirichlet character \chi\colon \Z\to\C of modulus q > 1 is contained in the list of values (\chi(1)=1,\ \chi(2),\ \chi(3),\ \dots,\ \chi(q-1),\ \chi(q)=0), each of which is a root of unity e(r) := \exp({2 \pi i r}), for some rational number r.
Tau Ceti Review: DirichletCharacter, MulChar.map_one, MulChar.map_nonunit.
Depends on: Definition 6.1.1 Definition 6.1.27
Lean code for Definition6.1.35●7 declarationsAssociated Lean declarationsDirichletCharacter[complete]DirichletCharacter.eq_iff_forall_mem_Icc[complete]MulChar.map_one[complete]DirichletCharacter.apply_modulus[complete]DirichletCharacter.apply_eq_zero_or_exists_rat_apply_eq_exp[complete]DirichletCharacter.exists_rat_apply_eq_exp[complete]MulChar.map_nonunit[complete]
DirichletCharacter[complete]DirichletCharacter.eq_iff_forall_mem_Icc[complete]MulChar.map_one[complete]DirichletCharacter.apply_modulus[complete]DirichletCharacter.apply_eq_zero_or_exists_rat_apply_eq_exp[complete]DirichletCharacter.exists_rat_apply_eq_exp[complete]MulChar.map_nonunit[complete]
- abbrevdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
abbrev DirichletCharacter.{u_1} (R : Type u_1) [CommMonoidWithZero R] (n : ℕ) : Type u_1
abbrev DirichletCharacter.{u_1} (R : Type u_1) [CommMonoidWithZero R] (n : ℕ) : Type u_1
The type of Dirichlet characters of level
n. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ValueList.leancomplete
theorem DirichletCharacter.eq_iff_forall_mem_Icc {q : ℕ} (χ ψ : DirichletCharacter ℂ q) [NeZero q] : χ = ψ ↔ ∀ n ∈ Finset.Icc 1 q, χ ↑n = ψ ↑n
theorem DirichletCharacter.eq_iff_forall_mem_Icc {q : ℕ} (χ ψ : DirichletCharacter ℂ q) [NeZero q] : χ = ψ ↔ ∀ n ∈ Finset.Icc 1 q, χ ↑n = ψ ↑n
A Dirichlet character of modulus
qis determined by its list of valuesχ(1), …, χ(q), as every residue class moduloqhas a representative in[1, q]. - theoremdefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
theorem MulChar.map_one.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] (χ : MulChar R R') : χ 1 = 1
theorem MulChar.map_one.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] (χ : MulChar R R') : χ 1 = 1
- theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ValueList.leancomplete
theorem DirichletCharacter.apply_modulus {q : ℕ} (χ : DirichletCharacter ℂ q) (hq : q ≠ 1) : χ ↑q = 0
theorem DirichletCharacter.apply_modulus {q : ℕ} (χ : DirichletCharacter ℂ q) (hq : q ≠ 1) : χ ↑q = 0
The value of a Dirichlet character at its modulus
q ≠ 1is0. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ValueList.leancomplete
theorem DirichletCharacter.apply_eq_zero_or_exists_rat_apply_eq_exp {q : ℕ} (χ : DirichletCharacter ℂ q) [NeZero q] (a : ZMod q) : χ a = 0 ∨ ∃ r, χ a = Complex.exp (2 * ↑Real.pi * Complex.I * ↑r)
theorem DirichletCharacter.apply_eq_zero_or_exists_rat_apply_eq_exp {q : ℕ} (χ : DirichletCharacter ℂ q) [NeZero q] (a : ZMod q) : χ a = 0 ∨ ∃ r, χ a = Complex.exp (2 * ↑Real.pi * Complex.I * ↑r)
Every value of a Dirichlet character is
0or a root of unitye(r) = exp(2πir)for a rational numberr. It is0exactly at the residues that are not units. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ValueList.leancomplete
theorem DirichletCharacter.exists_rat_apply_eq_exp {q : ℕ} (χ : DirichletCharacter ℂ q) [NeZero q] (u : (ZMod q)ˣ) : ∃ r, χ ↑u = Complex.exp (2 * ↑Real.pi * Complex.I * ↑r)
theorem DirichletCharacter.exists_rat_apply_eq_exp {q : ℕ} (χ : DirichletCharacter ℂ q) [NeZero q] (u : (ZMod q)ˣ) : ∃ r, χ ↑u = Complex.exp (2 * ↑Real.pi * Complex.I * ↑r)
The value of a Dirichlet character at a unit is a root of unity
e(r) = exp(2πir)for a rational numberr. - theoremdefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
theorem MulChar.map_nonunit.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] (χ : MulChar R R') {a : R} (ha : ¬IsUnit a) : χ a = 0
theorem MulChar.map_nonunit.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] (χ : MulChar R R') {a : R} (ha : ¬IsUnit a) : χ a = 0
DirichletCharacter[complete]DirichletCharacter.eq_iff_forall_apply_eq_of_closure_eq_top[complete]DirichletCharacter.exists_rat_apply_eq_exp[complete]ZMod.val_mem_Icc_of_isUnit[complete]ZMod.natCast_zmod_val[complete]MulChar.apply_mem_rootsOfUnity[complete]
Values of a Dirichlet character on generators. (LMFDB)
A Dirichlet character \chi\colon \Z\to \C of modulus q is determined (via multiplicativity) by the values \chi(g_1), \ldots, \chi(g_r) it takes on any list of generators g_1,\ldots,g_r for the group (\mathbb{Z}/q\mathbb{Z})^\times. The generators g_i can each be specified as integers in the interval [1,q-1], and the values \chi(g_i) are roots of unity e(r):=\exp(2\pi i r), where r is a rational number.
Tau Ceti Review: DirichletCharacter, ZMod.natCast_zmod_val.
Depends on: Definition 6.1.1 Definition 6.1.19 Definition 6.1.27
Lean code for Definition6.1.36●6 declarationsAssociated Lean declarationsDirichletCharacter[complete]DirichletCharacter.eq_iff_forall_apply_eq_of_closure_eq_top[complete]DirichletCharacter.exists_rat_apply_eq_exp[complete]ZMod.val_mem_Icc_of_isUnit[complete]ZMod.natCast_zmod_val[complete]MulChar.apply_mem_rootsOfUnity[complete]
DirichletCharacter[complete]DirichletCharacter.eq_iff_forall_apply_eq_of_closure_eq_top[complete]DirichletCharacter.exists_rat_apply_eq_exp[complete]ZMod.val_mem_Icc_of_isUnit[complete]ZMod.natCast_zmod_val[complete]MulChar.apply_mem_rootsOfUnity[complete]
- abbrevdefined in Mathlib/NumberTheory/DirichletCharacter/Basic.leancomplete
abbrev DirichletCharacter.{u_1} (R : Type u_1) [CommMonoidWithZero R] (n : ℕ) : Type u_1
abbrev DirichletCharacter.{u_1} (R : Type u_1) [CommMonoidWithZero R] (n : ℕ) : Type u_1
The type of Dirichlet characters of level
n. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ValueList.leancomplete
theorem DirichletCharacter.eq_iff_forall_apply_eq_of_closure_eq_top.{u_1} {q : ℕ} (χ ψ : DirichletCharacter ℂ q) {ι : Type u_1} {g : ι → (ZMod q)ˣ} (hg : Subgroup.closure (Set.range g) = ⊤) : χ = ψ ↔ ∀ (i : ι), χ ↑(g i) = ψ ↑(g i)
theorem DirichletCharacter.eq_iff_forall_apply_eq_of_closure_eq_top.{u_1} {q : ℕ} (χ ψ : DirichletCharacter ℂ q) {ι : Type u_1} {g : ι → (ZMod q)ˣ} (hg : Subgroup.closure (Set.range g) = ⊤) : χ = ψ ↔ ∀ (i : ι), χ ↑(g i) = ψ ↑(g i)
A Dirichlet character is determined by its values on generators of
(ℤ/qℤ)ˣ: if the unitsg igenerate(ℤ/qℤ)ˣ, then two characters that agree at everyg iare equal. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ValueList.leancomplete
theorem DirichletCharacter.exists_rat_apply_eq_exp {q : ℕ} (χ : DirichletCharacter ℂ q) [NeZero q] (u : (ZMod q)ˣ) : ∃ r, χ ↑u = Complex.exp (2 * ↑Real.pi * Complex.I * ↑r)
theorem DirichletCharacter.exists_rat_apply_eq_exp {q : ℕ} (χ : DirichletCharacter ℂ q) [NeZero q] (u : (ZMod q)ˣ) : ∃ r, χ ↑u = Complex.exp (2 * ↑Real.pi * Complex.I * ↑r)
The value of a Dirichlet character at a unit is a root of unity
e(r) = exp(2πir)for a rational numberr. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/ValueList.leancomplete
theorem ZMod.val_mem_Icc_of_isUnit {q : ℕ} (hq : 1 < q) {a : ZMod q} (ha : IsUnit a) : a.val ∈ Finset.Icc 1 (q - 1)
theorem ZMod.val_mem_Icc_of_isUnit {q : ℕ} (hq : 1 < q) {a : ZMod q} (ha : IsUnit a) : a.val ∈ Finset.Icc 1 (q - 1)
For
q > 1, the least nonnegative representative of a unit moduloqlies in[1, q - 1], so every element of(ℤ/qℤ)ˣis the class of an integer in[1, q - 1]. - theoremdefined in Mathlib/Data/ZMod/Basic.leancomplete
theorem ZMod.natCast_zmod_val {n : ℕ} [NeZero n] (a : ZMod n) : ↑a.val = a
theorem ZMod.natCast_zmod_val {n : ℕ} [NeZero n] (a : ZMod n) : ↑a.val = a
So-named because the coercion is
Nat.castintoZMod. ForNat.castinto an arbitrary ring, seeZMod.natCast_val. - theoremdefined in Mathlib/NumberTheory/MulChar/Lemmas.leancomplete
theorem MulChar.apply_mem_rootsOfUnity.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [CommRing R'] [Fintype Rˣ] (a : Rˣ) {χ : MulChar R R'} : (MulChar.equivToUnitHom χ) a ∈ rootsOfUnity (Fintype.card Rˣ) R'
theorem MulChar.apply_mem_rootsOfUnity.{u_1, u_2} {R : Type u_1} {R' : Type u_2} [CommRing R] [CommRing R'] [Fintype Rˣ] (a : Rˣ) {χ : MulChar R R'} : (MulChar.equivToUnitHom χ) a ∈ rootsOfUnity (Fintype.card Rˣ) R'
The values of a multiplicative character on
Rarenth roots of unity, wheren = #Rˣ.
TauCeti.GlobalNumberFields.IsIdealHeckeCharacter[complete]TauCeti.GlobalNumberFields.isIdealHeckeCharacter_iff[complete]TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.heckeCharacter[complete]TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.idealCharacter_comp_heckeCharacter[complete]TauCeti.GlobalNumberFields.HeckeCharacter.isIdealHeckeCharacter_idealCharacter[complete]TauCeti.GlobalNumberFields.HeckeCharacter[complete]
Hecke character. (LMFDB)
Let K be a number field with ring of integers \Z_K and let \mathfrak{m} be an integral ideal of \Z_K. Let I(\mathfrak{m}) be the group of fractional ideals of \Z_K coprime to \mathfrak{m}. A Hecke character modulo \mathfrak{m} is a group homomorphism \chi:I(\mathfrak{m})\to\mathbb{C}^\times with the property there exists another group homomorphism \chi_{\infty}:K^\times/\mathbb{Q}^\times\to\mathbb{C}^\times such that
\chi(\alpha\mathbb{Z}_K)=\chi_{\infty}(\alpha) \text{ for all }\alpha\in
K^\times\text{ such that }\alpha\equiv1 \mod ^*\mathfrak{m},
where by \alpha\equiv1\mod^*{\mathfrak{m}} we mean that v_{\mathfrak{p}}((\alpha-1))\geq v_{\mathfrak{p}}(\mathfrak{m}) for all prime ideals \mathfrak{p}\mid\mathfrak{m}.
Tau Ceti Review: TauCeti.GlobalNumberFields.HeckeCharacter.
Depends on: Definition 5.1.1 Definition 5.1.74 Definition 1.1.33 Definition 1.1.34
Lean code for Definition6.1.37●6 declarationsAssociated Lean declarationsTauCeti.GlobalNumberFields.IsIdealHeckeCharacter[complete]TauCeti.GlobalNumberFields.isIdealHeckeCharacter_iff[complete]TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.heckeCharacter[complete]TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.idealCharacter_comp_heckeCharacter[complete]TauCeti.GlobalNumberFields.HeckeCharacter.isIdealHeckeCharacter_idealCharacter[complete]TauCeti.GlobalNumberFields.HeckeCharacter[complete]
TauCeti.GlobalNumberFields.IsIdealHeckeCharacter[complete]TauCeti.GlobalNumberFields.isIdealHeckeCharacter_iff[complete]TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.heckeCharacter[complete]TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.idealCharacter_comp_heckeCharacter[complete]TauCeti.GlobalNumberFields.HeckeCharacter.isIdealHeckeCharacter_idealCharacter[complete]TauCeti.GlobalNumberFields.HeckeCharacter[complete]
- defdefined in LeanBridge/ForMathlib/NumberTheory/NumberField/HeckeIdealCharacter.leancomplete
def TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.{u_1} {K : Type u_1} [Field K] [NumberField K] (𝔪 : TauCeti.GlobalNumberFields.Modulus K) (χ : ↥(TauCeti.GlobalNumberFields.idealsPrimeTo 𝔪) →* ℂˣ) : Prop
def TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.{u_1} {K : Type u_1} [Field K] [NumberField K] (𝔪 : TauCeti.GlobalNumberFields.Modulus K) (χ : ↥(TauCeti.GlobalNumberFields.idealsPrimeTo 𝔪) →* ℂˣ) : Prop
A homomorphism
χ : I(𝔪) → ℂˣfrom the fractional ideals ofKprime to a modulus𝔪is a Hecke character modulo𝔪(LMFDBcharacter.hecke) if there are continuous charactersχ_w : K_wˣ → ℂˣof the completions at the infinite places such thatχ((α)) = ∏_w χ_w(α)for everyα ∈ Kˣwithα ≡ 1 mod* 𝔪. The LMFDB's modulus is an integral ideal, the modulus with no infinite part, for whichα ≡ 1 mod* 𝔪is the conditionv_𝔭(α - 1) ≥ v_𝔭(𝔪)at the primes𝔭 ∣ 𝔪; a general modulus also imposes positivity at the real places it contains.The knowl asks for a homomorphism
χ_∞ : Kˣ/ℚˣ → ℂˣwith no further condition, which does not give the intended notion: an arbitrary homomorphism imposes no condition at all on the restriction ofχto the principal ideals generated by elements≡ 1 mod* 𝔪that are independent moduloℚˣ, and triviality onℚˣis not part of the classical definition. The standard requirement, made here, is thatχ_∞be the restriction toKˣof a continuous character of(K ⊗ ℝ)ˣ = ∏_w K_wˣ. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/NumberField/HeckeIdealCharacterIdelic.leancomplete
theorem TauCeti.GlobalNumberFields.isIdealHeckeCharacter_iff.{u_1} {K : Type u_1} [Field K] [NumberField K] {𝔪 : TauCeti.GlobalNumberFields.Modulus K} {χ : ↥(TauCeti.GlobalNumberFields.idealsPrimeTo 𝔪) →* ℂˣ} : TauCeti.GlobalNumberFields.IsIdealHeckeCharacter 𝔪 χ ↔ ∃ ψ, ∃ (h : { finitePart := ψ.finiteConductor, finitePart_ne_bot := ⋯, infinitePart := ∅ }.support ⊆ 𝔪.support), (∀ (v : IsDedekindDomain.HeightOneSpectrum (NumberField.RingOfIntegers K)), ψ.conductorExponent v ≤ 𝔪.exponent v) ∧ ψ.idealCharacter.comp (TauCeti.NumberFieldArithmetic.idealsAwayInclusion K h) = χ
theorem TauCeti.GlobalNumberFields.isIdealHeckeCharacter_iff.{u_1} {K : Type u_1} [Field K] [NumberField K] {𝔪 : TauCeti.GlobalNumberFields.Modulus K} {χ : ↥(TauCeti.GlobalNumberFields.idealsPrimeTo 𝔪) →* ℂˣ} : TauCeti.GlobalNumberFields.IsIdealHeckeCharacter 𝔪 χ ↔ ∃ ψ, ∃ (h : { finitePart := ψ.finiteConductor, finitePart_ne_bot := ⋯, infinitePart := ∅ }.support ⊆ 𝔪.support), (∀ (v : IsDedekindDomain.HeightOneSpectrum (NumberField.RingOfIntegers K)), ψ.conductorExponent v ≤ 𝔪.exponent v) ∧ ψ.idealCharacter.comp (TauCeti.NumberFieldArithmetic.idealsAwayInclusion K h) = χ
Ideal-theoretic Hecke characters are the ideal characters of idelic Hecke characters (LMFDB
character.hecke): a characterχof the groupI(𝔪)of fractional ideals prime to a modulus𝔪is a Hecke character modulo𝔪in the ideal-theoretic sense exactly when there is a Hecke characterψof the idele class group whose conductor divides𝔪(its conductor exponents are at most those of𝔪) and whose ideal character, restricted toI(𝔪), isχ. - defdefined in LeanBridge/ForMathlib/NumberTheory/NumberField/HeckeIdealCharacterIdelic.leancomplete
def TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.heckeCharacter.{u_1} {K : Type u_1} [Field K] [NumberField K] {𝔪 : TauCeti.GlobalNumberFields.Modulus K} {χ : ↥(TauCeti.GlobalNumberFields.idealsPrimeTo 𝔪) →* ℂˣ} (hχ : TauCeti.GlobalNumberFields.IsIdealHeckeCharacter 𝔪 χ) : TauCeti.GlobalNumberFields.HeckeCharacter K
def TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.heckeCharacter.{u_1} {K : Type u_1} [Field K] [NumberField K] {𝔪 : TauCeti.GlobalNumberFields.Modulus K} {χ : ↥(TauCeti.GlobalNumberFields.idealsPrimeTo 𝔪) →* ℂˣ} (hχ : TauCeti.GlobalNumberFields.IsIdealHeckeCharacter 𝔪 χ) : TauCeti.GlobalNumberFields.HeckeCharacter K
The idelic Hecke character of an ideal-theoretic Hecke character
χmodulo𝔪, with charactersφ_wat the infinite places: the character of the idele class group whose value at the class of an idelexcongruent to one modulo𝔪isχ(ideal of x) ∏_w φ_w(x_w)⁻¹. Every idele class has such a representative, and the value does not depend on it sinceχ((α)) = ∏_w φ_w(α)forα ≡ 1 mod* 𝔪. Its ideal character isχ(TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.idealCharacter_comp_heckeCharacter). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/NumberField/HeckeIdealCharacterIdelic.leancomplete
theorem TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.idealCharacter_comp_heckeCharacter.{u_1} {K : Type u_1} [Field K] [NumberField K] {𝔪 : TauCeti.GlobalNumberFields.Modulus K} {χ : ↥(TauCeti.GlobalNumberFields.idealsPrimeTo 𝔪) →* ℂˣ} (hχ : TauCeti.GlobalNumberFields.IsIdealHeckeCharacter 𝔪 χ) : hχ.heckeCharacter.idealCharacter.comp (TauCeti.NumberFieldArithmetic.idealsAwayInclusion K ⋯) = χ
theorem TauCeti.GlobalNumberFields.IsIdealHeckeCharacter.idealCharacter_comp_heckeCharacter.{u_1} {K : Type u_1} [Field K] [NumberField K] {𝔪 : TauCeti.GlobalNumberFields.Modulus K} {χ : ↥(TauCeti.GlobalNumberFields.idealsPrimeTo 𝔪) →* ℂˣ} (hχ : TauCeti.GlobalNumberFields.IsIdealHeckeCharacter 𝔪 χ) : hχ.heckeCharacter.idealCharacter.comp (TauCeti.NumberFieldArithmetic.idealsAwayInclusion K ⋯) = χ
The ideal character of the idelic Hecke character of
χisχ: on an idealIprime to𝔪, represented by an idele congruent to one modulo𝔪with trivial infinite components, both areχ(I). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/NumberField/HeckeIdealCharacter.leancomplete
theorem TauCeti.GlobalNumberFields.HeckeCharacter.isIdealHeckeCharacter_idealCharacter.{u_1} {K : Type u_1} [Field K] [NumberField K] (χ : TauCeti.GlobalNumberFields.HeckeCharacter K) : TauCeti.GlobalNumberFields.IsIdealHeckeCharacter { finitePart := χ.finiteConductor, finitePart_ne_bot := ⋯, infinitePart := ∅ } χ.idealCharacter
theorem TauCeti.GlobalNumberFields.HeckeCharacter.isIdealHeckeCharacter_idealCharacter.{u_1} {K : Type u_1} [Field K] [NumberField K] (χ : TauCeti.GlobalNumberFields.HeckeCharacter K) : TauCeti.GlobalNumberFields.IsIdealHeckeCharacter { finitePart := χ.finiteConductor, finitePart_ne_bot := ⋯, infinitePart := ∅ } χ.idealCharacter
The ideal character of an idelic Hecke character is a Hecke character modulo its finite conductor, with the inverses of the infinite components as characters at the infinite places.
- abbrevdefined in TauCeti/NumberTheory/NumberField/Global/HeckeCharacter/Basic.leancomplete
abbrev TauCeti.GlobalNumberFields.HeckeCharacter.{u_1} (K : Type u_1) [Field K] [NumberField K] : Type u_1
abbrev TauCeti.GlobalNumberFields.HeckeCharacter.{u_1} (K : Type u_1) [Field K] [NumberField K] : Type u_1
A Hecke character of
K: a continuous homomorphism from the idele class group ofKto the complex units. Hecke characters form a commutative group under pointwise multiplication.
Units[complete]ZMod[complete]MulChar.equivToUnitHom[complete]
Underlying unit group for a Dirichlet character. (LMFDB)
A Dirichlet character \chi: \Z\to \C has a modulus n such that \chi is induced from a function \chi:\Z/n\Z\to \C. It gives a homomorphism (\Z/n\Z)^\times\to \C^\times. The underlying unit group is (\Z/n\Z)^\times, the group of units of the ring \Z/n\Z.
Tau Ceti Review: Units, ZMod, MulChar.equivToUnitHom.
Depends on: Definition 6.1.1 Definition 6.1.27
Lean code for Definition6.1.38●3 definitionsAssociated Lean declarationsUnits[complete]ZMod[complete]MulChar.equivToUnitHom[complete]
Units[complete]ZMod[complete]MulChar.equivToUnitHom[complete]
- structuredefined in Mathlib/Algebra/Group/Units/Defs.leancomplete
structure Units.{u} (α : Type u) [Monoid α] : Type u
structure Units.{u} (α : Type u) [Monoid α] : Type u
Units of a
Monoid, bundled version. Notation:αˣ.An element of a
Monoidis a unit if it has a two-sided inverse. This version bundles the inverse element so that it can be computed. For a predicate seeIsUnit.Fields
val : α
The underlying value in the base
Monoid.inv : α
The inverse value of
valin the baseMonoid.val_inv : ↑self * self.inv = 1
invis the right inverse ofvalin the baseMonoid.inv_val : self.inv * ↑self = 1
invis the left inverse ofvalin the baseMonoid. - defdefined in Mathlib/Data/ZMod/Defs.leancomplete
def ZMod : ℕ → Type
def ZMod : ℕ → Type
The integers modulo
n : ℕ. - defdefined in Mathlib/NumberTheory/MulChar/Basic.leancomplete
def MulChar.equivToUnitHom.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] : MulChar R R' ≃ (Rˣ →* R'ˣ)
def MulChar.equivToUnitHom.{u_1, u_2} {R : Type u_1} [CommMonoid R] {R' : Type u_2} [CommMonoidWithZero R'] : MulChar R R' ≃ (Rˣ →* R'ˣ)
The equivalence between multiplicative characters and homomorphisms of unit groups.
DirichletCharacter.partialGaussSum[complete]DirichletCharacter.partialGaussSum_modulus_sub_one[complete]DirichletCharacter.partialGaussSum_succ_of_not_coprime[complete]DirichletCharacter.norm_gaussSum_mulShift_of_isPrimitive[complete]DirichletCharacter.isPrimitive_iff_forall_norm_gaussSum_mulShift_eq_sqrt[complete]DirichletCharacter.image_setOf_norm_gaussSum_mulShift_eq_sqrt_of_isPrimitive[complete]DirichletCharacter.partialGaussSum_neg[complete]DirichletCharacter.partialGaussSum_one_zero[complete]
Pictures for Dirichlet characters. (LMFDB)
For each Dirichlet character \chi of modulus N and each residue a modulo N, we draw the partial Gauss sums
S_a(k) = \sum_{n = 1}^{k} \chi(n) e^{2\pi i a n/N}
as segments from the origin of the complex plane to S_a(k). All the segments belonging to a given a share a hue, running through the spectrum from red at a = 0 to violet at a = N-1; within one hue the segments for small k are darkened and those for large k are drawn at full brightness, so the eye can follow the partial sums as they accumulate. A large dot marks the last of them, the complete Gauss sum \tau_a(\chi) = S_a(N-1).
Only the stages k coprime to N are drawn: \chi(n) = 0 whenever \gcd(n, N) > 1, so each omitted stage would simply repeat the segment before it.
The grey circle has radius \sqrt N. If \chi is primitive, then |\tau_a(\chi)| = \sqrt N for every a coprime to N, and \tau_a(\chi) = 0 for every other a: the picture of a primitive character is \phi(N) dots on the circle together with a cluster of dots at the origin, and a character is primitive exactly when its coprime dots reach the circle.
Several other properties of \chi can be read off the picture.
Since
\tau_a(\chi) = \overline{\chi(a)}\,\tau_1(\chi)for primitive\chiandacoprime toN, the dots on the circle are the vertices of a regularn-gon, wherenis the order of\chi.S_{N-a}(k) = \overline{S_a(k)}when\chiis real, so the picture of a real character is symmetric about the real axis.The principal character shows a single long red spike along the positive real axis, of length
\phi(N), since thenS_0(k)just counts the units up tok.
The pictures are drawn when the page is requested rather than stored in the database, so they are only shown when there is little work to do: the number of segments is N\phi(N), and we draw the picture only when that is at most 25000. This is why a character of modulus 300 has a picture while one of modulus 293 does not.
The design follows Alex Best's demo.
Depends on: Definition 6.1.1 Definition 6.1.15 Definition 6.1.27 Definition 6.1.28 Definition 6.1.30 Definition 6.1.31
Lean code for Definition6.1.39●8 declarationsAssociated Lean declarationsDirichletCharacter.partialGaussSum[complete]DirichletCharacter.partialGaussSum_modulus_sub_one[complete]DirichletCharacter.partialGaussSum_succ_of_not_coprime[complete]DirichletCharacter.norm_gaussSum_mulShift_of_isPrimitive[complete]DirichletCharacter.isPrimitive_iff_forall_norm_gaussSum_mulShift_eq_sqrt[complete]DirichletCharacter.image_setOf_norm_gaussSum_mulShift_eq_sqrt_of_isPrimitive[complete]DirichletCharacter.partialGaussSum_neg[complete]DirichletCharacter.partialGaussSum_one_zero[complete]
DirichletCharacter.partialGaussSum[complete]DirichletCharacter.partialGaussSum_modulus_sub_one[complete]DirichletCharacter.partialGaussSum_succ_of_not_coprime[complete]DirichletCharacter.norm_gaussSum_mulShift_of_isPrimitive[complete]DirichletCharacter.isPrimitive_iff_forall_norm_gaussSum_mulShift_eq_sqrt[complete]DirichletCharacter.image_setOf_norm_gaussSum_mulShift_eq_sqrt_of_isPrimitive[complete]DirichletCharacter.partialGaussSum_neg[complete]DirichletCharacter.partialGaussSum_one_zero[complete]
- defdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaussSumPortrait.leancomplete
def DirichletCharacter.partialGaussSum {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (a : ZMod N) (k : ℕ) : ℂ
def DirichletCharacter.partialGaussSum {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (a : ZMod N) (k : ℕ) : ℂ
The partial Gauss sum
S_a(k) = ∑_{n = 1}^{k} χ(n) e^{2πian/N}(LMFDBportrait.character.dirichlet) of a Dirichlet characterχof modulusN, at a residueamoduloN. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaussSumPortrait.leancomplete
theorem DirichletCharacter.partialGaussSum_modulus_sub_one {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (a : ZMod N) (hN : 1 < N) : χ.partialGaussSum a (N - 1) = gaussSum χ (ZMod.stdAddChar.mulShift a)
theorem DirichletCharacter.partialGaussSum_modulus_sub_one {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (a : ZMod N) (hN : 1 < N) : χ.partialGaussSum a (N - 1) = gaussSum χ (ZMod.stdAddChar.mulShift a)
For
N > 1, the complete Gauss sum is the partial Gauss sum atN - 1:S_a(N - 1) = τ_a(χ), asχ(N) = 0. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaussSumPortrait.leancomplete
theorem DirichletCharacter.partialGaussSum_succ_of_not_coprime {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (a : ZMod N) {k : ℕ} (hk : ¬(k + 1).Coprime N) : χ.partialGaussSum a (k + 1) = χ.partialGaussSum a k
theorem DirichletCharacter.partialGaussSum_succ_of_not_coprime {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (a : ZMod N) {k : ℕ} (hk : ¬(k + 1).Coprime N) : χ.partialGaussSum a (k + 1) = χ.partialGaussSum a k
A stage
k + 1not coprime toNrepeats the previous one:χ(k + 1) = 0, soS_a(k + 1) = S_a(k). - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaussSumPortrait.leancomplete
theorem DirichletCharacter.norm_gaussSum_mulShift_of_isPrimitive {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) {a : ZMod N} (hχ : χ.IsPrimitive) (ha : IsUnit a) : ‖gaussSum χ (ZMod.stdAddChar.mulShift a)‖ = √↑N
theorem DirichletCharacter.norm_gaussSum_mulShift_of_isPrimitive {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) {a : ZMod N} (hχ : χ.IsPrimitive) (ha : IsUnit a) : ‖gaussSum χ (ZMod.stdAddChar.mulShift a)‖ = √↑N
If
χis primitive, then|τ_a(χ)| = √Nfor everyacoprime toN. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaussSumPortrait.leancomplete
theorem DirichletCharacter.isPrimitive_iff_forall_norm_gaussSum_mulShift_eq_sqrt {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) : χ.IsPrimitive ↔ ∀ (a : ZMod N), IsUnit a → ‖gaussSum χ (ZMod.stdAddChar.mulShift a)‖ = √↑N
theorem DirichletCharacter.isPrimitive_iff_forall_norm_gaussSum_mulShift_eq_sqrt {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) : χ.IsPrimitive ↔ ∀ (a : ZMod N), IsUnit a → ‖gaussSum χ (ZMod.stdAddChar.mulShift a)‖ = √↑N
A Dirichlet character is primitive exactly when its coprime dots reach the circle:
χis primitive if and only if|τ_a(χ)| = √Nfor everyacoprime toN. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaussSumPortrait.leancomplete
theorem DirichletCharacter.image_setOf_norm_gaussSum_mulShift_eq_sqrt_of_isPrimitive {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (hχ : χ.IsPrimitive) : (fun a => gaussSum χ (ZMod.stdAddChar.mulShift a)) '' {a | ‖gaussSum χ (ZMod.stdAddChar.mulShift a)‖ = √↑N} = (fun k => gaussSum χ ZMod.stdAddChar * Complex.exp (2 * ↑Real.pi * Complex.I * (↑k / ↑(orderOf χ)))) '' Set.Iio (orderOf χ)
theorem DirichletCharacter.image_setOf_norm_gaussSum_mulShift_eq_sqrt_of_isPrimitive {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (hχ : χ.IsPrimitive) : (fun a => gaussSum χ (ZMod.stdAddChar.mulShift a)) '' {a | ‖gaussSum χ (ZMod.stdAddChar.mulShift a)‖ = √↑N} = (fun k => gaussSum χ ZMod.stdAddChar * Complex.exp (2 * ↑Real.pi * Complex.I * (↑k / ↑(orderOf χ)))) '' Set.Iio (orderOf χ)
The dots on the circle of a primitive character are the vertices of a regular
n-gon,nthe order ofχ: the complete Gauss sumsτ_a(χ)of absolute value√Nare the pointsτ_1(χ) e^{2πik/n},0 ≤ k < n. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaussSumPortrait.leancomplete
theorem DirichletCharacter.partialGaussSum_neg {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (a : ZMod N) (k : ℕ) (hχ : ∀ (x : ZMod N), (starRingEnd ℂ) (χ x) = χ x) : χ.partialGaussSum (-a) k = (starRingEnd ℂ) (χ.partialGaussSum a k)
theorem DirichletCharacter.partialGaussSum_neg {N : ℕ} [NeZero N] (χ : DirichletCharacter ℂ N) (a : ZMod N) (k : ℕ) (hχ : ∀ (x : ZMod N), (starRingEnd ℂ) (χ x) = χ x) : χ.partialGaussSum (-a) k = (starRingEnd ℂ) (χ.partialGaussSum a k)
The partial Gauss sums of a real character at
-aare the complex conjugates of those ata:S_{-a}(k) = conj (S_a(k))if the values ofχare real. - theoremdefined in LeanBridge/ForMathlib/NumberTheory/DirichletCharacter/GaussSumPortrait.leancomplete
theorem DirichletCharacter.partialGaussSum_one_zero {N : ℕ} [NeZero N] (k : ℕ) : DirichletCharacter.partialGaussSum 1 0 k = ↑{n ∈ Finset.Icc 1 k | n.Coprime N}.card
theorem DirichletCharacter.partialGaussSum_one_zero {N : ℕ} [NeZero N] (k : ℕ) : DirichletCharacter.partialGaussSum 1 0 k = ↑{n ∈ Finset.Icc 1 k | n.Coprime N}.card
For the principal character,
S_0(k)counts the integers in[1, k]coprime toN.