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 / V05. Groups

Mathlib.Algebra.Group.AddChar

106 declarations and 8 deprecated aliases. Mathlib docs · Source

Characters from additive to multiplicative monoids

Let A be an additive monoid, and M a multiplicative one. An additive character of A with values in M is simply a map A → M which intertwines the addition operation on A with the multiplicative operation on M.

We define these objects, using the namespace AddChar, and show that if A is a commutative group under addition, then the additive characters are also a group (written multiplicatively). Note that we do not need M to be a group here.

We also include some constructions specific to the case when A = R is a ring; then we define mulShift ψ r, where ψ : AddChar R M and r : R, to be the character defined by x ↦ ψ (r * x).

For more refined results of a number-theoretic nature (primitive characters, Gauss sums, etc) see Mathlib/NumberTheory/LegendreSymbol/AddCharacter.lean.

Implementation notes

Due to their role as the dual of an additive group, additive characters must themselves be an additive group. This contrasts to their pointwise operations which make them a multiplicative group. We simply define both the additive and multiplicative group structures and prove them equal.

For more information on this design decision, see the following zulip thread: https://leanprover.zulipchat.com/#narrow/stream/116395-maths/topic/Additive.20characters

Tags

additive character

Definitions related to and results on additive characters

Additive characters of additive abelian groups

Additive characters of rings

def AddChar.ctorIdx E1 #

{A : Type u_1} → {inst : AddMonoid A} → {M : Type u_2} → {inst_1 : Monoid M} → AddChar A M → ℕ

theorem AddChar.mk.injEq E0 #

∀ {A : Type u_1} [inst : AddMonoid A] {M : Type u_2} [inst_1 : Monoid M] (toFun : A → M)
  (map_zero_eq_one' : toFun 0 = 1) (map_add_eq_mul' : ∀ (a b : A), toFun (a + b) = toFun a * toFun b) (toFun_1 : A → M)
  (map_zero_eq_one'_1 : toFun_1 0 = 1) (map_add_eq_mul'_1 : ∀ (a b : A), toFun_1 (a + b) = toFun_1 a * toFun_1 b),
  ({ toFun := toFun, map_zero_eq_one' := map_zero_eq_one', map_add_eq_mul' := map_add_eq_mul' } =
      { toFun := toFun_1, map_zero_eq_one' := map_zero_eq_one'_1, map_add_eq_mul' := map_add_eq_mul'_1 }) =
    (toFun = toFun_1)

theorem AddChar.mk.inj E1 #

∀ {A : Type u_1} {inst : AddMonoid A} {M : Type u_2} {inst_1 : Monoid M} {toFun : A → M}
  {map_zero_eq_one' : toFun 0 = 1} {map_add_eq_mul' : ∀ (a b : A), toFun (a + b) = toFun a * toFun b} {toFun_1 : A → M}
  {map_zero_eq_one'_1 : toFun_1 0 = 1} {map_add_eq_mul'_1 : ∀ (a b : A), toFun_1 (a + b) = toFun_1 a * toFun_1 b},
  { toFun := toFun, map_zero_eq_one' := map_zero_eq_one', map_add_eq_mul' := map_add_eq_mul' } =
      { toFun := toFun_1, map_zero_eq_one' := map_zero_eq_one'_1, map_add_eq_mul' := map_add_eq_mul'_1 } →
    toFun = toFun_1

theorem AddChar.mk.congr_simp E1 #

∀ {A : Type u_1} [inst : AddMonoid A] {M : Type u_2} [inst_1 : Monoid M] (toFun toFun_1 : A → M)
  (e_toFun : toFun = toFun_1) (map_zero_eq_one' : toFun 0 = 1)
  (map_add_eq_mul' : ∀ (a b : A), toFun (a + b) = toFun a * toFun b),
  { toFun := toFun, map_zero_eq_one' := map_zero_eq_one', map_add_eq_mul' := map_add_eq_mul' } =
    { toFun := toFun_1, map_zero_eq_one' := ⋯, map_add_eq_mul' := ⋯ }

structure AddChar E1 #

(A : Type u_1) → [AddMonoid A] → (M : Type u_2) → [Monoid M] → Type (max u_1 u_2)

AddChar A M is the type of maps A → M, for A an additive monoid and M a multiplicative monoid, which intertwine addition in A with multiplication in M.

We only put the typeclasses needed for the definition, although in practice we are usually interested in much more specific cases (e.g. when A is a group and M a commutative ring).

ctor AddChar.mk E0 #

{A : Type u_1} →
  [inst : AddMonoid A] →
    {M : Type u_2} →
      [inst_1 : Monoid M] →
        (toFun : A → M) → toFun 0 = 1 → (∀ (a b : A), toFun (a + b) = toFun a * toFun b) → AddChar A M

abbrev AddChar.toFun E1 #

{A : Type u_1} → [inst : AddMonoid A] → {M : Type u_2} → [inst_1 : Monoid M] → AddChar A M → A → M

The underlying function.

Do not use this function directly. Instead use the coercion coming from the FunLike instance.

theorem AddChar.map_zero_eq_one' E0 #

∀ {A : Type u_1} [inst : AddMonoid A] {M : Type u_2} [inst_1 : Monoid M] (self : AddChar A M), self.toFun 0 = 1

The function maps 0 to 1.

Do not use this directly. Instead use AddChar.map_zero_eq_one.

theorem AddChar.map_add_eq_mul' E0 #

∀ {A : Type u_1} [inst : AddMonoid A] {M : Type u_2} [inst_1 : Monoid M] (self : AddChar A M) (a b : A),
  self.toFun (a + b) = self.toFun a * self.toFun b

The function maps addition in A to multiplication in M.

Do not use this directly. Instead use AddChar.map_add_eq_mul.

instance AddChar.instFunLike E0 #

{A : Type u_1} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : Monoid M] → FunLike (AddChar A M) A M

Define coercion to a function.

theorem AddChar.ext_iff E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] {f g : AddChar A M},
  f = g ↔ ∀ (x : A), f x = g x

theorem AddChar.ext E1 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (f g : AddChar A M),
  (∀ (x : A), f x = g x) → f = g

theorem AddChar.coe_mk E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (f : A → M) (map_zero_eq_one' : f 0 = 1)
  (map_add_eq_mul' : ∀ (a b : A), f (a + b) = f a * f b),
  ⇑{ toFun := f, map_zero_eq_one' := map_zero_eq_one', map_add_eq_mul' := map_add_eq_mul' } = f

theorem AddChar.map_zero_eq_one E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : AddChar A M), ψ 0 = 1

An additive character maps 0 to 1.

theorem AddChar.map_add_eq_mul E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : AddChar A M) (x y : A),
  ψ (x + y) = ψ x * ψ y

An additive character maps sums to products.

def AddChar.toMonoidHom E1 #

{A : Type u_1} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : Monoid M] → AddChar A M → Multiplicative A →* M

Interpret an additive character as a monoid homomorphism.

theorem AddChar.toMonoidHom_apply E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : AddChar A M) (a : Multiplicative A),
  ψ.toMonoidHom a = ψ (Multiplicative.toAdd a)

theorem AddChar.map_nsmul_eq_pow E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : AddChar A M) (n : ℕ) (x : A),
  ψ (n • x) = ψ x ^ n

An additive character maps multiples by natural numbers to powers.

def AddChar.toMonoidHomEquiv E1 #

{A : Type u_1} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : Monoid M] → AddChar A M ≃ (Multiplicative A →* M)

Additive characters A → M are the same thing as monoid homomorphisms from Multiplicative A to M.

theorem AddChar.coe_toMonoidHomEquiv E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : AddChar A M),
  ⇑(AddChar.toMonoidHomEquiv ψ) = ⇑ψ ∘ ⇑Multiplicative.toAdd

theorem AddChar.coe_toMonoidHomEquiv_symm E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : Multiplicative A →* M),
  ⇑(AddChar.toMonoidHomEquiv.symm ψ) = ⇑ψ ∘ ⇑Multiplicative.ofAdd

theorem AddChar.toMonoidHomEquiv_apply E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : AddChar A M) (a : Multiplicative A),
  (AddChar.toMonoidHomEquiv ψ) a = ψ (Multiplicative.toAdd a)

theorem AddChar.toMonoidHomEquiv_symm_apply E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : Multiplicative A →* M) (a : A),
  (AddChar.toMonoidHomEquiv.symm ψ) a = ψ (Multiplicative.ofAdd a)

def AddChar.toAddMonoidHom E1 #

{A : Type u_1} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : Monoid M] → AddChar A M → A →+ Additive M

Interpret an additive character as a monoid homomorphism.

theorem AddChar.coe_toAddMonoidHom E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : AddChar A M),
  ⇑ψ.toAddMonoidHom = ⇑Additive.ofMul ∘ ⇑ψ

theorem AddChar.toAddMonoidHom_apply E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : AddChar A M) (a : A),
  ψ.toAddMonoidHom a = Additive.ofMul (ψ a)

def AddChar.toAddMonoidHomEquiv E1 #

{A : Type u_1} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : Monoid M] → AddChar A M ≃ (A →+ Additive M)

Additive characters A → M are the same thing as additive homomorphisms from A to Additive M.

theorem AddChar.coe_toAddMonoidHomEquiv E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : AddChar A M),
  ⇑(AddChar.toAddMonoidHomEquiv ψ) = ⇑Additive.ofMul ∘ ⇑ψ

theorem AddChar.coe_toAddMonoidHomEquiv_symm E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : A →+ Additive M),
  ⇑(AddChar.toAddMonoidHomEquiv.symm ψ) = ⇑Additive.toMul ∘ ⇑ψ

theorem AddChar.toAddMonoidHomEquiv_apply E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : AddChar A M) (a : A),
  (AddChar.toAddMonoidHomEquiv ψ) a = Additive.ofMul (ψ a)

theorem AddChar.toAddMonoidHomEquiv_symm_apply E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (ψ : A →+ Additive M) (a : A),
  (AddChar.toAddMonoidHomEquiv.symm ψ) a = Additive.toMul (ψ a)

instance AddChar.instOne E0 #

{A : Type u_1} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : Monoid M] → One (AddChar A M)

The trivial additive character (sending everything to 1).

instance AddChar.instIsOneApply E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M], IsOneApply (AddChar A M)

instance AddChar.instZero E0 #

{A : Type u_1} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : Monoid M] → Zero (AddChar A M)

The trivial additive character (sending everything to 1).

theorem AddChar.coe_zero E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M], ⇑0 = 1

theorem AddChar.zero_apply E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] (a : A), 0 a = 1

theorem AddChar.one_eq_zero E1 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M], 1 = 0

theorem AddChar.coe_eq_one E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] {ψ : AddChar A M}, ⇑ψ = 1 ↔ ψ = 0

theorem AddChar.toMonoidHomEquiv_zero E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M], AddChar.toMonoidHomEquiv 0 = 1

theorem AddChar.toMonoidHomEquiv_symm_one E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M], AddChar.toMonoidHomEquiv.symm 1 = 0

theorem AddChar.toAddMonoidHomEquiv_zero E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M], AddChar.toAddMonoidHomEquiv 0 = 0

theorem AddChar.toAddMonoidHomEquiv_symm_zero E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M], AddChar.toAddMonoidHomEquiv.symm 0 = 0

instance AddChar.instInhabited E0 #

{A : Type u_1} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : Monoid M] → Inhabited (AddChar A M)

def MonoidHom.compAddChar E1 #

{A : Type u_1} →
  {M : Type u_3} →
    [inst : AddMonoid A] →
      [inst_1 : Monoid M] → {N : Type u_5} → [inst_2 : Monoid N] → (M →* N) → AddChar A M → AddChar A N

Composing a MonoidHom with an AddChar yields another AddChar.

theorem MonoidHom.coe_compAddChar E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] {N : Type u_5} [inst_2 : Monoid N] (f : M →* N)
  (φ : AddChar A M), ⇑(f.compAddChar φ) = ⇑f ∘ ⇑φ

theorem MonoidHom.compAddChar_apply E0 #

∀ {A : Type u_1} {M : Type u_3} {N : Type u_4} [inst : AddMonoid A] [inst_1 : Monoid M] [inst_2 : Monoid N] (f : M →* N)
  (φ : AddChar A M), ⇑(f.compAddChar φ) = ⇑f ∘ ⇑φ

theorem MonoidHom.compAddChar_injective_left E1 #

∀ {A : Type u_1} {M : Type u_3} {N : Type u_4} [inst : AddMonoid A] [inst_1 : Monoid M] [inst_2 : Monoid N]
  (ψ : AddChar A M), Function.Surjective ⇑ψ → Function.Injective fun f ↦ f.compAddChar ψ

theorem MonoidHom.compAddChar_injective_right E1 #

∀ {B : Type u_2} {M : Type u_3} {N : Type u_4} [inst : AddMonoid B] [inst_1 : Monoid M] [inst_2 : Monoid N]
  (f : M →* N), Function.Injective ⇑f → Function.Injective fun ψ ↦ f.compAddChar ψ

def AddChar.compAddMonoidHom E1 #

{A : Type u_1} →
  {B : Type u_2} →
    {M : Type u_3} →
      [inst : AddMonoid A] → [inst_1 : AddMonoid B] → [inst_2 : Monoid M] → AddChar B M → (A →+ B) → AddChar A M

Composing an AddChar with an AddMonoidHom yields another AddChar.

theorem AddChar.coe_compAddMonoidHom E0 #

∀ {A : Type u_1} {B : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : AddMonoid B] [inst_2 : Monoid M]
  (φ : AddChar B M) (f : A →+ B), ⇑(φ.compAddMonoidHom f) = ⇑φ ∘ ⇑f

theorem AddChar.compAddMonoidHom_apply E0 #

∀ {A : Type u_1} {B : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : AddMonoid B] [inst_2 : Monoid M]
  (ψ : AddChar B M) (f : A →+ B) (a : A), (ψ.compAddMonoidHom f) a = ψ (f a)

theorem AddChar.compAddMonoidHom_injective_left E1 #

∀ {A : Type u_1} {B : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : AddMonoid B] [inst_2 : Monoid M]
  (f : A →+ B), Function.Surjective ⇑f → Function.Injective fun ψ ↦ ψ.compAddMonoidHom f

theorem AddChar.compAddMonoidHom_injective_right E1 #

∀ {A : Type u_1} {B : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : AddMonoid B] [inst_2 : Monoid M]
  (ψ : AddChar B M), Function.Injective ⇑ψ → Function.Injective fun f ↦ ψ.compAddMonoidHom f

theorem AddChar.ne_one_iff E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] {ψ : AddChar A M}, ψ ≠ 1 ↔ ∃ x, ψ x ≠ 1

theorem AddChar.ne_zero_iff E0 #

∀ {A : Type u_1} {M : Type u_3} [inst : AddMonoid A] [inst_1 : Monoid M] {ψ : AddChar A M}, ψ ≠ 0 ↔ ∃ x, ψ x ≠ 1

instance AddChar.instDecidableEq E0 #

{A : Type u_1} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : Monoid M] → DecidableEq (AddChar A M)

instance AddChar.instCommMonoid E0 #

{A : Type u_2} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : CommMonoid M] → CommMonoid (AddChar A M)

When M is commutative, AddChar A M is a commutative monoid.

instance AddChar.instAddCommMonoid E0 #

{A : Type u_2} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : CommMonoid M] → AddCommMonoid (AddChar A M)

When M is commutative, AddChar A M is an additive commutative monoid.

instance AddChar.instIsMulApply E0 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M], IsMulApply (AddChar A M)

instance AddChar.instIsPowApplyNat E0 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M], IsPowApply ℕ (AddChar A M)

theorem AddChar.coe_add E0 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (ψ χ : AddChar A M), ⇑(ψ + χ) = ⇑ψ * ⇑χ

theorem AddChar.coe_nsmul E0 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (n : ℕ) (ψ : AddChar A M),
  ⇑(n • ψ) = ⇑ψ ^ n

theorem AddChar.coe_sum E0 #

∀ {ι : Type u_1} {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (s : Finset ι)
  (ψ : ι → AddChar A M), ⇑(∑ i ∈ s, ψ i) = ∏ i ∈ s, ⇑(ψ i)

theorem AddChar.add_apply E0 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (ψ φ : AddChar A M) (a : A),
  (ψ + φ) a = ψ a * φ a

theorem AddChar.nsmul_apply E0 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (ψ : AddChar A M) (n : ℕ) (a : A),
  (n • ψ) a = ψ a ^ n

theorem AddChar.sum_apply E0 #

∀ {ι : Type u_1} {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (s : Finset ι)
  (ψ : ι → AddChar A M) (a : A), (∑ i ∈ s, ψ i) a = ∏ i ∈ s, (ψ i) a

theorem AddChar.mul_eq_add E1 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (ψ χ : AddChar A M), ψ * χ = ψ + χ

theorem AddChar.pow_eq_nsmul E1 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (ψ : AddChar A M) (n : ℕ), ψ ^ n = n • ψ

theorem AddChar.prod_eq_sum E1 #

∀ {ι : Type u_1} {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (s : Finset ι)
  (ψ : ι → AddChar A M), ∏ i ∈ s, ψ i = ∑ i ∈ s, ψ i

theorem AddChar.toMonoidHomEquiv_add E0 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (ψ φ : AddChar A M),
  AddChar.toMonoidHomEquiv (ψ + φ) = AddChar.toMonoidHomEquiv ψ * AddChar.toMonoidHomEquiv φ

theorem AddChar.toMonoidHomEquiv_symm_mul E0 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (ψ φ : Multiplicative A →* M),
  AddChar.toMonoidHomEquiv.symm (ψ * φ) = AddChar.toMonoidHomEquiv.symm ψ + AddChar.toMonoidHomEquiv.symm φ

def AddChar.toMonoidHomMulEquiv E1 #

{A : Type u_2} →
  {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : CommMonoid M] → AddChar A M ≃* (Multiplicative A →* M)

The natural equivalence to (Multiplicative A →* M) is a monoid isomorphism.

def AddChar.toAddMonoidAddEquiv E1 #

{A : Type u_2} →
  {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : CommMonoid M] → Additive (AddChar A M) ≃+ (A →+ Additive M)

Additive characters A → M are the same thing as additive homomorphisms from A to Additive M.

def AddChar.doubleDualEmb E1 #

{A : Type u_2} → {M : Type u_3} → [inst : AddMonoid A] → [inst_1 : CommMonoid M] → A →+ AddChar (AddChar A M) M

The double dual embedding.

theorem AddChar.doubleDualEmb_apply E0 #

∀ {A : Type u_2} {M : Type u_3} [inst : AddMonoid A] [inst_1 : CommMonoid M] (a : A) (ψ : AddChar A M),
  (AddChar.doubleDualEmb a) ψ = ψ a

theorem AddChar.sum_eq_ite E1 #

∀ {A : Type u_1} {R : Type u_2} [inst : AddGroup A] [inst_1 : Fintype A] [inst_2 : CommSemiring R] [IsDomain R]
  (ψ : AddChar A R) [inst_4 : Decidable (ψ = 0)], ∑ a, ψ a = if ψ = 0 then ↑(Fintype.card A) else 0

theorem AddChar.sum_eq_zero_iff_ne_zero E1 #

∀ {A : Type u_1} {R : Type u_2} [inst : AddGroup A] [inst_1 : Fintype A] [inst_2 : CommSemiring R] [IsDomain R]
  {ψ : AddChar A R} [CharZero R], ∑ x, ψ x = 0 ↔ ψ ≠ 0

theorem AddChar.sum_ne_zero_iff_eq_zero E1 #

∀ {A : Type u_1} {R : Type u_2} [inst : AddGroup A] [inst_1 : Fintype A] [inst_2 : CommSemiring R] [IsDomain R]
  {ψ : AddChar A R} [CharZero R], ∑ x, ψ x ≠ 0 ↔ ψ = 0

instance AddChar.instCommGroup E0 #

{A : Type u_1} → {M : Type u_2} → [inst : AddCommGroup A] → [inst_1 : CommMonoid M] → CommGroup (AddChar A M)

The additive characters on a commutative additive group form a commutative group.

Note that the inverse is defined using negation on the domain; we do not assume M has an inversion operation for the definition (but see AddChar.map_neg_eq_inv below).

instance AddChar.instAddCommGroup E0 #

{A : Type u_1} → {M : Type u_2} → [inst : AddCommGroup A] → [inst_1 : CommMonoid M] → AddCommGroup (AddChar A M)

The additive characters on a commutative additive group form a commutative group.

theorem AddChar.inv_apply E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : CommMonoid M] (ψ : AddChar A M) (a : A),
  ψ⁻¹ a = ψ (-a)

theorem AddChar.neg_apply E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : CommMonoid M] (ψ : AddChar A M) (a : A),
  (-ψ) a = ψ (-a)

theorem AddChar.div_apply E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : CommMonoid M] (ψ χ : AddChar A M) (a : A),
  (ψ / χ) a = ψ a * χ (-a)

theorem AddChar.sub_apply E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : CommMonoid M] (ψ χ : AddChar A M) (a : A),
  (ψ - χ) a = ψ a * χ (-a)

theorem AddChar.val_isUnit E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddGroup A] [inst_1 : Monoid M] (φ : AddChar A M) (a : A), IsUnit (φ a)

The values of an additive character on an additive group are units.

theorem AddChar.map_neg_eq_inv E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddGroup A] [inst_1 : DivisionMonoid M] (ψ : AddChar A M) (a : A),
  ψ (-a) = (ψ a)⁻¹

An additive character maps negatives to inverses (when defined)

theorem AddChar.map_zsmul_eq_zpow E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddGroup A] [inst_1 : DivisionMonoid M] (ψ : AddChar A M) (n : ℤ) (a : A),
  ψ (n • a) = ψ a ^ n

An additive character maps integer scalar multiples to integer powers.

theorem AddChar.inv_apply' E1 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : DivisionCommMonoid M] (ψ : AddChar A M) (a : A),
  ψ⁻¹ a = (ψ a)⁻¹

theorem AddChar.neg_apply' E1 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : DivisionCommMonoid M] (ψ : AddChar A M) (a : A),
  (-ψ) a = (ψ a)⁻¹

theorem AddChar.div_apply' E1 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : DivisionCommMonoid M] (ψ χ : AddChar A M) (a : A),
  (ψ / χ) a = ψ a / χ a

theorem AddChar.sub_apply' E1 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : DivisionCommMonoid M] (ψ χ : AddChar A M) (a : A),
  (ψ - χ) a = ψ a / χ a

theorem AddChar.zsmul_apply E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : DivisionCommMonoid M] (n : ℤ) (ψ : AddChar A M)
  (a : A), (n • ψ) a = ψ a ^ n

theorem AddChar.zpow_apply E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : DivisionCommMonoid M] (ψ : AddChar A M) (n : ℤ)
  (a : A), (ψ ^ n) a = ψ a ^ n

theorem AddChar.map_sub_eq_div E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : DivisionCommMonoid M] (ψ : AddChar A M) (a b : A),
  ψ (a - b) = ψ a / ψ b

theorem AddChar.injective_iff E0 #

∀ {A : Type u_1} {M : Type u_2} [inst : AddCommGroup A] [inst_1 : DivisionCommMonoid M] {ψ : AddChar A M},
  Function.Injective ⇑ψ ↔ ∀ ⦃x : A⦄, ψ x = 1 → x = 0

theorem AddChar.coe_ne_zero E0 #

∀ {A : Type u_1} {M₀ : Type u_2} [inst : AddGroup A] [inst_1 : MonoidWithZero M₀] [Nontrivial M₀] (ψ : AddChar A M₀),
  ⇑ψ ≠ 0

def AddChar.mulShift E1 #

{R : Type u_1} → {M : Type u_2} → [inst : Ring R] → [inst_1 : CommMonoid M] → AddChar R M → R → AddChar R M

Define the multiplicative shift of an additive character. This satisfies mulShift ψ a x = ψ (a * x).

theorem AddChar.mulShift_apply E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : CommMonoid M] {ψ : AddChar R M} {r x : R},
  (ψ.mulShift r) x = ψ (r * x)

theorem AddChar.inv_mulShift E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : CommMonoid M] (ψ : AddChar R M), ψ⁻¹ = ψ.mulShift (-1)

ψ⁻¹ = mulShift ψ (-1).

theorem AddChar.mulShift_spec' E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : CommMonoid M] (ψ : AddChar R M) (n : ℕ) (x : R),
  (ψ.mulShift ↑n) x = ψ x ^ n

If n is a natural number, then mulShift ψ n x = (ψ x) ^ n.

theorem AddChar.pow_mulShift E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : CommMonoid M] (ψ : AddChar R M) (n : ℕ), ψ ^ n = ψ.mulShift ↑n

If n is a natural number, then ψ ^ n = mulShift ψ n.

theorem AddChar.mulShift_mul E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : CommMonoid M] (ψ : AddChar R M) (r s : R),
  ψ.mulShift r * ψ.mulShift s = ψ.mulShift (r + s)

The product of mulShift ψ r and mulShift ψ s is mulShift ψ (r + s).

theorem AddChar.mulShift_mulShift E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : CommMonoid M] (ψ : AddChar R M) (r s : R),
  (ψ.mulShift r).mulShift s = ψ.mulShift (r * s)

theorem AddChar.mulShift_zero E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : CommMonoid M] (ψ : AddChar R M), ψ.mulShift 0 = 1

mulShift ψ 0 is the trivial character.

theorem AddChar.mulShift_one E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : CommMonoid M] (ψ : AddChar R M), ψ.mulShift 1 = ψ

theorem AddChar.mulShift_unit_eq_one_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : Ring R] [inst_1 : CommMonoid M] (ψ : AddChar R M) {u : R},
  IsUnit u → (ψ.mulShift u = 1 ↔ ψ = 1)

Deprecated aliases

NameNew nameSince
AddChar.coe_mulFunLike.coe_mul2026-10-26
AddChar.coe_oneFunLike.coe_one2026-10-26
AddChar.coe_powFunLike.coe_pow2026-10-26
AddChar.coe_prodFunLike.coe_prod2026-10-26
AddChar.mul_applymul_apply2026-10-26
AddChar.one_applyone_apply2026-10-26
AddChar.pow_applypow_apply2026-10-26
AddChar.prod_applyprod_apply2026-10-26