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 / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.Algebra.MonoidAlgebra.MapDomain

163 declarations and 6 deprecated aliases. Mathlib docs · Source

Maps of monoid algebras

This file defines maps of monoid algebras along both the ring and monoid arguments.

Conversions between AddMonoidAlgebra and MonoidAlgebra

theorem RingEquiv.ofRingHom.congr_simp E1 #

∀ {R : Type u_4} {S : Type u_5} [inst : NonAssocSemiring R] [inst_1 : NonAssocSemiring S] (f f_1 : R →+* S)
  (e_f : f = f_1) (g g_1 : S →+* R) (e_g : g = g_1) (h₁ : f.comp g = RingHom.id S) (h₂ : g.comp f = RingHom.id R),
  RingEquiv.ofRingHom f g h₁ h₂ = RingEquiv.ofRingHom f_1 g_1 ⋯ ⋯

theorem MonoidAlgebra.comapDomain.congr_simp E1 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f f_1 : M → N) (e_f : f = f_1)
  (hf : Function.Injective f) (x x_1 : MonoidAlgebra R N),
  x = x_1 → MonoidAlgebra.comapDomain f hf x = MonoidAlgebra.comapDomain f_1 ⋯ x_1

def MonoidAlgebra.mapDomain E1 #

{R : Type u_3} → {M : Type u_6} → {N : Type u_7} → [inst : Semiring R] → (M → N) → MonoidAlgebra R M → MonoidAlgebra R N

Given a function f : M → N between magmas, return the corresponding map R[M] → R[N] obtained by summing the coefficients along each fiber of f.

theorem AddMonoidAlgebra.coeff_mapDomain E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (x : AddMonoidAlgebra R M),
  (AddMonoidAlgebra.mapDomain f x).coeff = Finsupp.mapDomain f x.coeff

def AddMonoidAlgebra.mapDomain E1 #

{R : Type u_3} →
  {M : Type u_6} → {N : Type u_7} → [inst : Semiring R] → (M → N) → AddMonoidAlgebra R M → AddMonoidAlgebra R N

Given a function f : M → N between magmas, return the corresponding map R[M] → R[N] obtained by summing the coefficients along each fiber of f.

theorem MonoidAlgebra.coeff_mapDomain E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (x : MonoidAlgebra R M),
  (MonoidAlgebra.mapDomain f x).coeff = Finsupp.mapDomain f x.coeff

theorem MonoidAlgebra.mapDomain_zero E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N), MonoidAlgebra.mapDomain f 0 = 0

theorem AddMonoidAlgebra.mapDomain_zero E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N), AddMonoidAlgebra.mapDomain f 0 = 0

theorem AddMonoidAlgebra.mapDomain_add E1 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (x y : AddMonoidAlgebra R M),
  AddMonoidAlgebra.mapDomain f (x + y) = AddMonoidAlgebra.mapDomain f x + AddMonoidAlgebra.mapDomain f y

theorem MonoidAlgebra.mapDomain_add E1 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (x y : MonoidAlgebra R M),
  MonoidAlgebra.mapDomain f (x + y) = MonoidAlgebra.mapDomain f x + MonoidAlgebra.mapDomain f y

theorem MonoidAlgebra.mapDomain_sum E1 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Semiring S] (f : M → N)
  (x : MonoidAlgebra S M) (v : M → S → MonoidAlgebra R M),
  MonoidAlgebra.mapDomain f (x.coeff.sum v) = x.coeff.sum fun a b ↦ MonoidAlgebra.mapDomain f (v a b)

theorem AddMonoidAlgebra.mapDomain_sum E1 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Semiring S] (f : M → N)
  (x : AddMonoidAlgebra S M) (v : M → S → AddMonoidAlgebra R M),
  AddMonoidAlgebra.mapDomain f (x.coeff.sum v) = x.coeff.sum fun a b ↦ AddMonoidAlgebra.mapDomain f (v a b)

theorem MonoidAlgebra.mapDomain_single E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] {f : M → N} {a : M} {r : R},
  MonoidAlgebra.mapDomain f (MonoidAlgebra.single a r) = MonoidAlgebra.single (f a) r

theorem AddMonoidAlgebra.mapDomain_single E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] {f : M → N} {a : M} {r : R},
  AddMonoidAlgebra.mapDomain f (AddMonoidAlgebra.single a r) = AddMonoidAlgebra.single (f a) r

theorem MonoidAlgebra.mapDomain_injective E1 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] {f : M → N},
  Function.Injective f → Function.Injective (MonoidAlgebra.mapDomain f)

theorem AddMonoidAlgebra.mapDomain_injective E1 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] {f : M → N},
  Function.Injective f → Function.Injective (AddMonoidAlgebra.mapDomain f)

theorem AddMonoidAlgebra.mapDomain_one E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Zero M] [inst_2 : Zero N] {F : Type u_9}
  [inst_3 : FunLike F M N] [ZeroHomClass F M N] (f : F), AddMonoidAlgebra.mapDomain (⇑f) 1 = 1

theorem MonoidAlgebra.mapDomain_one E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : One M] [inst_2 : One N] {F : Type u_9}
  [inst_3 : FunLike F M N] [OneHomClass F M N] (f : F), MonoidAlgebra.mapDomain (⇑f) 1 = 1

def MonoidAlgebra.map E1 #

{R : Type u_3} →
  {S : Type u_4} →
    {M : Type u_6} → [inst : Semiring R] → [inst_1 : Semiring S] → (R →+ S) → MonoidAlgebra R M → MonoidAlgebra S M

Given a map f : R →+ S, return the corresponding map R[M] → S[M] obtained by mapping each coefficient along f.

def AddMonoidAlgebra.map E1 #

{R : Type u_3} →
  {S : Type u_4} →
    {M : Type u_6} →
      [inst : Semiring R] → [inst_1 : Semiring S] → (R →+ S) → AddMonoidAlgebra R M → AddMonoidAlgebra S M

Given a map f : R →+ S, return the corresponding map R[M] → S[M] obtained by mapping each coefficient along f.

theorem MonoidAlgebra.coeff_map E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S)
  (x : MonoidAlgebra R M), (MonoidAlgebra.map f x).coeff = Finsupp.mapRange ⇑f ⋯ x.coeff

theorem AddMonoidAlgebra.coeff_map E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S)
  (x : AddMonoidAlgebra R M), (AddMonoidAlgebra.map f x).coeff = Finsupp.mapRange ⇑f ⋯ x.coeff

theorem MonoidAlgebra.ofCoeff_mapRange E1 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S) (x : M →₀ R),
  MonoidAlgebra.ofCoeff (Finsupp.mapRange ⇑f ⋯ x) = MonoidAlgebra.map f (MonoidAlgebra.ofCoeff x)

This isn't marked as simp to avoid looping with unfolding coeff.

theorem AddMonoidAlgebra.ofCoeff_mapRange E1 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S) (x : M →₀ R),
  AddMonoidAlgebra.ofCoeff (Finsupp.mapRange ⇑f ⋯ x) = AddMonoidAlgebra.map f (AddMonoidAlgebra.ofCoeff x)

This isn't marked as simp to avoid looping with unfolding coeff.

theorem MonoidAlgebra.map_zero E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S),
  MonoidAlgebra.map f 0 = 0

theorem AddMonoidAlgebra.map_zero E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S),
  AddMonoidAlgebra.map f 0 = 0

theorem AddMonoidAlgebra.map_add E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S)
  (x y : AddMonoidAlgebra R M), AddMonoidAlgebra.map f (x + y) = AddMonoidAlgebra.map f x + AddMonoidAlgebra.map f y

theorem MonoidAlgebra.map_add E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S)
  (x y : MonoidAlgebra R M), MonoidAlgebra.map f (x + y) = MonoidAlgebra.map f x + MonoidAlgebra.map f y

theorem AddMonoidAlgebra.map_sum E0 #

∀ {ι : Type u_1} {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S)
  (s : Finset ι) (x : ι → AddMonoidAlgebra R M),
  AddMonoidAlgebra.map f (∑ i ∈ s, x i) = ∑ i ∈ s, AddMonoidAlgebra.map f (x i)

theorem MonoidAlgebra.map_sum E0 #

∀ {ι : Type u_1} {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S)
  (s : Finset ι) (x : ι → MonoidAlgebra R M), MonoidAlgebra.map f (∑ i ∈ s, x i) = ∑ i ∈ s, MonoidAlgebra.map f (x i)

theorem AddMonoidAlgebra.map_single E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S) (r : R) (m : M),
  AddMonoidAlgebra.map f (AddMonoidAlgebra.single m r) = AddMonoidAlgebra.single m (f r)

theorem MonoidAlgebra.map_single E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S) (r : R) (m : M),
  MonoidAlgebra.map f (MonoidAlgebra.single m r) = MonoidAlgebra.single m (f r)

theorem AddMonoidAlgebra.map_id E0 #

∀ {R : Type u_3} {M : Type u_6} [inst : Semiring R] (x : AddMonoidAlgebra R M),
  AddMonoidAlgebra.map (AddMonoidHom.id R) x = x

theorem MonoidAlgebra.map_id E0 #

∀ {R : Type u_3} {M : Type u_6} [inst : Semiring R] (x : MonoidAlgebra R M), MonoidAlgebra.map (AddMonoidHom.id R) x = x

theorem AddMonoidAlgebra.map_map E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : Semiring T] (f : S →+ T) (g : R →+ S) (x : AddMonoidAlgebra R M),
  AddMonoidAlgebra.map f (AddMonoidAlgebra.map g x) = AddMonoidAlgebra.map (f.comp g) x

theorem MonoidAlgebra.map_map E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : Semiring T] (f : S →+ T) (g : R →+ S) (x : MonoidAlgebra R M),
  MonoidAlgebra.map f (MonoidAlgebra.map g x) = MonoidAlgebra.map (f.comp g) x

theorem AddMonoidAlgebra.range_map E1 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S),
  Set.range (AddMonoidAlgebra.map f) = {x | ∀ (i : M), x.coeff i ∈ Set.range ⇑f}

theorem MonoidAlgebra.range_map E1 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S),
  Set.range (MonoidAlgebra.map f) = {x | ∀ (i : M), x.coeff i ∈ Set.range ⇑f}

theorem MonoidAlgebra.map_injective E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S),
  Function.Injective ⇑f → Function.Injective (MonoidAlgebra.map f)

MonoidAlgebra.map of an injective function is injective.

theorem AddMonoidAlgebra.map_injective E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S),
  Function.Injective ⇑f → Function.Injective (AddMonoidAlgebra.map f)

AddMonoidAlgebra.map of an injective function is injective.

theorem MonoidAlgebra.map_surjective E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S),
  Function.Surjective ⇑f → Function.Surjective (MonoidAlgebra.map f)

MonoidAlgebra.map of a surjective function is surjective.

theorem AddMonoidAlgebra.map_surjective E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R →+ S),
  Function.Surjective ⇑f → Function.Surjective (AddMonoidAlgebra.map f)

AddMonoidAlgebra.map of an surjective function is surjective.

def MonoidAlgebra.comapDomain E1 #

{R : Type u_3} →
  {M : Type u_6} →
    {N : Type u_7} → [inst : Semiring R] → (f : M → N) → Function.Injective f → MonoidAlgebra R N → MonoidAlgebra R M

Pullback the coefficients of an element of R[N] under an injective f : M → N.

Coefficients not in the range of f are dropped.

def AddMonoidAlgebra.comapDomain E1 #

{R : Type u_3} →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] → (f : M → N) → Function.Injective f → AddMonoidAlgebra R N → AddMonoidAlgebra R M

Pullback the coefficients of an element of R[N] under an injective f : M → N.

Coefficients not in the range of f are dropped.

theorem AddMonoidAlgebra.coeff_comapDomain E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (hf : Function.Injective f)
  (x : AddMonoidAlgebra R N), (AddMonoidAlgebra.comapDomain f hf x).coeff = Finsupp.comapDomain f x.coeff ⋯

theorem MonoidAlgebra.coeff_comapDomain E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (hf : Function.Injective f)
  (x : MonoidAlgebra R N), (MonoidAlgebra.comapDomain f hf x).coeff = Finsupp.comapDomain f x.coeff ⋯

theorem AddMonoidAlgebra.comapDomain_zero E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (hf : Function.Injective f),
  AddMonoidAlgebra.comapDomain f hf 0 = 0

theorem MonoidAlgebra.comapDomain_zero E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (hf : Function.Injective f),
  MonoidAlgebra.comapDomain f hf 0 = 0

theorem AddMonoidAlgebra.comapDomain_add E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (hf : Function.Injective f)
  (x y : AddMonoidAlgebra R N),
  AddMonoidAlgebra.comapDomain f hf (x + y) = AddMonoidAlgebra.comapDomain f hf x + AddMonoidAlgebra.comapDomain f hf y

theorem MonoidAlgebra.comapDomain_add E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (hf : Function.Injective f)
  (x y : MonoidAlgebra R N),
  MonoidAlgebra.comapDomain f hf (x + y) = MonoidAlgebra.comapDomain f hf x + MonoidAlgebra.comapDomain f hf y

theorem AddMonoidAlgebra.comapDomain_single_of_notMem_range E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] {f : M → N} {r : R} {n : N},
  n ∉ Set.range f → ∀ (hf : Function.Injective f), AddMonoidAlgebra.comapDomain f hf (AddMonoidAlgebra.single n r) = 0

theorem MonoidAlgebra.comapDomain_single_of_notMem_range E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] {f : M → N} {r : R} {n : N},
  n ∉ Set.range f → ∀ (hf : Function.Injective f), MonoidAlgebra.comapDomain f hf (MonoidAlgebra.single n r) = 0

def MonoidAlgebra.comapDomainAddMonoidHom E1 #

{R : Type u_3} →
  {M : Type u_6} →
    {N : Type u_7} → [inst : Semiring R] → (f : M → N) → Function.Injective f → MonoidAlgebra R N →+ MonoidAlgebra R M

comapDomain as an AddMonoidHom.

theorem AddMonoidAlgebra.comapDomainAddMonoidHom_apply E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (hf : Function.Injective f)
  (x : AddMonoidAlgebra R N), (AddMonoidAlgebra.comapDomainAddMonoidHom f hf) x = AddMonoidAlgebra.comapDomain f hf x

def AddMonoidAlgebra.comapDomainAddMonoidHom E1 #

{R : Type u_3} →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] → (f : M → N) → Function.Injective f → AddMonoidAlgebra R N →+ AddMonoidAlgebra R M

comapDomain as an AddMonoidHom.

theorem MonoidAlgebra.comapDomainAddMonoidHom_apply E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (hf : Function.Injective f)
  (x : MonoidAlgebra R N), (MonoidAlgebra.comapDomainAddMonoidHom f hf) x = MonoidAlgebra.comapDomain f hf x

theorem MonoidAlgebra.comapDomain_single_map E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (hf : Function.Injective f) (m : M)
  (r : R), MonoidAlgebra.comapDomain f hf (MonoidAlgebra.single (f m) r) = MonoidAlgebra.single m r

theorem AddMonoidAlgebra.comapDomain_single_map E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] (f : M → N) (hf : Function.Injective f) (m : M)
  (r : R), AddMonoidAlgebra.comapDomain f hf (AddMonoidAlgebra.single (f m) r) = AddMonoidAlgebra.single m r

theorem MonoidAlgebra.mapDomain_comapDomain E1 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] {f : M → N} {x : MonoidAlgebra R N},
  ↑x.coeff.support ⊆ Set.range f →
    ∀ (hf : Function.Injective f), MonoidAlgebra.mapDomain f (MonoidAlgebra.comapDomain f hf x) = x

theorem AddMonoidAlgebra.mapDomain_comapDomain E1 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] {f : M → N} {x : AddMonoidAlgebra R N},
  ↑x.coeff.support ⊆ Set.range f →
    ∀ (hf : Function.Injective f), AddMonoidAlgebra.mapDomain f (AddMonoidAlgebra.comapDomain f hf x) = x

theorem AddMonoidAlgebra.mapDomain_mul E1 #

∀ {F : Type u_2} {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Add M] [inst_2 : Add N]
  [inst_3 : FunLike F M N] [AddHomClass F M N] (f : F) (x y : AddMonoidAlgebra R M),
  AddMonoidAlgebra.mapDomain (⇑f) (x * y) = AddMonoidAlgebra.mapDomain (⇑f) x * AddMonoidAlgebra.mapDomain (⇑f) y

theorem MonoidAlgebra.mapDomain_mul E1 #

∀ {F : Type u_2} {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Mul M] [inst_2 : Mul N]
  [inst_3 : FunLike F M N] [MulHomClass F M N] (f : F) (x y : MonoidAlgebra R M),
  MonoidAlgebra.mapDomain (⇑f) (x * y) = MonoidAlgebra.mapDomain (⇑f) x * MonoidAlgebra.mapDomain (⇑f) y

def MonoidAlgebra.mapDomainNonUnitalRingHom E1 #

(R : Type u_3) →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] → [inst_1 : Mul M] → [inst_2 : Mul N] → (M →ₙ* N) → MonoidAlgebra R M →ₙ+* MonoidAlgebra R N

If f : G → H is a multiplicative homomorphism between two monoids, then MonoidAlgebra.mapDomain f is a ring homomorphism between their monoid algebras.

theorem AddMonoidAlgebra.mapDomainNonUnitalRingHom_apply E0 #

∀ (R : Type u_3) {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Add M] [inst_2 : Add N] (f : M →ₙ+ N)
  (x : AddMonoidAlgebra R M), (AddMonoidAlgebra.mapDomainNonUnitalRingHom R f) x = AddMonoidAlgebra.mapDomain (⇑f) x

theorem MonoidAlgebra.mapDomainNonUnitalRingHom_apply E0 #

∀ (R : Type u_3) {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Mul M] [inst_2 : Mul N] (f : M →ₙ* N)
  (x : MonoidAlgebra R M), (MonoidAlgebra.mapDomainNonUnitalRingHom R f) x = MonoidAlgebra.mapDomain (⇑f) x

def AddMonoidAlgebra.mapDomainNonUnitalRingHom E1 #

(R : Type u_3) →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] →
        [inst_1 : Add M] → [inst_2 : Add N] → (M →ₙ+ N) → AddMonoidAlgebra R M →ₙ+* AddMonoidAlgebra R N

If f : G → H is a multiplicative homomorphism between two additive monoids, then AddMonoidAlgebra.mapDomain f is a ring homomorphism between their additive monoid algebras.

theorem AddMonoidAlgebra.mapDomainNonUnitalRingHom_id E0 #

∀ {R : Type u_3} {M : Type u_6} [inst : Semiring R] [inst_1 : Add M],
  AddMonoidAlgebra.mapDomainNonUnitalRingHom R (AddHom.id M) = NonUnitalRingHom.id (AddMonoidAlgebra R M)

theorem MonoidAlgebra.mapDomainNonUnitalRingHom_id E0 #

∀ {R : Type u_3} {M : Type u_6} [inst : Semiring R] [inst_1 : Mul M],
  MonoidAlgebra.mapDomainNonUnitalRingHom R (MulHom.id M) = NonUnitalRingHom.id (MonoidAlgebra R M)

theorem AddMonoidAlgebra.mapDomainNonUnitalRingHom_comp E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} {O : Type u_8} [inst : Semiring R] [inst_1 : Add M] [inst_2 : Add N]
  [inst_3 : Add O] (f : N →ₙ+ O) (g : M →ₙ+ N),
  AddMonoidAlgebra.mapDomainNonUnitalRingHom R (f.comp g) =
    (AddMonoidAlgebra.mapDomainNonUnitalRingHom R f).comp (AddMonoidAlgebra.mapDomainNonUnitalRingHom R g)

theorem MonoidAlgebra.mapDomainNonUnitalRingHom_comp E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} {O : Type u_8} [inst : Semiring R] [inst_1 : Mul M] [inst_2 : Mul N]
  [inst_3 : Mul O] (f : N →ₙ* O) (g : M →ₙ* N),
  MonoidAlgebra.mapDomainNonUnitalRingHom R (f.comp g) =
    (MonoidAlgebra.mapDomainNonUnitalRingHom R f).comp (MonoidAlgebra.mapDomainNonUnitalRingHom R g)

def MonoidAlgebra.mapDomainAddEquiv E1 #

(R : Type u_3) →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] → [inst_1 : Mul M] → [inst_2 : Mul N] → M ≃ N → MonoidAlgebra R M ≃+ MonoidAlgebra R N

Equivalent monoids have additively isomorphic monoid algebras.

MonoidAlgebra.mapDomain as an AddEquiv.

def AddMonoidAlgebra.mapDomainAddEquiv E1 #

(R : Type u_3) →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] → [inst_1 : Add M] → [inst_2 : Add N] → M ≃ N → AddMonoidAlgebra R M ≃+ AddMonoidAlgebra R N

Equivalent additive monoids have additively isomorphic additive monoid algebras.

AddMonoidAlgebra.mapDomain as an AddEquiv.

theorem MonoidAlgebra.coeff_mapDomainAddEquiv E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Mul M] [inst_2 : Mul N] (e : M ≃ N)
  (x : MonoidAlgebra R M), ((MonoidAlgebra.mapDomainAddEquiv R e) x).coeff = Finsupp.equivMapDomain e x.coeff

theorem AddMonoidAlgebra.coeff_mapDomainAddEquiv E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Add M] [inst_2 : Add N] (e : M ≃ N)
  (x : AddMonoidAlgebra R M), ((AddMonoidAlgebra.mapDomainAddEquiv R e) x).coeff = Finsupp.equivMapDomain e x.coeff

theorem AddMonoidAlgebra.mapDomainAddEquiv_single E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Add M] [inst_2 : Add N] (e : M ≃ N) (r : R)
  (m : M), (AddMonoidAlgebra.mapDomainAddEquiv R e) (AddMonoidAlgebra.single m r) = AddMonoidAlgebra.single (e m) r

theorem MonoidAlgebra.mapDomainAddEquiv_single E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Mul M] [inst_2 : Mul N] (e : M ≃ N) (r : R)
  (m : M), (MonoidAlgebra.mapDomainAddEquiv R e) (MonoidAlgebra.single m r) = MonoidAlgebra.single (e m) r

theorem MonoidAlgebra.symm_mapDomainAddEquiv E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Mul M] [inst_2 : Mul N] (e : M ≃ N),
  (MonoidAlgebra.mapDomainAddEquiv R e).symm = MonoidAlgebra.mapDomainAddEquiv R e.symm

theorem AddMonoidAlgebra.symm_mapDomainAddEquiv E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Add M] [inst_2 : Add N] (e : M ≃ N),
  (AddMonoidAlgebra.mapDomainAddEquiv R e).symm = AddMonoidAlgebra.mapDomainAddEquiv R e.symm

theorem MonoidAlgebra.mapDomainAddEquiv_trans E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} {O : Type u_8} [inst : Semiring R] [inst_1 : Mul M] [inst_2 : Mul N]
  [inst_3 : Mul O] (e₁ : M ≃ N) (e₂ : N ≃ O),
  MonoidAlgebra.mapDomainAddEquiv R (e₁.trans e₂) =
    (MonoidAlgebra.mapDomainAddEquiv R e₁).trans (MonoidAlgebra.mapDomainAddEquiv R e₂)

theorem AddMonoidAlgebra.mapDomainAddEquiv_trans E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} {O : Type u_8} [inst : Semiring R] [inst_1 : Add M] [inst_2 : Add N]
  [inst_3 : Add O] (e₁ : M ≃ N) (e₂ : N ≃ O),
  AddMonoidAlgebra.mapDomainAddEquiv R (e₁.trans e₂) =
    (AddMonoidAlgebra.mapDomainAddEquiv R e₁).trans (AddMonoidAlgebra.mapDomainAddEquiv R e₂)

def MonoidAlgebra.mapAddEquiv E1 #

{R : Type u_3} →
  {S : Type u_4} →
    (M : Type u_6) →
      [inst : Semiring R] → [inst_1 : Semiring S] → [inst_2 : Mul M] → R ≃+ S → MonoidAlgebra R M ≃+ MonoidAlgebra S M

Additively isomorphic rings have additively isomorphic monoid algebras.

MonoidAlgebra.map as an AddEquiv.

def AddMonoidAlgebra.mapAddEquiv E1 #

{R : Type u_3} →
  {S : Type u_4} →
    (M : Type u_6) →
      [inst : Semiring R] →
        [inst_1 : Semiring S] → [inst_2 : Add M] → R ≃+ S → AddMonoidAlgebra R M ≃+ AddMonoidAlgebra S M

Additively isomorphic rings have additively isomorphic additive monoid algebras.

AddMonoidAlgebra.map as an AddEquiv.

theorem AddMonoidAlgebra.coeff_mapAddEquiv E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Add M] (e : R ≃+ S)
  (x : AddMonoidAlgebra R M) (m : M), ((AddMonoidAlgebra.mapAddEquiv M e) x).coeff m = e (x.coeff m)

theorem MonoidAlgebra.coeff_mapAddEquiv E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Mul M] (e : R ≃+ S)
  (x : MonoidAlgebra R M) (m : M), ((MonoidAlgebra.mapAddEquiv M e) x).coeff m = e (x.coeff m)

theorem AddMonoidAlgebra.mapAddEquiv_single E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Add M] (e : R ≃+ S)
  (r : R) (m : M), (AddMonoidAlgebra.mapAddEquiv M e) (AddMonoidAlgebra.single m r) = AddMonoidAlgebra.single m (e r)

theorem MonoidAlgebra.mapAddEquiv_single E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Mul M] (e : R ≃+ S)
  (r : R) (m : M), (MonoidAlgebra.mapAddEquiv M e) (MonoidAlgebra.single m r) = MonoidAlgebra.single m (e r)

theorem MonoidAlgebra.symm_mapAddEquiv E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Mul M] (e : R ≃+ S),
  (MonoidAlgebra.mapAddEquiv M e).symm = MonoidAlgebra.mapAddEquiv M e.symm

theorem AddMonoidAlgebra.symm_mapAddEquiv E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Add M] (e : R ≃+ S),
  (AddMonoidAlgebra.mapAddEquiv M e).symm = AddMonoidAlgebra.mapAddEquiv M e.symm

theorem MonoidAlgebra.mapAddEquiv_trans E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : Semiring T] [inst_3 : Mul M] (e₁ : R ≃+ S) (e₂ : S ≃+ T),
  MonoidAlgebra.mapAddEquiv M (e₁.trans e₂) = (MonoidAlgebra.mapAddEquiv M e₁).trans (MonoidAlgebra.mapAddEquiv M e₂)

theorem AddMonoidAlgebra.mapAddEquiv_trans E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : Semiring T] [inst_3 : Add M] (e₁ : R ≃+ S) (e₂ : S ≃+ T),
  AddMonoidAlgebra.mapAddEquiv M (e₁.trans e₂) =
    (AddMonoidAlgebra.mapAddEquiv M e₁).trans (AddMonoidAlgebra.mapAddEquiv M e₂)

theorem MonoidAlgebra.map_mul E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Mul M] (f : R →+* S)
  (x y : MonoidAlgebra R M), MonoidAlgebra.map (↑f) (x * y) = MonoidAlgebra.map (↑f) x * MonoidAlgebra.map (↑f) y

theorem AddMonoidAlgebra.map_mul E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Add M] (f : R →+* S)
  (x y : AddMonoidAlgebra R M),
  AddMonoidAlgebra.map (↑f) (x * y) = AddMonoidAlgebra.map (↑f) x * AddMonoidAlgebra.map (↑f) y

def MonoidAlgebra.mapDomainRingHom E1 #

(R : Type u_3) →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] →
        [inst_1 : Monoid M] → [inst_2 : Monoid N] → (M →* N) → MonoidAlgebra R M →+* MonoidAlgebra R N

If f : G → H is a multiplicative homomorphism between two monoids, then MonoidAlgebra.mapDomain f is a ring homomorphism between their monoid algebras.

def AddMonoidAlgebra.mapDomainRingHom E1 #

(R : Type u_3) →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] →
        [inst_1 : AddMonoid M] → [inst_2 : AddMonoid N] → (M →+ N) → AddMonoidAlgebra R M →+* AddMonoidAlgebra R N

If f : G → H is a multiplicative homomorphism between two additive monoids, then AddMonoidAlgebra.mapDomain f is a ring homomorphism between their additive monoid algebras.

theorem MonoidAlgebra.mapDomainRingHom_apply E0 #

∀ (R : Type u_3) {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Monoid M] [inst_2 : Monoid N] (f : M →* N)
  (x : MonoidAlgebra R M), (MonoidAlgebra.mapDomainRingHom R f) x = MonoidAlgebra.mapDomain (⇑f) x

theorem AddMonoidAlgebra.mapDomainRingHom_apply E0 #

∀ (R : Type u_3) {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : AddMonoid M] [inst_2 : AddMonoid N]
  (f : M →+ N) (x : AddMonoidAlgebra R M), (AddMonoidAlgebra.mapDomainRingHom R f) x = AddMonoidAlgebra.mapDomain (⇑f) x

theorem MonoidAlgebra.ringHom_ext_iff E0 #

∀ {R : Type u_1} {S : Type u_2} {M : Type u_4} [inst : Semiring R] [inst_1 : MulOneClass M] [inst_2 : Semiring S]
  {f g : MonoidAlgebra R M →+* S},
  f = g ↔
    (∀ (r : R), f (MonoidAlgebra.single 1 r) = g (MonoidAlgebra.single 1 r)) ∧
      ∀ (m : M), f (MonoidAlgebra.single m 1) = g (MonoidAlgebra.single m 1)

theorem MonoidAlgebra.mapDomainRingHom_id E0 #

∀ {R : Type u_3} {M : Type u_6} [inst : Semiring R] [inst_1 : Monoid M],
  MonoidAlgebra.mapDomainRingHom R (MonoidHom.id M) = RingHom.id (MonoidAlgebra R M)

theorem AddMonoidAlgebra.mapDomainRingHom_id E0 #

∀ {R : Type u_3} {M : Type u_6} [inst : Semiring R] [inst_1 : AddMonoid M],
  AddMonoidAlgebra.mapDomainRingHom R (AddMonoidHom.id M) = RingHom.id (AddMonoidAlgebra R M)

theorem AddMonoidAlgebra.mapDomainRingHom_comp E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} {O : Type u_8} [inst : Semiring R] [inst_1 : AddMonoid M]
  [inst_2 : AddMonoid N] [inst_3 : AddMonoid O] (f : N →+ O) (g : M →+ N),
  AddMonoidAlgebra.mapDomainRingHom R (f.comp g) =
    (AddMonoidAlgebra.mapDomainRingHom R f).comp (AddMonoidAlgebra.mapDomainRingHom R g)

theorem MonoidAlgebra.mapDomainRingHom_comp E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} {O : Type u_8} [inst : Semiring R] [inst_1 : Monoid M]
  [inst_2 : Monoid N] [inst_3 : Monoid O] (f : N →* O) (g : M →* N),
  MonoidAlgebra.mapDomainRingHom R (f.comp g) =
    (MonoidAlgebra.mapDomainRingHom R f).comp (MonoidAlgebra.mapDomainRingHom R g)

theorem MonoidAlgebra.map_one E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Monoid M]
  (f : R →+* S), MonoidAlgebra.map (↑f) 1 = 1

theorem AddMonoidAlgebra.map_one E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : AddMonoid M]
  (f : R →+* S), AddMonoidAlgebra.map (↑f) 1 = 1

def MonoidAlgebra.mapRingHom E1 #

{R : Type u_3} →
  {S : Type u_4} →
    (M : Type u_6) →
      [inst : Semiring R] →
        [inst_1 : Semiring S] → [inst_2 : Monoid M] → (R →+* S) → MonoidAlgebra R M →+* MonoidAlgebra S M

The ring homomorphism of monoid algebras induced by a homomorphism of the base rings.

def AddMonoidAlgebra.mapRingHom E1 #

{R : Type u_3} →
  {S : Type u_4} →
    (M : Type u_6) →
      [inst : Semiring R] →
        [inst_1 : Semiring S] → [inst_2 : AddMonoid M] → (R →+* S) → AddMonoidAlgebra R M →+* AddMonoidAlgebra S M

The ring homomorphism of additive monoid algebras induced by a homomorphism of the base rings.

theorem AddMonoidAlgebra.coe_mapRingHom E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : AddMonoid M]
  (f : R →+* S), ⇑(AddMonoidAlgebra.mapRingHom M f) = AddMonoidAlgebra.map ↑f

theorem MonoidAlgebra.coe_mapRingHom E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Monoid M]
  (f : R →+* S), ⇑(MonoidAlgebra.mapRingHom M f) = MonoidAlgebra.map ↑f

theorem MonoidAlgebra.coeff_mapRingHom E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Monoid M]
  (f : R →+* S) (x : MonoidAlgebra R M) (m : M), ((MonoidAlgebra.mapRingHom M f) x).coeff m = f (x.coeff m)

theorem AddMonoidAlgebra.coeff_mapRingHom E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : AddMonoid M]
  (f : R →+* S) (x : AddMonoidAlgebra R M) (m : M), ((AddMonoidAlgebra.mapRingHom M f) x).coeff m = f (x.coeff m)

theorem AddMonoidAlgebra.mapRingHom_single E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : AddMonoid M]
  (f : R →+* S) (a : M) (b : R),
  (AddMonoidAlgebra.mapRingHom M f) (AddMonoidAlgebra.single a b) = AddMonoidAlgebra.single a (f b)

theorem MonoidAlgebra.mapRingHom_single E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Monoid M]
  (f : R →+* S) (a : M) (b : R),
  (MonoidAlgebra.mapRingHom M f) (MonoidAlgebra.single a b) = MonoidAlgebra.single a (f b)

theorem AddMonoidAlgebra.mapRingHom_id E0 #

∀ {R : Type u_3} {M : Type u_6} [inst : Semiring R] [inst_1 : AddMonoid M],
  AddMonoidAlgebra.mapRingHom M (RingHom.id R) = RingHom.id (AddMonoidAlgebra R M)

theorem MonoidAlgebra.mapRingHom_id E0 #

∀ {R : Type u_3} {M : Type u_6} [inst : Semiring R] [inst_1 : Monoid M],
  MonoidAlgebra.mapRingHom M (RingHom.id R) = RingHom.id (MonoidAlgebra R M)

theorem MonoidAlgebra.mapRingHom_comp E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : Semiring T] [inst_3 : Monoid M] (f : S →+* T) (g : R →+* S),
  MonoidAlgebra.mapRingHom M (f.comp g) = (MonoidAlgebra.mapRingHom M f).comp (MonoidAlgebra.mapRingHom M g)

theorem AddMonoidAlgebra.mapRingHom_comp E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : Semiring T] [inst_3 : AddMonoid M] (f : S →+* T) (g : R →+* S),
  AddMonoidAlgebra.mapRingHom M (f.comp g) = (AddMonoidAlgebra.mapRingHom M f).comp (AddMonoidAlgebra.mapRingHom M g)

theorem MonoidAlgebra.mapRingHom_comp_mapDomainRingHom E1 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : Monoid M] [inst_3 : Monoid N] (f : R →+* S) (g : M →* N),
  (MonoidAlgebra.mapRingHom N f).comp (MonoidAlgebra.mapDomainRingHom R g) =
    (MonoidAlgebra.mapDomainRingHom S g).comp (MonoidAlgebra.mapRingHom M f)

theorem AddMonoidAlgebra.mapRingHom_comp_mapDomainRingHom E1 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddMonoid M] [inst_3 : AddMonoid N] (f : R →+* S) (g : M →+ N),
  (AddMonoidAlgebra.mapRingHom N f).comp (AddMonoidAlgebra.mapDomainRingHom R g) =
    (AddMonoidAlgebra.mapDomainRingHom S g).comp (AddMonoidAlgebra.mapRingHom M f)

def MonoidAlgebra.mapDomainRingEquiv E1 #

(R : Type u_3) →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] → [inst_1 : Monoid M] → [inst_2 : Monoid N] → M ≃* N → MonoidAlgebra R M ≃+* MonoidAlgebra R N

Isomorphic monoids have isomorphic monoid algebras.

def AddMonoidAlgebra.mapDomainRingEquiv E1 #

(R : Type u_3) →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] →
        [inst_1 : AddMonoid M] → [inst_2 : AddMonoid N] → M ≃+ N → AddMonoidAlgebra R M ≃+* AddMonoidAlgebra R N

Isomorphic monoids have isomorphic additive monoid algebras.

theorem AddMonoidAlgebra.coeff_mapDomainRingEquiv E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : AddMonoid M] [inst_2 : AddMonoid N]
  (e : M ≃+ N) (x : AddMonoidAlgebra R M),
  ((AddMonoidAlgebra.mapDomainRingEquiv R e) x).coeff = Finsupp.equivMapDomain (↑e) x.coeff

theorem MonoidAlgebra.coeff_mapDomainRingEquiv E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Monoid M] [inst_2 : Monoid N] (e : M ≃* N)
  (x : MonoidAlgebra R M), ((MonoidAlgebra.mapDomainRingEquiv R e) x).coeff = Finsupp.equivMapDomain (↑e) x.coeff

theorem MonoidAlgebra.mapDomainRingEquiv_single E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Monoid M] [inst_2 : Monoid N] (e : M ≃* N)
  (r : R) (m : M), (MonoidAlgebra.mapDomainRingEquiv R e) (MonoidAlgebra.single m r) = MonoidAlgebra.single (e m) r

theorem AddMonoidAlgebra.mapDomainRingEquiv_single E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : AddMonoid M] [inst_2 : AddMonoid N]
  (e : M ≃+ N) (r : R) (m : M),
  (AddMonoidAlgebra.mapDomainRingEquiv R e) (AddMonoidAlgebra.single m r) = AddMonoidAlgebra.single (e m) r

theorem AddMonoidAlgebra.toRingHom_mapDomainRingEquiv E1 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : AddMonoid M] [inst_2 : AddMonoid N]
  (e : M ≃+ N), (AddMonoidAlgebra.mapDomainRingEquiv R e).toRingHom = AddMonoidAlgebra.mapDomainRingHom R ↑e

theorem MonoidAlgebra.toRingHom_mapDomainRingEquiv E1 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Monoid M] [inst_2 : Monoid N] (e : M ≃* N),
  (MonoidAlgebra.mapDomainRingEquiv R e).toRingHom = MonoidAlgebra.mapDomainRingHom R ↑e

theorem AddMonoidAlgebra.symm_mapDomainRingEquiv E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : AddMonoid M] [inst_2 : AddMonoid N]
  (e : M ≃+ N), (AddMonoidAlgebra.mapDomainRingEquiv R e).symm = AddMonoidAlgebra.mapDomainRingEquiv R e.symm

theorem MonoidAlgebra.symm_mapDomainRingEquiv E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Monoid M] [inst_2 : Monoid N] (e : M ≃* N),
  (MonoidAlgebra.mapDomainRingEquiv R e).symm = MonoidAlgebra.mapDomainRingEquiv R e.symm

theorem MonoidAlgebra.mapDomainRingEquiv_trans E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} {O : Type u_8} [inst : Semiring R] [inst_1 : Monoid M]
  [inst_2 : Monoid N] [inst_3 : Monoid O] (e₁ : M ≃* N) (e₂ : N ≃* O),
  MonoidAlgebra.mapDomainRingEquiv R (e₁.trans e₂) =
    (MonoidAlgebra.mapDomainRingEquiv R e₁).trans (MonoidAlgebra.mapDomainRingEquiv R e₂)

theorem AddMonoidAlgebra.mapDomainRingEquiv_trans E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} {O : Type u_8} [inst : Semiring R] [inst_1 : AddMonoid M]
  [inst_2 : AddMonoid N] [inst_3 : AddMonoid O] (e₁ : M ≃+ N) (e₂ : N ≃+ O),
  AddMonoidAlgebra.mapDomainRingEquiv R (e₁.trans e₂) =
    (AddMonoidAlgebra.mapDomainRingEquiv R e₁).trans (AddMonoidAlgebra.mapDomainRingEquiv R e₂)

def MonoidAlgebra.mapRingEquiv E1 #

{R : Type u_3} →
  {S : Type u_4} →
    (M : Type u_6) →
      [inst : Semiring R] →
        [inst_1 : Semiring S] → [inst_2 : Monoid M] → R ≃+* S → MonoidAlgebra R M ≃+* MonoidAlgebra S M

Isomorphic rings have isomorphic monoid algebras.

def AddMonoidAlgebra.mapRingEquiv E1 #

{R : Type u_3} →
  {S : Type u_4} →
    (M : Type u_6) →
      [inst : Semiring R] →
        [inst_1 : Semiring S] → [inst_2 : AddMonoid M] → R ≃+* S → AddMonoidAlgebra R M ≃+* AddMonoidAlgebra S M

Isomorphic rings have isomorphic additive monoid algebras.

theorem MonoidAlgebra.coeff_mapRingEquiv E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Monoid M]
  (e : R ≃+* S) (x : MonoidAlgebra R M) (m : M), ((MonoidAlgebra.mapRingEquiv M e) x).coeff m = e (x.coeff m)

theorem AddMonoidAlgebra.coeff_mapRingEquiv E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : AddMonoid M]
  (e : R ≃+* S) (x : AddMonoidAlgebra R M) (m : M), ((AddMonoidAlgebra.mapRingEquiv M e) x).coeff m = e (x.coeff m)

theorem MonoidAlgebra.mapRingEquiv_single E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Monoid M]
  (e : R ≃+* S) (r : R) (m : M),
  (MonoidAlgebra.mapRingEquiv M e) (MonoidAlgebra.single m r) = MonoidAlgebra.single m (e r)

theorem AddMonoidAlgebra.mapRingEquiv_single E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : AddMonoid M]
  (e : R ≃+* S) (r : R) (m : M),
  (AddMonoidAlgebra.mapRingEquiv M e) (AddMonoidAlgebra.single m r) = AddMonoidAlgebra.single m (e r)

theorem MonoidAlgebra.toRingHom_mapRingEquiv E1 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Monoid M]
  (e : R ≃+* S), (MonoidAlgebra.mapRingEquiv M e).toRingHom = MonoidAlgebra.mapRingHom M ↑e

theorem AddMonoidAlgebra.toRingHom_mapRingEquiv E1 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : AddMonoid M]
  (e : R ≃+* S), (AddMonoidAlgebra.mapRingEquiv M e).toRingHom = AddMonoidAlgebra.mapRingHom M ↑e

theorem MonoidAlgebra.symm_mapRingEquiv E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : Monoid M]
  (e : R ≃+* S), (MonoidAlgebra.mapRingEquiv M e).symm = MonoidAlgebra.mapRingEquiv M e.symm

theorem AddMonoidAlgebra.symm_mapRingEquiv E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] [inst_2 : AddMonoid M]
  (e : R ≃+* S), (AddMonoidAlgebra.mapRingEquiv M e).symm = AddMonoidAlgebra.mapRingEquiv M e.symm

theorem MonoidAlgebra.mapRingEquiv_trans E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : Semiring T] [inst_3 : Monoid M] (e₁ : R ≃+* S) (e₂ : S ≃+* T),
  MonoidAlgebra.mapRingEquiv M (e₁.trans e₂) = (MonoidAlgebra.mapRingEquiv M e₁).trans (MonoidAlgebra.mapRingEquiv M e₂)

theorem AddMonoidAlgebra.mapRingEquiv_trans E0 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} {M : Type u_6} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : Semiring T] [inst_3 : AddMonoid M] (e₁ : R ≃+* S) (e₂ : S ≃+* T),
  AddMonoidAlgebra.mapRingEquiv M (e₁.trans e₂) =
    (AddMonoidAlgebra.mapRingEquiv M e₁).trans (AddMonoidAlgebra.mapRingEquiv M e₂)

def MonoidAlgebra.commRingEquiv E1 #

{R : Type u_3} →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] →
        [inst_1 : Monoid M] →
          [inst_2 : Monoid N] → MonoidAlgebra (MonoidAlgebra R M) N ≃+* MonoidAlgebra (MonoidAlgebra R N) M

Nested monoid algebras can be taken in an arbitrary order.

def AddMonoidAlgebra.commRingEquiv E1 #

{R : Type u_3} →
  {M : Type u_6} →
    {N : Type u_7} →
      [inst : Semiring R] →
        [inst_1 : AddMonoid M] →
          [inst_2 : AddMonoid N] →
            AddMonoidAlgebra (AddMonoidAlgebra R M) N ≃+* AddMonoidAlgebra (AddMonoidAlgebra R N) M

Nested additive monoid algebras can be taken in an arbitrary order.

theorem MonoidAlgebra.symm_commRingEquiv E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Monoid M] [inst_2 : Monoid N],
  MonoidAlgebra.commRingEquiv.symm = MonoidAlgebra.commRingEquiv

theorem AddMonoidAlgebra.symm_commRingEquiv E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : AddMonoid M] [inst_2 : AddMonoid N],
  AddMonoidAlgebra.commRingEquiv.symm = AddMonoidAlgebra.commRingEquiv

theorem AddMonoidAlgebra.commRingEquiv_single_single E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : AddMonoid M] [inst_2 : AddMonoid N] (m : M)
  (n : N) (r : R),
  AddMonoidAlgebra.commRingEquiv (AddMonoidAlgebra.single m (AddMonoidAlgebra.single n r)) =
    AddMonoidAlgebra.single n (AddMonoidAlgebra.single m r)

theorem MonoidAlgebra.commRingEquiv_single_single E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Monoid M] [inst_2 : Monoid N] (m : M)
  (n : N) (r : R),
  MonoidAlgebra.commRingEquiv (MonoidAlgebra.single m (MonoidAlgebra.single n r)) =
    MonoidAlgebra.single n (MonoidAlgebra.single m r)

theorem MonoidAlgebra.commRingEquiv_single_one E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Monoid M] [inst_2 : Monoid N] (m : M),
  MonoidAlgebra.commRingEquiv (MonoidAlgebra.single m 1) = MonoidAlgebra.single 1 (MonoidAlgebra.single m 1)

theorem AddMonoidAlgebra.commRingEquiv_single_zero E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : AddMonoid M] [inst_2 : AddMonoid N]
  (m : M),
  AddMonoidAlgebra.commRingEquiv (AddMonoidAlgebra.single m 1) = AddMonoidAlgebra.single 0 (AddMonoidAlgebra.single m 1)

theorem AddMonoidAlgebra.commRingEquiv_single_zero_single E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : AddMonoid M] [inst_2 : AddMonoid N]
  (m : M),
  AddMonoidAlgebra.commRingEquiv (AddMonoidAlgebra.single 0 (AddMonoidAlgebra.single m 1)) = AddMonoidAlgebra.single m 1

theorem MonoidAlgebra.commRingEquiv_single_one_single E0 #

∀ {R : Type u_3} {M : Type u_6} {N : Type u_7} [inst : Semiring R] [inst_1 : Monoid M] [inst_2 : Monoid N] (m : M),
  MonoidAlgebra.commRingEquiv (MonoidAlgebra.single 1 (MonoidAlgebra.single m 1)) = MonoidAlgebra.single m 1

theorem AddMonoidAlgebra.map_neg E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Ring R] [inst_1 : Ring S] (f : R →+ S)
  (x : AddMonoidAlgebra R M), AddMonoidAlgebra.map f (-x) = -AddMonoidAlgebra.map f x

theorem MonoidAlgebra.map_neg E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Ring R] [inst_1 : Ring S] (f : R →+ S) (x : MonoidAlgebra R M),
  MonoidAlgebra.map f (-x) = -MonoidAlgebra.map f x

theorem AddMonoidAlgebra.map_sub E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Ring R] [inst_1 : Ring S] (f : R →+ S)
  (x y : AddMonoidAlgebra R M), AddMonoidAlgebra.map f (x - y) = AddMonoidAlgebra.map f x - AddMonoidAlgebra.map f y

theorem MonoidAlgebra.map_sub E0 #

∀ {R : Type u_3} {S : Type u_4} {M : Type u_6} [inst : Ring R] [inst_1 : Ring S] (f : R →+ S) (x y : MonoidAlgebra R M),
  MonoidAlgebra.map f (x - y) = MonoidAlgebra.map f x - MonoidAlgebra.map f y

def AddMonoidAlgebra.toMultiplicative E1 #

(R : Type u_3) →
  (M : Type u_6) → [inst : Semiring R] → [inst_1 : Add M] → AddMonoidAlgebra R M ≃+* MonoidAlgebra R (Multiplicative M)

The equivalence between AddMonoidAlgebra and MonoidAlgebra in terms of Multiplicative

theorem AddMonoidAlgebra.coeff_toMultiplicative_symm_apply E0 #

∀ (R : Type u_3) (M : Type u_6) [inst : Semiring R] [inst_1 : Add M] (x : MonoidAlgebra R (Multiplicative M)),
  ((AddMonoidAlgebra.toMultiplicative R M).symm x).coeff = Finsupp.mapDomain (⇑Multiplicative.toAdd) x.coeff

theorem AddMonoidAlgebra.coeff_toMultiplicative_apply E0 #

∀ (R : Type u_3) (M : Type u_6) [inst : Semiring R] [inst_1 : Add M] (x : AddMonoidAlgebra R M),
  ((AddMonoidAlgebra.toMultiplicative R M) x).coeff = Finsupp.mapDomain (⇑Multiplicative.ofAdd) x.coeff

theorem AddMonoidAlgebra.toMultiplicative_single E0 #

∀ {R : Type u_3} {M : Type u_6} [inst : Semiring R] [inst_1 : Add M] (m : M) (r : R),
  (AddMonoidAlgebra.toMultiplicative R M) (AddMonoidAlgebra.single m r) =
    MonoidAlgebra.single (Multiplicative.ofAdd m) r

def MonoidAlgebra.toAdditive E1 #

(R : Type u_3) →
  (M : Type u_6) → [inst : Semiring R] → [inst_1 : Mul M] → MonoidAlgebra R M ≃+* AddMonoidAlgebra R (Additive M)

The equivalence between MonoidAlgebra and AddMonoidAlgebra in terms of Additive

theorem MonoidAlgebra.coeff_toAdditive_apply E0 #

∀ (R : Type u_3) (M : Type u_6) [inst : Semiring R] [inst_1 : Mul M] (x : MonoidAlgebra R M),
  ((MonoidAlgebra.toAdditive R M) x).coeff = Finsupp.mapDomain (⇑Additive.ofMul) x.coeff

theorem MonoidAlgebra.coeff_toAdditive_symm_apply E0 #

∀ (R : Type u_3) (M : Type u_6) [inst : Semiring R] [inst_1 : Mul M] (x : AddMonoidAlgebra R (Additive M)),
  ((MonoidAlgebra.toAdditive R M).symm x).coeff = Finsupp.mapDomain (⇑Additive.toMul) x.coeff

theorem MonoidAlgebra.toAdditive_single E0 #

∀ {R : Type u_3} {M : Type u_6} [inst : Semiring R] [inst_1 : Mul M] (m : M) (r : R),
  (MonoidAlgebra.toAdditive R M) (MonoidAlgebra.single m r) = AddMonoidAlgebra.single (Additive.ofMul m) r

Deprecated aliases

NameNew nameSince
MonoidAlgebra.comapDomain_single_of_not_mem_rangeMonoidAlgebra.comapDomain_single_of_notMem_range2026-09-28
MonoidAlgebra.mapAddEquiv_applyMonoidAlgebra.coeff_mapAddEquiv2026-06-18
MonoidAlgebra.mapDomainAddEquiv_applyMonoidAlgebra.coeff_mapDomainAddEquiv2026-06-18
MonoidAlgebra.mapDomainRingEquiv_applyMonoidAlgebra.coeff_mapDomainRingEquiv2026-06-18
MonoidAlgebra.mapRingEquiv_applyMonoidAlgebra.coeff_mapRingEquiv2026-06-18
MonoidAlgebra.mapRingHom_applyMonoidAlgebra.coeff_mapRingHom2026-06-18