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.Algebra.Equiv

223 declarations and 19 deprecated aliases. Mathlib docs · Source

Isomorphisms of R-algebras

This file defines bundled isomorphisms of R-algebras.

Main definitions

  • AlgEquiv R A B: the type of R-algebra isomorphisms between A and B.

Notation

  • A ≃ₐ[R] B : R-algebra equivalence from A to B.

TODO

Clean up variables, sections, and everything in this file.

theorem RingEquiv.cast.congr_simp E1 #

∀ {ι : Type u_7} {R : ι → Type u_8} [inst : (i : ι) → Mul (R i)] [inst_1 : (i : ι) → Add (R i)] {i j : ι} (h : i = j),
  RingEquiv.cast h = RingEquiv.cast h

theorem AlgEquiv.mk.inj E1 #

∀ {R : Type u} {A : Type v} {B : Type w} {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} {toEquiv : A ≃ B}
  {map_add' : ∀ (x y : A), toEquiv.toFun (x + y) = toEquiv.toFun x + toEquiv.toFun y}
  {map_mul' : ∀ (x y : A), toEquiv.toFun (x * y) = toEquiv.toFun x * toEquiv.toFun y}
  {map_smul' : ∀ (r : R) (a : A), toEquiv.toFun (r • a) = r • toEquiv.toFun a} {toEquiv_1 : A ≃ B}
  {map_add'_1 : ∀ (x y : A), toEquiv_1.toFun (x + y) = toEquiv_1.toFun x + toEquiv_1.toFun y}
  {map_mul'_1 : ∀ (x y : A), toEquiv_1.toFun (x * y) = toEquiv_1.toFun x * toEquiv_1.toFun y}
  {map_smul'_1 : ∀ (r : R) (a : A), toEquiv_1.toFun (r • a) = r • toEquiv_1.toFun a},
  { toEquiv := toEquiv, map_add' := map_add', map_mul' := map_mul', map_smul' := map_smul' } =
      { toEquiv := toEquiv_1, map_add' := map_add'_1, map_mul' := map_mul'_1, map_smul' := map_smul'_1 } →
    toEquiv = toEquiv_1

def AlgEquiv.ctorIdx E1 #

{R : Type u} →
  {A : Type v} →
    {B : Type w} →
      {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} → (A ≃ₐ[R] B) → ℕ

theorem AlgEquiv.mk.injEq E0 #

∀ {R : Type u} {A : Type v} {B : Type w} [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] (toEquiv : A ≃ B)
  (map_add' : ∀ (x y : A), toEquiv.toFun (x + y) = toEquiv.toFun x + toEquiv.toFun y)
  (map_mul' : ∀ (x y : A), toEquiv.toFun (x * y) = toEquiv.toFun x * toEquiv.toFun y)
  (map_smul' : ∀ (r : R) (a : A), toEquiv.toFun (r • a) = r • toEquiv.toFun a) (toEquiv_1 : A ≃ B)
  (map_add'_1 : ∀ (x y : A), toEquiv_1.toFun (x + y) = toEquiv_1.toFun x + toEquiv_1.toFun y)
  (map_mul'_1 : ∀ (x y : A), toEquiv_1.toFun (x * y) = toEquiv_1.toFun x * toEquiv_1.toFun y)
  (map_smul'_1 : ∀ (r : R) (a : A), toEquiv_1.toFun (r • a) = r • toEquiv_1.toFun a),
  ({ toEquiv := toEquiv, map_add' := map_add', map_mul' := map_mul', map_smul' := map_smul' } =
      { toEquiv := toEquiv_1, map_add' := map_add'_1, map_mul' := map_mul'_1, map_smul' := map_smul'_1 }) =
    (toEquiv = toEquiv_1)

theorem LinearMap.mulLeftRight.congr_simp E1 #

∀ (R : Type u_14) {A : Type u_15} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A]
  [inst_3 : SMulCommClass R A A] [inst_4 : IsScalarTower R A A] (ab ab_1 : A × A),
  ab = ab_1 → LinearMap.mulLeftRight R ab = LinearMap.mulLeftRight R ab_1

theorem RingEquiv.ofBijective.congr_simp E1 #

∀ {F : Type u_1} {R : Type u_4} {S : Type u_5} [inst : NonUnitalNonAssocSemiring R]
  [inst_1 : NonUnitalNonAssocSemiring S] [inst_2 : FunLike F R S] [inst_3 : NonUnitalRingHomClass F R S] (f f_1 : F)
  (e_f : f = f_1) (hf : Function.Bijective ⇑f), RingEquiv.ofBijective f hf = RingEquiv.ofBijective f_1 ⋯

structure AlgEquiv E3 #

(R : Type u) →
  (A : Type v) → (B : Type w) → [Add A] → [Add B] → [Mul A] → [Mul B] → [SMul R A] → [SMul R B] → Type (max v w)

An equivalence of algebras is an equivalence of rings commuting with the actions of scalars. By defining this in terms of the scalar action instead of algebraMap, we avoid the need for an Algebra structure on the types, thereby allowing this to pertain to non-unital algebras as well. In certain contexts where the Algebra structure is avaiable it is easier to define an AlgEquiv by providing the AlgHom.commutes' field. For this reason a convenience constructor AlgEquiv.ofCommutes is provided to the user.

abbrev AlgEquiv.toMulEquiv E1 #

{R : Type u} →
  {A : Type v} →
    {B : Type w} →
      [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] → (A ≃ₐ[R] B) → A ≃* B

ctor AlgEquiv.mk E0 #

{R : Type u} →
  {A : Type v} →
    {B : Type w} →
      [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] →
                  (toEquiv : A ≃ B) →
                    (∀ (x y : A), toEquiv.toFun (x + y) = toEquiv.toFun x + toEquiv.toFun y) →
                      (∀ (x y : A), toEquiv.toFun (x * y) = toEquiv.toFun x * toEquiv.toFun y) →
                        (∀ (r : R) (a : A), toEquiv.toFun (r • a) = r • toEquiv.toFun a) → A ≃ₐ[R] B

abbrev AlgEquiv.toRingEquiv E1 #

{R : Type u} →
  {A : Type v} →
    {B : Type w} →
      [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] → (A ≃ₐ[R] B) → A ≃+* B

abbrev AlgEquiv.toAddEquiv E1 #

{R : Type u} →
  {A : Type v} →
    {B : Type w} →
      [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] → (A ≃ₐ[R] B) → A ≃+ B

abbrev AlgEquiv.toEquiv E1 #

{R : Type u} →
  {A : Type v} →
    {B : Type w} →
      [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] → (A ≃ₐ[R] B) → A ≃ B

theorem AlgEquiv.map_add' E0 #

∀ {R : Type u} {A : Type v} {B : Type w} [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] (self : A ≃ₐ[R] B) (x y : A), self.toFun (x + y) = self.toFun x + self.toFun y

The proposition that the function preserves addition

theorem AlgEquiv.map_mul' E0 #

∀ {R : Type u} {A : Type v} {B : Type w} [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] (self : A ≃ₐ[R] B) (x y : A), self.toFun (x * y) = self.toFun x * self.toFun y

The proposition that the function preserves multiplication

theorem AlgEquiv.map_smul' E0 #

∀ {R : Type u} {A : Type v} {B : Type w} [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] (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

An equivalence of algebras is an equivalence of rings commuting with the actions of scalars. By defining this in terms of the scalar action instead of algebraMap, we avoid the need for an Algebra structure on the types, thereby allowing this to pertain to non-unital algebras as well. In certain contexts where the Algebra structure is avaiable it is easier to define an AlgEquiv by providing the AlgHom.commutes' field. For this reason a convenience constructor AlgEquiv.ofCommutes is provided to the user.

class AlgEquivClass E1 #

(F : Type u_1) →
  (R : outParam (Type u_2)) →
    (A : outParam (Type u_3)) →
      (B : outParam (Type u_4)) →
        [Add A] → [Add B] → [Mul A] → [Mul B] → [SMul R A] → [SMul R B] → [EquivLike F A B] → Prop

AlgEquivClass F R A B states that F is a type of algebra structure preserving equivalences. You should extend this class when you extend AlgEquiv.

instance AlgEquivClass.toRingEquivClass E0 #

∀ {F : Type u_1} {R : outParam (Type u_2)} {A : outParam (Type u_3)} {B : outParam (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 : EquivLike F A B}
  [self : AlgEquivClass F R A B], RingEquivClass F A B

ctor AlgEquivClass.mk E0 #

∀ {F : Type u_1} {R : outParam (Type u_2)} {A : outParam (Type u_3)} {B : outParam (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 : EquivLike F A B]
  [toRingEquivClass : RingEquivClass F A B] [toMulActionSemiHomClass : MulActionSemiHomClass F id A B],
  AlgEquivClass F R A B

instance AlgEquivClass.toMulActionSemiHomClass E0 #

∀ {F : Type u_1} {R : outParam (Type u_2)} {A : outParam (Type u_3)} {B : outParam (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 : EquivLike F A B}
  [self : AlgEquivClass F R A B], MulActionSemiHomClass F id A B

instance AlgEquivClass.toLinearEquivClass E0 #

∀ (F : Type u_1) (R : Type u_2) (A : Type u_3) (B : Type u_4) [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : NonUnitalNonAssocSemiring B] [inst_3 : Module R A] [inst_4 : Module R B] [inst_5 : EquivLike F A B]
  [h : AlgEquivClass F R A B], LinearEquivClass F R A B

instance AlgEquivClass.toAlgHomClass E0 #

∀ (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 : Semiring B] [inst_3 : Algebra R A] [inst_4 : Algebra R B] [inst_5 : EquivLike F A B]
  [h : AlgEquivClass F R A B], AlgHomClass F R A B

instance AlgEquivClass.instNonUnitalAlgHomClass 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 : NonUnitalNonAssocSemiring B] [inst_4 : DistribMulAction R B]
  [inst_5 : EquivLike F A B] [AlgEquivClass F R A B], NonUnitalAlgHomClass F R A B

def AlgEquiv.ofClass E1 #

{F : Type u_1} →
  {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 : EquivLike F A B] → [AlgEquivClass F R A B] → F → A ≃ₐ[R] B

Turn an element of a type F satisfying AlgEquivClass F R A B into an actual AlgEquiv.

def AlgEquiv.ofCommutes E1 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A₁] →
          [inst_2 : Semiring A₂] →
            [inst_3 : Algebra R A₁] →
              [inst_4 : Algebra R A₂] →
                (e : A₁ ≃+* A₂) → (∀ (r : R), e ((algebraMap R A₁) r) = (algebraMap R A₂) r) → A₁ ≃ₐ[R] A₂

Defines an algebra equivalence by taking in a RingEquiv e and a commutes field: ∀ r, e (algebraMap _ _ r) = algebraMap _ _ r.

instance AlgEquiv.instEquivLike E0 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      [inst : Add A₁] →
        [inst_1 : Add A₂] →
          [inst_2 : Mul A₁] →
            [inst_3 : Mul A₂] → [inst_4 : SMul R A₁] → [inst_5 : SMul R A₂] → EquivLike (A₁ ≃ₐ[R] A₂) A₁ A₂

instance AlgEquiv.instFunLike E0 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      [inst : Add A₁] →
        [inst_1 : Add A₂] →
          [inst_2 : Mul A₁] →
            [inst_3 : Mul A₂] → [inst_4 : SMul R A₁] → [inst_5 : SMul R A₂] → FunLike (A₁ ≃ₐ[R] A₂) A₁ A₂

Helper instance since the coercion is not always found.

instance AlgEquiv.instAlgEquivClass E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂], AlgEquivClass (A₁ ≃ₐ[R] A₂) R A₁ A₂

theorem AlgEquiv.ext_iff E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] {f g : A₁ ≃ₐ[R] A₂}, f = g ↔ ∀ (a : A₁), f a = g a

theorem AlgEquiv.ext E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] {f g : A₁ ≃ₐ[R] A₂}, (∀ (a : A₁), f a = g a) → f = g

theorem AlgEquiv.congr_arg E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] {f : A₁ ≃ₐ[R] A₂} {x x' : A₁}, x = x' → f x = f x'

theorem AlgEquiv.congr_fun E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] {f g : A₁ ≃ₐ[R] A₂}, f = g → ∀ (x : A₁), f x = g x

theorem AlgEquiv.coe_mk E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] {toEquiv : A₁ ≃ A₂}
  {map_mul : ∀ (x y : A₁), toEquiv.toFun (x + y) = toEquiv.toFun x + toEquiv.toFun y}
  {map_add : ∀ (x y : A₁), toEquiv.toFun (x * y) = toEquiv.toFun x * toEquiv.toFun y}
  {commutes : ∀ (r : R) (a : A₁), toEquiv.toFun (r • a) = r • toEquiv.toFun a},
  ⇑{ toEquiv := toEquiv, map_add' := map_mul, map_mul' := map_add, map_smul' := commutes } = ⇑toEquiv

theorem AlgEquiv.mk_coe E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂) (e' : A₂ → 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₅ :
    ∀ (r : R) (a : A₁),
      { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂ }.toFun (r • a) =
        r • { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂ }.toFun a),
  { toFun := ⇑e, invFun := e', left_inv := h₁, right_inv := h₂, map_add' := h₃, map_mul' := h₄, map_smul' := h₅ } = e

theorem AlgEquiv.toEquiv_eq_coe E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), e.toEquiv = ↑e

theorem AlgEquiv.coe_ofClass E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] {F : Type u_1} [inst_6 : EquivLike F A₁ A₂]
  [inst_7 : AlgEquivClass F R A₁ A₂] (f : F), ⇑(AlgEquiv.ofClass f) = ⇑f

theorem AlgEquiv.coe_fun_injective E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂], Function.Injective fun e ↦ ⇑e

def AlgEquiv.toLinearEquiv E1 #

{R : Type uR} →
  {A₁ : Type u_1} →
    {A₂ : Type u_2} →
      [inst : Semiring R] →
        [inst_1 : NonUnitalNonAssocSemiring A₁] →
          [inst_2 : NonUnitalNonAssocSemiring A₂] →
            [inst_3 : Module R A₁] → [inst_4 : Module R A₂] → (A₁ ≃ₐ[R] A₂) → A₁ ≃ₗ[R] A₂

Forgetting the multiplicative structures, an equivalence of algebras is a linear equivalence.

theorem AlgEquiv.toLinearEquiv_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (e : A₁ ≃ₐ[R] A₂) (a : A₁),
  ↑e a = e a

instance AlgEquiv.instCoeOutLinearEquivId E0 #

{R : Type uR} →
  {A₁ : Type u_1} →
    {A₂ : Type u_2} →
      [inst : Semiring R] →
        [inst_1 : NonUnitalNonAssocSemiring A₁] →
          [inst_2 : NonUnitalNonAssocSemiring A₂] →
            [inst_3 : Module R A₁] → [inst_4 : Module R A₂] → CoeOut (A₁ ≃ₐ[R] A₂) (A₁ ≃ₗ[R] A₂)

instance AlgEquiv.instCoeOutRingEquiv E0 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      [inst : Add A₁] →
        [inst_1 : Add A₂] →
          [inst_2 : Mul A₁] →
            [inst_3 : Mul A₂] → [inst_4 : SMul R A₁] → [inst_5 : SMul R A₂] → CoeOut (A₁ ≃ₐ[R] A₂) (A₁ ≃+* A₂)

theorem AlgEquiv.coe_toEquiv E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), ⇑↑e = ⇑e

theorem AlgEquiv.toRingEquiv_toRingHom E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonAssocSemiring A₁]
  [inst_2 : NonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (e : A₁ ≃ₐ[R] A₂), ↑e.toRingEquiv = ↑e

theorem AlgEquiv.coe_toRingEquiv E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), ⇑e.toRingEquiv = ⇑e

theorem AlgEquiv.toRingEquiv_injective E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂], Function.Injective AlgEquiv.toRingEquiv

theorem AlgEquiv.commutes E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e : A₁ ≃ₐ[R] A₂) (r : R),
  e ((algebraMap R A₁) r) = (algebraMap R A₂) r

theorem AlgEquiv.ofCommutes_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e' : A₁ ≃+* A₂)
  (h_comm : ∀ (r : R), e' ((algebraMap R A₁) r) = (algebraMap R A₂) r) (x : A₁),
  (AlgEquiv.ofCommutes e' h_comm) x = e' x

theorem AlgEquiv.ofCommutes_symm_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e' : A₁ ≃+* A₂)
  (h_comm : ∀ (r : R), e' ((algebraMap R A₁) r) = (algebraMap R A₂) r) (x : A₂),
  (AlgEquiv.ofCommutes e' h_comm).symm x = e'.symm x

theorem AlgEquiv.toEquiv_ofCommutes E1 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e' : A₁ ≃+* A₂)
  (h_comm : ∀ (r : R), e' ((algebraMap R A₁) r) = (algebraMap R A₂) r),
  (AlgEquiv.ofCommutes e' h_comm).toEquiv = e'.toEquiv

theorem AlgEquiv.toRingEquiv_ofCommutes E1 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e' : A₁ ≃+* A₂)
  (h_comm : ∀ (r : R), e' ((algebraMap R A₁) r) = (algebraMap R A₂) r), (AlgEquiv.ofCommutes e' h_comm).toRingEquiv = e'

def AlgEquiv.toAlgHom E1 #

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

Interpret an algebra equivalence as an algebra homomorphism.

This definition is included for symmetry with the other to*Hom projections. The simp normal form is to use the coercion of the AlgHomClass.coeTC instance.

instance AlgEquiv.instCoeOutAlgHom E0 #

{R : Type uR} →
  {A₁ : Type u_1} →
    {A₂ : Type u_2} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A₁] →
          [inst_2 : Semiring A₂] →
            [inst_3 : Algebra R A₁] → [inst_4 : Algebra R A₂] → CoeOut (A₁ ≃ₐ[R] A₂) (A₁ →ₐ[R] A₂)

theorem AlgEquiv.toAlgHom_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e : A₁ ≃ₐ[R] A₂) (x : A₁), ↑e x = e x

theorem AlgEquiv.coe_toAlgHom E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e : A₁ ≃ₐ[R] A₂), ⇑↑e = ⇑e

theorem AlgEquiv.coe_toAlgHom_injective E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂], Function.Injective AlgEquiv.toAlgHom

theorem AlgEquiv.toAlgHom_toRingHom E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e : A₁ ≃ₐ[R] A₂), ↑↑e = ↑e

theorem AlgEquiv.toRingHom_toAlgHom E1 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e : A₁ ≃ₐ[R] A₂), ↑↑e = ↑e.toRingEquiv

The two paths coercion can take to a RingHom are equivalent

theorem AlgEquiv.bijective E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), Function.Bijective ⇑e

theorem AlgEquiv.injective E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), Function.Injective ⇑e

theorem AlgEquiv.surjective E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), Function.Surjective ⇑e

def AlgEquiv.refl E1 #

{R : Type uR} → {A₁ : Type uA₁} → [inst : Add A₁] → [inst_1 : Mul A₁] → [inst_2 : SMul R A₁] → A₁ ≃ₐ[R] A₁

Algebra equivalences are reflexive.

instance AlgEquiv.instInhabited E0 #

{R : Type uR} → {A₁ : Type uA₁} → [inst : Add A₁] → [inst_1 : Mul A₁] → [inst_2 : SMul R A₁] → Inhabited (A₁ ≃ₐ[R] A₁)

theorem AlgEquiv.refl_toAlgHom E0 #

∀ {R : Type uR} {A₁ : Type u_1} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Algebra R A₁],
  ↑AlgEquiv.refl = AlgHom.id R A₁

theorem AlgEquiv.refl_toRingHom E0 #

∀ {R : Type uR} {A₁ : Type u_1} [inst : Semiring R] [inst_1 : NonAssocSemiring A₁] [inst_2 : Module R A₁],
  ↑AlgEquiv.refl = RingHom.id A₁

theorem AlgEquiv.coe_refl E0 #

∀ {R : Type uR} {A₁ : Type uA₁} [inst : Add A₁] [inst_1 : Mul A₁] [inst_2 : SMul R A₁], ⇑AlgEquiv.refl = id

def AlgEquiv.symm E1 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      [inst : Add A₁] →
        [inst_1 : Add A₂] →
          [inst_2 : Mul A₁] →
            [inst_3 : Mul A₂] → [inst_4 : SMul R A₁] → [inst_5 : SMul R A₂] → (A₁ ≃ₐ[R] A₂) → A₂ ≃ₐ[R] A₁

Algebra equivalences are symmetric.

theorem AlgEquiv.invFun_eq_symm E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] {e : A₁ ≃ₐ[R] A₂}, e.invFun = ⇑e.symm

theorem AlgEquiv.apply_ofClass_symm_apply E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] {F : Type u_1} [inst_6 : EquivLike F A₁ A₂]
  [inst_7 : AlgEquivClass F R A₁ A₂] (f : F) (x : A₂), f ((AlgEquiv.ofClass f).symm x) = x

theorem AlgEquiv.ofClass_symm_apply_apply E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] {F : Type u_1} [inst_6 : EquivLike F A₁ A₂]
  [inst_7 : AlgEquivClass F R A₁ A₂] (f : F) (x : A₁), (AlgEquiv.ofClass f).symm (f x) = x

theorem AlgEquiv.symm_toEquiv_eq_symm E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] {e : A₁ ≃ₐ[R] A₂}, (↑e).symm = ↑e.symm

simp normal form of invFun_eq_symm

theorem AlgEquiv.symm_symm E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), e.symm.symm = e

theorem AlgEquiv.symm_bijective E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂], Function.Bijective AlgEquiv.symm

theorem AlgEquiv.mk_coe' E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂) (f : A₂ → A₁) (h₁ : Function.LeftInverse (⇑e) f)
  (h₂ : Function.RightInverse (⇑e) f)
  (h₃ :
    ∀ (x y : A₂),
      { toFun := f, invFun := ⇑e, left_inv := h₁, right_inv := h₂ }.toFun (x + y) =
        { toFun := f, invFun := ⇑e, left_inv := h₁, right_inv := h₂ }.toFun x +
          { toFun := f, invFun := ⇑e, left_inv := h₁, right_inv := h₂ }.toFun y)
  (h₄ :
    ∀ (x y : A₂),
      { toFun := f, invFun := ⇑e, left_inv := h₁, right_inv := h₂ }.toFun (x * y) =
        { toFun := f, invFun := ⇑e, left_inv := h₁, right_inv := h₂ }.toFun x *
          { toFun := f, invFun := ⇑e, left_inv := h₁, right_inv := h₂ }.toFun y)
  (h₅ :
    ∀ (r : R) (a : A₂),
      { toFun := f, invFun := ⇑e, left_inv := h₁, right_inv := h₂ }.toFun (r • a) =
        r • { toFun := f, invFun := ⇑e, left_inv := h₁, right_inv := h₂ }.toFun a),
  { toFun := f, invFun := ⇑e, left_inv := h₁, right_inv := h₂, map_add' := h₃, map_mul' := h₄, map_smul' := h₅ } =
    e.symm

theorem AlgEquiv.symm_mk E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ A₂) (h₁ : ∀ (x y : A₁), e.toFun (x + y) = e.toFun x + e.toFun y)
  (h₂ : ∀ (x y : A₁), e.toFun (x * y) = e.toFun x * e.toFun y)
  (h₃ : ∀ (r : R) (a : A₁), e.toFun (r • a) = r • e.toFun a),
  { toEquiv := e, map_add' := h₁, map_mul' := h₂, map_smul' := h₃ }.symm =
    { toEquiv := e.symm, map_add' := ⋯, map_mul' := ⋯, map_smul' := ⋯ }

theorem AlgEquiv.refl_symm E0 #

∀ {R : Type uR} {A₁ : Type uA₁} [inst : Add A₁] [inst_1 : Mul A₁] [inst_2 : SMul R A₁],
  AlgEquiv.refl.symm = AlgEquiv.refl

theorem AlgEquiv.toRingEquiv_symm E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), e.toRingEquiv.symm = e.symm.toRingEquiv

theorem AlgEquiv.symm_toRingEquiv E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), e.symm.toRingEquiv = e.toRingEquiv.symm

theorem AlgEquiv.symm_toAddEquiv E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), ↑e.symm = (↑e).symm

theorem AlgEquiv.symm_toMulEquiv E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), ↑e.symm = (↑e).symm

theorem AlgEquiv.apply_symm_apply E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂) (x : A₂), e (e.symm x) = x

theorem AlgEquiv.symm_apply_apply E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂) (x : A₁), e.symm (e x) = x

theorem AlgEquiv.symm_apply_eq E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂) {x : A₂} {y : A₁}, e.symm x = y ↔ x = e y

theorem AlgEquiv.comp_symm E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e : A₁ ≃ₐ[R] A₂), (↑e).comp ↑e.symm = AlgHom.id R A₂

theorem AlgEquiv.symm_comp E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e : A₁ ≃ₐ[R] A₂), (↑e.symm).comp ↑e = AlgHom.id R A₁

theorem AlgEquiv.leftInverse_symm E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), Function.LeftInverse ⇑e.symm ⇑e

theorem AlgEquiv.rightInverse_symm E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), Function.RightInverse ⇑e.symm ⇑e

theorem AlgEquiv.image_symm_eq_preimage E1 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂) (s : Set A₂), ⇑e.symm '' s = ⇑e ⁻¹' s

def AlgEquiv.Simps.apply E1 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      [inst : Add A₁] →
        [inst_1 : Add A₂] →
          [inst_2 : Mul A₁] → [inst_3 : Mul A₂] → [inst_4 : SMul R A₁] → [inst_5 : SMul R A₂] → (A₁ ≃ₐ[R] A₂) → A₁ → A₂

See Note [custom simps projection]

def AlgEquiv.Simps.toEquiv E1 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      [inst : Add A₁] →
        [inst_1 : Add A₂] →
          [inst_2 : Mul A₁] → [inst_3 : Mul A₂] → [inst_4 : SMul R A₁] → [inst_5 : SMul R A₂] → (A₁ ≃ₐ[R] A₂) → A₁ ≃ A₂

See Note [custom simps projection]

def AlgEquiv.Simps.symm_apply E0 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      [inst : Add A₁] →
        [inst_1 : Add A₂] →
          [inst_2 : Mul A₁] → [inst_3 : Mul A₂] → [inst_4 : SMul R A₁] → [inst_5 : SMul R A₂] → (A₁ ≃ₐ[R] A₂) → A₂ → A₁

See Note [custom simps projection]

def AlgEquiv.trans E1 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      {A₃ : Type uA₃} →
        [inst : Add A₁] →
          [inst_1 : Add A₂] →
            [inst_2 : Add A₃] →
              [inst_3 : Mul A₁] →
                [inst_4 : Mul A₂] →
                  [inst_5 : Mul A₃] →
                    [inst_6 : SMul R A₁] →
                      [inst_7 : SMul R A₂] → [inst_8 : SMul R A₃] → (A₁ ≃ₐ[R] A₂) → (A₂ ≃ₐ[R] A₃) → A₁ ≃ₐ[R] A₃

Algebra equivalences are transitive.

theorem AlgEquiv.coe_trans E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} {A₃ : Type uA₃} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Add A₃]
  [inst_3 : Mul A₁] [inst_4 : Mul A₂] [inst_5 : Mul A₃] [inst_6 : SMul R A₁] [inst_7 : SMul R A₂] [inst_8 : SMul R A₃]
  (e₁ : A₁ ≃ₐ[R] A₂) (e₂ : A₂ ≃ₐ[R] A₃), ⇑(e₁.trans e₂) = ⇑e₂ ∘ ⇑e₁

theorem AlgEquiv.trans_apply E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} {A₃ : Type uA₃} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Add A₃]
  [inst_3 : Mul A₁] [inst_4 : Mul A₂] [inst_5 : Mul A₃] [inst_6 : SMul R A₁] [inst_7 : SMul R A₂] [inst_8 : SMul R A₃]
  (e₁ : A₁ ≃ₐ[R] A₂) (e₂ : A₂ ≃ₐ[R] A₃) (x : A₁), (e₁.trans e₂) x = e₂ (e₁ x)

theorem AlgEquiv.symm_trans_apply E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} {A₃ : Type uA₃} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Add A₃]
  [inst_3 : Mul A₁] [inst_4 : Mul A₂] [inst_5 : Mul A₃] [inst_6 : SMul R A₁] [inst_7 : SMul R A₂] [inst_8 : SMul R A₃]
  (e₁ : A₁ ≃ₐ[R] A₂) (e₂ : A₂ ≃ₐ[R] A₃) (x : A₃), (e₁.trans e₂).symm x = e₁.symm (e₂.symm x)

theorem AlgEquiv.self_trans_symm E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), e.trans e.symm = AlgEquiv.refl

theorem AlgEquiv.symm_trans_self E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (e : A₁ ≃ₐ[R] A₂), e.symm.trans e = AlgEquiv.refl

theorem AlgEquiv.toRingHom_trans E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} {A₃ : Type u_3} [inst : Semiring R] [inst_1 : NonAssocSemiring A₁]
  [inst_2 : NonAssocSemiring A₂] [inst_3 : NonAssocSemiring A₃] [inst_4 : Module R A₁] [inst_5 : Module R A₂]
  [inst_6 : Module R A₃] (e₁ : A₁ ≃ₐ[R] A₂) (e₂ : A₂ ≃ₐ[R] A₃), ↑(e₁.trans e₂) = (↑e₂).comp ↑e₁

def AlgEquiv.cast E1 #

{R : Type uR} →
  {ι : Type u_1} →
    {A : ι → Type u_2} →
      [inst : (i : ι) → Mul (A i)] →
        [inst_1 : (i : ι) → Add (A i)] → [inst_2 : (i : ι) → SMul R (A i)] → {i j : ι} → i = j → A i ≃ₐ[R] A j

Equiv.cast (congrArg _ h) as an algebra equiv.

Note that unlike Equiv.cast, this takes an equality of indices rather than an equality of types, to avoid having to deal with an equality of the algebraic structure itself.

theorem AlgEquiv.cast_symm_apply E0 #

∀ {R : Type uR} {ι : Type u_1} {A : ι → Type u_2} [inst : (i : ι) → Mul (A i)] [inst_1 : (i : ι) → Add (A i)]
  [inst_2 : (i : ι) → SMul R (A i)] {i j : ι} (h : i = j) (a : A j), (AlgEquiv.cast h).symm a = cast ⋯ a

theorem AlgEquiv.cast_apply E0 #

∀ {R : Type uR} {ι : Type u_1} {A : ι → Type u_2} [inst : (i : ι) → Mul (A i)] [inst_1 : (i : ι) → Add (A i)]
  [inst_2 : (i : ι) → SMul R (A i)] {i j : ι} (h : i = j) (a : A i), (AlgEquiv.cast h) a = cast ⋯ a

def AlgEquiv.arrowCongr E1 #

{R : Type uR} →
  {A₁ : Type u_1} →
    {A₂ : Type u_2} →
      {A₁' : Type u_4} →
        {A₂' : Type u_5} →
          [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₂'] → (A₁ ≃ₐ[R] A₁') → (A₂ ≃ₐ[R] A₂') → (A₁ →ₐ[R] A₂) ≃ (A₁' →ₐ[R] A₂')

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

theorem AlgEquiv.arrowCongr_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} {A₁' : Type u_4} {A₂' : Type u_5} [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₂'] (e₁ : A₁ ≃ₐ[R] A₁') (e₂ : A₂ ≃ₐ[R] A₂')
  (f : A₁ →ₐ[R] A₂), (e₁.arrowCongr e₂) f = ((↑e₂).comp f).comp ↑e₁.symm

theorem AlgEquiv.arrowCongr_comp E1 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} {A₃ : Type u_3} {A₁' : Type u_4} {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 : 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₃']
  (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 AlgEquiv.arrowCongr_refl E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂], AlgEquiv.refl.arrowCongr AlgEquiv.refl = Equiv.refl (A₁ →ₐ[R] A₂)

theorem AlgEquiv.arrowCongr_trans E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} {A₃ : Type u_3} {A₁' : Type u_4} {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 : 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₃']
  (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 AlgEquiv.arrowCongr_symm E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} {A₁' : Type u_4} {A₂' : Type u_5} [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₂'] (e₁ : A₁ ≃ₐ[R] A₁') (e₂ : A₂ ≃ₐ[R] A₂'),
  (e₁.arrowCongr e₂).symm = e₁.symm.arrowCongr e₂.symm

def AlgEquiv.equivCongr E1 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      {A₁' : Type uA₁'} →
        {A₂' : Type uA₂'} →
          [inst : Add A₁] →
            [inst_1 : Add A₂] →
              [inst_2 : Add A₁'] →
                [inst_3 : Add A₂'] →
                  [inst_4 : Mul A₁] →
                    [inst_5 : Mul A₂] →
                      [inst_6 : Mul A₁'] →
                        [inst_7 : Mul A₂'] →
                          [inst_8 : SMul R A₁] →
                            [inst_9 : SMul R A₂] →
                              [inst_10 : SMul R A₁'] →
                                [inst_11 : SMul R 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₂', then the type of maps A₁ ≃ₐ[R] A₁' is equivalent to the type of maps A₂ ≃ₐ[R] A₂'.

This is the AlgEquiv version of AlgEquiv.arrowCongr.

theorem AlgEquiv.equivCongr_apply E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} {A₁' : Type uA₁'} {A₂' : Type uA₂'} [inst : Add A₁] [inst_1 : Add A₂]
  [inst_2 : Add A₁'] [inst_3 : Add A₂'] [inst_4 : Mul A₁] [inst_5 : Mul A₂] [inst_6 : Mul A₁'] [inst_7 : Mul A₂']
  [inst_8 : SMul R A₁] [inst_9 : SMul R A₂] [inst_10 : SMul R A₁'] [inst_11 : SMul R A₂'] (e : A₁ ≃ₐ[R] A₂)
  (e' : A₁' ≃ₐ[R] A₂') (ψ : A₁ ≃ₐ[R] A₁'), (e.equivCongr e') ψ = e.symm.trans (ψ.trans e')

theorem AlgEquiv.equivCongr_refl E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₁' : Type uA₁'} [inst : Add A₁] [inst_1 : Add A₁'] [inst_2 : Mul A₁]
  [inst_3 : Mul A₁'] [inst_4 : SMul R A₁] [inst_5 : SMul R A₁'],
  AlgEquiv.refl.equivCongr AlgEquiv.refl = Equiv.refl (A₁ ≃ₐ[R] A₁')

theorem AlgEquiv.equivCongr_symm E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} {A₁' : Type uA₁'} {A₂' : Type uA₂'} [inst : Add A₁] [inst_1 : Add A₂]
  [inst_2 : Add A₁'] [inst_3 : Add A₂'] [inst_4 : Mul A₁] [inst_5 : Mul A₂] [inst_6 : Mul A₁'] [inst_7 : Mul A₂']
  [inst_8 : SMul R A₁] [inst_9 : SMul R A₂] [inst_10 : SMul R A₁'] [inst_11 : SMul R A₂'] (e : A₁ ≃ₐ[R] A₂)
  (e' : A₁' ≃ₐ[R] A₂'), (e.equivCongr e').symm = e.symm.equivCongr e'.symm

theorem AlgEquiv.equivCongr_trans E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} {A₃ : Type uA₃} {A₁' : Type uA₁'} {A₂' : Type uA₂'} {A₃' : Type uA₃'}
  [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Add A₃] [inst_3 : Add A₁'] [inst_4 : Add A₂'] [inst_5 : Add A₃']
  [inst_6 : Mul A₁] [inst_7 : Mul A₂] [inst_8 : Mul A₃] [inst_9 : Mul A₁'] [inst_10 : Mul A₂'] [inst_11 : Mul A₃']
  [inst_12 : SMul R A₁] [inst_13 : SMul R A₂] [inst_14 : SMul R A₃] [inst_15 : SMul R A₁'] [inst_16 : SMul R A₂']
  [inst_17 : SMul R A₃'] (e₁₂ : A₁ ≃ₐ[R] A₂) (e₁₂' : A₁' ≃ₐ[R] A₂') (e₂₃ : A₂ ≃ₐ[R] A₃) (e₂₃' : A₂' ≃ₐ[R] A₃'),
  (e₁₂.equivCongr e₁₂').trans (e₂₃.equivCongr e₂₃') = (e₁₂.trans e₂₃).equivCongr (e₁₂'.trans e₂₃')

def AlgEquiv.ofAlgHom E1 #

{R : Type uR} →
  {A₁ : Type u_1} →
    {A₂ : Type u_2} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A₁] →
          [inst_2 : Semiring A₂] →
            [inst_3 : Algebra R A₁] →
              [inst_4 : Algebra R A₂] →
                (f : A₁ →ₐ[R] A₂) →
                  (g : A₂ →ₐ[R] A₁) → f.comp g = AlgHom.id R A₂ → g.comp f = AlgHom.id R A₁ → A₁ ≃ₐ[R] A₂

If an algebra morphism has an inverse, it is an algebra isomorphism.

theorem AlgEquiv.ofAlgHom_symm_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (g : A₂ →ₐ[R] A₁) (h₁ : f.comp g = AlgHom.id R A₂)
  (h₂ : g.comp f = AlgHom.id R A₁) (a : A₂), (AlgEquiv.ofAlgHom f g h₁ h₂).symm a = g a

theorem AlgEquiv.ofAlgHom_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (g : A₂ →ₐ[R] A₁) (h₁ : f.comp g = AlgHom.id R A₂)
  (h₂ : g.comp f = AlgHom.id R A₁) (a : A₁), (AlgEquiv.ofAlgHom f g h₁ h₂) a = f a

theorem AlgEquiv.toAlgHom_ofAlgHom E1 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (g : A₂ →ₐ[R] A₁) (h₁ : f.comp g = AlgHom.id R A₂)
  (h₂ : g.comp f = AlgHom.id R A₁), ↑(AlgEquiv.ofAlgHom f g h₁ h₂) = f

theorem AlgEquiv.ofAlgHom_toAlgHom E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ ≃ₐ[R] A₂) (g : A₂ →ₐ[R] A₁)
  (h₁ : (↑f).comp g = AlgHom.id R A₂) (h₂ : g.comp ↑f = AlgHom.id R A₁), AlgEquiv.ofAlgHom (↑f) g h₁ h₂ = f

theorem AlgEquiv.ofAlgHom_symm E1 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (g : A₂ →ₐ[R] A₁) (h₁ : f.comp g = AlgHom.id R A₂)
  (h₂ : g.comp f = AlgHom.id R A₁), (AlgEquiv.ofAlgHom f g h₁ h₂).symm = AlgEquiv.ofAlgHom g f h₂ h₁

theorem AlgEquiv.toLinearEquiv_refl E0 #

∀ {R : Type uR} {A₁ : Type u_1} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁] [inst_2 : Module R A₁],
  ↑AlgEquiv.refl = LinearEquiv.refl R A₁

theorem AlgEquiv.toLinearEquiv_symm E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (e : A₁ ≃ₐ[R] A₂),
  ↑e.symm = (↑e).symm

theorem AlgEquiv.coe_toLinearEquiv E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (e : A₁ ≃ₐ[R] A₂), ⇑↑e = ⇑e

theorem AlgEquiv.coe_symm_toLinearEquiv E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (e : A₁ ≃ₐ[R] A₂),
  ⇑(↑e).symm = ⇑e.symm

theorem AlgEquiv.toLinearEquiv_trans E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} {A₃ : Type u_3} [inst : Semiring R]
  [inst_1 : NonUnitalNonAssocSemiring A₁] [inst_2 : NonUnitalNonAssocSemiring A₂]
  [inst_3 : NonUnitalNonAssocSemiring A₃] [inst_4 : Module R A₁] [inst_5 : Module R A₂] [inst_6 : Module R A₃]
  (e₁ : A₁ ≃ₐ[R] A₂) (e₂ : A₂ ≃ₐ[R] A₃), ↑(e₁.trans e₂) = ↑e₁ ≪≫ₗ ↑e₂

theorem AlgEquiv.toLinearEquiv_injective E1 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂],
  Function.Injective AlgEquiv.toLinearEquiv

abbrev AlgEquiv.toLinearMap E1 #

{R : Type uR} →
  {A₁ : Type u_1} →
    {A₂ : Type u_2} →
      [inst : Semiring R] →
        [inst_1 : NonUnitalNonAssocSemiring A₁] →
          [inst_2 : NonUnitalNonAssocSemiring A₂] →
            [inst_3 : Module R A₁] → [inst_4 : Module R A₂] → (A₁ ≃ₐ[R] A₂) → A₁ →ₗ[R] A₂

Interpret an algebra equivalence as a linear map.

theorem AlgEquiv.toLinearEquiv_toLinearMap E1 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (e : A₁ ≃ₐ[R] A₂),
  ↑↑e = e.toLinearMap

theorem AlgEquiv.toLinearMap_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (e : A₁ ≃ₐ[R] A₂) (x : A₁),
  e.toLinearMap x = e x

theorem AlgEquiv.toLinearMap_injective E1 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂],
  Function.Injective AlgEquiv.toLinearMap

theorem AlgEquiv.trans_toLinearMap E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} {A₃ : Type u_3} [inst : Semiring R]
  [inst_1 : NonUnitalNonAssocSemiring A₁] [inst_2 : NonUnitalNonAssocSemiring A₂]
  [inst_3 : NonUnitalNonAssocSemiring A₃] [inst_4 : Module R A₁] [inst_5 : Module R A₂] [inst_6 : Module R A₃]
  (f : A₁ ≃ₐ[R] A₂) (g : A₂ ≃ₐ[R] A₃), (f.trans g).toLinearMap = g.toLinearMap ∘ₗ f.toLinearMap

theorem AlgEquiv.toAlgHom_toLinearMap E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e : A₁ ≃ₐ[R] A₂), (↑e).toLinearMap = ↑↑e

theorem AlgEquiv.toLinearMap_ofAlgHom E1 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (g : A₂ →ₐ[R] A₁) (h₁ : f.comp g = AlgHom.id R A₂)
  (h₂ : g.comp f = AlgHom.id R A₁), (AlgEquiv.ofAlgHom f g h₁ h₂).toLinearMap = f.toLinearMap

theorem AlgEquiv.linearEquivConj_mulLeft E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ ≃ₐ[R] A₂) (x : A₁),
  (↑f).conj (LinearMap.mulLeft R x) = LinearMap.mulLeft R (f x)

theorem AlgEquiv.linearEquivConj_mulRight E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ ≃ₐ[R] A₂) (x : A₁),
  (↑f).conj (LinearMap.mulRight R x) = LinearMap.mulRight R (f x)

theorem AlgEquiv.linearEquivConj_mulLeftRight E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ ≃ₐ[R] A₂) (x : A₁ × A₁),
  (↑f).conj (LinearMap.mulLeftRight R x) = LinearMap.mulLeftRight R (Prod.map (⇑f) (⇑f) x)

def AlgEquiv.ofBijective E1 #

{R : Type uR} →
  {A₁ : Type u_1} →
    {A₂ : Type u_2} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring A₁] →
          [inst_2 : Semiring A₂] →
            [inst_3 : Algebra R A₁] → [inst_4 : Algebra R A₂] → (f : A₁ →ₐ[R] A₂) → Function.Bijective ⇑f → A₁ ≃ₐ[R] A₂

Promotes a bijective algebra homomorphism to an algebra equivalence.

theorem AlgEquiv.ofBijective_toEquiv E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (hf : Function.Bijective ⇑f),
  ↑(AlgEquiv.ofBijective f hf) = ↑(RingEquiv.ofBijective (↑f) hf)

theorem AlgEquiv.coe_ofBijective E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (hf : Function.Bijective ⇑f),
  ⇑(AlgEquiv.ofBijective f hf) = ⇑f

theorem AlgEquiv.ofBijective_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (hf : Function.Bijective ⇑f) (a : A₁),
  (AlgEquiv.ofBijective f hf) a = f a

theorem AlgEquiv.toLinearMap_ofBijective E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (hf : Function.Bijective ⇑f),
  (AlgEquiv.ofBijective f hf).toLinearMap = ↑f

theorem AlgEquiv.toAlgHom_ofBijective E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (hf : Function.Bijective ⇑f),
  ↑(AlgEquiv.ofBijective f hf) = f

theorem AlgEquiv.ofBijective_apply_symm_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (hf : Function.Bijective ⇑f) (x : A₂),
  f ((AlgEquiv.ofBijective f hf).symm x) = x

theorem AlgEquiv.ofBijective_symm_apply_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (f : A₁ →ₐ[R] A₂) (hf : Function.Bijective ⇑f) (x : A₁),
  (AlgEquiv.ofBijective f hf).symm (f x) = x

def AlgEquiv.ofLinearEquiv E1 #

{R : Type uR} →
  {A₁ : Type u_1} →
    {A₂ : Type u_2} →
      [inst : Semiring R] →
        [inst_1 : NonUnitalNonAssocSemiring A₁] →
          [inst_2 : NonUnitalNonAssocSemiring A₂] →
            [inst_3 : Module R A₁] →
              [inst_4 : Module R A₂] → (l : A₁ ≃ₗ[R] A₂) → (∀ (x y : A₁), l (x * y) = l x * l y) → A₁ ≃ₐ[R] A₂

Upgrade a linear equivalence to an algebra equivalence, given that it distributes over multiplication.

theorem AlgEquiv.ofLinearEquiv_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (l : A₁ ≃ₗ[R] A₂)
  (map_mul : ∀ (x y : A₁), l (x * y) = l x * l y) (a : A₁), (AlgEquiv.ofLinearEquiv l map_mul) a = l a

theorem AlgEquiv.ofLinearEquiv_symm E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (l : A₁ ≃ₗ[R] A₂)
  (map_mul : ∀ (x y : A₁), l (x * y) = l x * l y),
  (AlgEquiv.ofLinearEquiv l map_mul).symm = AlgEquiv.ofLinearEquiv l.symm ⋯

theorem AlgEquiv.ofLinearEquiv_toLinearEquiv E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (e : A₁ ≃ₐ[R] A₂)
  (map_mul : ∀ (x y : A₁), ↑e (x * y) = ↑e x * ↑e y), AlgEquiv.ofLinearEquiv (↑e) map_mul = e

theorem AlgEquiv.toLinearEquiv_ofLinearEquiv E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A₁]
  [inst_2 : NonUnitalNonAssocSemiring A₂] [inst_3 : Module R A₁] [inst_4 : Module R A₂] (l : A₁ ≃ₗ[R] A₂)
  (map_mul : ∀ (x y : A₁), l (x * y) = l x * l y), ↑(AlgEquiv.ofLinearEquiv l map_mul) = l

theorem AlgEquiv.aut_one E1 #

∀ {R : Type uR} {A₁ : Type uA₁} [inst : Add A₁] [inst_1 : Mul A₁] [inst_2 : SMul R A₁], 1 = AlgEquiv.refl

instance AlgEquiv.aut E0 #

{R : Type uR} → {A₁ : Type uA₁} → [inst : Add A₁] → [inst_1 : Mul A₁] → [inst_2 : SMul R A₁] → Group (A₁ ≃ₐ[R] A₁)

theorem AlgEquiv.aut_mul E1 #

∀ {R : Type uR} {A₁ : Type uA₁} [inst : Add A₁] [inst_1 : Mul A₁] [inst_2 : SMul R A₁] (ϕ ψ : A₁ ≃ₐ[R] A₁),
  ϕ * ψ = ψ.trans ϕ

theorem AlgEquiv.one_apply E0 #

∀ {R : Type uR} {A₁ : Type uA₁} [inst : Add A₁] [inst_1 : Mul A₁] [inst_2 : SMul R A₁] (x : A₁), 1 x = x

theorem AlgEquiv.mul_apply E0 #

∀ {R : Type uR} {A₁ : Type uA₁} [inst : Add A₁] [inst_1 : Mul A₁] [inst_2 : SMul R A₁] (e₁ e₂ : A₁ ≃ₐ[R] A₁) (x : A₁),
  (e₁ * e₂) x = e₁ (e₂ x)

theorem AlgEquiv.aut_inv E1 #

∀ {R : Type uR} {A₁ : Type uA₁} [inst : Add A₁] [inst_1 : Mul A₁] [inst_2 : SMul R A₁] (ϕ : A₁ ≃ₐ[R] A₁), ϕ⁻¹ = ϕ.symm

theorem AlgEquiv.coe_inv E0 #

∀ {R : Type uR} {A₁ : Type uA₁} [inst : Add A₁] [inst_1 : Mul A₁] [inst_2 : SMul R A₁] (ϕ : A₁ ≃ₐ[R] A₁), ⇑ϕ⁻¹ = ⇑ϕ.symm

theorem AlgEquiv.coe_pow E0 #

∀ {R : Type uR} {A₁ : Type uA₁} [inst : Add A₁] [inst_1 : Mul A₁] [inst_2 : SMul R A₁] (e : A₁ ≃ₐ[R] A₁) (n : ℕ),
  ⇑(e ^ n) = (⇑e)^[n]

def AlgEquiv.autCongr E1 #

{R : Type uR} →
  {A₁ : Type uA₁} →
    {A₂ : Type uA₂} →
      [inst : Add A₁] →
        [inst_1 : Add A₂] →
          [inst_2 : Mul A₁] →
            [inst_3 : Mul A₂] →
              [inst_4 : SMul R A₁] → [inst_5 : SMul R A₂] → (A₁ ≃ₐ[R] A₂) → (A₁ ≃ₐ[R] A₁) ≃* A₂ ≃ₐ[R] A₂

An algebra isomorphism induces a group isomorphism between automorphism groups.

This is a more bundled version of AlgEquiv.equivCongr.

theorem AlgEquiv.autCongr_apply E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (ϕ : A₁ ≃ₐ[R] A₂) (ψ : A₁ ≃ₐ[R] A₁), ϕ.autCongr ψ = ϕ.symm.trans (ψ.trans ϕ)

theorem AlgEquiv.autCongr_refl E0 #

∀ {R : Type uR} {A₁ : Type uA₁} [inst : Add A₁] [inst_1 : Mul A₁] [inst_2 : SMul R A₁],
  AlgEquiv.refl.autCongr = MulEquiv.refl (A₁ ≃ₐ[R] A₁)

theorem AlgEquiv.autCongr_symm E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Mul A₁] [inst_3 : Mul A₂]
  [inst_4 : SMul R A₁] [inst_5 : SMul R A₂] (ϕ : A₁ ≃ₐ[R] A₂), ϕ.autCongr.symm = ϕ.symm.autCongr

theorem AlgEquiv.autCongr_trans E0 #

∀ {R : Type uR} {A₁ : Type uA₁} {A₂ : Type uA₂} {A₃ : Type uA₃} [inst : Add A₁] [inst_1 : Add A₂] [inst_2 : Add A₃]
  [inst_3 : Mul A₁] [inst_4 : Mul A₂] [inst_5 : Mul A₃] [inst_6 : SMul R A₁] [inst_7 : SMul R A₂] [inst_8 : SMul R A₃]
  (ϕ : A₁ ≃ₐ[R] A₂) (ψ : A₂ ≃ₐ[R] A₃), ϕ.autCongr.trans ψ.autCongr = (ϕ.trans ψ).autCongr

instance AlgEquiv.applyMulSemiringAction E0 #

{R : Type uR} →
  {A₁ : Type u_1} →
    [inst : Semiring R] → [inst_1 : Semiring A₁] → [inst_2 : Module R A₁] → MulSemiringAction (A₁ ≃ₐ[R] A₁) A₁

The tautological action by A₁ ≃ₐ[R] A₁ on A₁.

This generalizes Function.End.applyMulAction.

theorem AlgEquiv.smul_def E0 #

∀ {R : Type uR} {A₁ : Type u_1} [inst : Semiring R] [inst_1 : Semiring A₁] [inst_2 : Module R A₁] (f : A₁ ≃ₐ[R] A₁)
  (a : A₁), f • a = f a

instance AlgEquiv.apply_faithfulSMul E0 #

∀ {R : Type uR} {A₁ : Type u_1} [inst : Semiring R] [inst_1 : Semiring A₁] [inst_2 : Module R A₁],
  FaithfulSMul (A₁ ≃ₐ[R] A₁) A₁

instance AlgEquiv.apply_smulCommClass E0 #

∀ {R : Type uR} {A₁ : Type u_1} [inst : Semiring R] [inst_1 : Semiring A₁] [inst_2 : Module R A₁] {S : Type u_3}
  [inst_3 : SMul S R] [inst_4 : SMul S A₁] [IsScalarTower S R A₁], SMulCommClass S (A₁ ≃ₐ[R] A₁) A₁

instance AlgEquiv.apply_smulCommClass' E0 #

∀ {R : Type uR} {A₁ : Type u_1} [inst : Semiring R] [inst_1 : Semiring A₁] [inst_2 : Module R A₁] {S : Type u_3}
  [inst_3 : SMul S R] [inst_4 : SMul S A₁] [IsScalarTower S R A₁], SMulCommClass (A₁ ≃ₐ[R] A₁) S A₁

instance AlgEquiv.instMulDistribMulActionUnits E0 #

{R : Type uR} →
  {A₁ : Type u_1} →
    [inst : Semiring R] → [inst_1 : Semiring A₁] → [inst_2 : Module R A₁] → MulDistribMulAction (A₁ ≃ₐ[R] A₁) A₁ˣ

theorem AlgEquiv.smul_units_def E0 #

∀ {R : Type uR} {A₁ : Type u_1} [inst : Semiring R] [inst_1 : Semiring A₁] [inst_2 : Module R A₁] (f : A₁ ≃ₐ[R] A₁)
  (x : A₁ˣ), f • x = (Units.map ↑f) x

theorem MulSemiringAction.toRingEquiv_algEquiv E0 #

∀ {R : Type uR} {A₁ : Type u_1} [inst : Semiring R] [inst_1 : Semiring A₁] [inst_2 : Module R A₁] (σ : A₁ ≃ₐ[R] A₁),
  (MulSemiringAction.toRingEquiv (A₁ ≃ₐ[R] A₁) A₁) σ = σ.toRingEquiv

theorem AlgEquiv.algebraMap_eq_apply E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] (e : A₁ ≃ₐ[R] A₂) {y : R} {x : A₁},
  (algebraMap R A₂) y = e x ↔ (algebraMap R A₁) y = x

def AlgEquiv.toAlgHomHom E1 #

(R : Type u_3) →
  (A : Type u_4) → [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → (A ≃ₐ[R] A) →* A →ₐ[R] A

AlgEquiv.toAlgHom as a MonoidHom.

theorem AlgEquiv.toAlgHomHom_apply E0 #

∀ (R : Type u_3) (A : Type u_4) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (e : A ≃ₐ[R] A),
  (AlgEquiv.toAlgHomHom R A) e = ↑e

def AlgEquiv.toLinearMapHom E1 #

(R : Type u_3) →
  (A : Type u_4) →
    [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → (A ≃ₐ[R] A) →* Module.End R A

AlgEquiv.toLinearMap as a MonoidHom.

theorem AlgEquiv.toLinearMapHom_apply_apply E0 #

∀ (R : Type u_3) (A : Type u_4) [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (x : A ≃ₐ[R] A)
  (a : A), ((AlgEquiv.toLinearMapHom R A) x) a = x a

theorem AlgEquiv.pow_toLinearMap E1 #

∀ {R : Type uR} {A₁ : Type u_1} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Algebra R A₁] (σ : A₁ ≃ₐ[R] A₁)
  (n : ℕ), (σ ^ n).toLinearMap = σ.toLinearMap ^ n

theorem AlgEquiv.one_toLinearMap E0 #

∀ {R : Type uR} {A : Type u_1} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A] [inst_2 : Module R A],
  AlgEquiv.toLinearMap 1 = 1

def AlgEquiv.algHomUnitsEquiv E1 #

(R : Type u_1) →
  (S : Type u_2) → [inst : CommSemiring R] → [inst_1 : Semiring S] → [inst_2 : Algebra R S] → (S →ₐ[R] S)ˣ ≃* S ≃ₐ[R] S

The units group of S →ₐ[R] S is S ≃ₐ[R] S. See LinearMap.GeneralLinearGroup.generalLinearEquiv for the linear map version.

theorem AlgEquiv.algHomUnitsEquiv_apply_symm_apply E0 #

∀ (R : Type u_1) (S : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] (f : (S →ₐ[R] S)ˣ)
  (a : S), ((AlgEquiv.algHomUnitsEquiv R S) f).symm a = ↑↑f⁻¹ a

theorem AlgEquiv.val_algHomUnitsEquiv_symm_apply E0 #

∀ (R : Type u_1) (S : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] (f : S ≃ₐ[R] S),
  ↑((AlgEquiv.algHomUnitsEquiv R S).symm f) = ↑f

theorem AlgEquiv.val_inv_algHomUnitsEquiv_symm_apply E0 #

∀ (R : Type u_1) (S : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] (f : S ≃ₐ[R] S),
  ↑((AlgEquiv.algHomUnitsEquiv R S).symm f)⁻¹ = ↑f.symm

theorem AlgEquiv.algHomUnitsEquiv_apply_apply E0 #

∀ (R : Type u_1) (S : Type u_2) [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Algebra R S] (f : (S →ₐ[R] S)ˣ)
  (a : S), ((AlgEquiv.algHomUnitsEquiv R S) f) a = (↑↑(↑f).toRingHom).toFun a

instance Finite.algEquiv E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] [Finite (A₁ →ₐ[R] A₂)], Finite (A₁ ≃ₐ[R] A₂)

See also Finite.algHom

instance AlgEquiv.instIsLocalHomAlgHomToAlgHom E0 #

∀ {R : Type uR} {A₁ : Type u_1} {A₂ : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A₁] [inst_2 : Semiring A₂]
  [inst_3 : Algebra R A₁] [inst_4 : Algebra R A₂] {e : A₁ ≃ₐ[R] A₂}, IsLocalHom ↑e

def RingEquiv.toNatAlgEquiv E1 #

{R : Type u_1} → {S : Type u_2} → [inst : Semiring R] → [inst_1 : Semiring S] → R ≃+* S → R ≃ₐ[ℕ] S

Reinterpret a RingEquiv as an ℕ-algebra isomorphism.

theorem RingEquiv.toNatAlgEquiv_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : Semiring S] (f : R ≃+* S) (a : R), f.toNatAlgEquiv a = f a

theorem RingEquiv.coe_toNatAlgEquiv E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : Semiring S] (f : R ≃+* S), ⇑f.toNatAlgEquiv = ⇑f

theorem RingEquiv.toAlgHom_toNatAlgEquiv E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : Semiring S] (f : R ≃+* S),
  ↑f.toNatAlgEquiv = (↑f).toNatAlgHom

theorem RingEquiv.symm_toNatAlgEquiv E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : Semiring S] (f : R ≃+* S),
  f.toNatAlgEquiv.symm = f.symm.toNatAlgEquiv

def RingEquiv.equivNatAlgEquiv E1 #

(R : Type u_1) → (S : Type u_2) → [inst : Semiring R] → [inst_1 : Semiring S] → R ≃+* S ≃ R ≃ₐ[ℕ] S

The equivalence between RingEquiv and ℕ-algebra isomorphisms.

theorem RingEquiv.equivNatAlgEquiv_apply E0 #

∀ (R : Type u_1) (S : Type u_2) [inst : Semiring R] [inst_1 : Semiring S] (f : R ≃+* S),
  (RingEquiv.equivNatAlgEquiv R S) f = f.toNatAlgEquiv

theorem RingEquiv.equivNatAlgEquiv_symm_apply E0 #

∀ (R : Type u_1) (S : Type u_2) [inst : Semiring R] [inst_1 : Semiring S] (self : R ≃ₐ[ℕ] S),
  (RingEquiv.equivNatAlgEquiv R S).symm self = self.toRingEquiv

theorem RingEquiv.toNatAlgEquiv_injective E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Semiring R] [inst_1 : Semiring S], Function.Injective RingEquiv.toNatAlgEquiv

def RingEquiv.toIntAlgEquiv E1 #

{R : Type u_1} → {S : Type u_2} → [inst : Ring R] → [inst_1 : Ring S] → R ≃+* S → R ≃ₐ[ℤ] S

Reinterpret a RingEquiv as a ℤ-algebra isomorphism.

theorem RingEquiv.toIntAlgEquiv_apply E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R ≃+* S) (a : R), f.toIntAlgEquiv a = f a

theorem RingEquiv.coe_toIntAlgEquiv E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R ≃+* S), ⇑f.toIntAlgEquiv = ⇑f

theorem RingEquiv.toAlgHom_toIntAlgEquiv E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R ≃+* S), ↑f.toIntAlgEquiv = (↑f).toIntAlgHom

theorem RingEquiv.symm_toIntAlgEquiv E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S] (f : R ≃+* S),
  f.toIntAlgEquiv.symm = f.symm.toIntAlgEquiv

def RingEquiv.equivIntAlgEquiv E1 #

(R : Type u_1) → (S : Type u_2) → [inst : Ring R] → [inst_1 : Ring S] → R ≃+* S ≃ R ≃ₐ[ℤ] S

The equivalence between RingEquiv and ℤ-algebra isomorphisms.

theorem RingEquiv.equivIntAlgEquiv_symm_apply E0 #

∀ (R : Type u_1) (S : Type u_2) [inst : Ring R] [inst_1 : Ring S] (self : R ≃ₐ[ℤ] S),
  (RingEquiv.equivIntAlgEquiv R S).symm self = self.toRingEquiv

theorem RingEquiv.equivIntAlgEquiv_apply E0 #

∀ (R : Type u_1) (S : Type u_2) [inst : Ring R] [inst_1 : Ring S] (f : R ≃+* S),
  (RingEquiv.equivIntAlgEquiv R S) f = f.toIntAlgEquiv

theorem RingEquiv.toIntAlgEquiv_injective E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Ring R] [inst_1 : Ring S], Function.Injective RingEquiv.toIntAlgEquiv

def MulSemiringAction.toAlgEquiv E1 #

{G : Type u_1} →
  (R : Type u_2) →
    (A : Type u_3) →
      [inst : Semiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Module R A] →
            [inst_3 : Group G] → [inst_4 : MulSemiringAction G A] → [SMulCommClass G R A] → G → A ≃ₐ[R] A

Each element of the group defines an algebra equivalence.

This is a stronger version of MulSemiringAction.toRingEquiv and DistribMulAction.toLinearEquiv.

theorem MulSemiringAction.toAlgEquiv_symm_apply E0 #

∀ {G : Type u_1} (R : Type u_2) (A : Type u_3) [inst : Semiring R] [inst_1 : Semiring A] [inst_2 : Module R A]
  [inst_3 : Group G] [inst_4 : MulSemiringAction G A] [inst_5 : SMulCommClass G R A] (g : G) (a : A),
  (MulSemiringAction.toAlgEquiv R A g).symm a = g⁻¹ • a

theorem MulSemiringAction.toAlgEquiv_toEquiv E0 #

∀ {G : Type u_1} (R : Type u_2) (A : Type u_3) [inst : Semiring R] [inst_1 : Semiring A] [inst_2 : Module R A]
  [inst_3 : Group G] [inst_4 : MulSemiringAction G A] [inst_5 : SMulCommClass G R A] (g : G),
  ↑(MulSemiringAction.toAlgEquiv R A g) = ↑((MulSemiringAction.toRingEquiv G A) g)

theorem MulSemiringAction.toAlgEquiv_apply E0 #

∀ {G : Type u_1} (R : Type u_2) (A : Type u_3) [inst : Semiring R] [inst_1 : Semiring A] [inst_2 : Module R A]
  [inst_3 : Group G] [inst_4 : MulSemiringAction G A] [inst_5 : SMulCommClass G R A] (g : G) (a : A),
  (MulSemiringAction.toAlgEquiv R A g) a = g • a

theorem MulSemiringAction.toAlgEquiv_injective E1 #

∀ {G : Type u_1} (R : Type u_2) (A : Type u_3) [inst : Semiring R] [inst_1 : Semiring A] [inst_2 : Module R A]
  [inst_3 : Group G] [inst_4 : MulSemiringAction G A] [inst_5 : SMulCommClass G R A] [FaithfulSMul G A],
  Function.Injective (MulSemiringAction.toAlgEquiv R A)

def MulSemiringAction.toAlgAut E1 #

(G : Type u_1) →
  (R : Type u_2) →
    (A : Type u_3) →
      [inst : Semiring R] →
        [inst_1 : Semiring A] →
          [inst_2 : Module R A] →
            [inst_3 : Group G] → [inst_4 : MulSemiringAction G A] → [SMulCommClass G R A] → G →* A ≃ₐ[R] A

Each element of the group defines an algebra equivalence.

This is a stronger version of MulSemiringAction.toRingAut and DistribMulAction.toModuleEnd.

theorem MulSemiringAction.toAlgAut_apply E0 #

∀ (G : Type u_1) (R : Type u_2) (A : Type u_3) [inst : Semiring R] [inst_1 : Semiring A] [inst_2 : Module R A]
  [inst_3 : Group G] [inst_4 : MulSemiringAction G A] [inst_5 : SMulCommClass G R A] (g : G),
  (MulSemiringAction.toAlgAut G R A) g = MulSemiringAction.toAlgEquiv R A g

instance instUniqueAlgEquivOfSubsingleton E0 #

{R : Type u_1} →
  {S : Type u_2} →
    {T : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring S] →
          [inst_2 : Semiring T] →
            [inst_3 : Algebra R S] → [inst_4 : Algebra R T] → [Subsingleton S] → [Subsingleton T] → Unique (S ≃ₐ[R] T)

theorem AlgEquiv.default_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {T : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Semiring T]
  [inst_3 : Algebra R S] [inst_4 : Algebra R T] [inst_5 : Subsingleton S] [inst_6 : Subsingleton T] (x : S),
  default x = 0

def ULift.algEquiv E1 #

{R : Type u} →
  {A : Type v} → [inst : CommSemiring R] → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → ULift.{w, v} A ≃ₐ[R] A

The algebra equivalence between ULift A and A.

theorem ULift.algEquiv_apply E0 #

∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A]
  (self : ULift.{w, v} A), ULift.algEquiv.{u, v, w} self = self.down

theorem ULift.algEquiv_symm_apply E0 #

∀ {R : Type u} {A : Type v} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (down : A),
  ULift.algEquiv.{u, v, w}.symm down = { down := down }

theorem ULift.down_algEquiv_symm_apply E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : Semiring A] [inst_2 : Algebra R A] (a : A),
  (ULift.algEquiv.{u_1, u_2, u_3}.symm a).down = a

def AlgHom.ulift E1 #

{R : Type u_1} →
  {S : Type u_2} →
    {T : Type u_3} →
      [inst : CommSemiring R] →
        [inst_1 : Semiring S] →
          [inst_2 : Semiring T] →
            [inst_3 : Algebra R S] →
              [inst_4 : Algebra R T] → (S →ₐ[R] T) → ULift.{u₁, u_2} S →ₐ[ULift.{u₂, u_1} R] ULift.{u₃, u_3} T

ULift is functorial for algebra homomorphisms.

theorem AlgHom.down_ulift_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {T : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Semiring T]
  [inst_3 : Algebra R S] [inst_4 : Algebra R T] (f : S →ₐ[R] T) (x : ULift.{u_4, u_2} S),
  ((AlgHom.ulift.{u_4, u_6, u_5, u_1, u_2, u_3} f) x).down = f x.down

theorem AlgHom.ulift_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {T : Type u_3} [inst : CommSemiring R] [inst_1 : Semiring S] [inst_2 : Semiring T]
  [inst_3 : Algebra R S] [inst_4 : Algebra R T] (f : S →ₐ[R] T) (x : ULift.{u_4, u_2} S),
  (AlgHom.ulift.{u_4, u_6, u_5, u_1, u_2, u_3} f) x = { down := f x.down }

def LinearEquiv.algEquivOfRing E1 #

{R : Type u_1} →
  {A : Type u_2} →
    [inst : CommSemiring R] → [inst_1 : CommSemiring A] → [inst_2 : Algebra R A] → (R ≃ₗ[R] A) → R ≃ₐ[R] A

If an R-algebra A is isomorphic to R as R-module, then the canonical map R → A is an equivalence of R-algebras.

Note that if e : R ≃ₗ[R] A is the linear equivalence, then this is not the same as the equivalence of algebras provided here unless e 1 = 1.

theorem LinearEquiv.algEquivOfRing_apply E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A] (e : R ≃ₗ[R] A)
  (a : R), e.algEquivOfRing a = (↑↑(Algebra.ofId R A).toRingHom).toFun a

theorem LinearEquiv.algEquivOfRing_symm_apply E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring A] [inst_2 : Algebra R A] (e : R ≃ₗ[R] A)
  (x : A), e.algEquivOfRing.symm x = e.symm (e 1 * x)

def LinearEquiv.conjAlgEquiv E1 #

(R : Type u_1) →
  {S : Type u_2} →
    {M₁ : Type u_3} →
      {M₂ : Type u_4} →
        [inst : CommSemiring R] →
          [inst_1 : AddCommMonoid M₁] →
            [inst_2 : Module R M₁] →
              [inst_3 : AddCommMonoid M₂] →
                [inst_4 : Module R M₂] →
                  [inst_5 : Semiring S] →
                    [inst_6 : Module S M₁] →
                      [inst_7 : Module S M₂] →
                        [inst_8 : SMulCommClass S R M₁] →
                          [inst_9 : SMulCommClass S R M₂] →
                            [inst_10 : SMul R S] →
                              [IsScalarTower R S M₁] →
                                [IsScalarTower R S M₂] → (M₁ ≃ₗ[S] M₂) → Module.End S M₁ ≃ₐ[R] Module.End S M₂

A linear equivalence of two modules induces an equivalence of algebras of their endomorphisms.

theorem LinearEquiv.conjAlgEquiv_symm_apply_apply E0 #

∀ (R : Type u_1) {S : Type u_2} {M₁ : Type u_3} {M₂ : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
  [inst_2 : Module R M₁] [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M₂] [inst_5 : Semiring S] [inst_6 : Module S M₁]
  [inst_7 : Module S M₂] [inst_8 : SMulCommClass S R M₁] [inst_9 : SMulCommClass S R M₂] [inst_10 : SMul R S]
  [inst_11 : IsScalarTower R S M₁] [inst_12 : IsScalarTower R S M₂] (e : M₁ ≃ₗ[S] M₂) (f : M₂ →ₗ[S] M₂) (x : M₁),
  ((LinearEquiv.conjAlgEquiv R e).symm f) x = e.symm (f (e x))

theorem LinearEquiv.conjAlgEquiv_apply_apply E0 #

∀ (R : Type u_1) {S : Type u_2} {M₁ : Type u_3} {M₂ : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
  [inst_2 : Module R M₁] [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M₂] [inst_5 : Semiring S] [inst_6 : Module S M₁]
  [inst_7 : Module S M₂] [inst_8 : SMulCommClass S R M₁] [inst_9 : SMulCommClass S R M₂] [inst_10 : SMul R S]
  [inst_11 : IsScalarTower R S M₁] [inst_12 : IsScalarTower R S M₂] (e : M₁ ≃ₗ[S] M₂) (f : M₁ →ₗ[S] M₁) (x : M₂),
  ((LinearEquiv.conjAlgEquiv R e) f) x = e (f (e.symm x))

theorem LinearEquiv.conjAlgEquiv_apply E0 #

∀ {R : Type u_1} {S : Type u_2} {M₁ : Type u_3} {M₂ : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
  [inst_2 : Module R M₁] [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M₂] [inst_5 : Semiring S] [inst_6 : Module S M₁]
  [inst_7 : Module S M₂] [inst_8 : SMulCommClass S R M₁] [inst_9 : SMulCommClass S R M₂] [inst_10 : SMul R S]
  [inst_11 : IsScalarTower R S M₁] [inst_12 : IsScalarTower R S M₂] (e : M₁ ≃ₗ[S] M₂) (f : Module.End S M₁),
  (LinearEquiv.conjAlgEquiv R e) f = ↑e ∘ₗ f ∘ₗ ↑e.symm

theorem LinearEquiv.symm_conjAlgEquiv E1 #

∀ {R : Type u_1} {S : Type u_2} {M₁ : Type u_3} {M₂ : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M₁]
  [inst_2 : Module R M₁] [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M₂] [inst_5 : Semiring S] [inst_6 : Module S M₁]
  [inst_7 : Module S M₂] [inst_8 : SMulCommClass S R M₁] [inst_9 : SMulCommClass S R M₂] [inst_10 : SMul R S]
  [inst_11 : IsScalarTower R S M₁] [inst_12 : IsScalarTower R S M₂] (e : M₁ ≃ₗ[S] M₂),
  (LinearEquiv.conjAlgEquiv R e).symm = LinearEquiv.conjAlgEquiv R e.symm

Deprecated aliases

NameNew nameSince
AlgEquiv.coe_algHomAlgEquiv.coe_toAlgHom2026-05-05
AlgEquiv.coe_algHom_injectiveAlgEquiv.coe_toAlgHom_injective2026-05-05
AlgEquiv.coe_algHom_ofAlgHomAlgEquiv.toAlgHom_ofAlgHom2026-05-05
AlgEquiv.coe_apply_coe_coe_symm_applyAlgEquiv.apply_ofClass_symm_apply2026-09-08
AlgEquiv.coe_coeAlgEquiv.coe_ofClass2026-09-08
AlgEquiv.coe_coe_symm_apply_coe_applyAlgEquiv.ofClass_symm_apply_apply2026-09-08
AlgEquiv.coe_ringEquivAlgEquiv.coe_toRingEquiv2026-05-05
AlgEquiv.coe_ringEquiv'AlgEquiv.coe_toRingEquiv2026-05-05
AlgEquiv.coe_ringEquiv_injectiveAlgEquiv.toRingEquiv_injective2026-05-05
AlgEquiv.coe_ringHom_commutesAlgEquiv.toRingHom_toAlgHom2026-05-05
AlgEquiv.commutes'AlgEquiv.commutes2026-11-16
AlgEquiv.ofAlgHom_coe_algHomAlgEquiv.ofAlgHom_toAlgHom2026-05-05
AlgEquiv.ofLinearEquiv_symm.aux2026-11-19
AlgEquiv.ofRingEquivAlgEquiv.ofCommutes2026-11-16
AlgEquiv.ofRingEquiv_applyAlgEquiv.ofCommutes_apply2026-11-16
AlgEquiv.ofRingEquiv_symm_applyAlgEquiv.ofCommutes_symm_apply2026-11-16
AlgEquiv.ofRingEquiv_toEquivAlgEquiv.toEquiv_ofCommutes2026-11-16
AlgEquivClass.commutesAlgHomClass.commutes2026-11-19
AlgEquivClass.toAlgEquivAlgEquiv.ofClass2026-09-08