The Mathlib Handbook

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

The areas / V12. Number theory

Mathlib.NumberTheory.AddCharacter.Trace

14 declarations. Mathlib docs · Source

theorem AddChar.traceChar.congr_simp E1 #

∀ {n : ℕ} [inst : NeZero n] (A : Type u_1) [inst_1 : CommRing A] [inst_2 : Algebra (ZMod n) A] {R : Type u_2}
  [inst_3 : CommRing R] {ζ ζ_1 : R} (e_ζ : ζ = ζ_1) (hζ : IsPrimitiveRoot ζ n),
  AddChar.traceChar A hζ = AddChar.traceChar A ⋯

def AddChar.traceChar E1 #

{n : ℕ} →
  [NeZero n] →
    (A : Type u_1) →
      [inst : CommRing A] →
        [Algebra (ZMod n) A] → {R : Type u_2} → [inst_2 : CommRing R] → {ζ : R} → IsPrimitiveRoot ζ n → AddChar A R

The additive character of A sending x to ζ ^ Algebra.trace (ZMod n) A x, where ζ is a primitive n-th root of unity.

theorem AddChar.traceChar_apply E0 #

∀ {n : ℕ} [inst : NeZero n] {A : Type u_1} [inst_1 : CommRing A] [inst_2 : Algebra (ZMod n) A] {R : Type u_2}
  [inst_3 : CommRing R] {ζ : R} (hζ : IsPrimitiveRoot ζ n) (x : A),
  (AddChar.traceChar A hζ) x = ζ ^ ((Algebra.trace (ZMod n) A) x).val

The value of traceChar at x, as a power of ζ with exponent the canonical natural number representing the trace of x.

theorem AddChar.traceChar_apply_eq_one_iff E0 #

∀ {n : ℕ} [inst : NeZero n] {A : Type u_1} [inst_1 : CommRing A] [inst_2 : Algebra (ZMod n) A] {R : Type u_2}
  [inst_3 : CommRing R] {ζ : R} (hζ : IsPrimitiveRoot ζ n) {x : A},
  (AddChar.traceChar A hζ) x = 1 ↔ (Algebra.trace (ZMod n) A) x = 0

The character traceChar is trivial at x if and only if the trace of x vanishes.

theorem AddChar.traceChar_eq_one_iff E0 #

∀ {n : ℕ} [inst : NeZero n] {A : Type u_1} [inst_1 : CommRing A] [inst_2 : Algebra (ZMod n) A] {R : Type u_2}
  [inst_3 : CommRing R] {ζ : R} (hζ : IsPrimitiveRoot ζ n), AddChar.traceChar A hζ = 1 ↔ Algebra.trace (ZMod n) A = 0

The character traceChar is trivial if and only if the trace vanishes.

theorem AddChar.mk_traceChar_apply_eq_one E1 #

∀ {n : ℕ} [inst : NeZero n] {A : Type u_1} [inst_1 : CommRing A] [inst_2 : Algebra (ZMod n) A] {R : Type u_2}
  [inst_3 : CommRing R] {ζ : R} (hζ : IsPrimitiveRoot ζ n) {𝓟 : Ideal R},
  ζ - 1 ∈ 𝓟 → ∀ (x : A), (Ideal.Quotient.mk 𝓟) ((AddChar.traceChar A hζ) x) = 1

The values of traceChar are congruent to 1 modulo any ideal containing ζ - 1.

theorem AddChar.mk_traceChar_apply_eq_one_add_smul E1 #

∀ {n : ℕ} [inst : NeZero n] {A : Type u_1} [inst_1 : CommRing A] [inst_2 : Algebra (ZMod n) A] {R : Type u_2}
  [inst_3 : CommRing R] {ζ : R} (hζ : IsPrimitiveRoot ζ n) {𝓟 : Ideal R},
  ζ - 1 ∈ 𝓟 →
    ∀ (x : A),
      (Ideal.Quotient.mk (𝓟 ^ 2)) ((AddChar.traceChar A hζ) x) =
        1 + ((Algebra.trace (ZMod n) A) x).val • (Ideal.Quotient.mk (𝓟 ^ 2)) (ζ - 1)

First-order expansion of traceChar modulo the square of an ideal containing ζ - 1.

theorem AddChar.compAddChar_traceChar E1 #

∀ {n : ℕ} [inst : NeZero n] {A : Type u_1} [inst_1 : CommRing A] [inst_2 : Algebra (ZMod n) A] {R : Type u_2}
  [inst_3 : CommRing R] {ζ : R} (hζ : IsPrimitiveRoot ζ n) {S : Type u_3} [inst_4 : CommRing S] {f : R →+* S}
  (hf : Function.Injective ⇑f), (↑f).compAddChar (AddChar.traceChar A hζ) = AddChar.traceChar A ⋯

Pushing traceChar along an injective ring homomorphism f : R → S gives the character attached to f ζ.

theorem AddChar.compAddChar_traceChar_algebraMap E1 #

∀ {n : ℕ} [inst : NeZero n] {A : Type u_1} [inst_1 : CommRing A] [inst_2 : Algebra (ZMod n) A] {R : Type u_2}
  [inst_3 : CommRing R] {ζ : R} (hζ : IsPrimitiveRoot ζ n) {S : Type u_3} [inst_4 : CommRing S] [inst_5 : Algebra R S]
  [inst_6 : FaithfulSMul R S], (↑(algebraMap R S)).compAddChar (AddChar.traceChar A hζ) = AddChar.traceChar A ⋯

Pushing traceChar along an algebra homomorphism R → S gives the character attached to the image of ζ.

theorem AddChar.map_traceChar_apply_eq_mulShift E0 #

∀ {n : ℕ} [inst : NeZero n] {A : Type u_1} [inst_1 : CommRing A] [inst_2 : Algebra (ZMod n) A] {R : Type u_2}
  [inst_3 : CommRing R] {ζ : R} (hζ : IsPrimitiveRoot ζ n) {G : Type u_3} [inst_4 : FunLike G R R]
  [MonoidHomClass G R R] {f : G} {m : ℕ},
  f ζ = ζ ^ m → ∀ (x : A), f ((AddChar.traceChar A hζ) x) = ((AddChar.traceChar A hζ).mulShift ↑m) x

If a homomorphism of R sends ζ to ζ ^ m, then it sends the value of traceChar at x to the value at x of the shift of traceChar by m.

theorem AddChar.traceChar_apply_algEquiv E1 #

∀ {n : ℕ} [inst : NeZero n] {A : Type u_1} [inst_1 : CommRing A] [inst_2 : Algebra (ZMod n) A] {R : Type u_2}
  [inst_3 : CommRing R] {ζ : R} (hζ : IsPrimitiveRoot ζ n) {B : Type u_3} [inst_4 : CommRing B]
  [inst_5 : Algebra (ZMod n) B] (e : A ≃ₐ[ZMod n] B) (x : A),
  (AddChar.traceChar B hζ) (e x) = (AddChar.traceChar A hζ) x

The character traceChar is invariant under isomorphisms of ZMod n-algebras.

theorem AddChar.traceChar_ne_one E1 #

∀ {R : Type u_2} [inst : CommRing R] {p : ℕ} [inst_1 : Fact (Nat.Prime p)] {F : Type u_3} [inst_2 : Field F] [Finite F]
  [inst_4 : Algebra (ZMod p) F] {ζ : R} (hζ : IsPrimitiveRoot ζ p), AddChar.traceChar F hζ ≠ 1

Over a finite field, the character traceChar is nontrivial.

theorem AddChar.isPrimitive_traceChar E1 #

∀ {R : Type u_2} [inst : CommRing R] {p : ℕ} [inst_1 : Fact (Nat.Prime p)] {F : Type u_3} [inst_2 : Field F] [Finite F]
  [inst_4 : Algebra (ZMod p) F] {ζ : R} (hζ : IsPrimitiveRoot ζ p), (AddChar.traceChar F hζ).IsPrimitive

Over a finite field, the character traceChar is primitive.

theorem AddChar.traceChar_apply_pow E1 #

∀ {R : Type u_2} [inst : CommRing R] {p : ℕ} [inst_1 : Fact (Nat.Prime p)] {F : Type u_3} [inst_2 : Field F] [Finite F]
  [inst_4 : Algebra (ZMod p) F] {ζ : R} (hζ : IsPrimitiveRoot ζ p) (x : F),
  (AddChar.traceChar F hζ) (x ^ p) = (AddChar.traceChar F hζ) x

Over a finite field, the character traceChar is invariant under the Frobenius x ↦ x ^ p.