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 / V06. Rings, fields and ordered algebra

Mathlib.Algebra.Star.StarAlgHom

216 declarations and 9 deprecated aliases. Mathlib docs · Source

Morphisms of star algebras

This file defines morphisms between R-algebras (unital or non-unital) A and B where both A and B are equipped with a star operation. These morphisms, namely StarAlgHom and NonUnitalStarAlgHom are direct extensions of their non-starred counterparts with a field map_star which guarantees they preserve the star operation. We keep the type classes as generic as possible, in keeping with the definition of NonUnitalAlgHom in the non-unital case. In this file, we only assume Star unless we want to talk about the zero map as a NonUnitalStarAlgHom, in which case we need StarAddMonoid. Note that the scalar ring R is not required to have a star operation, nor do we need StarRing or StarModule structures on A and B.

As with NonUnitalAlgHom, in the non-unital case the multiplications are not assumed to be associative or unital, or even to be compatible with the scalar actions. In a typical application, the operations will satisfy compatibility conditions making them into algebras (albeit possibly non-associative and/or non-unital) but such conditions are not required here for the definitions.

The primary impetus for defining these types is that they constitute the morphisms in the categories of unital C⋆-algebras (with StarAlgHoms) and of C⋆-algebras (with NonUnitalStarAlgHoms).

Main definitions

  • NonUnitalStarAlgHom
  • StarAlgHom

Tags

non-unital, algebra, morphism, star

Non-unital star algebra homomorphisms

Unital star algebra homomorphisms

Operations on the product type

Note that this is copied from Algebra.Hom.NonUnitalAlg.

Star algebra equivalences

def StarAlgEquiv.ctorIdx E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {inst : Add A} →
        {inst_1 : Add B} →
          {inst_2 : Mul A} →
            {inst_3 : Mul B} →
              {inst_4 : SMul R A} → {inst_5 : SMul R B} → {inst_6 : Star A} → {inst_7 : Star B} → (A ≃⋆ₐ[R] B) → ℕ

theorem StarAlgEquiv.mk.inj E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {inst : Add A} {inst_1 : Add B} {inst_2 : Mul A} {inst_3 : Mul B}
  {inst_4 : SMul R A} {inst_5 : SMul R B} {inst_6 : Star A} {inst_7 : Star B} {toStarRingEquiv : A ≃⋆+* B}
  {map_smul' : ∀ (r : R) (a : A), toStarRingEquiv.toFun (r • a) = r • toStarRingEquiv.toFun a}
  {toStarRingEquiv_1 : A ≃⋆+* B}
  {map_smul'_1 : ∀ (r : R) (a : A), toStarRingEquiv_1.toFun (r • a) = r • toStarRingEquiv_1.toFun a},
  { toStarRingEquiv := toStarRingEquiv, map_smul' := map_smul' } =
      { toStarRingEquiv := toStarRingEquiv_1, map_smul' := map_smul'_1 } →
    toStarRingEquiv = toStarRingEquiv_1

def NonUnitalStarAlgHom.ctorIdx E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {inst : Monoid R} →
        {inst_1 : NonUnitalNonAssocSemiring A} →
          {inst_2 : DistribMulAction R A} →
            {inst_3 : Star A} →
              {inst_4 : NonUnitalNonAssocSemiring B} →
                {inst_5 : DistribMulAction R B} → {inst_6 : Star B} → (A →⋆ₙₐ[R] B) → ℕ

theorem StarAlgEquiv.mk.injEq E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (toStarRingEquiv : A ≃⋆+* B)
  (map_smul' : ∀ (r : R) (a : A), toStarRingEquiv.toFun (r • a) = r • toStarRingEquiv.toFun a)
  (toStarRingEquiv_1 : A ≃⋆+* B)
  (map_smul'_1 : ∀ (r : R) (a : A), toStarRingEquiv_1.toFun (r • a) = r • toStarRingEquiv_1.toFun a),
  ({ toStarRingEquiv := toStarRingEquiv, map_smul' := map_smul' } =
      { toStarRingEquiv := toStarRingEquiv_1, map_smul' := map_smul'_1 }) =
    (toStarRingEquiv = toStarRingEquiv_1)

theorem DistribMulActionSemiHomClass.toDistribMulActionHom.congr_simp E1 #

∀ {M : Type u_1} [inst : Monoid M] {N : Type u_2} [inst_1 : Monoid N] {φ : M →* N} {A : Type u_4} [inst_2 : AddMonoid A]
  [inst_3 : DistribMulAction M A] {B : Type u_5} [inst_4 : AddMonoid B] [inst_5 : DistribMulAction N B] {F : Type u_10}
  [inst_6 : FunLike F A B] [inst_7 : DistribMulActionSemiHomClass F (⇑φ) A B] (f f_1 : F), f = f_1 → ↑f = ↑f_1

theorem StarAlgHom.mk.inj E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {inst : CommSemiring R} {inst_1 : Semiring A} {inst_2 : Algebra R A}
  {inst_3 : Star A} {inst_4 : Semiring B} {inst_5 : Algebra R B} {inst_6 : Star B} {toAlgHom : A →ₐ[R] B}
  {map_star' : ∀ (x : A), (↑↑toAlgHom.toRingHom).toFun (star x) = star ((↑↑toAlgHom.toRingHom).toFun x)}
  {toAlgHom_1 : A →ₐ[R] B}
  {map_star'_1 : ∀ (x : A), (↑↑toAlgHom_1.toRingHom).toFun (star x) = star ((↑↑toAlgHom_1.toRingHom).toFun x)},
  { toAlgHom := toAlgHom, map_star' := map_star' } = { toAlgHom := toAlgHom_1, map_star' := map_star'_1 } →
    toAlgHom = toAlgHom_1

theorem NonUnitalStarAlgHom.mk.inj E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {inst : Monoid R} {inst_1 : NonUnitalNonAssocSemiring A}
  {inst_2 : DistribMulAction R A} {inst_3 : Star A} {inst_4 : NonUnitalNonAssocSemiring B}
  {inst_5 : DistribMulAction R B} {inst_6 : Star B} {toNonUnitalAlgHom : A →ₙₐ[R] B}
  {map_star' : ∀ (a : A), toNonUnitalAlgHom.toFun (star a) = star (toNonUnitalAlgHom.toFun a)}
  {toNonUnitalAlgHom_1 : A →ₙₐ[R] B}
  {map_star'_1 : ∀ (a : A), toNonUnitalAlgHom_1.toFun (star a) = star (toNonUnitalAlgHom_1.toFun a)},
  { toNonUnitalAlgHom := toNonUnitalAlgHom, map_star' := map_star' } =
      { toNonUnitalAlgHom := toNonUnitalAlgHom_1, map_star' := map_star'_1 } →
    toNonUnitalAlgHom = toNonUnitalAlgHom_1

theorem NonUnitalStarAlgHom.mk.injEq E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (toNonUnitalAlgHom : A →ₙₐ[R] B)
  (map_star' : ∀ (a : A), toNonUnitalAlgHom.toFun (star a) = star (toNonUnitalAlgHom.toFun a))
  (toNonUnitalAlgHom_1 : A →ₙₐ[R] B)
  (map_star'_1 : ∀ (a : A), toNonUnitalAlgHom_1.toFun (star a) = star (toNonUnitalAlgHom_1.toFun a)),
  ({ toNonUnitalAlgHom := toNonUnitalAlgHom, map_star' := map_star' } =
      { toNonUnitalAlgHom := toNonUnitalAlgHom_1, map_star' := map_star'_1 }) =
    (toNonUnitalAlgHom = toNonUnitalAlgHom_1)

def StarAlgHom.ctorIdx E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {inst : CommSemiring R} →
        {inst_1 : Semiring A} →
          {inst_2 : Algebra R A} →
            {inst_3 : Star A} → {inst_4 : Semiring B} → {inst_5 : Algebra R B} → {inst_6 : Star B} → (A →⋆ₐ[R] B) → ℕ

theorem StarAlgHom.mk.injEq E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (toAlgHom : A →ₐ[R] B)
  (map_star' : ∀ (x : A), (↑↑toAlgHom.toRingHom).toFun (star x) = star ((↑↑toAlgHom.toRingHom).toFun x))
  (toAlgHom_1 : A →ₐ[R] B)
  (map_star'_1 : ∀ (x : A), (↑↑toAlgHom_1.toRingHom).toFun (star x) = star ((↑↑toAlgHom_1.toRingHom).toFun x)),
  ({ toAlgHom := toAlgHom, map_star' := map_star' } = { toAlgHom := toAlgHom_1, map_star' := map_star'_1 }) =
    (toAlgHom = toAlgHom_1)

structure NonUnitalStarAlgHom E3 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [DistribMulAction R A] →
            [Star A] → [inst_4 : NonUnitalNonAssocSemiring B] → [DistribMulAction R B] → [Star B] → Type (max u_2 u_3)

A non-unital ⋆-algebra homomorphism is a non-unital algebra homomorphism between non-unital R-algebras A and B equipped with a star operation, and this homomorphism is also star-preserving.

abbrev NonUnitalStarAlgHom.toNonUnitalAlgHom E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : Star A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] → [inst_6 : Star B] → (A →⋆ₙₐ[R] B) → A →ₙₐ[R] B

Reinterpret a non-unital star algebra homomorphism as a non-unital algebra homomorphism by forgetting the interaction with the star operation.

ctor NonUnitalStarAlgHom.mk E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : Star A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] →
                  [inst_6 : Star B] →
                    (toNonUnitalAlgHom : A →ₙₐ[R] B) →
                      (∀ (a : A), toNonUnitalAlgHom.toFun (star a) = star (toNonUnitalAlgHom.toFun a)) → A →⋆ₙₐ[R] B

theorem NonUnitalStarAlgHom.map_star' E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (self : A →⋆ₙₐ[R] B) (a : A),
  self.toFun (star a) = star (self.toFun a)

By definition, a non-unital ⋆-algebra homomorphism preserves the star operation.

def «term_→⋆ₙₐ_» E1 #

Lean.TrailingParserDescr

A non-unital ⋆-algebra homomorphism is a non-unital algebra homomorphism between non-unital R-algebras A and B equipped with a star operation, and this homomorphism is also star-preserving.

def «term_→⋆ₙₐ[_]_» E1 #

Lean.TrailingParserDescr

A non-unital ⋆-algebra homomorphism is a non-unital algebra homomorphism between non-unital R-algebras A and B equipped with a star operation, and this homomorphism is also star-preserving.

def NonUnitalStarAlgHom.ofClass E1 #

{F : Type u_1} →
  {R : Type u_2} →
    {A : Type u_3} →
      {B : Type u_4} →
        [inst : Monoid R] →
          [inst_1 : NonUnitalNonAssocSemiring A] →
            [inst_2 : DistribMulAction R A] →
              [inst_3 : Star A] →
                [inst_4 : NonUnitalNonAssocSemiring B] →
                  [inst_5 : DistribMulAction R B] →
                    [inst_6 : Star B] →
                      [inst_7 : FunLike F A B] → [NonUnitalAlgHomClass F R A B] → [StarHomClass F A B] → F → A →⋆ₙₐ[R] B

Turn an element of a type F satisfying NonUnitalAlgHomClass F R A B and StarHomClass F A B into an actual NonUnitalStarAlgHom.

instance NonUnitalStarAlgHom.instFunLike E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : Star A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] → [inst_6 : Star B] → FunLike (A →⋆ₙₐ[R] B) A B

instance NonUnitalStarAlgHom.instNonUnitalAlgHomClass E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B], NonUnitalAlgHomClass (A →⋆ₙₐ[R] B) R A B

instance NonUnitalStarAlgHom.instStarHomClass E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B], StarHomClass (A →⋆ₙₐ[R] B) A B

theorem NonUnitalStarAlgHom.coe_ofClass E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] {F : Type u_6} [inst_7 : FunLike F A B]
  [inst_8 : NonUnitalAlgHomClass F R A B] [inst_9 : StarHomClass F A B] (f : F), ⇑(NonUnitalStarAlgHom.ofClass f) = ⇑f

theorem NonUnitalStarAlgHom.coe_toNonUnitalAlgHom E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] {f : A →⋆ₙₐ[R] B}, ⇑f.toNonUnitalAlgHom = ⇑f

theorem NonUnitalStarAlgHom.ext_iff E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] {f g : A →⋆ₙₐ[R] B}, f = g ↔ ∀ (x : A), f x = g x

theorem NonUnitalStarAlgHom.ext E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] {f g : A →⋆ₙₐ[R] B}, (∀ (x : A), f x = g x) → f = g

def NonUnitalStarAlgHom.copy E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : Star A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] →
                  [inst_6 : Star B] → (f : A →⋆ₙₐ[R] B) → (f' : A → B) → f' = ⇑f → A →⋆ₙₐ[R] B

Copy of a NonUnitalStarAlgHom with a new toFun equal to the old one. Useful to fix definitional equalities.

theorem NonUnitalStarAlgHom.coe_copy E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (f : A →⋆ₙₐ[R] B) (f' : A → B) (h : f' = ⇑f), ⇑(f.copy f' h) = f'

theorem NonUnitalStarAlgHom.copy_eq E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (f : A →⋆ₙₐ[R] B) (f' : A → B) (h : f' = ⇑f), f.copy f' h = f

theorem NonUnitalStarAlgHom.coe_mk E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (f : A → B)
  (h₁ : ∀ (m : R) (x : A), f (m • x) = (MonoidHom.id R) m • f x) (h₂ : { toFun := f, map_smul' := h₁ }.toFun 0 = 0)
  (h₃ :
    ∀ (x y : A),
      { toFun := f, map_smul' := h₁ }.toFun (x + y) =
        { toFun := f, map_smul' := h₁ }.toFun x + { toFun := f, map_smul' := h₁ }.toFun y)
  (h₄ :
    ∀ (x y : A),
      { toFun := f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃ }.toFun (x * y) =
        { toFun := f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃ }.toFun x *
          { toFun := f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃ }.toFun y)
  (h₅ :
    ∀ (a : A),
      { toFun := f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃, map_mul' := h₄ }.toFun (star a) =
        star ({ toFun := f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃, map_mul' := h₄ }.toFun a)),
  ⇑{ toFun := f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃, map_mul' := h₄, map_star' := h₅ } = f

coe_mk' below applies in more cases

theorem NonUnitalStarAlgHom.coe_mk' E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (f : A →ₙₐ[R] B)
  (h : ∀ (a : A), f.toFun (star a) = star (f.toFun a)), ⇑{ toNonUnitalAlgHom := f, map_star' := h } = ⇑f

theorem NonUnitalStarAlgHom.mk_coe E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (f : A →⋆ₙₐ[R] B)
  (h₁ : ∀ (m : R) (x : A), f (m • x) = (MonoidHom.id R) m • f x) (h₂ : { toFun := ⇑f, map_smul' := h₁ }.toFun 0 = 0)
  (h₃ :
    ∀ (x y : A),
      { toFun := ⇑f, map_smul' := h₁ }.toFun (x + y) =
        { toFun := ⇑f, map_smul' := h₁ }.toFun x + { toFun := ⇑f, map_smul' := h₁ }.toFun y)
  (h₄ :
    ∀ (x y : A),
      { toFun := ⇑f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃ }.toFun (x * y) =
        { toFun := ⇑f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃ }.toFun x *
          { toFun := ⇑f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃ }.toFun y)
  (h₅ :
    ∀ (a : A),
      { toFun := ⇑f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃, map_mul' := h₄ }.toFun (star a) =
        star ({ toFun := ⇑f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃, map_mul' := h₄ }.toFun a)),
  { toFun := ⇑f, map_smul' := h₁, map_zero' := h₂, map_add' := h₃, map_mul' := h₄, map_star' := h₅ } = f

def NonUnitalStarAlgHom.id E1 #

(R : Type u_1) →
  (A : Type u_2) →
    [inst : Monoid R] →
      [inst_1 : NonUnitalNonAssocSemiring A] → [inst_2 : DistribMulAction R A] → [inst_3 : Star A] → A →⋆ₙₐ[R] A

The identity as a non-unital ⋆-algebra homomorphism.

theorem NonUnitalStarAlgHom.coe_id E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : DistribMulAction R A]
  [inst_3 : Star A], ⇑(NonUnitalStarAlgHom.id R A) = id

def NonUnitalStarAlgHom.comp E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {C : Type u_4} →
        [inst : Monoid R] →
          [inst_1 : NonUnitalNonAssocSemiring A] →
            [inst_2 : DistribMulAction R A] →
              [inst_3 : Star A] →
                [inst_4 : NonUnitalNonAssocSemiring B] →
                  [inst_5 : DistribMulAction R B] →
                    [inst_6 : Star B] →
                      [inst_7 : NonUnitalNonAssocSemiring C] →
                        [inst_8 : DistribMulAction R C] →
                          [inst_9 : Star C] → (B →⋆ₙₐ[R] C) → (A →⋆ₙₐ[R] B) → A →⋆ₙₐ[R] C

The composition of non-unital ⋆-algebra homomorphisms, as a non-unital ⋆-algebra homomorphism.

theorem NonUnitalStarAlgHom.coe_comp E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : NonUnitalNonAssocSemiring C]
  [inst_8 : DistribMulAction R C] [inst_9 : Star C] (f : B →⋆ₙₐ[R] C) (g : A →⋆ₙₐ[R] B), ⇑(f.comp g) = ⇑f ∘ ⇑g

theorem NonUnitalStarAlgHom.comp_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : NonUnitalNonAssocSemiring C]
  [inst_8 : DistribMulAction R C] [inst_9 : Star C] (f : B →⋆ₙₐ[R] C) (g : A →⋆ₙₐ[R] B) (a : A), (f.comp g) a = f (g a)

theorem NonUnitalStarAlgHom.comp_assoc E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} {D : Type u_5} [inst : Monoid R]
  [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : DistribMulAction R A] [inst_3 : Star A]
  [inst_4 : NonUnitalNonAssocSemiring B] [inst_5 : DistribMulAction R B] [inst_6 : Star B]
  [inst_7 : NonUnitalNonAssocSemiring C] [inst_8 : DistribMulAction R C] [inst_9 : Star C]
  [inst_10 : NonUnitalNonAssocSemiring D] [inst_11 : DistribMulAction R D] [inst_12 : Star D] (f : C →⋆ₙₐ[R] D)
  (g : B →⋆ₙₐ[R] C) (h : A →⋆ₙₐ[R] B), (f.comp g).comp h = f.comp (g.comp h)

theorem NonUnitalStarAlgHom.id_comp E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (f : A →⋆ₙₐ[R] B), (NonUnitalStarAlgHom.id R B).comp f = f

theorem NonUnitalStarAlgHom.comp_id E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (f : A →⋆ₙₐ[R] B), f.comp (NonUnitalStarAlgHom.id R A) = f

instance NonUnitalStarAlgHom.instMonoid E0 #

{R : Type u_1} →
  {A : Type u_2} →
    [inst : Monoid R] →
      [inst_1 : NonUnitalNonAssocSemiring A] →
        [inst_2 : DistribMulAction R A] → [inst_3 : Star A] → Monoid (A →⋆ₙₐ[R] A)

theorem NonUnitalStarAlgHom.coe_one E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : DistribMulAction R A]
  [inst_3 : Star A], ⇑1 = id

theorem NonUnitalStarAlgHom.one_apply E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : DistribMulAction R A]
  [inst_3 : Star A] (a : A), 1 a = a

instance NonUnitalStarAlgHom.instZero E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : StarAddMonoid A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] → [inst_6 : StarAddMonoid B] → Zero (A →⋆ₙₐ[R] B)

instance NonUnitalStarAlgHom.instInhabited E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : StarAddMonoid A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] → [inst_6 : StarAddMonoid B] → Inhabited (A →⋆ₙₐ[R] B)

instance NonUnitalStarAlgHom.instMonoidWithZero E0 #

{R : Type u_1} →
  {A : Type u_2} →
    [inst : Monoid R] →
      [inst_1 : NonUnitalNonAssocSemiring A] →
        [inst_2 : DistribMulAction R A] → [inst_3 : StarAddMonoid A] → MonoidWithZero (A →⋆ₙₐ[R] A)

theorem NonUnitalStarAlgHom.coe_zero E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : StarAddMonoid A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : StarAddMonoid B], ⇑0 = 0

theorem NonUnitalStarAlgHom.zero_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : StarAddMonoid A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : StarAddMonoid B] (a : A), 0 a = 0

def NonUnitalStarAlgHom.restrictScalars E1 #

(R : Type u_1) →
  {S : Type u_2} →
    {A : Type u_3} →
      {B : Type u_4} →
        [inst : Monoid R] →
          [inst_1 : Monoid S] →
            [inst_2 : Star A] →
              [inst_3 : Star B] →
                [inst_4 : NonUnitalNonAssocSemiring A] →
                  [inst_5 : NonUnitalNonAssocSemiring B] →
                    [inst_6 : MulAction R S] →
                      [inst_7 : DistribMulAction S A] →
                        [inst_8 : DistribMulAction S B] →
                          [inst_9 : DistribMulAction R A] →
                            [inst_10 : DistribMulAction R B] →
                              [IsScalarTower R S A] → [IsScalarTower R S B] → (A →⋆ₙₐ[S] B) → A →⋆ₙₐ[R] B

If a monoid R acts on another monoid S, then a non-unital star algebra homomorphism over S can be viewed as a non-unital star algebra homomorphism over R.

theorem NonUnitalStarAlgHom.restrictScalars_apply E0 #

∀ (R : Type u_1) {S : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Monoid R] [inst_1 : Monoid S] [inst_2 : Star A]
  [inst_3 : Star B] [inst_4 : NonUnitalNonAssocSemiring A] [inst_5 : NonUnitalNonAssocSemiring B]
  [inst_6 : MulAction R S] [inst_7 : DistribMulAction S A] [inst_8 : DistribMulAction S B]
  [inst_9 : DistribMulAction R A] [inst_10 : DistribMulAction R B] [inst_11 : IsScalarTower R S A]
  [inst_12 : IsScalarTower R S B] (f : A →⋆ₙₐ[S] B) (x : A), (NonUnitalStarAlgHom.restrictScalars R f) x = f x

theorem NonUnitalStarAlgHom.coe_restrictScalars E0 #

∀ (R : Type u_1) {S : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Monoid R] [inst_1 : Monoid S] [inst_2 : Star A]
  [inst_3 : Star B] [inst_4 : NonUnitalNonAssocSemiring A] [inst_5 : NonUnitalNonAssocSemiring B]
  [inst_6 : MulAction R S] [inst_7 : DistribMulAction S A] [inst_8 : DistribMulAction S B]
  [inst_9 : DistribMulAction R A] [inst_10 : DistribMulAction R B] [inst_11 : IsScalarTower R S A]
  [inst_12 : IsScalarTower R S B] (f : A →⋆ₙₐ[S] B), ↑(NonUnitalStarAlgHom.restrictScalars R f) = ↑f

theorem NonUnitalStarAlgHom.coe_restrictScalars' E0 #

∀ (R : Type u_1) {S : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Monoid R] [inst_1 : Monoid S] [inst_2 : Star A]
  [inst_3 : Star B] [inst_4 : NonUnitalNonAssocSemiring A] [inst_5 : NonUnitalNonAssocSemiring B]
  [inst_6 : MulAction R S] [inst_7 : DistribMulAction S A] [inst_8 : DistribMulAction S B]
  [inst_9 : DistribMulAction R A] [inst_10 : DistribMulAction R B] [inst_11 : IsScalarTower R S A]
  [inst_12 : IsScalarTower R S B] (f : A →⋆ₙₐ[S] B), ⇑(NonUnitalStarAlgHom.restrictScalars R f) = ⇑f

theorem NonUnitalStarAlgHom.restrictScalars_injective E1 #

∀ (R : Type u_1) {S : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Monoid R] [inst_1 : Monoid S] [inst_2 : Star A]
  [inst_3 : Star B] [inst_4 : NonUnitalNonAssocSemiring A] [inst_5 : NonUnitalNonAssocSemiring B]
  [inst_6 : MulAction R S] [inst_7 : DistribMulAction S A] [inst_8 : DistribMulAction S B]
  [inst_9 : DistribMulAction R A] [inst_10 : DistribMulAction R B] [inst_11 : IsScalarTower R S A]
  [inst_12 : IsScalarTower R S B], Function.Injective (NonUnitalStarAlgHom.restrictScalars R)

structure StarAlgHom E3 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [Algebra R A] → [Star A] → [inst_4 : Semiring B] → [Algebra R B] → [Star B] → Type (max u_2 u_3)

A ⋆-algebra homomorphism is an algebra homomorphism between R-algebras A and B equipped with a star operation, and this homomorphism is also star-preserving.

abbrev StarAlgHom.toAlgHom E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Star A] →
              [inst_4 : Semiring B] → [inst_5 : Algebra R B] → [inst_6 : Star B] → (A →⋆ₐ[R] B) → A →ₐ[R] B

Reinterpret a unital star algebra homomorphism as a unital algebra homomorphism by forgetting the interaction with the star operation.

ctor StarAlgHom.mk E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Star A] →
              [inst_4 : Semiring B] →
                [inst_5 : Algebra R B] →
                  [inst_6 : Star B] →
                    (toAlgHom : A →ₐ[R] B) →
                      (∀ (x : A), (↑↑toAlgHom.toRingHom).toFun (star x) = star ((↑↑toAlgHom.toRingHom).toFun x)) →
                        A →⋆ₐ[R] B

theorem StarAlgHom.map_star' E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (self : A →⋆ₐ[R] B) (x : A),
  (↑↑(↑self).toRingHom).toFun (star x) = star ((↑↑(↑self).toRingHom).toFun x)

By definition, a ⋆-algebra homomorphism preserves the star operation.

def «term_→⋆ₐ_» E1 #

Lean.TrailingParserDescr

A ⋆-algebra homomorphism is an algebra homomorphism between R-algebras A and B equipped with a star operation, and this homomorphism is also star-preserving.

def «term_→⋆ₐ[_]_» E1 #

Lean.TrailingParserDescr

A ⋆-algebra homomorphism is an algebra homomorphism between R-algebras A and B equipped with a star operation, and this homomorphism is also star-preserving.

def StarAlgHom.ofClass E1 #

{F : Type u_1} →
  {R : Type u_2} →
    {A : Type u_3} →
      {B : Type u_4} →
        [inst : CommSemiring R] →
          [inst_1 : Semiring A] →
            [inst_2 : Algebra R A] →
              [inst_3 : Star A] →
                [inst_4 : Semiring B] →
                  [inst_5 : Algebra R B] →
                    [inst_6 : Star B] →
                      [inst_7 : FunLike F A B] → [AlgHomClass F R A B] → [StarHomClass F A B] → F → A →⋆ₐ[R] B

Turn an element of a type F satisfying AlgHomClass F R A B and StarHomClass F A B into an actual StarAlgHom.

instance StarAlgHom.instFunLike E0 #

{R : Type u_2} →
  {A : Type u_3} →
    {B : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Star A] →
              [inst_4 : Semiring B] → [inst_5 : Algebra R B] → [inst_6 : Star B] → FunLike (A →⋆ₐ[R] B) A B

instance StarAlgHom.instAlgHomClass E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B], AlgHomClass (A →⋆ₐ[R] B) R A B

instance StarAlgHom.instStarHomClass E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B], StarHomClass (A →⋆ₐ[R] B) A B

theorem StarAlgHom.coe_ofClass E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] {F : Type u_7}
  [inst_7 : FunLike F A B] [inst_8 : AlgHomClass F R A B] [inst_9 : StarHomClass F A B] (f : F),
  ⇑(StarAlgHom.ofClass f) = ⇑f

instance StarAlgHom.instCoeAlgHom E0 #

{R : Type u_2} →
  {A : Type u_3} →
    {B : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Star A] →
              [inst_4 : Semiring B] → [inst_5 : Algebra R B] → [inst_6 : Star B] → Coe (A →⋆ₐ[R] B) (A →ₐ[R] B)

theorem StarAlgHom.coe_toAlgHom E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] {f : A →⋆ₐ[R] B}, ⇑↑f = ⇑f

theorem StarAlgHom.ext_iff E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] {f g : A →⋆ₐ[R] B},
  f = g ↔ ∀ (x : A), f x = g x

theorem StarAlgHom.ext E1 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] {f g : A →⋆ₐ[R] B},
  (∀ (x : A), f x = g x) → f = g

def StarAlgHom.copy E1 #

{R : Type u_2} →
  {A : Type u_3} →
    {B : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Star A] →
              [inst_4 : Semiring B] →
                [inst_5 : Algebra R B] → [inst_6 : Star B] → (f : A →⋆ₐ[R] B) → (f' : A → B) → f' = ⇑f → A →⋆ₐ[R] B

Copy of a StarAlgHom with a new toFun equal to the old one. Useful to fix definitional equalities.

theorem StarAlgHom.coe_copy E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (f : A →⋆ₐ[R] B) (f' : A → B)
  (h : f' = ⇑f), ⇑(f.copy f' h) = f'

theorem StarAlgHom.copy_eq E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (f : A →⋆ₐ[R] B) (f' : A → B)
  (h : f' = ⇑f), f.copy f' h = f

theorem StarAlgHom.coe_mk E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (f : A → B) (h₁ : f 1 = 1)
  (h₂ :
    ∀ (x y : A),
      { toFun := f, map_one' := h₁ }.toFun (x * y) =
        { toFun := f, map_one' := h₁ }.toFun x * { toFun := f, map_one' := h₁ }.toFun y)
  (h₃ : (↑{ toFun := f, map_one' := h₁, map_mul' := h₂ }).toFun 0 = 0)
  (h₄ :
    ∀ (x y : A),
      (↑{ toFun := f, map_one' := h₁, map_mul' := h₂ }).toFun (x + y) =
        (↑{ toFun := f, map_one' := h₁, map_mul' := h₂ }).toFun x +
          (↑{ toFun := f, map_one' := h₁, map_mul' := h₂ }).toFun y)
  (h₅ :
    ∀ (r : R),
      (↑↑{ toFun := f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄ }).toFun ((algebraMap R A) r) =
        (algebraMap R B) r)
  (h₆ :
    ∀ (r : R) (a : A),
      (↑↑{ toFun := f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄ }).toFun (r • a) =
        r • (↑↑{ toFun := f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄ }).toFun a)
  (h₇ :
    ∀ (x : A),
      (↑↑{ toFun := f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄,
                    commutes' := h₅ }.toRingHom).toFun
          (star x) =
        star
          ((↑↑{ toFun := f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄,
                      commutes' := h₅ }.toRingHom).toFun
            x)),
  ⇑{ toFun := f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄, commutes' := h₅, map_star' := h₇ } = f

theorem StarAlgHom.coe_mk' E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (f : A →ₐ[R] B)
  (h : ∀ (x : A), (↑↑f.toRingHom).toFun (star x) = star ((↑↑f.toRingHom).toFun x)),
  ⇑{ toAlgHom := f, map_star' := h } = ⇑f

theorem StarAlgHom.mk_coe E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (f : A →⋆ₐ[R] B) (h₁ : f 1 = 1)
  (h₂ :
    ∀ (x y : A),
      { toFun := ⇑f, map_one' := h₁ }.toFun (x * y) =
        { toFun := ⇑f, map_one' := h₁ }.toFun x * { toFun := ⇑f, map_one' := h₁ }.toFun y)
  (h₃ : (↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂ }).toFun 0 = 0)
  (h₄ :
    ∀ (x y : A),
      (↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂ }).toFun (x + y) =
        (↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂ }).toFun x +
          (↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂ }).toFun y)
  (h₅ :
    ∀ (r : R),
      (↑↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄ }).toFun ((algebraMap R A) r) =
        (algebraMap R B) r)
  (h₆ :
    ∀ (r : R) (a : A),
      (↑↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄ }).toFun (r • a) =
        r • (↑↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄ }).toFun a)
  (h₇ :
    ∀ (x : A),
      (↑↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄,
                    commutes' := h₅ }.toRingHom).toFun
          (star x) =
        star
          ((↑↑{ toFun := ⇑f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄,
                      commutes' := h₅ }.toRingHom).toFun
            x)),
  { toFun := ⇑f, map_one' := h₁, map_mul' := h₂, map_zero' := h₃, map_add' := h₄, commutes' := h₅, map_star' := h₇ } = f

def StarAlgHom.id E1 #

(R : Type u_2) →
  (A : Type u_3) →
    [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → [inst_3 : Star A] → A →⋆ₐ[R] A

The identity as a StarAlgHom.

theorem StarAlgHom.coe_id E0 #

∀ (R : Type u_2) (A : Type u_3) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] [inst_3 : Star A],
  ⇑(StarAlgHom.id R A) = id

def StarAlgHom.ofId E1 #

(R : Type u_7) →
  (A : Type u_8) →
    [inst : CommSemiring R] →
      [inst_1 : StarRing R] →
        [inst_2 : Semiring A] → [inst_3 : StarMul A] → [inst_4 : Algebra R A] → [StarModule R A] → R →⋆ₐ[R] A

algebraMap R A as a StarAlgHom when A is a star algebra over R.

theorem StarAlgHom.ofId_apply E0 #

∀ (R : Type u_7) (A : Type u_8) [inst : CommSemiring R] [inst_1 : StarRing R] [inst_2 : Semiring A] [inst_3 : StarMul A]
  [inst_4 : Algebra R A] [inst_5 : StarModule R A] (a : R), (StarAlgHom.ofId R A) a = (algebraMap R A) a

instance StarAlgHom.instInhabited E0 #

{R : Type u_2} →
  {A : Type u_3} →
    [inst : CommSemiring R] →
      [inst_1 : Semiring A] → [inst_2 : Algebra R A] → [inst_3 : Star A] → Inhabited (A →⋆ₐ[R] A)

def StarAlgHom.comp E1 #

{R : Type u_2} →
  {A : Type u_3} →
    {B : Type u_4} →
      {C : Type u_5} →
        [inst : CommSemiring R] →
          [inst_1 : Semiring A] →
            [inst_2 : Algebra R A] →
              [inst_3 : Star A] →
                [inst_4 : Semiring B] →
                  [inst_5 : Algebra R B] →
                    [inst_6 : Star B] →
                      [inst_7 : Semiring C] →
                        [inst_8 : Algebra R C] → [inst_9 : Star C] → (B →⋆ₐ[R] C) → (A →⋆ₐ[R] B) → A →⋆ₐ[R] C

The composition of ⋆-algebra homomorphisms, as a ⋆-algebra homomorphism.

theorem StarAlgHom.coe_comp E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B]
  [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Star C] (f : B →⋆ₐ[R] C) (g : A →⋆ₐ[R] B),
  ⇑(f.comp g) = ⇑f ∘ ⇑g

theorem StarAlgHom.comp_apply E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B]
  [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Star C] (f : B →⋆ₐ[R] C) (g : A →⋆ₐ[R] B) (a : A),
  (f.comp g) a = f (g a)

theorem StarAlgHom.comp_assoc E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} {C : Type u_5} {D : Type u_6} [inst : CommSemiring R]
  [inst_1 : Semiring A] [inst_2 : Algebra R A] [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B]
  [inst_6 : Star B] [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Star C] [inst_10 : Semiring D]
  [inst_11 : Algebra R D] [inst_12 : Star D] (f : C →⋆ₐ[R] D) (g : B →⋆ₐ[R] C) (h : A →⋆ₐ[R] B),
  (f.comp g).comp h = f.comp (g.comp h)

theorem StarAlgHom.id_comp E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (f : A →⋆ₐ[R] B),
  (StarAlgHom.id R B).comp f = f

theorem StarAlgHom.comp_id E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (f : A →⋆ₐ[R] B),
  f.comp (StarAlgHom.id R A) = f

instance StarAlgHom.instMonoid E0 #

{R : Type u_2} →
  {A : Type u_3} →
    [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → [inst_3 : Star A] → Monoid (A →⋆ₐ[R] A)

def StarAlgHom.toNonUnitalStarAlgHom E1 #

{R : Type u_2} →
  {A : Type u_3} →
    {B : Type u_4} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Star A] →
              [inst_4 : Semiring B] → [inst_5 : Algebra R B] → [inst_6 : Star B] → (A →⋆ₐ[R] B) → A →⋆ₙₐ[R] B

A unital morphism of ⋆-algebras is a NonUnitalStarAlgHom.

theorem StarAlgHom.coe_toNonUnitalStarAlgHom E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (f : A →⋆ₐ[R] B),
  ⇑f.toNonUnitalStarAlgHom = ⇑f

def NonUnitalStarAlgHom.fst E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : Star A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] → [inst_6 : Star B] → A × B →⋆ₙₐ[R] A

The first projection of a product is a non-unital ⋆-algebra homomorphism.

theorem NonUnitalStarAlgHom.fst_apply E0 #

∀ (R : Type u_1) (A : Type u_2) (B : Type u_3) [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (self : A × B), (NonUnitalStarAlgHom.fst R A B) self = self.1

def NonUnitalStarAlgHom.snd E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : Star A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] → [inst_6 : Star B] → A × B →⋆ₙₐ[R] B

The second projection of a product is a non-unital ⋆-algebra homomorphism.

theorem NonUnitalStarAlgHom.snd_apply E0 #

∀ (R : Type u_1) (A : Type u_2) (B : Type u_3) [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] (self : A × B), (NonUnitalStarAlgHom.snd R A B) self = self.2

def NonUnitalStarAlgHom.prod E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {C : Type u_4} →
        [inst : Monoid R] →
          [inst_1 : NonUnitalNonAssocSemiring A] →
            [inst_2 : DistribMulAction R A] →
              [inst_3 : Star A] →
                [inst_4 : NonUnitalNonAssocSemiring B] →
                  [inst_5 : DistribMulAction R B] →
                    [inst_6 : Star B] →
                      [inst_7 : NonUnitalNonAssocSemiring C] →
                        [inst_8 : DistribMulAction R C] →
                          [inst_9 : Star C] → (A →⋆ₙₐ[R] B) → (A →⋆ₙₐ[R] C) → A →⋆ₙₐ[R] B × C

The Function.prod of two morphisms is a morphism.

theorem NonUnitalStarAlgHom.prod_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : NonUnitalNonAssocSemiring C]
  [inst_8 : DistribMulAction R C] [inst_9 : Star C] (f : A →⋆ₙₐ[R] B) (g : A →⋆ₙₐ[R] C) (i : A),
  (f.prod g) i = (f i, g i)

theorem NonUnitalStarAlgHom.coe_prod E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : NonUnitalNonAssocSemiring C]
  [inst_8 : DistribMulAction R C] [inst_9 : Star C] (f : A →⋆ₙₐ[R] B) (g : A →⋆ₙₐ[R] C),
  ⇑(f.prod g) = Function.prod ⇑f ⇑g

theorem NonUnitalStarAlgHom.fst_prod E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : NonUnitalNonAssocSemiring C]
  [inst_8 : DistribMulAction R C] [inst_9 : Star C] (f : A →⋆ₙₐ[R] B) (g : A →⋆ₙₐ[R] C),
  (NonUnitalStarAlgHom.fst R B C).comp (f.prod g) = f

theorem NonUnitalStarAlgHom.snd_prod E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : NonUnitalNonAssocSemiring C]
  [inst_8 : DistribMulAction R C] [inst_9 : Star C] (f : A →⋆ₙₐ[R] B) (g : A →⋆ₙₐ[R] C),
  (NonUnitalStarAlgHom.snd R B C).comp (f.prod g) = g

theorem NonUnitalStarAlgHom.prod_fst_snd E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B],
  (NonUnitalStarAlgHom.fst R A B).prod (NonUnitalStarAlgHom.snd R A B) = 1

def NonUnitalStarAlgHom.prodEquiv E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {C : Type u_4} →
        [inst : Monoid R] →
          [inst_1 : NonUnitalNonAssocSemiring A] →
            [inst_2 : DistribMulAction R A] →
              [inst_3 : Star A] →
                [inst_4 : NonUnitalNonAssocSemiring B] →
                  [inst_5 : DistribMulAction R B] →
                    [inst_6 : Star B] →
                      [inst_7 : NonUnitalNonAssocSemiring C] →
                        [inst_8 : DistribMulAction R C] →
                          [inst_9 : Star C] → (A →⋆ₙₐ[R] B) × (A →⋆ₙₐ[R] C) ≃ (A →⋆ₙₐ[R] B × C)

Taking the product of two maps with the same domain is equivalent to taking the product of their codomains.

theorem NonUnitalStarAlgHom.prodEquiv_symm_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : NonUnitalNonAssocSemiring C]
  [inst_8 : DistribMulAction R C] [inst_9 : Star C] (f : A →⋆ₙₐ[R] B × C),
  NonUnitalStarAlgHom.prodEquiv.symm f =
    ((NonUnitalStarAlgHom.fst R B C).comp f, (NonUnitalStarAlgHom.snd R B C).comp f)

theorem NonUnitalStarAlgHom.prodEquiv_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : NonUnitalNonAssocSemiring C]
  [inst_8 : DistribMulAction R C] [inst_9 : Star C] (f : (A →⋆ₙₐ[R] B) × (A →⋆ₙₐ[R] C)),
  NonUnitalStarAlgHom.prodEquiv f = f.1.prod f.2

def Pi.evalNonUnitalStarAlgHom E1 #

{ι : Type u_1} →
  (R : Type u_2) →
    (A : ι → Type u_3) →
      (j : ι) →
        [inst : Monoid R] →
          [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] →
            [inst_2 : (i : ι) → DistribMulAction R (A i)] →
              [inst_3 : (i : ι) → Star (A i)] → ((i : ι) → A i) →⋆ₙₐ[R] A j

Function.eval as a NonUnitalStarAlgHom.

theorem Pi.evalNonUnitalStarAlgHom_apply E0 #

∀ {ι : Type u_1} (R : Type u_2) (A : ι → Type u_3) (j : ι) [inst : Monoid R]
  [inst_1 : (i : ι) → NonUnitalNonAssocSemiring (A i)] [inst_2 : (i : ι) → DistribMulAction R (A i)]
  [inst_3 : (i : ι) → Star (A i)] (a : (i : ι) → A i),
  (Pi.evalNonUnitalStarAlgHom R A j) a = (Pi.evalMulHom A j).toFun a

def Pi.evalStarAlgHom E1 #

{ι : Type u_1} →
  (R : Type u_2) →
    (A : ι → Type u_3) →
      (j : ι) →
        [inst : CommSemiring R] →
          [inst_1 : (i : ι) → Semiring (A i)] →
            [inst_2 : (i : ι) → Algebra R (A i)] → [inst_3 : (i : ι) → Star (A i)] → ((i : ι) → A i) →⋆ₐ[R] A j

Function.eval as a StarAlgHom.

theorem Pi.evalStarAlgHom_apply E0 #

∀ {ι : Type u_1} (R : Type u_2) (A : ι → Type u_3) (j : ι) [inst : CommSemiring R] [inst_1 : (i : ι) → Semiring (A i)]
  [inst_2 : (i : ι) → Algebra R (A i)] [inst_3 : (i : ι) → Star (A i)] (a : (i : ι) → A i),
  (Pi.evalStarAlgHom R A j) a = (Pi.evalNonUnitalStarAlgHom R A j).toFun a

def NonUnitalStarAlgHom.inl E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : StarAddMonoid A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] → [inst_6 : StarAddMonoid B] → A →⋆ₙₐ[R] A × B

The left injection into a product is a non-unital algebra homomorphism.

def NonUnitalStarAlgHom.inr E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A] →
          [inst_2 : DistribMulAction R A] →
            [inst_3 : StarAddMonoid A] →
              [inst_4 : NonUnitalNonAssocSemiring B] →
                [inst_5 : DistribMulAction R B] → [inst_6 : StarAddMonoid B] → B →⋆ₙₐ[R] A × B

The right injection into a product is a non-unital algebra homomorphism.

theorem NonUnitalStarAlgHom.coe_inl E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : StarAddMonoid A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : StarAddMonoid B], ⇑(NonUnitalStarAlgHom.inl R A B) = fun x ↦ (x, 0)

theorem NonUnitalStarAlgHom.inl_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : StarAddMonoid A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : StarAddMonoid B] (x : A), (NonUnitalStarAlgHom.inl R A B) x = (x, 0)

theorem NonUnitalStarAlgHom.coe_inr E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : StarAddMonoid A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : StarAddMonoid B], ⇑(NonUnitalStarAlgHom.inr R A B) = Prod.mk 0

theorem NonUnitalStarAlgHom.inr_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : StarAddMonoid A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : StarAddMonoid B] (x : B), (NonUnitalStarAlgHom.inr R A B) x = (0, x)

def StarAlgHom.fst E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Star A] → [inst_4 : Semiring B] → [inst_5 : Algebra R B] → [inst_6 : Star B] → A × B →⋆ₐ[R] A

The first projection of a product is a ⋆-algebra homomorphism.

theorem StarAlgHom.fst_apply E0 #

∀ (R : Type u_1) (A : Type u_2) (B : Type u_3) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (self : A × B),
  (StarAlgHom.fst R A B) self = self.1

def StarAlgHom.snd E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Star A] → [inst_4 : Semiring B] → [inst_5 : Algebra R B] → [inst_6 : Star B] → A × B →⋆ₐ[R] B

The second projection of a product is a ⋆-algebra homomorphism.

theorem StarAlgHom.snd_apply E0 #

∀ (R : Type u_1) (A : Type u_2) (B : Type u_3) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (self : A × B),
  (StarAlgHom.snd R A B) self = self.2

def StarAlgHom.prod E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {C : Type u_4} →
        [inst : CommSemiring R] →
          [inst_1 : Semiring A] →
            [inst_2 : Algebra R A] →
              [inst_3 : Star A] →
                [inst_4 : Semiring B] →
                  [inst_5 : Algebra R B] →
                    [inst_6 : Star B] →
                      [inst_7 : Semiring C] →
                        [inst_8 : Algebra R C] → [inst_9 : Star C] → (A →⋆ₐ[R] B) → (A →⋆ₐ[R] C) → A →⋆ₐ[R] B × C

The Function.prod of two morphisms is a morphism.

theorem StarAlgHom.prod_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B]
  [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Star C] (f : A →⋆ₐ[R] B) (g : A →⋆ₐ[R] C) (x : A),
  (f.prod g) x = (f x, g x)

theorem StarAlgHom.coe_prod E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B]
  [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Star C] (f : A →⋆ₐ[R] B) (g : A →⋆ₐ[R] C),
  ⇑(f.prod g) = Function.prod ⇑f ⇑g

theorem StarAlgHom.fst_prod E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B]
  [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Star C] (f : A →⋆ₐ[R] B) (g : A →⋆ₐ[R] C),
  (StarAlgHom.fst R B C).comp (f.prod g) = f

theorem StarAlgHom.snd_prod E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B]
  [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Star C] (f : A →⋆ₐ[R] B) (g : A →⋆ₐ[R] C),
  (StarAlgHom.snd R B C).comp (f.prod g) = g

theorem StarAlgHom.prod_fst_snd E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B],
  (StarAlgHom.fst R A B).prod (StarAlgHom.snd R A B) = 1

def StarAlgHom.prodEquiv E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      {C : Type u_4} →
        [inst : CommSemiring R] →
          [inst_1 : Semiring A] →
            [inst_2 : Algebra R A] →
              [inst_3 : Star A] →
                [inst_4 : Semiring B] →
                  [inst_5 : Algebra R B] →
                    [inst_6 : Star B] →
                      [inst_7 : Semiring C] →
                        [inst_8 : Algebra R C] → [inst_9 : Star C] → (A →⋆ₐ[R] B) × (A →⋆ₐ[R] C) ≃ (A →⋆ₐ[R] B × C)

Taking the product of two maps with the same domain is equivalent to taking the product of their codomains.

theorem StarAlgHom.prodEquiv_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B]
  [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Star C] (f : (A →⋆ₐ[R] B) × (A →⋆ₐ[R] C)),
  StarAlgHom.prodEquiv f = f.1.prod f.2

theorem StarAlgHom.prodEquiv_symm_apply E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} {C : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A]
  [inst_2 : Algebra R A] [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B]
  [inst_7 : Semiring C] [inst_8 : Algebra R C] [inst_9 : Star C] (f : A →⋆ₐ[R] B × C),
  StarAlgHom.prodEquiv.symm f = ((StarAlgHom.fst R B C).comp f, (StarAlgHom.snd R B C).comp f)

structure StarAlgEquiv E3 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [Add A] → [Add B] → [Mul A] → [Mul B] → [SMul R A] → [SMul R B] → [Star A] → [Star B] → Type (max u_2 u_3)

A ⋆-algebra equivalence is an equivalence preserving addition, multiplication, scalar multiplication and the star operation, which allows for considering both unital and non-unital equivalences with a single structure.

abbrev StarAlgEquiv.toAlgEquiv E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : Add A] →
        [inst_1 : Add B] →
          [inst_2 : Mul A] →
            [inst_3 : Mul B] →
              [inst_4 : SMul R A] →
                [inst_5 : SMul R B] → [inst_6 : Star A] → [inst_7 : Star B] → (A ≃⋆ₐ[R] B) → A ≃ₐ[R] B

Reinterpret a star algebra equivalence as an AlgEquiv by forgetting the interaction with the star operation.

abbrev StarAlgEquiv.toStarRingEquiv E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : Add A] →
        [inst_1 : Add B] →
          [inst_2 : Mul A] →
            [inst_3 : Mul B] →
              [inst_4 : SMul R A] →
                [inst_5 : SMul R B] → [inst_6 : Star A] → [inst_7 : Star B] → (A ≃⋆ₐ[R] B) → A ≃⋆+* B

Reinterpret a star algebra equivalence as a StarRingEquiv by forgetting the interaction with the scalar multiplication.

ctor StarAlgEquiv.mk E0 #

{R : Type u_1} →
  {A : Type u_2} →
    {B : Type u_3} →
      [inst : Add A] →
        [inst_1 : Add B] →
          [inst_2 : Mul A] →
            [inst_3 : Mul B] →
              [inst_4 : SMul R A] →
                [inst_5 : SMul R B] →
                  [inst_6 : Star A] →
                    [inst_7 : Star B] →
                      (toStarRingEquiv : A ≃⋆+* B) →
                        (∀ (r : R) (a : A), toStarRingEquiv.toFun (r • a) = r • toStarRingEquiv.toFun a) → A ≃⋆ₐ[R] B

theorem StarAlgEquiv.map_smul' E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (self : A ≃⋆ₐ[R] B) (r : R) (a : A),
  self.toFun (r • a) = r • self.toFun a

An equivalence of algebras commutes with the action of scalars.

def «term_≃⋆ₐ_» E1 #

Lean.TrailingParserDescr

A ⋆-algebra equivalence is an equivalence preserving addition, multiplication, scalar multiplication and the star operation, which allows for considering both unital and non-unital equivalences with a single structure.

def «term_≃⋆ₐ[_]_» E1 #

Lean.TrailingParserDescr

A ⋆-algebra equivalence is an equivalence preserving addition, multiplication, scalar multiplication and the star operation, which allows for considering both unital and non-unital equivalences with a single structure.

def StarAlgEquiv.ofClass E1 #

{F : Type u_1} →
  {R : Type u_2} →
    {A : Type u_3} →
      {B : Type u_4} →
        [inst : Add A] →
          [inst_1 : Mul A] →
            [inst_2 : SMul R A] →
              [inst_3 : Star A] →
                [inst_4 : Add B] →
                  [inst_5 : Mul B] →
                    [inst_6 : SMul R B] →
                      [inst_7 : Star B] →
                        [inst_8 : EquivLike F A B] → [AlgEquivClass F R A B] → [StarHomClass F A B] → F → A ≃⋆ₐ[R] B

Turn an element of a type F satisfying AlgEquivClass F R A B and StarHomClass F A B into an actual StarAlgEquiv.

instance StarAlgEquiv.instEquivLike E0 #

{R : Type u_2} →
  {A : Type u_3} →
    {B : Type u_4} →
      [inst : Add A] →
        [inst_1 : Add B] →
          [inst_2 : Mul A] →
            [inst_3 : Mul B] →
              [inst_4 : SMul R A] →
                [inst_5 : SMul R B] → [inst_6 : Star A] → [inst_7 : Star B] → EquivLike (A ≃⋆ₐ[R] B) A B

instance StarAlgEquiv.instAlgEquivClass E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B], AlgEquivClass (A ≃⋆ₐ[R] B) R A B

instance StarAlgEquiv.instStarRingEquivClass E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B], StarRingEquivClass (A ≃⋆ₐ[R] B) A B

instance StarAlgEquiv.instFunLike E0 #

{R : Type u_2} →
  {A : Type u_3} →
    {B : Type u_4} →
      [inst : Add A] →
        [inst_1 : Add B] →
          [inst_2 : Mul A] →
            [inst_3 : Mul B] →
              [inst_4 : SMul R A] →
                [inst_5 : SMul R B] → [inst_6 : Star A] → [inst_7 : Star B] → FunLike (A ≃⋆ₐ[R] B) A B

Helper instance for cases where the inference via EquivLike is too hard.

theorem StarAlgEquiv.toStarRingEquiv_eq_ofClass E1 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B),
  e.toStarRingEquiv = StarRingEquiv.ofClass e

theorem StarAlgEquiv.toRingEquiv_eq_ofClass E1 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B),
  e.toRingEquiv = (StarRingEquiv.ofClass e).toRingEquiv

theorem StarAlgEquiv.ext_iff E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] {f g : A ≃⋆ₐ[R] B},
  f = g ↔ ∀ (a : A), f a = g a

theorem StarAlgEquiv.ext E1 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] {f g : A ≃⋆ₐ[R] B},
  (∀ (a : A), f a = g a) → f = g

def StarAlgEquiv.refl E1 #

(R : Type u_2) →
  (A : Type u_3) → [inst : Add A] → [inst_1 : Mul A] → [inst_2 : SMul R A] → [inst_3 : Star A] → A ≃⋆ₐ[R] A

The identity map is a star algebra isomorphism.

instance StarAlgEquiv.instInhabited E0 #

{R : Type u_2} →
  {A : Type u_3} → [inst : Add A] → [inst_1 : Mul A] → [inst_2 : SMul R A] → [inst_3 : Star A] → Inhabited (A ≃⋆ₐ[R] A)

theorem StarAlgEquiv.coe_refl E0 #

∀ {R : Type u_2} {A : Type u_3} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Star A],
  ⇑(StarAlgEquiv.refl R A) = id

def StarAlgEquiv.symm E1 #

{R : Type u_2} →
  {A : Type u_3} →
    {B : Type u_4} →
      [inst : Add A] →
        [inst_1 : Add B] →
          [inst_2 : Mul A] →
            [inst_3 : Mul B] →
              [inst_4 : SMul R A] →
                [inst_5 : SMul R B] → [inst_6 : Star A] → [inst_7 : Star B] → (A ≃⋆ₐ[R] B) → B ≃⋆ₐ[R] A

The inverse of a star algebra isomorphism is a star algebra isomorphism.

def StarAlgEquiv.Simps.symm_apply E0 #

{R : Type u_2} →
  {A : Type u_3} →
    {B : Type u_4} →
      [inst : Add A] →
        [inst_1 : Add B] →
          [inst_2 : Mul A] →
            [inst_3 : Mul B] →
              [inst_4 : SMul R A] → [inst_5 : SMul R B] → [inst_6 : Star A] → [inst_7 : Star B] → (A ≃⋆ₐ[R] B) → B → A

See Note [custom simps projection]

theorem StarAlgEquiv.invFun_eq_symm E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] {e : A ≃⋆ₐ[R] B},
  EquivLike.inv e = ⇑e.symm

theorem StarAlgEquiv.symm_symm E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B), e.symm.symm = e

theorem StarAlgEquiv.symm_apply_eq E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B) {x : B} {y : A},
  e.symm x = y ↔ x = e y

theorem StarAlgEquiv.symm_bijective E1 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B], Function.Bijective StarAlgEquiv.symm

theorem StarAlgEquiv.coe_mk E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆+* B)
  (h : ∀ (r : R) (a : A), e.toFun (r • a) = r • e.toFun a), ⇑{ toStarRingEquiv := e, map_smul' := h } = ⇑e

theorem StarAlgEquiv.mk_coe E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B) (e' : B → A)
  (h₁ : Function.LeftInverse e' ⇑e) (h₂ : Function.RightInverse e' ⇑e)
  (h₃ :
    ∀ (x y : A),
      { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂ }.toFun (x * y) =
        { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂ }.toFun x *
          { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂ }.toFun y)
  (h₄ :
    ∀ (x y : A),
      { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂ }.toFun (x + y) =
        { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂ }.toFun x +
          { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂ }.toFun y)
  (h₅ :
    ∀ (a : A),
      { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂, map_mul' := h₃, map_add' := h₄ }.toFun (star a) =
        star ({ toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂, map_mul' := h₃, map_add' := h₄ }.toFun a))
  (h₆ :
    ∀ (r : R) (a : A),
      { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂, map_mul' := h₃, map_add' := h₄,
              map_star' := h₅ }.toFun
          (r • a) =
        r •
          { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂, map_mul' := h₃, map_add' := h₄,
                map_star' := h₅ }.toFun
            a),
  { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂, map_mul' := h₃, map_add' := h₄, map_star' := h₅,
      map_smul' := h₆ } =
    e

theorem StarAlgEquiv.symm_mk E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆+* B)
  (h₁ : ∀ (r : R) (a : A), e.toFun (r • a) = r • e.toFun a),
  { toStarRingEquiv := e, map_smul' := h₁ }.symm = { toStarRingEquiv := e.symm, map_smul' := ⋯ }

theorem StarAlgEquiv.refl_symm E0 #

∀ {R : Type u_2} {A : Type u_3} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Star A],
  (StarAlgEquiv.refl R A).symm = StarAlgEquiv.refl R A

theorem StarAlgEquiv.coe_toStarRingEquiv E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B), ⇑e.toStarRingEquiv = ⇑e

theorem StarAlgEquiv.toStarRingEquiv_symm E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B),
  e.symm.toStarRingEquiv = e.symm

def StarAlgEquiv.trans E1 #

{R : Type u_2} →
  {A : Type u_3} →
    {B : Type u_4} →
      {C : Type u_5} →
        [inst : Add A] →
          [inst_1 : Add B] →
            [inst_2 : Mul A] →
              [inst_3 : Mul B] →
                [inst_4 : SMul R A] →
                  [inst_5 : SMul R B] →
                    [inst_6 : Star A] →
                      [inst_7 : Star B] →
                        [inst_8 : Add C] →
                          [inst_9 : Mul C] →
                            [inst_10 : SMul R C] → [inst_11 : Star C] → (A ≃⋆ₐ[R] B) → (B ≃⋆ₐ[R] C) → A ≃⋆ₐ[R] C

Transitivity of StarAlgEquiv.

theorem StarAlgEquiv.apply_symm_apply E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B) (x : B), e (e.symm x) = x

theorem StarAlgEquiv.symm_apply_apply E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B) (x : A), e.symm (e x) = x

theorem StarAlgEquiv.symm_trans_apply E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A]
  [inst_3 : Mul B] [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] [inst_8 : Add C]
  [inst_9 : Mul C] [inst_10 : SMul R C] [inst_11 : Star C] (e₁ : A ≃⋆ₐ[R] B) (e₂ : B ≃⋆ₐ[R] C) (x : C),
  (e₁.trans e₂).symm x = e₁.symm (e₂.symm x)

theorem StarAlgEquiv.coe_trans E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A]
  [inst_3 : Mul B] [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] [inst_8 : Add C]
  [inst_9 : Mul C] [inst_10 : SMul R C] [inst_11 : Star C] (e₁ : A ≃⋆ₐ[R] B) (e₂ : B ≃⋆ₐ[R] C),
  ⇑(e₁.trans e₂) = ⇑e₂ ∘ ⇑e₁

theorem StarAlgEquiv.trans_apply E0 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} {C : Type u_5} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A]
  [inst_3 : Mul B] [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] [inst_8 : Add C]
  [inst_9 : Mul C] [inst_10 : SMul R C] [inst_11 : Star C] (e₁ : A ≃⋆ₐ[R] B) (e₂ : B ≃⋆ₐ[R] C) (x : A),
  (e₁.trans e₂) x = e₂ (e₁ x)

theorem StarAlgEquiv.leftInverse_symm E1 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B),
  Function.LeftInverse ⇑e.symm ⇑e

theorem StarAlgEquiv.rightInverse_symm E1 #

∀ {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Add A] [inst_1 : Add B] [inst_2 : Mul A] [inst_3 : Mul B]
  [inst_4 : SMul R A] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (e : A ≃⋆ₐ[R] B),
  Function.RightInverse ⇑e.symm ⇑e

theorem StarAlgEquiv.toAlgEquiv_symm E1 #

∀ {R : Type u_6} {A : Type u_7} {B : Type u_8} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Add B]
  [inst_4 : Mul B] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (f : A ≃⋆ₐ[R] B),
  f.symm.toAlgEquiv = f.toAlgEquiv.symm

theorem StarAlgEquiv.coe_toAlgEquiv E0 #

∀ {R : Type u_6} {A : Type u_7} {B : Type u_8} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Add B]
  [inst_4 : Mul B] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (f : A ≃⋆ₐ[R] B), ⇑f.toAlgEquiv = ⇑f

theorem StarAlgEquiv.coe_symm_toAlgEquiv E0 #

∀ {R : Type u_6} {A : Type u_7} {B : Type u_8} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Add B]
  [inst_4 : Mul B] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (f : A ≃⋆ₐ[R] B),
  ⇑f.toAlgEquiv.symm = ⇑f.symm

theorem StarAlgEquiv.toAlgEquiv_trans E0 #

∀ {R : Type u_6} {A : Type u_7} {B : Type u_8} {C : Type u_9} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A]
  [inst_3 : Add B] [inst_4 : Mul B] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] [inst_8 : Add C]
  [inst_9 : Mul C] [inst_10 : SMul R C] [inst_11 : Star C] (f : A ≃⋆ₐ[R] B) (g : B ≃⋆ₐ[R] C),
  (f.trans g).toAlgEquiv = f.toAlgEquiv.trans g.toAlgEquiv

theorem StarAlgEquiv.toAlgEquiv_injective E1 #

∀ {R : Type u_6} {A : Type u_7} {B : Type u_8} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Add B]
  [inst_4 : Mul B] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B], Function.Injective StarAlgEquiv.toAlgEquiv

theorem StarAlgEquiv.toAlgEquiv_refl E0 #

∀ {R : Type u_6} {A : Type u_7} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Star A],
  (StarAlgEquiv.refl R A).toAlgEquiv = AlgEquiv.refl

def StarAlgEquiv.ofAlgEquiv E1 #

{R : Type u_6} →
  {A : Type u_7} →
    {B : Type u_8} →
      [inst : Add A] →
        [inst_1 : Mul A] →
          [inst_2 : SMul R A] →
            [inst_3 : Add B] →
              [inst_4 : Mul B] →
                [inst_5 : SMul R B] →
                  [inst_6 : Star A] →
                    [inst_7 : Star B] → (f : A ≃ₐ[R] B) → (∀ (x : A), f (star x) = star (f x)) → A ≃⋆ₐ[R] B

Upgrade an algebra equivalence to a ⋆-algebra equivalence given that it preserves the star operation.

theorem StarAlgEquiv.ofAlgEquiv_apply E0 #

∀ {R : Type u_6} {A : Type u_7} {B : Type u_8} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Add B]
  [inst_4 : Mul B] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (f : A ≃ₐ[R] B)
  (map_star : ∀ (x : A), f (star x) = star (f x)) (x : A), (StarAlgEquiv.ofAlgEquiv f map_star) x = f x

theorem StarAlgEquiv.ofAlgEquiv_symm E0 #

∀ {R : Type u_6} {A : Type u_7} {B : Type u_8} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Add B]
  [inst_4 : Mul B] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (f : A ≃ₐ[R] B)
  (map_star : ∀ (x : A), f (star x) = star (f x)),
  (StarAlgEquiv.ofAlgEquiv f map_star).symm = StarAlgEquiv.ofAlgEquiv f.symm ⋯

theorem StarAlgEquiv.toAlgEquiv_ofAlgEquiv E0 #

∀ {R : Type u_6} {A : Type u_7} {B : Type u_8} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Add B]
  [inst_4 : Mul B] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (f : A ≃ₐ[R] B)
  (map_star : ∀ (x : A), f (star x) = star (f x)), (StarAlgEquiv.ofAlgEquiv f map_star).toAlgEquiv = f

theorem StarAlgEquiv.ofAlgEquiv_toAlgEquiv E0 #

∀ {R : Type u_6} {A : Type u_7} {B : Type u_8} [inst : Add A] [inst_1 : Mul A] [inst_2 : SMul R A] [inst_3 : Add B]
  [inst_4 : Mul B] [inst_5 : SMul R B] [inst_6 : Star A] [inst_7 : Star B] (f : A ≃⋆ₐ[R] B)
  (map_star : ∀ (x : A), f.toAlgEquiv (star x) = star (f.toAlgEquiv x)),
  StarAlgEquiv.ofAlgEquiv f.toAlgEquiv map_star = f

def StarAlgEquiv.toNonUnitalStarAlgHom E1 #

{R : Type u_1} →
  {A₁ : Type u_2} →
    {A₂ : Type u_3} →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A₁] →
          [inst_2 : DistribMulAction R A₁] →
            [inst_3 : Star A₁] →
              [inst_4 : NonUnitalNonAssocSemiring A₂] →
                [inst_5 : DistribMulAction R A₂] → [inst_6 : Star A₂] → (A₁ ≃⋆ₐ[R] A₂) → A₁ →⋆ₙₐ[R] A₂

Reintrepret a star algebra equivalence as a non-unital star algebra homomorphism.

theorem StarAlgEquiv.toNonUnitalStarAlgHom_apply E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁] [inst_4 : NonUnitalNonAssocSemiring A₂]
  [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂] (e : A₁ ≃⋆ₐ[R] A₂) (a : A₁), e.toNonUnitalStarAlgHom a = e a

theorem StarAlgEquiv.toNonUnitalStarAlgHom_refl E0 #

∀ {R : Type u_1} {A₁ : Type u_2} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁],
  (StarAlgEquiv.refl R A₁).toNonUnitalStarAlgHom = NonUnitalStarAlgHom.id R A₁

theorem StarAlgEquiv.toNonUnitalStarAlgHom_comp E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {A₃ : Type u_4} [inst : Monoid R]
  [inst_1 : NonUnitalNonAssocSemiring A₁] [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁]
  [inst_4 : NonUnitalNonAssocSemiring A₂] [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂]
  [inst_7 : NonUnitalNonAssocSemiring A₃] [inst_8 : DistribMulAction R A₃] [inst_9 : Star A₃] (e₁ : A₁ ≃⋆ₐ[R] A₂)
  (e₂ : A₂ ≃⋆ₐ[R] A₃), e₂.toNonUnitalStarAlgHom.comp e₁.toNonUnitalStarAlgHom = (e₁.trans e₂).toNonUnitalStarAlgHom

def StarAlgEquiv.arrowCongr' E1 #

{R : Type u_1} →
  {A₁ : Type u_2} →
    {A₂ : Type u_3} →
      {A₁' : Type u_5} →
        {A₂' : Type u_6} →
          [inst : Monoid R] →
            [inst_1 : NonUnitalNonAssocSemiring A₁] →
              [inst_2 : DistribMulAction R A₁] →
                [inst_3 : Star A₁] →
                  [inst_4 : NonUnitalNonAssocSemiring A₂] →
                    [inst_5 : DistribMulAction R A₂] →
                      [inst_6 : Star A₂] →
                        [inst_7 : NonUnitalNonAssocSemiring A₁'] →
                          [inst_8 : DistribMulAction R A₁'] →
                            [inst_9 : Star A₁'] →
                              [inst_10 : NonUnitalNonAssocSemiring A₂'] →
                                [inst_11 : DistribMulAction R A₂'] →
                                  [inst_12 : Star A₂'] →
                                    (A₁ ≃⋆ₐ[R] A₁') → (A₂ ≃⋆ₐ[R] A₂') → (A₁ →⋆ₙₐ[R] A₂) ≃ (A₁' →⋆ₙₐ[R] A₂')

If A₁ is equivalent to A₁' and A₂ is equivalent to A₂' as star algebras, then the type of maps A₁ →⋆ₙₐ[R] A₂ is equivalent to the type of maps A₁' →⋆ₙₐ[R] A₂'.

For unital star algebra homomorphisms, see StarAlgEquiv.arrowCongr.

theorem StarAlgEquiv.arrowCongr'_apply E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {A₁' : Type u_5} {A₂' : Type u_6} [inst : Monoid R]
  [inst_1 : NonUnitalNonAssocSemiring A₁] [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁]
  [inst_4 : NonUnitalNonAssocSemiring A₂] [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂]
  [inst_7 : NonUnitalNonAssocSemiring A₁'] [inst_8 : DistribMulAction R A₁'] [inst_9 : Star A₁']
  [inst_10 : NonUnitalNonAssocSemiring A₂'] [inst_11 : DistribMulAction R A₂'] [inst_12 : Star A₂'] (e₁ : A₁ ≃⋆ₐ[R] A₁')
  (e₂ : A₂ ≃⋆ₐ[R] A₂') (f : A₁ →⋆ₙₐ[R] A₂),
  (e₁.arrowCongr' e₂) f = (e₂.toNonUnitalStarAlgHom.comp f).comp e₁.symm.toNonUnitalStarAlgHom

theorem StarAlgEquiv.arrowCongr'_comp E1 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {A₃ : Type u_4} {A₁' : Type u_5} {A₂' : Type u_6} {A₃' : Type u_7}
  [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A₁] [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁]
  [inst_4 : NonUnitalNonAssocSemiring A₂] [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂]
  [inst_7 : NonUnitalNonAssocSemiring A₃] [inst_8 : DistribMulAction R A₃] [inst_9 : Star A₃]
  [inst_10 : NonUnitalNonAssocSemiring A₁'] [inst_11 : DistribMulAction R A₁'] [inst_12 : Star A₁']
  [inst_13 : NonUnitalNonAssocSemiring A₂'] [inst_14 : DistribMulAction R A₂'] [inst_15 : Star A₂']
  [inst_16 : NonUnitalNonAssocSemiring A₃'] [inst_17 : DistribMulAction R A₃'] [inst_18 : Star A₃'] (e₁ : A₁ ≃⋆ₐ[R] A₁')
  (e₂ : A₂ ≃⋆ₐ[R] A₂') (e₃ : A₃ ≃⋆ₐ[R] A₃') (f : A₁ →⋆ₙₐ[R] A₂) (g : A₂ →⋆ₙₐ[R] A₃),
  (e₁.arrowCongr' e₃) (g.comp f) = ((e₂.arrowCongr' e₃) g).comp ((e₁.arrowCongr' e₂) f)

theorem StarAlgEquiv.arrowCongr'_refl E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁] [inst_4 : NonUnitalNonAssocSemiring A₂]
  [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂],
  (StarAlgEquiv.refl R A₁).arrowCongr' (StarAlgEquiv.refl R A₂) = Equiv.refl (A₁ →⋆ₙₐ[R] A₂)

theorem StarAlgEquiv.arrowCongr'_trans E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {A₃ : Type u_4} {A₁' : Type u_5} {A₂' : Type u_6} {A₃' : Type u_7}
  [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A₁] [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁]
  [inst_4 : NonUnitalNonAssocSemiring A₂] [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂]
  [inst_7 : NonUnitalNonAssocSemiring A₃] [inst_8 : DistribMulAction R A₃] [inst_9 : Star A₃]
  [inst_10 : NonUnitalNonAssocSemiring A₁'] [inst_11 : DistribMulAction R A₁'] [inst_12 : Star A₁']
  [inst_13 : NonUnitalNonAssocSemiring A₂'] [inst_14 : DistribMulAction R A₂'] [inst_15 : Star A₂']
  [inst_16 : NonUnitalNonAssocSemiring A₃'] [inst_17 : DistribMulAction R A₃'] [inst_18 : Star A₃'] (e₁ : A₁ ≃⋆ₐ[R] A₂)
  (e₁' : A₁' ≃⋆ₐ[R] A₂') (e₂ : A₂ ≃⋆ₐ[R] A₃) (e₂' : A₂' ≃⋆ₐ[R] A₃'),
  (e₁.trans e₂).arrowCongr' (e₁'.trans e₂') = (e₁.arrowCongr' e₁').trans (e₂.arrowCongr' e₂')

theorem StarAlgEquiv.symm_arrowCongr' E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {A₁' : Type u_5} {A₂' : Type u_6} [inst : Monoid R]
  [inst_1 : NonUnitalNonAssocSemiring A₁] [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁]
  [inst_4 : NonUnitalNonAssocSemiring A₂] [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂]
  [inst_7 : NonUnitalNonAssocSemiring A₁'] [inst_8 : DistribMulAction R A₁'] [inst_9 : Star A₁']
  [inst_10 : NonUnitalNonAssocSemiring A₂'] [inst_11 : DistribMulAction R A₂'] [inst_12 : Star A₂'] (e₁ : A₁ ≃⋆ₐ[R] A₁')
  (e₂ : A₂ ≃⋆ₐ[R] A₂'), (e₁.arrowCongr' e₂).symm = e₁.symm.arrowCongr' e₂.symm

def StarAlgEquiv.ofNonUnitalStarAlgHom E1 #

{R : Type u_1} →
  {A₁ : Type u_2} →
    {A₂ : Type u_3} →
      [inst : Monoid R] →
        [inst_1 : NonUnitalNonAssocSemiring A₁] →
          [inst_2 : DistribMulAction R A₁] →
            [inst_3 : Star A₁] →
              [inst_4 : NonUnitalNonAssocSemiring A₂] →
                [inst_5 : DistribMulAction R A₂] →
                  [inst_6 : Star A₂] →
                    (f : A₁ →⋆ₙₐ[R] A₂) →
                      (g : A₂ →⋆ₙₐ[R] A₁) →
                        g.comp f = NonUnitalStarAlgHom.id R A₁ → f.comp g = NonUnitalStarAlgHom.id R A₂ → A₁ ≃⋆ₐ[R] A₂

Construct a star algebra equivalence from a pair of non-unital star algebra homomorphisms.

theorem StarAlgEquiv.ofNonUnitalStarAlgHom_apply E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁] [inst_4 : NonUnitalNonAssocSemiring A₂]
  [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂] (f : A₁ →⋆ₙₐ[R] A₂) (g : A₂ →⋆ₙₐ[R] A₁)
  (h₁ : g.comp f = NonUnitalStarAlgHom.id R A₁) (h₂ : f.comp g = NonUnitalStarAlgHom.id R A₂) (a : A₁),
  (StarAlgEquiv.ofNonUnitalStarAlgHom f g h₁ h₂) a = f a

theorem StarAlgEquiv.ofNonUnitalStarAlgHom_symm_apply E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁] [inst_4 : NonUnitalNonAssocSemiring A₂]
  [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂] (f : A₁ →⋆ₙₐ[R] A₂) (g : A₂ →⋆ₙₐ[R] A₁)
  (h₁ : g.comp f = NonUnitalStarAlgHom.id R A₁) (h₂ : f.comp g = NonUnitalStarAlgHom.id R A₂) (a : A₂),
  (StarAlgEquiv.ofNonUnitalStarAlgHom f g h₁ h₂).symm a = g a

theorem StarAlgEquiv.toNonUnitalStarAlgHom_ofNonUnitalStarAlgHom E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁] [inst_4 : NonUnitalNonAssocSemiring A₂]
  [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂] (f : A₁ →⋆ₙₐ[R] A₂) (g : A₂ →⋆ₙₐ[R] A₁)
  (h₁ : g.comp f = NonUnitalStarAlgHom.id R A₁) (h₂ : f.comp g = NonUnitalStarAlgHom.id R A₂),
  (StarAlgEquiv.ofNonUnitalStarAlgHom f g h₁ h₂).toNonUnitalStarAlgHom = f

theorem StarAlgEquiv.symm_ofNonUnitalStarAlgHom E1 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁] [inst_4 : NonUnitalNonAssocSemiring A₂]
  [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂] (f : A₁ →⋆ₙₐ[R] A₂) (g : A₂ →⋆ₙₐ[R] A₁)
  (h₁ : g.comp f = NonUnitalStarAlgHom.id R A₁) (h₂ : f.comp g = NonUnitalStarAlgHom.id R A₂),
  (StarAlgEquiv.ofNonUnitalStarAlgHom f g h₁ h₂).symm = StarAlgEquiv.ofNonUnitalStarAlgHom g f h₂ h₁

theorem StarAlgEquiv.toNonUnitalStarAlgHom_symm_ofNonUnitalStarAlgHom E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : DistribMulAction R A₁] [inst_3 : Star A₁] [inst_4 : NonUnitalNonAssocSemiring A₂]
  [inst_5 : DistribMulAction R A₂] [inst_6 : Star A₂] (f : A₁ →⋆ₙₐ[R] A₂) (g : A₂ →⋆ₙₐ[R] A₁)
  (h₁ : g.comp f = NonUnitalStarAlgHom.id R A₁) (h₂ : f.comp g = NonUnitalStarAlgHom.id R A₂),
  (StarAlgEquiv.ofNonUnitalStarAlgHom f g h₁ h₂).symm.toNonUnitalStarAlgHom = g

def StarAlgEquiv.toStarAlgHom E1 #

{R : Type u_1} →
  {A₁ : Type u_2} →
    {A₂ : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A₁] →
          [inst_2 : Semiring A₂] →
            [inst_3 : Algebra R A₁] →
              [inst_4 : Algebra R A₂] → [inst_5 : Star A₁] → [inst_6 : Star A₂] → (A₁ ≃⋆ₐ[R] A₂) → A₁ →⋆ₐ[R] A₂

Reintrepret a star algebra equivalence as a star algebra homomorphism.

theorem StarAlgEquiv.toStarAlgHom_apply E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] [inst_5 : Star A₁] [inst_6 : Star A₂] (e : A₁ ≃⋆ₐ[R] A₂) (a : A₁),
  e.toStarAlgHom a = e a

theorem StarAlgEquiv.toNonUnitalStarAlgHom_toStarAlgHom E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] [inst_5 : Star A₁] [inst_6 : Star A₂] (e : A₁ ≃⋆ₐ[R] A₂),
  e.toStarAlgHom.toNonUnitalStarAlgHom = e.toNonUnitalStarAlgHom

theorem StarAlgEquiv.toStarAlgHom_refl E0 #

∀ {R : Type u_1} {A₁ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Algebra R A₁]
  [inst_3 : Star A₁], (StarAlgEquiv.refl R A₁).toStarAlgHom = StarAlgHom.id R A₁

theorem StarAlgEquiv.toStarAlgHom_comp E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {A₃ : Type u_4} [inst : CommSemiring R] [inst_1 : Semiring A₁]
  [inst_2 : Semiring A₂] [inst_3 : Semiring A₃] [inst_4 : Algebra R A₁] [inst_5 : Algebra R A₂] [inst_6 : Algebra R A₃]
  [inst_7 : Star A₁] [inst_8 : Star A₂] [inst_9 : Star A₃] (e₁ : A₁ ≃⋆ₐ[R] A₂) (e₂ : A₂ ≃⋆ₐ[R] A₃),
  e₂.toStarAlgHom.comp e₁.toStarAlgHom = (e₁.trans e₂).toStarAlgHom

def StarAlgEquiv.arrowCongr E1 #

{R : Type u_1} →
  {A₁ : Type u_2} →
    {A₂ : Type u_3} →
      {A₁' : Type u_5} →
        {A₂' : Type u_6} →
          [inst : CommSemiring R] →
            [inst_1 : Semiring A₁] →
              [inst_2 : Semiring A₂] →
                [inst_3 : Semiring A₁'] →
                  [inst_4 : Semiring A₂'] →
                    [inst_5 : Algebra R A₁] →
                      [inst_6 : Algebra R A₂] →
                        [inst_7 : Algebra R A₁'] →
                          [inst_8 : Algebra R A₂'] →
                            [inst_9 : Star A₁] →
                              [inst_10 : Star A₂] →
                                [inst_11 : Star A₁'] →
                                  [inst_12 : Star A₂'] →
                                    (A₁ ≃⋆ₐ[R] A₁') → (A₂ ≃⋆ₐ[R] A₂') → (A₁ →⋆ₐ[R] A₂) ≃ (A₁' →⋆ₐ[R] A₂')

If A₁ is equivalent to A₁' and A₂ is equivalent to A₂' as star algebras, then the type of maps A₁ →⋆ₐ[R] A₂ is equivalent to the type of maps A₁' →⋆ₐ[R] A₂'.

For non-unital star algebra homomorphisms, see StarAlgEquiv.arrowCongr'.

theorem StarAlgEquiv.arrowCongr_apply E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {A₁' : Type u_5} {A₂' : Type u_6} [inst : CommSemiring R]
  [inst_1 : Semiring A₁] [inst_2 : Semiring A₂] [inst_3 : Semiring A₁'] [inst_4 : Semiring A₂'] [inst_5 : Algebra R A₁]
  [inst_6 : Algebra R A₂] [inst_7 : Algebra R A₁'] [inst_8 : Algebra R A₂'] [inst_9 : Star A₁] [inst_10 : Star A₂]
  [inst_11 : Star A₁'] [inst_12 : Star A₂'] (e₁ : A₁ ≃⋆ₐ[R] A₁') (e₂ : A₂ ≃⋆ₐ[R] A₂') (f : A₁ →⋆ₐ[R] A₂),
  (e₁.arrowCongr e₂) f = (e₂.toStarAlgHom.comp f).comp e₁.symm.toStarAlgHom

theorem StarAlgEquiv.arrowCongr_comp E1 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {A₃ : Type u_4} {A₁' : Type u_5} {A₂' : Type u_6} {A₃' : Type u_7}
  [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂] [inst_3 : Semiring A₃] [inst_4 : Semiring A₁']
  [inst_5 : Semiring A₂'] [inst_6 : Semiring A₃'] [inst_7 : Algebra R A₁] [inst_8 : Algebra R A₂]
  [inst_9 : Algebra R A₃] [inst_10 : Algebra R A₁'] [inst_11 : Algebra R A₂'] [inst_12 : Algebra R A₃']
  [inst_13 : Star A₁] [inst_14 : Star A₂] [inst_15 : Star A₃] [inst_16 : Star A₁'] [inst_17 : Star A₂']
  [inst_18 : Star A₃'] (e₁ : A₁ ≃⋆ₐ[R] A₁') (e₂ : A₂ ≃⋆ₐ[R] A₂') (e₃ : A₃ ≃⋆ₐ[R] A₃') (f : A₁ →⋆ₐ[R] A₂)
  (g : A₂ →⋆ₐ[R] A₃), (e₁.arrowCongr e₃) (g.comp f) = ((e₂.arrowCongr e₃) g).comp ((e₁.arrowCongr e₂) f)

theorem StarAlgEquiv.arrowCongr_refl E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] [inst_5 : Star A₁] [inst_6 : Star A₂],
  (StarAlgEquiv.refl R A₁).arrowCongr (StarAlgEquiv.refl R A₂) = Equiv.refl (A₁ →⋆ₐ[R] A₂)

theorem StarAlgEquiv.arrowCongr_trans E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {A₃ : Type u_4} {A₁' : Type u_5} {A₂' : Type u_6} {A₃' : Type u_7}
  [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂] [inst_3 : Semiring A₃] [inst_4 : Semiring A₁']
  [inst_5 : Semiring A₂'] [inst_6 : Semiring A₃'] [inst_7 : Algebra R A₁] [inst_8 : Algebra R A₂]
  [inst_9 : Algebra R A₃] [inst_10 : Algebra R A₁'] [inst_11 : Algebra R A₂'] [inst_12 : Algebra R A₃']
  [inst_13 : Star A₁] [inst_14 : Star A₂] [inst_15 : Star A₃] [inst_16 : Star A₁'] [inst_17 : Star A₂']
  [inst_18 : Star A₃'] (e₁ : A₁ ≃⋆ₐ[R] A₂) (e₁' : A₁' ≃⋆ₐ[R] A₂') (e₂ : A₂ ≃⋆ₐ[R] A₃) (e₂' : A₂' ≃⋆ₐ[R] A₃'),
  (e₁.trans e₂).arrowCongr (e₁'.trans e₂') = (e₁.arrowCongr e₁').trans (e₂.arrowCongr e₂')

theorem StarAlgEquiv.symm_arrowCongr E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} {A₁' : Type u_5} {A₂' : Type u_6} [inst : CommSemiring R]
  [inst_1 : Semiring A₁] [inst_2 : Semiring A₂] [inst_3 : Semiring A₁'] [inst_4 : Semiring A₂'] [inst_5 : Algebra R A₁]
  [inst_6 : Algebra R A₂] [inst_7 : Algebra R A₁'] [inst_8 : Algebra R A₂'] [inst_9 : Star A₁] [inst_10 : Star A₂]
  [inst_11 : Star A₁'] [inst_12 : Star A₂'] (e₁ : A₁ ≃⋆ₐ[R] A₁') (e₂ : A₂ ≃⋆ₐ[R] A₂'),
  (e₁.arrowCongr e₂).symm = e₁.symm.arrowCongr e₂.symm

def StarAlgEquiv.ofStarAlgHom E1 #

{R : Type u_8} →
  {A : Type u_9} →
    {B : Type u_10} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Algebra R A] →
            [inst_3 : Star A] →
              [inst_4 : Semiring B] →
                [inst_5 : Algebra R B] →
                  [inst_6 : Star B] →
                    (f : A →⋆ₐ[R] B) →
                      (g : B →⋆ₐ[R] A) → g.comp f = StarAlgHom.id R A → f.comp g = StarAlgHom.id R B → A ≃⋆ₐ[R] B

Construct a star algebra equivalence from a pair of star algebra homomorphisms.

theorem StarAlgEquiv.ofStarAlgHom_symm_apply E0 #

∀ {R : Type u_8} {A : Type u_9} {B : Type u_10} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (f : A →⋆ₐ[R] B) (g : B →⋆ₐ[R] A)
  (h₁ : g.comp f = StarAlgHom.id R A) (h₂ : f.comp g = StarAlgHom.id R B) (a : B),
  (StarAlgEquiv.ofStarAlgHom f g h₁ h₂).symm a = g a

theorem StarAlgEquiv.ofStarAlgHom_apply E0 #

∀ {R : Type u_8} {A : Type u_9} {B : Type u_10} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  [inst_3 : Star A] [inst_4 : Semiring B] [inst_5 : Algebra R B] [inst_6 : Star B] (f : A →⋆ₐ[R] B) (g : B →⋆ₐ[R] A)
  (h₁ : g.comp f = StarAlgHom.id R A) (h₂ : f.comp g = StarAlgHom.id R B) (a : A),
  (StarAlgEquiv.ofStarAlgHom f g h₁ h₂) a = f a

theorem StarAlgEquiv.toStarAlgHom_ofStarAlgHom E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] [inst_5 : Star A₁] [inst_6 : Star A₂] (f : A₁ →⋆ₐ[R] A₂)
  (g : A₂ →⋆ₐ[R] A₁) (h₁ : g.comp f = StarAlgHom.id R A₁) (h₂ : f.comp g = StarAlgHom.id R A₂),
  (StarAlgEquiv.ofStarAlgHom f g h₁ h₂).toStarAlgHom = f

theorem StarAlgEquiv.symm_ofStarAlgHom E1 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] [inst_5 : Star A₁] [inst_6 : Star A₂] (f : A₁ →⋆ₐ[R] A₂)
  (g : A₂ →⋆ₐ[R] A₁) (h₁ : g.comp f = StarAlgHom.id R A₁) (h₂ : f.comp g = StarAlgHom.id R A₂),
  (StarAlgEquiv.ofStarAlgHom f g h₁ h₂).symm = StarAlgEquiv.ofStarAlgHom g f h₂ h₁

theorem StarAlgEquiv.toStarAlgHom_symm_ofStarAlgHom E0 #

∀ {R : Type u_1} {A₁ : Type u_2} {A₂ : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] [inst_5 : Star A₁] [inst_6 : Star A₂] (f : A₁ →⋆ₐ[R] A₂)
  (g : A₂ →⋆ₐ[R] A₁) (h₁ : g.comp f = StarAlgHom.id R A₁) (h₂ : f.comp g = StarAlgHom.id R A₂),
  (StarAlgEquiv.ofStarAlgHom f g h₁ h₂).symm.toStarAlgHom = g

def StarAlgEquiv.ofBijective E1 #

{F : Type u_1} →
  {R : Type u_2} →
    {A : Type u_3} →
      {B : Type u_4} →
        [inst : Monoid R] →
          [inst_1 : NonUnitalNonAssocSemiring A] →
            [inst_2 : DistribMulAction R A] →
              [inst_3 : Star A] →
                [inst_4 : NonUnitalNonAssocSemiring B] →
                  [inst_5 : DistribMulAction R B] →
                    [inst_6 : Star B] →
                      [inst_7 : FunLike F A B] →
                        [NonUnitalAlgHomClass F R A B] →
                          [StarHomClass F A B] → (f : F) → Function.Bijective ⇑f → A ≃⋆ₐ[R] B

Promote a bijective star algebra homomorphism to a star algebra equivalence.

theorem StarAlgEquiv.coe_ofBijective E0 #

∀ {F : Type u_1} {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : FunLike F A B] [inst_8 : NonUnitalAlgHomClass F R A B]
  [inst_9 : StarHomClass F A B] {f : F} (hf : Function.Bijective ⇑f), ⇑(StarAlgEquiv.ofBijective f hf) = ⇑f

theorem StarAlgEquiv.ofBijective_apply E0 #

∀ {F : Type u_1} {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : FunLike F A B] [inst_8 : NonUnitalAlgHomClass F R A B]
  [inst_9 : StarHomClass F A B] {f : F} (hf : Function.Bijective ⇑f) (a : A), (StarAlgEquiv.ofBijective f hf) a = f a

theorem StarAlgEquiv.toRingEquiv_ofBijective E0 #

∀ {F : Type u_1} {R : Type u_2} {A : Type u_3} {B : Type u_4} [inst : Monoid R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : DistribMulAction R A] [inst_3 : Star A] [inst_4 : NonUnitalNonAssocSemiring B]
  [inst_5 : DistribMulAction R B] [inst_6 : Star B] [inst_7 : FunLike F A B] [inst_8 : NonUnitalAlgHomClass F R A B]
  [inst_9 : StarHomClass F A B] (f : F) (hf : Function.Bijective ⇑f),
  (StarAlgEquiv.ofBijective f hf).toRingEquiv = RingEquiv.ofBijective f hf

theorem StarAlgEquiv.aut_mul E1 #

∀ {S : Type u_1} {R : Type u_2} [inst : Mul R] [inst_1 : Add R] [inst_2 : Star R] [inst_3 : SMul S R]
  (a b : R ≃⋆ₐ[S] R), a * b = b.trans a

instance StarAlgEquiv.aut E0 #

{S : Type u_1} →
  {R : Type u_2} → [inst : Mul R] → [inst_1 : Add R] → [inst_2 : Star R] → [inst_3 : SMul S R] → Group (R ≃⋆ₐ[S] R)

theorem StarAlgEquiv.aut_one E1 #

∀ {S : Type u_1} {R : Type u_2} [inst : Mul R] [inst_1 : Add R] [inst_2 : Star R] [inst_3 : SMul S R],
  1 = StarAlgEquiv.refl S R

theorem StarAlgEquiv.mul_apply E0 #

∀ {S : Type u_1} {R : Type u_2} [inst : Mul R] [inst_1 : Add R] [inst_2 : Star R] [inst_3 : SMul S R] (f g : R ≃⋆ₐ[S] R)
  (x : R), (f * g) x = f (g x)

theorem StarAlgEquiv.one_apply E0 #

∀ {S : Type u_1} {R : Type u_2} [inst : Mul R] [inst_1 : Add R] [inst_2 : Star R] [inst_3 : SMul S R] (x : R), 1 x = x

theorem StarAlgEquiv.aut_inv E1 #

∀ {S : Type u_1} {R : Type u_2} [inst : Mul R] [inst_1 : Add R] [inst_2 : Star R] [inst_3 : SMul S R] (f : R ≃⋆ₐ[S] R),
  f⁻¹ = f.symm

theorem StarAlgEquiv.coe_pow E0 #

∀ {S : Type u_1} {R : Type u_2} [inst : Mul R] [inst_1 : Add R] [inst_2 : Star R] [inst_3 : SMul S R] (f : R ≃⋆ₐ[S] R)
  (n : ℕ), ⇑(f ^ n) = (⇑f)^[n]

Deprecated aliases

NameNew nameSince
NonUnitalAlgEquivClassAlgEquivClass2026-11-13
NonUnitalStarAlgHom.coe_coeNonUnitalStarAlgHom.coe_ofClass2026-09-07
NonUnitalStarAlgHomClass.toNonUnitalStarAlgHomNonUnitalStarAlgHom.ofClass2026-09-02
StarAlgEquiv.toRingEquiv_eq_coeStarAlgEquiv.toRingEquiv_eq_ofClass2026-09-08
StarAlgEquiv.toRingEquiv_symm2026-09-08
StarAlgEquiv.toStarRingEquiv_eq_coeStarAlgEquiv.toStarRingEquiv_eq_ofClass2026-09-08
StarAlgEquivClass.toStarAlgEquivStarAlgEquiv.ofClass2026-09-02
StarAlgHom.coe_coeStarAlgHom.coe_ofClass2026-09-07
StarAlgHomClass.toStarAlgHomStarAlgHom.ofClass2026-09-02