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 / V07. Linear algebra

Mathlib.Algebra.Module.Equiv.Defs

126 declarations and 4 deprecated aliases. Mathlib docs · Source

(Semi)linear equivalences

In this file we define

  • LinearEquiv σ M M₂, M ≃ₛₗ[σ] M₂: an invertible semilinear map. Here, σ is a RingHom from R to R₂ and an e : M ≃ₛₗ[σ] M₂ satisfies e (c • x) = (σ c) • (e x). The plain linear version, with σ being RingHom.id R, is denoted by M ≃ₗ[R] M₂, and the star-linear version (with σ being starRingEnd) is denoted by M ≃ₗ⋆[R] M₂.

Implementation notes

To ensure that composition works smoothly for semilinear equivalences, we use the typeclasses RingHomCompTriple, RingHomInvPair and RingHomSurjective from Algebra/Ring/CompTypeclasses.

The group structure on automorphisms, LinearEquiv.automorphismGroup, is provided elsewhere.

TODO

  • Parts of this file have not yet been generalized to semilinear maps

Tags

linear equiv, linear equivalences, linear isomorphism, linear isomorphic

theorem LinearEquiv.mk.inj E1 #

∀ {R : Type u_14} {S : Type u_15} {inst : Semiring R} {inst_1 : Semiring S} {σ : R →+* S} {σ' : S →+* R}
  {inst_2 : RingHomInvPair σ σ'} {inst_3 : RingHomInvPair σ' σ} {M : Type u_16} {M₂ : Type u_17}
  {inst_4 : AddCommMonoid M} {inst_5 : AddCommMonoid M₂} {inst_6 : Module R M} {inst_7 : Module S M₂}
  {toLinearMap : M →ₛₗ[σ] M₂} {invFun : M₂ → M}
  {left_inv : autoParam (Function.LeftInverse invFun toLinearMap.toFun) Equiv.left_inv._autoParam}
  {right_inv : autoParam (Function.RightInverse invFun toLinearMap.toFun) Equiv.right_inv._autoParam}
  {toLinearMap_1 : M →ₛₗ[σ] M₂} {invFun_1 : M₂ → M}
  {left_inv_1 : autoParam (Function.LeftInverse invFun_1 toLinearMap_1.toFun) Equiv.left_inv._autoParam}
  {right_inv_1 : autoParam (Function.RightInverse invFun_1 toLinearMap_1.toFun) Equiv.right_inv._autoParam},
  { toLinearMap := toLinearMap, invFun := invFun, left_inv := left_inv, right_inv := right_inv } =
      { toLinearMap := toLinearMap_1, invFun := invFun_1, left_inv := left_inv_1, right_inv := right_inv_1 } →
    toLinearMap = toLinearMap_1 ∧ invFun = invFun_1

theorem LinearEquiv.trans.congr_simp E1 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂}
  [inst_6 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_7 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} [inst_8 : RingHomInvPair σ₁₃ σ₃₁] {re₂₁ : RingHomInvPair σ₂₁ σ₁₂}
  {re₃₂ : RingHomInvPair σ₃₂ σ₂₃} [inst_9 : RingHomInvPair σ₃₁ σ₁₃] (e₁₂ e₁₂_1 : M₁ ≃ₛₗ[σ₁₂] M₂),
  e₁₂ = e₁₂_1 → ∀ (e₂₃ e₂₃_1 : M₂ ≃ₛₗ[σ₂₃] M₃), e₂₃ = e₂₃_1 → e₁₂.trans e₂₃ = e₁₂_1.trans e₂₃_1

def LinearEquiv.ctorIdx E1 #

{R : Type u_14} →
  {S : Type u_15} →
    {inst : Semiring R} →
      {inst_1 : Semiring S} →
        {σ : R →+* S} →
          {σ' : S →+* R} →
            {inst_2 : RingHomInvPair σ σ'} →
              {inst_3 : RingHomInvPair σ' σ} →
                {M : Type u_16} →
                  {M₂ : Type u_17} →
                    {inst_4 : AddCommMonoid M} →
                      {inst_5 : AddCommMonoid M₂} → {inst_6 : Module R M} → {inst_7 : Module S M₂} → (M ≃ₛₗ[σ] M₂) → ℕ

theorem LinearMap.inverse.congr_simp E1 #

∀ {R : Type u_1} {S : Type u_5} {M : Type u_8} {M₂ : Type u_10} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M] [inst_5 : Module S M₂] {σ : R →+* S}
  {σ' : S →+* R} [inst_6 : RingHomInvPair σ σ'] (f f_1 : M →ₛₗ[σ] M₂) (e_f : f = f_1) (g g_1 : M₂ → M) (e_g : g = g_1)
  (h₁ : Function.LeftInverse g ⇑f) (h₂ : Function.RightInverse g ⇑f), f.inverse g h₁ h₂ = f_1.inverse g_1 ⋯ ⋯

theorem LinearEquiv.mk.injEq E0 #

∀ {R : Type u_14} {S : Type u_15} [inst : Semiring R] [inst_1 : Semiring S] {σ : R →+* S} {σ' : S →+* R}
  [inst_2 : RingHomInvPair σ σ'] [inst_3 : RingHomInvPair σ' σ] {M : Type u_16} {M₂ : Type u_17}
  [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid M₂] [inst_6 : Module R M] [inst_7 : Module S M₂]
  (toLinearMap : M →ₛₗ[σ] M₂) (invFun : M₂ → M)
  (left_inv : autoParam (Function.LeftInverse invFun toLinearMap.toFun) Equiv.left_inv._autoParam)
  (right_inv : autoParam (Function.RightInverse invFun toLinearMap.toFun) Equiv.right_inv._autoParam)
  (toLinearMap_1 : M →ₛₗ[σ] M₂) (invFun_1 : M₂ → M)
  (left_inv_1 : autoParam (Function.LeftInverse invFun_1 toLinearMap_1.toFun) Equiv.left_inv._autoParam)
  (right_inv_1 : autoParam (Function.RightInverse invFun_1 toLinearMap_1.toFun) Equiv.right_inv._autoParam),
  ({ toLinearMap := toLinearMap, invFun := invFun, left_inv := left_inv, right_inv := right_inv } =
      { toLinearMap := toLinearMap_1, invFun := invFun_1, left_inv := left_inv_1, right_inv := right_inv_1 }) =
    (toLinearMap = toLinearMap_1 ∧ invFun = invFun_1)

structure LinearEquiv E3 #

{R : Type u_14} →
  {S : Type u_15} →
    [inst : Semiring R] →
      [inst_1 : Semiring S] →
        (σ : R →+* S) →
          {σ' : S →+* R} →
            [RingHomInvPair σ σ'] →
              [RingHomInvPair σ' σ] →
                (M : Type u_16) →
                  (M₂ : Type u_17) →
                    [inst_4 : AddCommMonoid M] →
                      [inst_5 : AddCommMonoid M₂] → [Module R M] → [Module S M₂] → Type (max u_16 u_17)

A linear equivalence is an invertible linear map.

ctor LinearEquiv.mk E0 #

{R : Type u_14} →
  {S : Type u_15} →
    [inst : Semiring R] →
      [inst_1 : Semiring S] →
        {σ : R →+* S} →
          {σ' : S →+* R} →
            [inst_2 : RingHomInvPair σ σ'] →
              [inst_3 : RingHomInvPair σ' σ] →
                {M : Type u_16} →
                  {M₂ : Type u_17} →
                    [inst_4 : AddCommMonoid M] →
                      [inst_5 : AddCommMonoid M₂] →
                        [inst_6 : Module R M] →
                          [inst_7 : Module S M₂] →
                            (toLinearMap : M →ₛₗ[σ] M₂) →
                              (invFun : M₂ → M) →
                                autoParam (Function.LeftInverse invFun toLinearMap.toFun) Equiv.left_inv._autoParam →
                                  autoParam (Function.RightInverse invFun toLinearMap.toFun)
                                      Equiv.right_inv._autoParam →
                                    M ≃ₛₗ[σ] M₂

abbrev LinearEquiv.toAddEquiv E1 #

{R : Type u_14} →
  {S : Type u_15} →
    [inst : Semiring R] →
      [inst_1 : Semiring S] →
        {σ : R →+* S} →
          {σ' : S →+* R} →
            [inst_2 : RingHomInvPair σ σ'] →
              [inst_3 : RingHomInvPair σ' σ] →
                {M : Type u_16} →
                  {M₂ : Type u_17} →
                    [inst_4 : AddCommMonoid M] →
                      [inst_5 : AddCommMonoid M₂] →
                        [inst_6 : Module R M] → [inst_7 : Module S M₂] → (M ≃ₛₗ[σ] M₂) → M ≃+ M₂

The additive equivalence of types underlying a linear equivalence.

abbrev LinearEquiv.toLinearMap E1 #

{R : Type u_14} →
  {S : Type u_15} →
    [inst : Semiring R] →
      [inst_1 : Semiring S] →
        {σ : R →+* S} →
          {σ' : S →+* R} →
            [inst_2 : RingHomInvPair σ σ'] →
              [inst_3 : RingHomInvPair σ' σ] →
                {M : Type u_16} →
                  {M₂ : Type u_17} →
                    [inst_4 : AddCommMonoid M] →
                      [inst_5 : AddCommMonoid M₂] →
                        [inst_6 : Module R M] → [inst_7 : Module S M₂] → (M ≃ₛₗ[σ] M₂) → M →ₛₗ[σ] M₂

The linear map underlying a linear equivalence.

theorem LinearEquiv.right_inv E1 #

∀ {R : Type u_14} {S : Type u_15} [inst : Semiring R] [inst_1 : Semiring S] {σ : R →+* S} {σ' : S →+* R}
  [inst_2 : RingHomInvPair σ σ'] [inst_3 : RingHomInvPair σ' σ] {M : Type u_16} {M₂ : Type u_17}
  [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid M₂] [inst_6 : Module R M] [inst_7 : Module S M₂]
  (self : M ≃ₛₗ[σ] M₂), Function.RightInverse self.invFun (↑self).toFun

theorem LinearEquiv.left_inv E1 #

∀ {R : Type u_14} {S : Type u_15} [inst : Semiring R] [inst_1 : Semiring S] {σ : R →+* S} {σ' : S →+* R}
  [inst_2 : RingHomInvPair σ σ'] [inst_3 : RingHomInvPair σ' σ] {M : Type u_16} {M₂ : Type u_17}
  [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid M₂] [inst_6 : Module R M] [inst_7 : Module S M₂]
  (self : M ≃ₛₗ[σ] M₂), Function.LeftInverse self.invFun (↑self).toFun

abbrev LinearEquiv.invFun E1 #

{R : Type u_14} →
  {S : Type u_15} →
    [inst : Semiring R] →
      [inst_1 : Semiring S] →
        {σ : R →+* S} →
          {σ' : S →+* R} →
            [inst_2 : RingHomInvPair σ σ'] →
              [inst_3 : RingHomInvPair σ' σ] →
                {M : Type u_16} →
                  {M₂ : Type u_17} →
                    [inst_4 : AddCommMonoid M] →
                      [inst_5 : AddCommMonoid M₂] →
                        [inst_6 : Module R M] → [inst_7 : Module S M₂] → (M ≃ₛₗ[σ] M₂) → M₂ → M

The backward map of an equivalence.

Do NOT use e.invFun directly. Use the coercion of e.symm instead.

def «term_≃ₛₗ[_]_» E1 #

Lean.TrailingParserDescr

M ≃ₛₗ[σ] M₂ denotes the type of linear equivalences between M and M₂ over a ring homomorphism σ.

def «term_≃ₗ[_]_» E1 #

Lean.TrailingParserDescr

M ≃ₗ[R] M₂ denotes the type of linear equivalences between M and M₂ over a plain linear map M →ₗ M₂.

class SemilinearEquivClass E1 #

(F : Type u_14) →
  {R : outParam (Type u_15)} →
    {S : outParam (Type u_16)} →
      [inst : Semiring R] →
        [inst_1 : Semiring S] →
          (σ : outParam (R →+* S)) →
            {σ' : outParam (S →+* R)} →
              [RingHomInvPair σ σ'] →
                [RingHomInvPair σ' σ] →
                  (M : outParam (Type u_17)) →
                    (M₂ : outParam (Type u_18)) →
                      [inst_4 : AddCommMonoid M] →
                        [inst_5 : AddCommMonoid M₂] → [Module R M] → [Module S M₂] → [EquivLike F M M₂] → Prop

SemilinearEquivClass F σ M M₂ asserts F is a type of bundled σ-semilinear equivs M → M₂.

See also LinearEquivClass F R M M₂ for the case where σ is the identity map on R.

A map f between an R-module and an S-module over a ring homomorphism σ : R →+* S is semilinear if it satisfies the two properties f (x + y) = f x + f y and f (c • x) = (σ c) • f x.

instance SemilinearEquivClass.toAddEquivClass E0 #

∀ {F : Type u_14} {R : outParam (Type u_15)} {S : outParam (Type u_16)} {inst : Semiring R} {inst_1 : Semiring S}
  {σ : outParam (R →+* S)} {σ' : outParam (S →+* R)} {inst_2 : RingHomInvPair σ σ'} {inst_3 : RingHomInvPair σ' σ}
  {M : outParam (Type u_17)} {M₂ : outParam (Type u_18)} {inst_4 : AddCommMonoid M} {inst_5 : AddCommMonoid M₂}
  {inst_6 : Module R M} {inst_7 : Module S M₂} {inst_8 : EquivLike F M M₂} [self : SemilinearEquivClass F σ M M₂],
  AddEquivClass F M M₂

ctor SemilinearEquivClass.mk E0 #

∀ {F : Type u_14} {R : outParam (Type u_15)} {S : outParam (Type u_16)} [inst : Semiring R] [inst_1 : Semiring S]
  {σ : outParam (R →+* S)} {σ' : outParam (S →+* R)} [inst_2 : RingHomInvPair σ σ'] [inst_3 : RingHomInvPair σ' σ]
  {M : outParam (Type u_17)} {M₂ : outParam (Type u_18)} [inst_4 : AddCommMonoid M] [inst_5 : AddCommMonoid M₂]
  [inst_6 : Module R M] [inst_7 : Module S M₂] [inst_8 : EquivLike F M M₂] [toAddEquivClass : AddEquivClass F M M₂],
  (∀ (f : F) (r : R) (x : M), f (r • x) = σ r • f x) → SemilinearEquivClass F σ M M₂

theorem SemilinearEquivClass.map_smulₛₗ E0 #

∀ {F : Type u_14} {R : outParam (Type u_15)} {S : outParam (Type u_16)} {inst : Semiring R} {inst_1 : Semiring S}
  {σ : outParam (R →+* S)} {σ' : outParam (S →+* R)} {inst_2 : RingHomInvPair σ σ'} {inst_3 : RingHomInvPair σ' σ}
  {M : outParam (Type u_17)} {M₂ : outParam (Type u_18)} {inst_4 : AddCommMonoid M} {inst_5 : AddCommMonoid M₂}
  {inst_6 : Module R M} {inst_7 : Module S M₂} {inst_8 : EquivLike F M M₂} [self : SemilinearEquivClass F σ M M₂]
  (f : F) (r : R) (x : M), f (r • x) = σ r • f x

Applying a semilinear equivalence f over σ to r • x equals σ r • f x.

abbrev LinearEquivClass E1 #

(F : Type u_14) →
  (R : outParam (Type u_15)) →
    (M : outParam (Type u_16)) →
      (M₂ : outParam (Type u_17)) →
        [inst : Semiring R] →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid M₂] → [Module R M] → [Module R M₂] → [EquivLike F M M₂] → Prop

LinearEquivClass F R M M₂ asserts F is a type of bundled R-linear equivs M → M₂. This is an abbreviation for SemilinearEquivClass F (RingHom.id R) M M₂.

instance SemilinearEquivClass.instSemilinearMapClass E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} (F : Type u_14) [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] [inst_4 : Module R M] [inst_5 : Module S M₂] {σ : R →+* S}
  {σ' : S →+* R} [inst_6 : RingHomInvPair σ σ'] [inst_7 : RingHomInvPair σ' σ] [inst_8 : EquivLike F M M₂]
  [s : SemilinearEquivClass F σ M M₂], SemilinearMapClass F σ M M₂

def LinearEquiv.ofClass E1 #

{R : Type u_1} →
  {S : Type u_6} →
    {M : Type u_7} →
      {M₂ : Type u_9} →
        {F : Type u_14} →
          [inst : Semiring R] →
            [inst_1 : Semiring S] →
              [inst_2 : AddCommMonoid M] →
                [inst_3 : AddCommMonoid M₂] →
                  [inst_4 : Module R M] →
                    [inst_5 : Module S M₂] →
                      {σ : R →+* S} →
                        {σ' : S →+* R} →
                          [inst_6 : RingHomInvPair σ σ'] →
                            [inst_7 : RingHomInvPair σ' σ] →
                              [inst_8 : EquivLike F M M₂] → [SemilinearEquivClass F σ M M₂] → F → M ≃ₛₗ[σ] M₂

Reinterpret an element of a type of semilinear equivalences as a semilinear equivalence.

instance LinearEquiv.instCoeLinearMap E0 #

{R : Type u_1} →
  {S : Type u_6} →
    {M : Type u_7} →
      {M₂ : Type u_9} →
        [inst : Semiring R] →
          [inst_1 : Semiring S] →
            [inst_2 : AddCommMonoid M] →
              [inst_3 : AddCommMonoid M₂] →
                {modM : Module R M} →
                  {modM₂ : Module S M₂} →
                    {σ : R →+* S} →
                      {σ' : S →+* R} →
                        [inst_4 : RingHomInvPair σ σ'] →
                          [inst_5 : RingHomInvPair σ' σ] → Coe (M ≃ₛₗ[σ] M₂) (M →ₛₗ[σ] M₂)

def LinearEquiv.toEquiv E1 #

{R : Type u_1} →
  {S : Type u_6} →
    {M : Type u_7} →
      {M₂ : Type u_9} →
        [inst : Semiring R] →
          [inst_1 : Semiring S] →
            [inst_2 : AddCommMonoid M] →
              [inst_3 : AddCommMonoid M₂] →
                {modM : Module R M} →
                  {modM₂ : Module S M₂} →
                    {σ : R →+* S} →
                      {σ' : S →+* R} →
                        [inst_4 : RingHomInvPair σ σ'] → [inst_5 : RingHomInvPair σ' σ] → (M ≃ₛₗ[σ] M₂) → M ≃ M₂

The equivalence of types underlying a linear equivalence.

theorem LinearEquiv.toEquiv_injective E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {modM : Module R M} {modM₂ : Module S M₂} {σ : R →+* S}
  {σ' : S →+* R} [inst_4 : RingHomInvPair σ σ'] [inst_5 : RingHomInvPair σ' σ], Function.Injective LinearEquiv.toEquiv

theorem LinearEquiv.toEquiv_inj E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {modM : Module R M} {modM₂ : Module S M₂} {σ : R →+* S}
  {σ' : S →+* R} [inst_4 : RingHomInvPair σ σ'] [inst_5 : RingHomInvPair σ' σ] {e₁ e₂ : M ≃ₛₗ[σ] M₂},
  e₁.toEquiv = e₂.toEquiv ↔ e₁ = e₂

theorem LinearEquiv.toLinearMap_injective E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {modM : Module R M} {modM₂ : Module S M₂} {σ : R →+* S}
  {σ' : S →+* R} [inst_4 : RingHomInvPair σ σ'] [inst_5 : RingHomInvPair σ' σ],
  Function.Injective LinearEquiv.toLinearMap

theorem LinearEquiv.toLinearMap_inj E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {modM : Module R M} {modM₂ : Module S M₂} {σ : R →+* S}
  {σ' : S →+* R} [inst_4 : RingHomInvPair σ σ'] [inst_5 : RingHomInvPair σ' σ] {e₁ e₂ : M ≃ₛₗ[σ] M₂},
  ↑e₁ = ↑e₂ ↔ e₁ = e₂

instance LinearEquiv.instEquivLike E0 #

{R : Type u_1} →
  {S : Type u_6} →
    {M : Type u_7} →
      {M₂ : Type u_9} →
        [inst : Semiring R] →
          [inst_1 : Semiring S] →
            [inst_2 : AddCommMonoid M] →
              [inst_3 : AddCommMonoid M₂] →
                {modM : Module R M} →
                  {modM₂ : Module S M₂} →
                    {σ : R →+* S} →
                      {σ' : S →+* R} →
                        [inst_4 : RingHomInvPair σ σ'] → [inst_5 : RingHomInvPair σ' σ] → EquivLike (M ≃ₛₗ[σ] M₂) M M₂

instance LinearEquiv.instSemilinearEquivClass E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {modM : Module R M} {modM₂ : Module S M₂} {σ : R →+* S}
  {σ' : S →+* R} [inst_4 : RingHomInvPair σ σ'] [inst_5 : RingHomInvPair σ' σ],
  SemilinearEquivClass (M ≃ₛₗ[σ] M₂) σ M M₂

theorem LinearEquiv.toLinearMap_eq_ofClass E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {modM : Module R M} {modM₂ : Module S M₂} {σ : R →+* S}
  {σ' : S →+* R} [inst_4 : RingHomInvPair σ σ'] [inst_5 : RingHomInvPair σ' σ] {e : M ≃ₛₗ[σ] M₂}, ↑e = ↑e

theorem LinearEquiv.coe_mk E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {modM : Module R M} {modM₂ : Module S M₂} {σ : R →+* S}
  {σ' : S →+* R} [inst_4 : RingHomInvPair σ σ'] [inst_5 : RingHomInvPair σ' σ] {f : M →ₛₗ[σ] M₂} {invFun : M₂ → M}
  {left_inv : Function.LeftInverse invFun f.toFun} {right_inv : Function.RightInverse invFun f.toFun},
  ⇑{ toLinearMap := f, invFun := invFun, left_inv := left_inv, right_inv := right_inv } = ⇑f

theorem LinearEquiv.coe_injective E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {modM : Module R M} {modM₂ : Module S M₂} {σ : R →+* S}
  {σ' : S →+* R} [inst_4 : RingHomInvPair σ σ'] [inst_5 : RingHomInvPair σ' σ], Function.Injective DFunLike.coe

theorem LinearEquiv.coe_ofClass E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {modM : Module R M} {modM₂ : Module S M₂} {σ : R →+* S}
  {σ' : S →+* R} [inst_4 : RingHomInvPair σ σ'] [inst_5 : RingHomInvPair σ' σ] {F : Type u_14}
  [inst_6 : EquivLike F M M₂] [inst_7 : SemilinearEquivClass F σ M M₂] (f : F), ⇑(LinearEquiv.ofClass f) = ⇑f

theorem LinearEquiv.coe_toEquiv E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  ⇑e.toEquiv = ⇑e

theorem LinearEquiv.coe_toLinearMap E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂), ⇑↑e = ⇑e

theorem LinearEquiv.toFun_eq_coe E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  (↑e).toFun = ⇑e

theorem LinearEquiv.ext E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} {e e' : M ≃ₛₗ[σ] M₂},
  (∀ (x : M), e x = e' x) → e = e'

theorem LinearEquiv.ext_iff E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} {e e' : M ≃ₛₗ[σ] M₂},
  e = e' ↔ ∀ (x : M), e x = e' x

theorem LinearEquiv.congr_arg E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} {e : M ≃ₛₗ[σ] M₂} {x x' : M},
  x = x' → e x = e x'

theorem LinearEquiv.congr_fun E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} {e e' : M ≃ₛₗ[σ] M₂},
  e = e' → ∀ (x : M), e x = e' x

def LinearEquiv.refl E1 #

(R : Type u_1) → (M : Type u_7) → [inst : Semiring R] → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → M ≃ₗ[R] M

The identity map is a linear equivalence.

theorem LinearEquiv.refl_apply E0 #

∀ {R : Type u_1} {M : Type u_7} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] (x : M),
  (LinearEquiv.refl R M) x = x

def LinearEquiv.symm E1 #

{R : Type u_1} →
  {S : Type u_6} →
    {M : Type u_7} →
      {M₂ : Type u_9} →
        [inst : Semiring R] →
          [inst_1 : Semiring S] →
            [inst_2 : AddCommMonoid M] →
              [inst_3 : AddCommMonoid M₂] →
                {module_M : Module R M} →
                  {module_S_M₂ : Module S M₂} →
                    {σ : R →+* S} →
                      {σ' : S →+* R} →
                        {re₁ : RingHomInvPair σ σ'} → {re₂ : RingHomInvPair σ' σ} → (M ≃ₛₗ[σ] M₂) → M₂ ≃ₛₗ[σ'] M

Linear equivalences are symmetric.

def LinearEquiv.Simps.apply E1 #

{R : Type u_14} →
  {S : Type u_15} →
    [inst : Semiring R] →
      [inst_1 : Semiring S] →
        {σ : R →+* S} →
          {σ' : S →+* R} →
            [inst_2 : RingHomInvPair σ σ'] →
              [inst_3 : RingHomInvPair σ' σ] →
                {M : Type u_16} →
                  {M₂ : Type u_17} →
                    [inst_4 : AddCommMonoid M] →
                      [inst_5 : AddCommMonoid M₂] →
                        [inst_6 : Module R M] → [inst_7 : Module S M₂] → (M ≃ₛₗ[σ] M₂) → M → M₂

See Note [custom simps projection]

def LinearEquiv.Simps.symm_apply E0 #

{R : Type u_14} →
  {S : Type u_15} →
    [inst : Semiring R] →
      [inst_1 : Semiring S] →
        {σ : R →+* S} →
          {σ' : S →+* R} →
            [inst_2 : RingHomInvPair σ σ'] →
              [inst_3 : RingHomInvPair σ' σ] →
                {M : Type u_16} →
                  {M₂ : Type u_17} →
                    [inst_4 : AddCommMonoid M] →
                      [inst_5 : AddCommMonoid M₂] →
                        [inst_6 : Module R M] → [inst_7 : Module S M₂] → (M ≃ₛₗ[σ] M₂) → M₂ → M

See Note [custom simps projection]

theorem LinearEquiv.invFun_eq_symm E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  e.invFun = ⇑e.symm

theorem LinearEquiv.coe_toEquiv_symm E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  e.toEquiv.symm = ↑e.symm

theorem LinearEquiv.toEquiv_symm E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  e.symm.toEquiv = e.toEquiv.symm

theorem LinearEquiv.coe_symm_toEquiv E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  ⇑e.toEquiv.symm = ⇑e.symm

def LinearEquiv.trans E1 #

{R₁ : Type u_2} →
  {R₂ : Type u_3} →
    {R₃ : Type u_4} →
      {M₁ : Type u_8} →
        {M₂ : Type u_9} →
          {M₃ : Type u_10} →
            [inst : Semiring R₁] →
              [inst_1 : Semiring R₂] →
                [inst_2 : Semiring R₃] →
                  [inst_3 : AddCommMonoid M₁] →
                    [inst_4 : AddCommMonoid M₂] →
                      [inst_5 : AddCommMonoid M₃] →
                        {module_M₁ : Module R₁ M₁} →
                          {module_M₂ : Module R₂ M₂} →
                            {module_M₃ : Module R₃ M₃} →
                              {σ₁₂ : R₁ →+* R₂} →
                                {σ₂₁ : R₂ →+* R₁} →
                                  {σ₁₃ : R₁ →+* R₃} →
                                    {σ₃₁ : R₃ →+* R₁} →
                                      {σ₂₃ : R₂ →+* R₃} →
                                        {σ₃₂ : R₃ →+* R₂} →
                                          [RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] →
                                            [RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] →
                                              {re₁₂ : RingHomInvPair σ₁₂ σ₂₁} →
                                                {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} →
                                                  [inst_8 : RingHomInvPair σ₁₃ σ₃₁] →
                                                    {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} →
                                                      {re₃₂ : RingHomInvPair σ₃₂ σ₂₃} →
                                                        [inst_9 : RingHomInvPair σ₃₁ σ₁₃] →
                                                          (M₁ ≃ₛₗ[σ₁₂] M₂) → (M₂ ≃ₛₗ[σ₂₃] M₃) → M₁ ≃ₛₗ[σ₁₃] M₃

Linear equivalences are transitive.

def LinearEquiv.transNotation E1 #

Lean.TrailingParserDescr

e₁ ≪≫ₗ e₂ denotes the composition of the linear equivalences e₁ and e₂.

def LinearEquiv.symmEquiv E1 #

{R : Type u_1} →
  {S : Type u_6} →
    {M : Type u_7} →
      {M₂ : Type u_9} →
        [inst : Semiring R] →
          [inst_1 : Semiring S] →
            [inst_2 : AddCommMonoid M] →
              [inst_3 : AddCommMonoid M₂] →
                {module_M : Module R M} →
                  {module_S_M₂ : Module S M₂} →
                    {σ : R →+* S} →
                      {σ' : S →+* R} →
                        {re₁ : RingHomInvPair σ σ'} → {re₂ : RingHomInvPair σ' σ} → (M ≃ₛₗ[σ] M₂) ≃ M₂ ≃ₛₗ[σ'] M

LinearEquiv.symm defines an equivalence between α ≃ₛₗ[σ] β and β ≃ₛₗ[σ] α.

theorem LinearEquiv.symmEquiv_apply_apply E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (a : M₂),
  (LinearEquiv.symmEquiv e) a = ((↑e).inverse ⇑e.symm ⋯ ⋯) a

theorem LinearEquiv.symmEquiv_symm_apply_apply E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M₂ ≃ₛₗ[σ'] M) (a : M),
  (LinearEquiv.symmEquiv.symm e) a = ((↑e).inverse ⇑e.symm ⋯ ⋯) a

theorem LinearEquiv.symmEquiv_apply_symm_apply E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (a : M),
  (LinearEquiv.symmEquiv e).symm a = e a

theorem LinearEquiv.symmEquiv_symm_apply_symm_apply E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M₂ ≃ₛₗ[σ'] M) (a : M₂),
  (LinearEquiv.symmEquiv.symm e).symm a = e a

theorem LinearEquiv.coe_toAddEquiv E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  e.toAddEquiv = ↑e

theorem LinearEquiv.coe_addEquiv_apply E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (x : M),
  ↑e x = e x

theorem LinearEquiv.toAddMonoidHom_commutes E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  (↑e).toAddMonoidHom = e.toAddEquiv.toAddMonoidHom

The two paths coercion can take to an AddMonoidHom are equivalent

theorem LinearEquiv.coe_toAddEquiv_symm E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {M₁ : Type u_8} {M₂ : Type u_9} [inst : Semiring R₁] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M₁] [inst_3 : AddCommMonoid M₂] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁} {re₂₁ : RingHomInvPair σ₂₁ σ₁₂}
  {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂}, ↑e₁₂.symm = (↑e₁₂).symm

theorem LinearEquiv.trans_apply E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} [inst_6 : RingHomInvPair σ₁₃ σ₃₁]
  [inst_7 : RingHomInvPair σ₃₁ σ₁₃] {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} {re₃₂ : RingHomInvPair σ₃₂ σ₂₃}
  [inst_8 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_9 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂}
  {e₂₃ : M₂ ≃ₛₗ[σ₂₃] M₃} (c : M₁), (e₁₂.trans e₂₃) c = e₂₃ (e₁₂ c)

theorem LinearEquiv.coe_trans E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} [inst_6 : RingHomInvPair σ₁₃ σ₃₁]
  [inst_7 : RingHomInvPair σ₃₁ σ₁₃] {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} {re₃₂ : RingHomInvPair σ₃₂ σ₂₃}
  [inst_8 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_9 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂}
  {e₂₃ : M₂ ≃ₛₗ[σ₂₃] M₃}, ↑(e₁₂.trans e₂₃) = ↑e₂₃ ∘ₛₗ ↑e₁₂

theorem LinearEquiv.apply_symm_apply E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (c : M₂),
  e (e.symm c) = c

theorem LinearEquiv.symm_apply_apply E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (b : M),
  e.symm (e b) = b

theorem LinearEquiv.comp_symm E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  ↑e ∘ₛₗ ↑e.symm = LinearMap.id

theorem LinearEquiv.symm_comp E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  ↑e.symm ∘ₛₗ ↑e = LinearMap.id

theorem LinearEquiv.comp_symm_assoc E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₃₁ : R₃ →+* R₁} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} [inst_6 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂} (f : M₃ →ₛₗ[σ₃₂] M₂)
  [inst_7 : RingHomCompTriple σ₃₁ σ₁₂ σ₃₂], ↑e₁₂ ∘ₛₗ ↑e₁₂.symm ∘ₛₗ f = f

theorem LinearEquiv.symm_comp_assoc E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₃₁ : R₃ →+* R₁} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} [inst_6 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂} (f : M₃ →ₛₗ[σ₃₁] M₁)
  [inst_7 : RingHomCompTriple σ₃₁ σ₁₂ σ₃₂], ↑e₁₂.symm ∘ₛₗ ↑e₁₂ ∘ₛₗ f = f

theorem LinearEquiv.trans_symm E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} [inst_6 : RingHomInvPair σ₁₃ σ₃₁]
  [inst_7 : RingHomInvPair σ₃₁ σ₁₃] {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} {re₃₂ : RingHomInvPair σ₃₂ σ₂₃}
  [inst_8 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_9 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂}
  {e₂₃ : M₂ ≃ₛₗ[σ₂₃] M₃}, (e₁₂.trans e₂₃).symm = e₂₃.symm.trans e₁₂.symm

theorem LinearEquiv.symm_trans_apply E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} [inst_6 : RingHomInvPair σ₁₃ σ₃₁]
  [inst_7 : RingHomInvPair σ₃₁ σ₁₃] {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} {re₃₂ : RingHomInvPair σ₃₂ σ₂₃}
  [inst_8 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_9 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂}
  {e₂₃ : M₂ ≃ₛₗ[σ₂₃] M₃} (c : M₃), (e₁₂.trans e₂₃).symm c = e₁₂.symm (e₂₃.symm c)

theorem LinearEquiv.trans_refl E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  e.trans (LinearEquiv.refl S M₂) = e

theorem LinearEquiv.refl_trans E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  (LinearEquiv.refl R M).trans e = e

theorem LinearEquiv.symm_apply_eq E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) {x : M₂}
  {y : M}, e.symm x = y ↔ x = e y

theorem LinearEquiv.comp_symm_eq E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {M₁ : Type u_8} {M₂ : Type u_9} [inst : Semiring R₁] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M₁] [inst_3 : AddCommMonoid M₂] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁} {re₂₁ : RingHomInvPair σ₂₁ σ₁₂}
  {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂} {α : Type u_14} (f : M₂ → α) (g : M₁ → α), g ∘ ⇑e₁₂.symm = f ↔ g = f ∘ ⇑e₁₂

theorem LinearEquiv.symm_comp_eq E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {M₁ : Type u_8} {M₂ : Type u_9} [inst : Semiring R₁] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M₁] [inst_3 : AddCommMonoid M₂] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁} {re₂₁ : RingHomInvPair σ₂₁ σ₁₂}
  {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂} {α : Type u_14} (f : α → M₁) (g : α → M₂), ⇑e₁₂.symm ∘ g = f ↔ g = ⇑e₁₂ ∘ f

theorem LinearEquiv.comp_coe E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} [inst_6 : RingHomInvPair σ₁₃ σ₃₁]
  [inst_7 : RingHomInvPair σ₃₁ σ₁₃] {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} {re₃₂ : RingHomInvPair σ₃₂ σ₂₃}
  [inst_8 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_9 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] (f : M₁ ≃ₛₗ[σ₁₂] M₂)
  (f' : M₂ ≃ₛₗ[σ₂₃] M₃), ↑f' ∘ₛₗ ↑f = ↑(f.trans f')

theorem LinearEquiv.trans_assoc E1 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {R₄ : Type u_5} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10}
  {M₄ : Type u_11} [inst : Semiring R₁] [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : Semiring R₄]
  [inst_4 : AddCommMonoid M₁] [inst_5 : AddCommMonoid M₂] [inst_6 : AddCommMonoid M₃] [inst_7 : AddCommMonoid M₄]
  {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃} {module_M₄ : Module R₄ M₄}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} [inst_8 : RingHomInvPair σ₁₃ σ₃₁]
  [inst_9 : RingHomInvPair σ₃₁ σ₁₃] {σ₁₄ : R₁ →+* R₄} {σ₄₁ : R₄ →+* R₁} [inst_10 : RingHomInvPair σ₁₄ σ₄₁]
  [inst_11 : RingHomInvPair σ₄₁ σ₁₄] {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {σ₂₄ : R₂ →+* R₄} {σ₄₂ : R₄ →+* R₂}
  [inst_12 : RingHomInvPair σ₂₄ σ₄₂] [inst_13 : RingHomInvPair σ₄₂ σ₂₄] {σ₃₄ : R₃ →+* R₄} {σ₄₃ : R₄ →+* R₃}
  [inst_14 : RingHomInvPair σ₃₄ σ₄₃] [inst_15 : RingHomInvPair σ₄₃ σ₃₄] {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} {re₃₂ : RingHomInvPair σ₃₂ σ₂₃}
  [inst_16 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_17 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁]
  [inst_18 : RingHomCompTriple σ₁₂ σ₂₄ σ₁₄] [inst_19 : RingHomCompTriple σ₄₂ σ₂₁ σ₄₁]
  [inst_20 : RingHomCompTriple σ₁₃ σ₃₄ σ₁₄] [inst_21 : RingHomCompTriple σ₄₃ σ₃₁ σ₄₁]
  [inst_22 : RingHomCompTriple σ₂₃ σ₃₄ σ₂₄], ⋯

theorem LinearEquiv.comp_toLinearMap_symm_eq E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₂₃ : R₂ →+* R₃} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} [inst_6 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂}
  [inst_7 : RingHomCompTriple σ₂₁ σ₁₃ σ₂₃] (f : M₂ →ₛₗ[σ₂₃] M₃) (g : M₁ →ₛₗ[σ₁₃] M₃),
  g ∘ₛₗ ↑e₁₂.symm = f ↔ g = f ∘ₛₗ ↑e₁₂

theorem LinearEquiv.toLinearMap_symm_comp_eq E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₃₁ : R₃ →+* R₁} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} [inst_6 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂}
  [inst_7 : RingHomCompTriple σ₃₁ σ₁₂ σ₃₂] (f : M₃ →ₛₗ[σ₃₁] M₁) (g : M₃ →ₛₗ[σ₃₂] M₂),
  ↑e₁₂.symm ∘ₛₗ g = f ↔ g = ↑e₁₂ ∘ₛₗ f

theorem LinearEquiv.comp_toLinearMap_eq_iff E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₃₁ : R₃ →+* R₁} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} [RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] {e₁₂ : M₁ ≃ₛₗ[σ₁₂] M₂}
  [inst_7 : RingHomCompTriple σ₃₁ σ₁₂ σ₃₂] (f g : M₃ →ₛₗ[σ₃₁] M₁), ↑e₁₂ ∘ₛₗ f = ↑e₁₂ ∘ₛₗ g ↔ f = g

theorem LinearEquiv.comp_symm_cancel_left E1 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₃₁ : R₃ →+* R₁} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} [inst_6 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] [inst_7 : RingHomCompTriple σ₃₁ σ₁₂ σ₃₂]
  (e : M₁ ≃ₛₗ[σ₁₂] M₂) (f : M₃ →ₛₗ[σ₃₂] M₂), ↑e ∘ₛₗ ↑e.symm ∘ₛₗ f = f

theorem LinearEquiv.symm_comp_cancel_left E1 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₃₁ : R₃ →+* R₁} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} [inst_6 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁] [inst_7 : RingHomCompTriple σ₃₁ σ₁₂ σ₃₂]
  (e : M₁ ≃ₛₗ[σ₁₂] M₂) (f : M₃ →ₛₗ[σ₃₁] M₁), ↑e.symm ∘ₛₗ ↑e ∘ₛₗ f = f

theorem LinearEquiv.comp_symm_cancel_right E1 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₂₃ : R₂ →+* R₃} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} [inst_6 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_7 : RingHomCompTriple σ₂₁ σ₁₃ σ₂₃]
  (e : M₁ ≃ₛₗ[σ₁₂] M₂) (f : M₂ →ₛₗ[σ₂₃] M₃), (f ∘ₛₗ ↑e) ∘ₛₗ ↑e.symm = f

theorem LinearEquiv.symm_comp_cancel_right E1 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₂₃ : R₂ →+* R₃} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} [inst_6 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_7 : RingHomCompTriple σ₂₁ σ₁₃ σ₂₃]
  (e : M₁ ≃ₛₗ[σ₁₂] M₂) (f : M₁ →ₛₗ[σ₁₃] M₃), (f ∘ₛₗ ↑e.symm) ∘ₛₗ ↑e = f

theorem LinearEquiv.trans_symm_cancel_left E1 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} [inst_6 : RingHomInvPair σ₁₃ σ₃₁]
  [inst_7 : RingHomInvPair σ₃₁ σ₁₃] {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} {re₃₂ : RingHomInvPair σ₃₂ σ₂₃}
  [inst_8 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_9 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁]
  [inst_10 : RingHomCompTriple σ₂₁ σ₁₃ σ₂₃] [inst_11 : RingHomCompTriple σ₃₁ σ₁₂ σ₃₂] (e : M₁ ≃ₛₗ[σ₁₂] M₂)
  (f : M₁ ≃ₛₗ[σ₁₃] M₃), e.trans (e.symm.trans f) = f

theorem LinearEquiv.symm_trans_cancel_left E1 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} [inst_6 : RingHomInvPair σ₁₃ σ₃₁]
  [inst_7 : RingHomInvPair σ₃₁ σ₁₃] {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} {re₃₂ : RingHomInvPair σ₃₂ σ₂₃}
  [inst_8 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_9 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁]
  [inst_10 : RingHomCompTriple σ₂₁ σ₁₃ σ₂₃] [inst_11 : RingHomCompTriple σ₃₁ σ₁₂ σ₃₂] (e : M₁ ≃ₛₗ[σ₁₂] M₂)
  (f : M₂ ≃ₛₗ[σ₂₃] M₃), e.symm.trans (e.trans f) = f

theorem LinearEquiv.trans_symm_cancel_right E1 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} [inst_6 : RingHomInvPair σ₁₃ σ₃₁]
  [inst_7 : RingHomInvPair σ₃₁ σ₁₃] {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} {re₃₂ : RingHomInvPair σ₃₂ σ₂₃}
  [inst_8 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_9 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁]
  [inst_10 : RingHomCompTriple σ₂₁ σ₁₃ σ₂₃] [inst_11 : RingHomCompTriple σ₃₁ σ₁₂ σ₃₂] (e : M₁ ≃ₛₗ[σ₁₂] M₂)
  (f : M₃ ≃ₛₗ[σ₃₁] M₁), (f.trans e).trans e.symm = f

theorem LinearEquiv.symm_trans_cancel_right E1 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {R₃ : Type u_4} {M₁ : Type u_8} {M₂ : Type u_9} {M₃ : Type u_10} [inst : Semiring R₁]
  [inst_1 : Semiring R₂] [inst_2 : Semiring R₃] [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂]
  [inst_5 : AddCommMonoid M₃] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂} {module_M₃ : Module R₃ M₃}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {σ₁₃ : R₁ →+* R₃} {σ₃₁ : R₃ →+* R₁} [inst_6 : RingHomInvPair σ₁₃ σ₃₁]
  [inst_7 : RingHomInvPair σ₃₁ σ₁₃] {σ₂₃ : R₂ →+* R₃} {σ₃₂ : R₃ →+* R₂} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁}
  {re₂₁ : RingHomInvPair σ₂₁ σ₁₂} {re₂₃ : RingHomInvPair σ₂₃ σ₃₂} {re₃₂ : RingHomInvPair σ₃₂ σ₂₃}
  [inst_8 : RingHomCompTriple σ₁₂ σ₂₃ σ₁₃] [inst_9 : RingHomCompTriple σ₃₂ σ₂₁ σ₃₁]
  [inst_10 : RingHomCompTriple σ₂₁ σ₁₃ σ₂₃] [inst_11 : RingHomCompTriple σ₃₁ σ₁₂ σ₃₂] (e : M₁ ≃ₛₗ[σ₁₂] M₂)
  (f : M₃ ≃ₛₗ[σ₃₂] M₂), (f.trans e.symm).trans e = f

theorem LinearEquiv.refl_symm E0 #

∀ {R : Type u_1} {M : Type u_7} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  (LinearEquiv.refl R M).symm = LinearEquiv.refl R M

theorem LinearEquiv.self_trans_symm E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {M₁ : Type u_8} {M₂ : Type u_9} [inst : Semiring R₁] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M₁] [inst_3 : AddCommMonoid M₂] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁} {re₂₁ : RingHomInvPair σ₂₁ σ₁₂}
  (f : M₁ ≃ₛₗ[σ₁₂] M₂), f.trans f.symm = LinearEquiv.refl R₁ M₁

theorem LinearEquiv.symm_trans_self E0 #

∀ {R₁ : Type u_2} {R₂ : Type u_3} {M₁ : Type u_8} {M₂ : Type u_9} [inst : Semiring R₁] [inst_1 : Semiring R₂]
  [inst_2 : AddCommMonoid M₁] [inst_3 : AddCommMonoid M₂] {module_M₁ : Module R₁ M₁} {module_M₂ : Module R₂ M₂}
  {σ₁₂ : R₁ →+* R₂} {σ₂₁ : R₂ →+* R₁} {re₁₂ : RingHomInvPair σ₁₂ σ₂₁} {re₂₁ : RingHomInvPair σ₂₁ σ₁₂}
  (f : M₁ ≃ₛₗ[σ₁₂] M₂), f.symm.trans f = LinearEquiv.refl R₂ M₂

theorem LinearEquiv.refl_toLinearMap E0 #

∀ {R : Type u_1} {M : Type u_7} [inst : Semiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  ↑(LinearEquiv.refl R M) = LinearMap.id

theorem LinearEquiv.mk_coe E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (f : M₂ → M)
  (h₁ : Function.LeftInverse f (↑e).toFun) (h₂ : Function.RightInverse f (↑e).toFun),
  { toLinearMap := ↑e, invFun := f, left_inv := h₁, right_inv := h₂ } = e

theorem LinearEquiv.map_add E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (a b : M),
  e (a + b) = e a + e b

theorem LinearEquiv.map_zero E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂), e 0 = 0

theorem LinearEquiv.map_smulₛₗ E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (c : R)
  (x : M), e (c • x) = σ c • e x

theorem LinearEquiv.map_smul E0 #

∀ {R₁ : Type u_2} {N₁ : Type u_12} {N₂ : Type u_13} [inst : Semiring R₁] [inst_1 : AddCommMonoid N₁]
  [inst_2 : AddCommMonoid N₂] {module_N₁ : Module R₁ N₁} {module_N₂ : Module R₁ N₂} (e : N₁ ≃ₗ[R₁] N₂) (c : R₁)
  (x : N₁), e (c • x) = c • e x

theorem LinearEquiv.map_eq_zero_iff E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) {x : M},
  e x = 0 ↔ x = 0

theorem LinearEquiv.map_ne_zero_iff E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) {x : M},
  e x ≠ 0 ↔ x ≠ 0

theorem LinearEquiv.symm_symm E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  e.symm.symm = e

theorem LinearEquiv.symm_bijective E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {σ : R →+* S} {σ' : S →+* R} [inst_4 : Module R M]
  [inst_5 : Module S M₂] [inst_6 : RingHomInvPair σ' σ] [inst_7 : RingHomInvPair σ σ'],
  Function.Bijective LinearEquiv.symm

theorem LinearEquiv.mk_coe' E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (f : M₂ → M)
  (h₁ : ∀ (x y : M₂), f (x + y) = f x + f y)
  (h₂ :
    ∀ (m : S) (x : M₂), { toFun := f, map_add' := h₁ }.toFun (m • x) = σ' m • { toFun := f, map_add' := h₁ }.toFun x)
  (h₃ : Function.LeftInverse ⇑e { toFun := f, map_add' := h₁, map_smul' := h₂ }.toFun)
  (h₄ : Function.RightInverse ⇑e { toFun := f, map_add' := h₁, map_smul' := h₂ }.toFun),
  { toFun := f, map_add' := h₁, map_smul' := h₂, invFun := ⇑e, left_inv := h₃, right_inv := h₄ } = e.symm

theorem LinearEquiv.symm_mk E0 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (toLinearMap : M →ₛₗ[σ] M₂)
  (invFun : M₂ → M) (h₁ : Function.LeftInverse invFun toLinearMap.toFun)
  (h₂ : Function.RightInverse invFun toLinearMap.toFun),
  { toLinearMap := toLinearMap, invFun := invFun, left_inv := h₁, right_inv := h₂ }.symm =
    { toFun := invFun, map_add' := ⋯, map_smul' := ⋯, invFun := ⇑toLinearMap, left_inv := ⋯, right_inv := ⋯ }

theorem LinearEquiv.coe_symm_mk E0 #

∀ {R : Type u_1} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : Module R M] [inst_4 : Module R M₂] {to_fun : M → M₂} {inv_fun : M₂ → M}
  {map_add : ∀ (x y : M), to_fun (x + y) = to_fun x + to_fun y}
  {map_smul :
    ∀ (m : R) (x : M),
      { toFun := to_fun, map_add' := map_add }.toFun (m • x) =
        (RingHom.id R) m • { toFun := to_fun, map_add' := map_add }.toFun x}
  {left_inv : Function.LeftInverse inv_fun { toFun := to_fun, map_add' := map_add, map_smul' := map_smul }.toFun}
  {right_inv : Function.RightInverse inv_fun { toFun := to_fun, map_add' := map_add, map_smul' := map_smul }.toFun},
  ⇑{ toFun := to_fun, map_add' := map_add, map_smul' := map_smul, invFun := inv_fun, left_inv := left_inv,
          right_inv := right_inv }.symm =
    inv_fun

For a more powerful version, see coe_symm_mk'.

theorem LinearEquiv.coe_symm_mk' E0 #

∀ {R : Type u_1} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M₂] [inst_3 : Module R M] [inst_4 : Module R M₂] {f : M →ₗ[R] M₂} {inv_fun : M₂ → M}
  {left_inv : Function.LeftInverse inv_fun f.toFun} {right_inv : Function.RightInverse inv_fun f.toFun},
  ⇑{ toLinearMap := f, invFun := inv_fun, left_inv := left_inv, right_inv := right_inv }.symm = inv_fun

theorem LinearEquiv.bijective E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  Function.Bijective ⇑e

theorem LinearEquiv.injective E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  Function.Injective ⇑e

theorem LinearEquiv.surjective E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂),
  Function.Surjective ⇑e

theorem LinearEquiv.image_eq_preimage_symm E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (s : Set M),
  ⇑e '' s = ⇑e.symm ⁻¹' s

theorem LinearEquiv.image_symm_eq_preimage E1 #

∀ {R : Type u_1} {S : Type u_6} {M : Type u_7} {M₂ : Type u_9} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid M] [inst_3 : AddCommMonoid M₂] {module_M : Module R M} {module_S_M₂ : Module S M₂}
  {σ : R →+* S} {σ' : S →+* R} {re₁ : RingHomInvPair σ σ'} {re₂ : RingHomInvPair σ' σ} (e : M ≃ₛₗ[σ] M₂) (s : Set M₂),
  ⇑e.symm '' s = ⇑e ⁻¹' s

def LinearEquiv.cast E1 #

{R : Type u_1} →
  [inst : Semiring R] →
    {ι : Type u_14} →
      {M : ι → Type u_15} →
        [inst_1 : (i : ι) → AddCommMonoid (M i)] →
          [inst_2 : (i : ι) → Module R (M i)] → {i j : ι} → i = j → M i ≃ₗ[R] M j

Equiv.cast (congrArg _ h) as a linear 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 LinearEquiv.cast_symm_apply E0 #

∀ {R : Type u_1} [inst : Semiring R] {ι : Type u_14} {M : ι → Type u_15} [inst_1 : (i : ι) → AddCommMonoid (M i)]
  [inst_2 : (i : ι) → Module R (M i)] {i j : ι} (h : i = j) (a : M j), (LinearEquiv.cast h).symm a = cast ⋯ a

theorem LinearEquiv.cast_apply E0 #

∀ {R : Type u_1} [inst : Semiring R] {ι : Type u_14} {M : ι → Type u_15} [inst_1 : (i : ι) → AddCommMonoid (M i)]
  [inst_2 : (i : ι) → Module R (M i)] {i j : ι} (h : i = j) (a : M i), (LinearEquiv.cast h) a = cast ⋯ a

def RingEquiv.toSemilinearEquiv E1 #

{R : Type u_1} → {S : Type u_6} → [inst : Semiring R] → [inst_1 : Semiring S] → (f : R ≃+* S) → R ≃ₛₗ[↑f] S

Interpret a RingEquiv f as an f-semilinear equiv.

theorem RingEquiv.toSemilinearEquiv_symm_apply E0 #

∀ {R : Type u_1} {S : Type u_6} [inst : Semiring R] [inst_1 : Semiring S] (f : R ≃+* S) (a : S),
  f.toSemilinearEquiv.symm a = f.invFun a

theorem RingEquiv.toSemilinearEquiv_apply E0 #

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

theorem RingEquiv.symm_toSemilinearEquiv_symm_apply E0 #

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

def LinearEquiv.ofInvolutive E1 #

{R : Type u_1} →
  {M : Type u_7} →
    [inst : Semiring R] →
      [inst_1 : AddCommMonoid M] →
        {σ σ' : R →+* R} →
          [inst_2 : RingHomInvPair σ σ'] →
            [inst_3 : RingHomInvPair σ' σ] → {x : Module R M} → (f : M →ₛₗ[σ] M) → Function.Involutive ⇑f → M ≃ₛₗ[σ] M

An involutive linear map is a linear equivalence.

theorem LinearEquiv.coe_ofInvolutive E0 #

∀ {R : Type u_1} {M : Type u_7} [inst : Semiring R] [inst_1 : AddCommMonoid M] {σ σ' : R →+* R}
  [inst_2 : RingHomInvPair σ σ'] [inst_3 : RingHomInvPair σ' σ] {x : Module R M} (f : M →ₛₗ[σ] M)
  (hf : Function.Involutive ⇑f), ⇑(LinearEquiv.ofInvolutive f hf) = ⇑f

instance LinearEquiv.instSMulUnitsId E0 #

{S : Type u_14} →
  {R : Type u_15} →
    {V : Type u_16} →
      {W : Type u_17} →
        [inst : Semiring R] →
          [inst_1 : Semiring S] →
            [inst_2 : AddCommMonoid V] →
              [inst_3 : Module R V] →
                [inst_4 : Module S V] →
                  [inst_5 : AddCommMonoid W] →
                    [inst_6 : Module R W] →
                      [inst_7 : Module S W] →
                        [SMulCommClass R S W] →
                          [inst_9 : SMul S R] → [IsScalarTower S R V] → [IsScalarTower S R W] → SMul Sˣ (V ≃ₗ[R] W)

Left scalar multiplication of a unit and a linear equivalence, as a linear equivalence.

theorem LinearEquiv.smul_apply E0 #

∀ {S : Type u_14} {R : Type u_15} {V : Type u_16} {W : Type u_17} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid V] [inst_3 : Module R V] [inst_4 : Module S V] [inst_5 : AddCommMonoid W]
  [inst_6 : Module R W] [inst_7 : Module S W] [inst_8 : SMulCommClass R S W] [inst_9 : SMul S R]
  [inst_10 : IsScalarTower S R V] [inst_11 : IsScalarTower S R W] (α : Sˣ) (e : V ≃ₗ[R] W) (x : V), (α • e) x = ↑α • e x

theorem LinearEquiv.symm_smul_apply E0 #

∀ {S : Type u_14} {R : Type u_15} {V : Type u_16} {W : Type u_17} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid V] [inst_3 : Module R V] [inst_4 : Module S V] [inst_5 : AddCommMonoid W]
  [inst_6 : Module R W] [inst_7 : Module S W] [inst_8 : SMulCommClass R S W] [inst_9 : SMul S R]
  [inst_10 : IsScalarTower S R V] [inst_11 : IsScalarTower S R W] (e : V ≃ₗ[R] W) (α : Sˣ) (x : W),
  (α • e).symm x = ↑α⁻¹ • e.symm x

theorem LinearEquiv.symm_smul E0 #

∀ {S : Type u_14} {R : Type u_15} {V : Type u_16} {W : Type u_17} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid V] [inst_3 : Module R V] [inst_4 : Module S V] [inst_5 : AddCommMonoid W]
  [inst_6 : Module R W] [inst_7 : Module S W] [inst_8 : SMulCommClass R S W] [inst_9 : SMul S R]
  [inst_10 : IsScalarTower S R V] [inst_11 : IsScalarTower S R W] [inst_12 : SMulCommClass R S V] (e : V ≃ₗ[R] W)
  (α : Sˣ), (α • e).symm = α⁻¹ • e.symm

theorem LinearEquiv.toLinearMap_smul E0 #

∀ {S : Type u_14} {R : Type u_15} {V : Type u_16} {W : Type u_17} [inst : Semiring R] [inst_1 : Semiring S]
  [inst_2 : AddCommMonoid V] [inst_3 : Module R V] [inst_4 : Module S V] [inst_5 : AddCommMonoid W]
  [inst_6 : Module R W] [inst_7 : Module S W] [inst_8 : SMulCommClass R S W] [inst_9 : SMul S R]
  [inst_10 : IsScalarTower S R V] [inst_11 : IsScalarTower S R W] (e : V ≃ₗ[R] W) (α : Sˣ), ↑(α • e) = ↑α • ↑e

theorem LinearEquiv.smul_trans E1 #

∀ {S : Type u_14} {R : Type u_15} {V : Type u_16} {W : Type u_17} {G : Type u_18} [inst : Semiring R]
  [inst_1 : Semiring S] [inst_2 : AddCommMonoid V] [inst_3 : Module R V] [inst_4 : Module S V]
  [inst_5 : AddCommMonoid W] [inst_6 : Module R W] [inst_7 : Module S W] [inst_8 : AddCommMonoid G]
  [inst_9 : Module R G] [inst_10 : Module S G] [inst_11 : SMulCommClass R S W] [inst_12 : SMul S R]
  [inst_13 : IsScalarTower S R V] [inst_14 : IsScalarTower S R W] [inst_15 : SMulCommClass R S V]
  [inst_16 : IsScalarTower S R G] (α : Sˣ) (e : G ≃ₗ[R] V) (f : V ≃ₗ[R] W), (α • e) ≪≫ₗ f = α • e ≪≫ₗ f

theorem LinearEquiv.trans_smul E1 #

∀ {S : Type u_14} {R : Type u_15} {V : Type u_16} {W : Type u_17} {G : Type u_18} [inst : Semiring R]
  [inst_1 : Semiring S] [inst_2 : AddCommMonoid V] [inst_3 : Module R V] [inst_4 : Module S V]
  [inst_5 : AddCommMonoid W] [inst_6 : Module R W] [inst_7 : Module S W] [inst_8 : AddCommMonoid G]
  [inst_9 : Module R G] [inst_10 : Module S G] [inst_11 : SMulCommClass R S W] [inst_12 : SMul S R]
  [inst_13 : IsScalarTower S R V] [inst_14 : IsScalarTower S R W] [inst_15 : IsScalarTower S R G] (α : Sˣ)
  (e : G ≃ₗ[R] V) (f : V ≃ₗ[R] W), e ≪≫ₗ (α • f) = α • e ≪≫ₗ f

Deprecated aliases

NameNew nameSince
LinearEquiv.coe_coeLinearEquiv.coe_toLinearMap2026-11-23
LinearEquiv.toLinearMap_eq_coeLinearEquiv.toLinearMap_eq_ofClass2026-09-03
SemilinearEquivClass.semilinearEquivLinearEquiv.ofClass2026-11-22
SemilinearEquivClass.semilinearEquiv_applyLinearEquiv.coe_ofClass2026-11-22