The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V09. Commutative algebra I: ideals, polynomials, factorization

Mathlib.RingTheory.Localization.Module

48 declarations. Mathlib docs · Source

Modules / vector spaces over localizations / fraction fields

This file contains some results about vector spaces over the field of fractions of a ring.

Main results

  • LinearIndependent.localization: b is linear independent over a localization of R if it is linear independent over R itself
  • Basis.ofIsLocalizedModule / Basis.localizationLocalization: promote an R-basis b of A to an Rₛ-basis of Aₛ, where Rₛ and Aₛ are localizations of R and A at s respectively
  • LinearIndependent.iff_fractionRing: b is linear independent over R iff it is linear independent over Frac(R)

theorem LinearMap.extendScalarsOfIsLocalization.congr_simp E1 #

∀ {R : Type u_3} [inst : CommSemiring R] (S S_1 : Submonoid R) (e_S : S = S_1) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (f f_1 : M →ₗ[R] N),
  f = f_1 → LinearMap.extendScalarsOfIsLocalization S A f = LinearMap.extendScalarsOfIsLocalization S_1 A f_1

theorem LinearEquiv.extendScalarsOfIsLocalization.congr_simp E1 #

∀ {R : Type u_3} [inst : CommSemiring R] (S S_1 : Submonoid R) (e_S : S = S_1) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (f f_1 : M ≃ₗ[R] N),
  f = f_1 → LinearEquiv.extendScalarsOfIsLocalization S A f = LinearEquiv.extendScalarsOfIsLocalization S_1 A f_1

theorem IsLocalizedModule.mapExtendScalars.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S S_1 : Submonoid R) (e_S : S = S_1) {M : Type u_2} {M' : Type u_3}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M']
  (f f_1 : M →ₗ[R] M') (e_f : f = f_1) [inst_5 : IsLocalizedModule S f] {N : Type u_4} {N' : Type u_5}
  [inst_6 : AddCommMonoid N] [inst_7 : AddCommMonoid N'] [inst_8 : Module R N] [inst_9 : Module R N']
  (g g_1 : N →ₗ[R] N') (e_g : g = g_1) [inst_10 : IsLocalizedModule S g] (Rₛ : Type u_6) [inst_11 : CommSemiring Rₛ]
  [inst_12 : Algebra R Rₛ] [inst_13 : Module Rₛ M'] [inst_14 : Module Rₛ N'] [inst_15 : IsScalarTower R Rₛ M']
  [inst_16 : IsScalarTower R Rₛ N'] [inst_17 : IsLocalization S Rₛ],
  IsLocalizedModule.mapExtendScalars S f g Rₛ = IsLocalizedModule.mapExtendScalars S_1 f_1 g_1 Rₛ

theorem Module.Basis.ofIsLocalizedModule.congr_simp E1 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S S_1 : Submonoid R) (e_S : S = S_1)
  [inst_1 : CommSemiring Rₛ] [inst_2 : Algebra R Rₛ] [inst_3 : IsLocalization S Rₛ] {M : Type u_3} {Mₛ : Type u_4}
  [inst_4 : AddCommMonoid M] [inst_5 : Module R M] [inst_6 : AddCommMonoid Mₛ] [inst_7 : Module R Mₛ]
  [inst_8 : Module Rₛ Mₛ] [inst_9 : IsScalarTower R Rₛ Mₛ] (f f_1 : M →ₗ[R] Mₛ) (e_f : f = f_1)
  [inst_10 : IsLocalizedModule S f] {ι : Type u_5} (b b_1 : Module.Basis ι R M),
  b = b_1 → Module.Basis.ofIsLocalizedModule Rₛ S f b = Module.Basis.ofIsLocalizedModule Rₛ S_1 f_1 b_1

theorem span_eq_top_of_isLocalizedModule E1 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [IsLocalization S Rₛ] {M : Type u_3} {Mₛ : Type u_4} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : AddCommMonoid Mₛ] [inst_7 : Module R Mₛ] [inst_8 : Module Rₛ Mₛ]
  [IsScalarTower R Rₛ Mₛ] (f : M →ₗ[R] Mₛ) [IsLocalizedModule S f] {v : Set M},
  Submodule.span R v = ⊤ → Submodule.span Rₛ (⇑f '' v) = ⊤

theorem LinearIndependent.of_isLocalizedModule E1 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [IsLocalization S Rₛ] {M : Type u_3} {Mₛ : Type u_4} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : AddCommMonoid Mₛ] [inst_7 : Module R Mₛ] [inst_8 : Module Rₛ Mₛ]
  [IsScalarTower R Rₛ Mₛ] (f : M →ₗ[R] Mₛ) [IsLocalizedModule S f] {ι : Type u_5} {v : ι → M},
  LinearIndependent R v → LinearIndependent Rₛ (⇑f ∘ v)

theorem LinearIndependent.of_isLocalizedModule_of_isRegular E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_3} {Mₛ : Type u_4} [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : AddCommMonoid Mₛ] [inst_4 : Module R Mₛ] (f : M →ₗ[R] Mₛ) [IsLocalizedModule S f]
  {ι : Type u_5} {v : ι → M}, LinearIndependent R v → (∀ (s : ↥S), IsRegular ↑s) → LinearIndependent R (⇑f ∘ v)

theorem LinearIndependent.localization E3 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [IsLocalization S Rₛ] {M : Type u_3} [inst_4 : AddCommMonoid M] [inst_5 : Module R M]
  [inst_6 : Module Rₛ M] [IsScalarTower R Rₛ M] {ι : Type u_5} {b : ι → M},
  LinearIndependent R b → LinearIndependent Rₛ b

theorem IsLocalizedModule.linearIndependent_lift E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_3} {Mₛ : Type u_4} [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : AddCommMonoid Mₛ] [inst_4 : Module R Mₛ] (f : M →ₗ[R] Mₛ) [IsLocalizedModule S f]
  {ι : Type u_5} {v : ι → Mₛ}, LinearIndependent R v → ∃ w, LinearIndependent R w

def Module.Basis.ofIsLocalizedModule E3 #

{R : Type u_1} →
  (Rₛ : Type u_2) →
    [inst : CommSemiring R] →
      (S : Submonoid R) →
        [inst_1 : CommSemiring Rₛ] →
          [inst_2 : Algebra R Rₛ] →
            [IsLocalization S Rₛ] →
              {M : Type u_3} →
                {Mₛ : Type u_4} →
                  [inst_4 : AddCommMonoid M] →
                    [inst_5 : Module R M] →
                      [inst_6 : AddCommMonoid Mₛ] →
                        [inst_7 : Module R Mₛ] →
                          [inst_8 : Module Rₛ Mₛ] →
                            [IsScalarTower R Rₛ Mₛ] →
                              (f : M →ₗ[R] Mₛ) →
                                [IsLocalizedModule S f] → {ι : Type u_5} → Module.Basis ι R M → Module.Basis ι Rₛ Mₛ

If M has an R-basis, then localizing M at S has a basis over R localized at S.

theorem Module.Basis.ofIsLocalizedModule_apply E0 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [inst_3 : IsLocalization S Rₛ] {M : Type u_3} {Mₛ : Type u_4} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : AddCommMonoid Mₛ] [inst_7 : Module R Mₛ] [inst_8 : Module Rₛ Mₛ]
  [inst_9 : IsScalarTower R Rₛ Mₛ] (f : M →ₗ[R] Mₛ) [inst_10 : IsLocalizedModule S f] {ι : Type u_5}
  (b : Module.Basis ι R M) (i : ι), (Module.Basis.ofIsLocalizedModule Rₛ S f b) i = f (b i)

theorem Module.Basis.ofIsLocalizedModule_repr_apply E0 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [inst_3 : IsLocalization S Rₛ] {M : Type u_3} {Mₛ : Type u_4} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : AddCommMonoid Mₛ] [inst_7 : Module R Mₛ] [inst_8 : Module Rₛ Mₛ]
  [inst_9 : IsScalarTower R Rₛ Mₛ] (f : M →ₗ[R] Mₛ) [inst_10 : IsLocalizedModule S f] {ι : Type u_5}
  (b : Module.Basis ι R M) (m : M) (i : ι),
  ((Module.Basis.ofIsLocalizedModule Rₛ S f b).repr (f m)) i = (algebraMap R Rₛ) ((b.repr m) i)

theorem Module.Basis.ofIsLocalizedModule_span E1 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [inst_3 : IsLocalization S Rₛ] {M : Type u_3} {Mₛ : Type u_4} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : AddCommMonoid Mₛ] [inst_7 : Module R Mₛ] [inst_8 : Module Rₛ Mₛ]
  [inst_9 : IsScalarTower R Rₛ Mₛ] (f : M →ₗ[R] Mₛ) [inst_10 : IsLocalizedModule S f] {ι : Type u_5}
  (b : Module.Basis ι R M), Submodule.span R (Set.range ⇑(Module.Basis.ofIsLocalizedModule Rₛ S f b)) = f.range

theorem LinearIndependent.localization_localization E1 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [IsLocalization S Rₛ] {A : Type u_3} [inst_4 : CommSemiring A] [inst_5 : Algebra R A]
  (Aₛ : Type u_4) [inst_6 : CommSemiring Aₛ] [inst_7 : Algebra A Aₛ] [inst_8 : Algebra Rₛ Aₛ] [inst_9 : Algebra R Aₛ]
  [IsScalarTower R Rₛ Aₛ] [IsScalarTower R A Aₛ] [IsLocalization (Algebra.algebraMapSubmonoid A S) Aₛ] {ι : Type u_5}
  {v : ι → A}, LinearIndependent R v → LinearIndependent Rₛ (⇑(algebraMap A Aₛ) ∘ v)

theorem span_eq_top_localization_localization E1 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [IsLocalization S Rₛ] {A : Type u_3} [inst_4 : CommSemiring A] [inst_5 : Algebra R A]
  (Aₛ : Type u_4) [inst_6 : CommSemiring Aₛ] [inst_7 : Algebra A Aₛ] [inst_8 : Algebra Rₛ Aₛ] [inst_9 : Algebra R Aₛ]
  [IsScalarTower R Rₛ Aₛ] [IsScalarTower R A Aₛ] [IsLocalization (Algebra.algebraMapSubmonoid A S) Aₛ] {v : Set A},
  Submodule.span R v = ⊤ → Submodule.span Rₛ (⇑(algebraMap A Aₛ) '' v) = ⊤

def Module.Basis.localizationLocalization E3 #

{R : Type u_1} →
  (Rₛ : Type u_2) →
    [inst : CommSemiring R] →
      (S : Submonoid R) →
        [inst_1 : CommSemiring Rₛ] →
          [inst_2 : Algebra R Rₛ] →
            [IsLocalization S Rₛ] →
              {A : Type u_3} →
                [inst_4 : CommSemiring A] →
                  [inst_5 : Algebra R A] →
                    (Aₛ : Type u_4) →
                      [inst_6 : CommSemiring Aₛ] →
                        [inst_7 : Algebra A Aₛ] →
                          [inst_8 : Algebra Rₛ Aₛ] →
                            [inst_9 : Algebra R Aₛ] →
                              [IsScalarTower R Rₛ Aₛ] →
                                [IsScalarTower R A Aₛ] →
                                  [IsLocalization (Algebra.algebraMapSubmonoid A S) Aₛ] →
                                    {ι : Type u_5} → Module.Basis ι R A → Module.Basis ι Rₛ Aₛ

If A has an R-basis, then localizing A at S has a basis over R localized at S.

A suitable instance for [Algebra A Aₛ] is localizationAlgebra.

theorem Module.Basis.localizationLocalization_apply E0 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [inst_3 : IsLocalization S Rₛ] {A : Type u_3} [inst_4 : CommSemiring A] [inst_5 : Algebra R A]
  (Aₛ : Type u_4) [inst_6 : CommSemiring Aₛ] [inst_7 : Algebra A Aₛ] [inst_8 : Algebra Rₛ Aₛ] [inst_9 : Algebra R Aₛ]
  [inst_10 : IsScalarTower R Rₛ Aₛ] [inst_11 : IsScalarTower R A Aₛ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A S) Aₛ] {ι : Type u_5} (b : Module.Basis ι R A) (i : ι),
  (Module.Basis.localizationLocalization Rₛ S Aₛ b) i = (algebraMap A Aₛ) (b i)

theorem Module.Basis.localizationLocalization_repr_algebraMap E0 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [inst_3 : IsLocalization S Rₛ] {A : Type u_3} [inst_4 : CommSemiring A] [inst_5 : Algebra R A]
  (Aₛ : Type u_4) [inst_6 : CommSemiring Aₛ] [inst_7 : Algebra A Aₛ] [inst_8 : Algebra Rₛ Aₛ] [inst_9 : Algebra R Aₛ]
  [inst_10 : IsScalarTower R Rₛ Aₛ] [inst_11 : IsScalarTower R A Aₛ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A S) Aₛ] {ι : Type u_5} (b : Module.Basis ι R A) (x : A)
  (i : ι),
  ((Module.Basis.localizationLocalization Rₛ S Aₛ b).repr ((algebraMap A Aₛ) x)) i = (algebraMap R Rₛ) ((b.repr x) i)

theorem Module.Basis.localizationLocalization_span E1 #

∀ {R : Type u_1} (Rₛ : Type u_2) [inst : CommSemiring R] (S : Submonoid R) [inst_1 : CommSemiring Rₛ]
  [inst_2 : Algebra R Rₛ] [inst_3 : IsLocalization S Rₛ] {A : Type u_3} [inst_4 : CommSemiring A] [inst_5 : Algebra R A]
  (Aₛ : Type u_4) [inst_6 : CommSemiring Aₛ] [inst_7 : Algebra A Aₛ] [inst_8 : Algebra Rₛ Aₛ] [inst_9 : Algebra R Aₛ]
  [inst_10 : IsScalarTower R Rₛ Aₛ] [inst_11 : IsScalarTower R A Aₛ]
  [inst_12 : IsLocalization (Algebra.algebraMapSubmonoid A S) Aₛ] {ι : Type u_5} (b : Module.Basis ι R A),
  Submodule.span R (Set.range ⇑(Module.Basis.localizationLocalization Rₛ S Aₛ b)) =
    (↑(IsScalarTower.toAlgHom R A Aₛ)).range

theorem LinearIndependent.iff_fractionRing E3 #

∀ (R : Type u_3) (K : Type u_4) [inst : CommRing R] [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K]
  {V : Type u_5} [inst_4 : AddCommGroup V] [inst_5 : Module R V] [inst_6 : Module K V] [IsScalarTower R K V]
  {ι : Type u_6} {b : ι → V}, LinearIndependent R b ↔ LinearIndependent K b

def LinearMap.extendScalarsOfIsLocalization E1 #

{R : Type u_3} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      (A : Type u_4) →
        [inst_1 : CommSemiring A] →
          [inst_2 : Algebra R A] →
            [IsLocalization S A] →
              {M : Type u_5} →
                {N : Type u_6} →
                  [inst_4 : AddCommMonoid M] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module A M] →
                        [IsScalarTower R A M] →
                          [inst_8 : AddCommMonoid N] →
                            [inst_9 : Module R N] →
                              [inst_10 : Module A N] → [IsScalarTower R A N] → (M →ₗ[R] N) → M →ₗ[A] N

An R-linear map between two S⁻¹R-modules is actually S⁻¹R-linear.

theorem LinearMap.restrictScalars_extendScalarsOfIsLocalization E0 #

∀ {R : Type u_3} [inst : CommSemiring R] (S : Submonoid R) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (f : M →ₗ[R] N),
  ↑R (LinearMap.extendScalarsOfIsLocalization S A f) = f

theorem LinearMap.extendScalarsOfIsLocalization_apply E0 #

∀ {R : Type u_3} [inst : CommSemiring R] (S : Submonoid R) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (f : M →ₗ[A] N),
  LinearMap.extendScalarsOfIsLocalization S A (↑R f) = f

theorem LinearMap.extendScalarsOfIsLocalization_apply' E0 #

∀ {R : Type u_3} [inst : CommSemiring R] (S : Submonoid R) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (f : M →ₗ[R] N) (x : M),
  (LinearMap.extendScalarsOfIsLocalization S A f) x = f x

def LinearMap.extendScalarsOfIsLocalizationEquiv E1 #

{R : Type u_3} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      (A : Type u_4) →
        [inst_1 : CommSemiring A] →
          [inst_2 : Algebra R A] →
            [IsLocalization S A] →
              {M : Type u_5} →
                {N : Type u_6} →
                  [inst_4 : AddCommMonoid M] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module A M] →
                        [IsScalarTower R A M] →
                          [inst_8 : AddCommMonoid N] →
                            [inst_9 : Module R N] →
                              [inst_10 : Module A N] → [inst_11 : IsScalarTower R A N] → (M →ₗ[R] N) ≃ₗ[A] M →ₗ[A] N

The S⁻¹R-linear maps between two S⁻¹R-modules are exactly the R-linear maps.

theorem LinearMap.extendScalarsOfIsLocalizationEquiv_apply E0 #

∀ {R : Type u_3} [inst : CommSemiring R] (S : Submonoid R) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (f : M →ₗ[R] N),
  (LinearMap.extendScalarsOfIsLocalizationEquiv S A) f = LinearMap.extendScalarsOfIsLocalization S A f

theorem LinearMap.extendScalarsOfIsLocalizationEquiv_symm_apply E0 #

∀ {R : Type u_3} [inst : CommSemiring R] (S : Submonoid R) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (fₗ : M →ₗ[A] N),
  (LinearMap.extendScalarsOfIsLocalizationEquiv S A).symm fₗ = ↑R fₗ

def LinearEquiv.extendScalarsOfIsLocalization E1 #

{R : Type u_3} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      (A : Type u_4) →
        [inst_1 : CommSemiring A] →
          [inst_2 : Algebra R A] →
            [IsLocalization S A] →
              {M : Type u_5} →
                {N : Type u_6} →
                  [inst_4 : AddCommMonoid M] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module A M] →
                        [IsScalarTower R A M] →
                          [inst_8 : AddCommMonoid N] →
                            [inst_9 : Module R N] →
                              [inst_10 : Module A N] → [IsScalarTower R A N] → (M ≃ₗ[R] N) → M ≃ₗ[A] N

An R-linear isomorphism between S⁻¹R-modules is actually S⁻¹R-linear.

theorem LinearEquiv.extendScalarsOfIsLocalization_symm_apply E0 #

∀ {R : Type u_3} [inst : CommSemiring R] (S : Submonoid R) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (f : M ≃ₗ[R] N) (a : N),
  (LinearEquiv.extendScalarsOfIsLocalization S A f).symm a = f.symm a

theorem LinearEquiv.extendScalarsOfIsLocalization_apply E0 #

∀ {R : Type u_3} [inst : CommSemiring R] (S : Submonoid R) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (f : M ≃ₗ[R] N) (a : M),
  (LinearEquiv.extendScalarsOfIsLocalization S A f) a = f a

def LinearEquiv.extendScalarsOfIsLocalizationEquiv E1 #

{R : Type u_3} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      (A : Type u_4) →
        [inst_1 : CommSemiring A] →
          [inst_2 : Algebra R A] →
            [IsLocalization S A] →
              {M : Type u_5} →
                {N : Type u_6} →
                  [inst_4 : AddCommMonoid M] →
                    [inst_5 : Module R M] →
                      [inst_6 : Module A M] →
                        [IsScalarTower R A M] →
                          [inst_8 : AddCommMonoid N] →
                            [inst_9 : Module R N] →
                              [inst_10 : Module A N] → [IsScalarTower R A N] → (M ≃ₗ[R] N) ≃ M ≃ₗ[A] N

The S⁻¹R-linear isomorphisms between two S⁻¹R-modules are exactly the R-linear isomorphisms.

theorem LinearEquiv.extendScalarsOfIsLocalizationEquiv_symm_apply E0 #

∀ {R : Type u_3} [inst : CommSemiring R] (S : Submonoid R) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (e : M ≃ₗ[A] N),
  (LinearEquiv.extendScalarsOfIsLocalizationEquiv S A).symm e = LinearEquiv.restrictScalars R e

theorem LinearEquiv.extendScalarsOfIsLocalizationEquiv_apply E0 #

∀ {R : Type u_3} [inst : CommSemiring R] (S : Submonoid R) (A : Type u_4) [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] [inst_3 : IsLocalization S A] {M : Type u_5} {N : Type u_6} [inst_4 : AddCommMonoid M]
  [inst_5 : Module R M] [inst_6 : Module A M] [inst_7 : IsScalarTower R A M] [inst_8 : AddCommMonoid N]
  [inst_9 : Module R N] [inst_10 : Module A N] [inst_11 : IsScalarTower R A N] (e : M ≃ₗ[R] N),
  (LinearEquiv.extendScalarsOfIsLocalizationEquiv S A) e = LinearEquiv.extendScalarsOfIsLocalization S A e

def IsLocalizedModule.mapExtendScalars E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      {M : Type u_2} →
        {M' : Type u_3} →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid M'] →
              [inst_3 : Module R M] →
                [inst_4 : Module R M'] →
                  (f : M →ₗ[R] M') →
                    [IsLocalizedModule S f] →
                      {N : Type u_4} →
                        {N' : Type u_5} →
                          [inst_6 : AddCommMonoid N] →
                            [inst_7 : AddCommMonoid N'] →
                              [inst_8 : Module R N] →
                                [inst_9 : Module R N'] →
                                  (g : N →ₗ[R] N') →
                                    [IsLocalizedModule S g] →
                                      (Rₛ : Type u_6) →
                                        [inst_11 : CommSemiring Rₛ] →
                                          [inst_12 : Algebra R Rₛ] →
                                            [inst_13 : Module Rₛ M'] →
                                              [inst_14 : Module Rₛ N'] →
                                                [IsScalarTower R Rₛ M'] →
                                                  [inst_16 : IsScalarTower R Rₛ N'] →
                                                    [IsLocalization S Rₛ] → (M →ₗ[R] N) →ₗ[R] M' →ₗ[Rₛ] N'

A linear map M →ₗ[R] N gives a map between localized modules Mₛ →ₗ[Rₛ] Nₛ.

theorem IsLocalizedModule.mapExtendScalars_apply_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M')
  [inst_5 : IsLocalizedModule S f] {N : Type u_4} {N' : Type u_5} [inst_6 : AddCommMonoid N] [inst_7 : AddCommMonoid N']
  [inst_8 : Module R N] [inst_9 : Module R N'] (g : N →ₗ[R] N') [inst_10 : IsLocalizedModule S g] (Rₛ : Type u_6)
  [inst_11 : CommSemiring Rₛ] [inst_12 : Algebra R Rₛ] [inst_13 : Module Rₛ M'] [inst_14 : Module Rₛ N']
  [inst_15 : IsScalarTower R Rₛ M'] [inst_16 : IsScalarTower R Rₛ N'] [inst_17 : IsLocalization S Rₛ] (x : M →ₗ[R] N)
  (a : M'), ((IsLocalizedModule.mapExtendScalars S f g Rₛ) x) a = ((IsLocalizedModule.map S f g) x) a

def IsLocalizedModule.mapEquiv E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      {M : Type u_2} →
        {M' : Type u_3} →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid M'] →
              [inst_3 : Module R M] →
                [inst_4 : Module R M'] →
                  (f : M →ₗ[R] M') →
                    [IsLocalizedModule S f] →
                      {N : Type u_4} →
                        {N' : Type u_5} →
                          [inst_6 : AddCommMonoid N] →
                            [inst_7 : AddCommMonoid N'] →
                              [inst_8 : Module R N] →
                                [inst_9 : Module R N'] →
                                  (g : N →ₗ[R] N') →
                                    [IsLocalizedModule S g] →
                                      (Rₛ : Type u_6) →
                                        [inst_11 : CommSemiring Rₛ] →
                                          [inst_12 : Algebra R Rₛ] →
                                            [inst_13 : Module Rₛ M'] →
                                              [inst_14 : Module Rₛ N'] →
                                                [IsScalarTower R Rₛ M'] →
                                                  [IsScalarTower R Rₛ N'] →
                                                    [IsLocalization S Rₛ] → (M ≃ₗ[R] N) → M' ≃ₗ[Rₛ] N'

An R-module isomorphism M ≃ₗ[R] N gives an Rₛ-module isomorphism Mₛ ≃ₗ[Rₛ] Nₛ.

theorem IsLocalizedModule.mapEquiv_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M')
  [inst_5 : IsLocalizedModule S f] {N : Type u_4} {N' : Type u_5} [inst_6 : AddCommMonoid N] [inst_7 : AddCommMonoid N']
  [inst_8 : Module R N] [inst_9 : Module R N'] (g : N →ₗ[R] N') [inst_10 : IsLocalizedModule S g] (Rₛ : Type u_6)
  [inst_11 : CommSemiring Rₛ] [inst_12 : Algebra R Rₛ] [inst_13 : Module Rₛ M'] [inst_14 : Module Rₛ N']
  [inst_15 : IsScalarTower R Rₛ M'] [inst_16 : IsScalarTower R Rₛ N'] [inst_17 : IsLocalization S Rₛ] (e : M ≃ₗ[R] N)
  (a : M'), (IsLocalizedModule.mapEquiv S f g Rₛ e) a = ((IsLocalizedModule.map S f g) ↑e) a

theorem IsLocalizedModule.mapEquiv_symm_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M')
  [inst_5 : IsLocalizedModule S f] {N : Type u_4} {N' : Type u_5} [inst_6 : AddCommMonoid N] [inst_7 : AddCommMonoid N']
  [inst_8 : Module R N] [inst_9 : Module R N'] (g : N →ₗ[R] N') [inst_10 : IsLocalizedModule S g] (Rₛ : Type u_6)
  [inst_11 : CommSemiring Rₛ] [inst_12 : Algebra R Rₛ] [inst_13 : Module Rₛ M'] [inst_14 : Module Rₛ N']
  [inst_15 : IsScalarTower R Rₛ M'] [inst_16 : IsScalarTower R Rₛ N'] [inst_17 : IsLocalization S Rₛ] (e : M ≃ₗ[R] N)
  (a : N'), (IsLocalizedModule.mapEquiv S f g Rₛ e).symm a = ((IsLocalizedModule.map S g f) ↑e.symm) a

def LocalizedModule.map E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      {M : Type u_2} →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            {N : Type u_3} →
              [inst_3 : AddCommMonoid N] →
                [inst_4 : Module R N] → (M →ₗ[R] N) →ₗ[R] LocalizedModule S M →ₗ[Localization S] LocalizedModule S N

A linear map M →ₗ[R] N gives a map between localized modules Mₛ →ₗ[Rₛ] Nₛ.

theorem LocalizedModule.map_mk E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] {N : Type u_3} [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₗ[R] N) (x : M)
  (y : ↥S), ((LocalizedModule.map S) f) (LocalizedModule.mk x y) = LocalizedModule.mk (f x) y

theorem LocalizedModule.map_id E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M], (LocalizedModule.map S) LinearMap.id = LinearMap.id

theorem LocalizedModule.map_injective E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] {N : Type u_3} [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (l : M →ₗ[R] N),
  Function.Injective ⇑l → Function.Injective ⇑((LocalizedModule.map S) l)

theorem LocalizedModule.map_surjective E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] {N : Type u_3} [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (l : M →ₗ[R] N),
  Function.Surjective ⇑l → Function.Surjective ⇑((LocalizedModule.map S) l)

theorem LocalizedModule.restrictScalars_map_eq E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] {N : Type u_5} [inst_3 : AddCommMonoid N] [inst_4 : Module R N] {M' : Type u_3} {N' : Type u_4}
  [inst_5 : AddCommMonoid M'] [inst_6 : AddCommMonoid N'] [inst_7 : Module R M'] [inst_8 : Module R N']
  (g₁ : M →ₗ[R] M') (g₂ : N →ₗ[R] N') [inst_9 : IsLocalizedModule S g₁] [inst_10 : IsLocalizedModule S g₂]
  (l : M →ₗ[R] N),
  ↑R ((LocalizedModule.map S) l) =
    ↑(IsLocalizedModule.iso S g₂).symm ∘ₗ (IsLocalizedModule.map S g₁ g₂) l ∘ₗ ↑(IsLocalizedModule.iso S g₁)

theorem LocalizedModule.coe_map_eq E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Submonoid R} {M : Type u_2} [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] {N : Type u_5} [inst_3 : AddCommMonoid N] [inst_4 : Module R N] {M' : Type u_3} {N' : Type u_4}
  [inst_5 : AddCommMonoid M'] [inst_6 : AddCommMonoid N'] [inst_7 : Module R M'] [inst_8 : Module R N']
  (g₁ : M →ₗ[R] M') (g₂ : N →ₗ[R] N') [inst_9 : IsLocalizedModule S g₁] [inst_10 : IsLocalizedModule S g₂]
  (l : M →ₗ[R] N),
  ⇑((LocalizedModule.map S) l) =
    ⇑(IsLocalizedModule.iso S g₂).symm ∘ ⇑((IsLocalizedModule.map S g₁ g₂) l) ∘ ⇑(IsLocalizedModule.iso S g₁)

theorem IsLocalizedModule.map_injective_iff_localizedModuleMap_injective E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} {M' : Type u_4} {N' : Type u_5} [inst : CommSemiring R] {S : Submonoid R}
  [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : AddCommMonoid N] [inst_4 : Module R N]
  [inst_5 : AddCommMonoid M'] [inst_6 : Module R M'] [inst_7 : AddCommMonoid N'] [inst_8 : Module R N']
  (g₁ : M →ₗ[R] M') (g₂ : N →ₗ[R] N') [inst_9 : IsLocalizedModule S g₁] [inst_10 : IsLocalizedModule S g₂]
  {l : M →ₗ[R] N},
  Function.Injective ⇑((IsLocalizedModule.map S g₁ g₂) l) ↔ Function.Injective ⇑((LocalizedModule.map S) l)

theorem IsLocalizedModule.map_surjective_iff_localizedModuleMap_surjective E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} {M' : Type u_4} {N' : Type u_5} [inst : CommSemiring R] {S : Submonoid R}
  [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : AddCommMonoid N] [inst_4 : Module R N]
  [inst_5 : AddCommMonoid M'] [inst_6 : Module R M'] [inst_7 : AddCommMonoid N'] [inst_8 : Module R N']
  (g₁ : M →ₗ[R] M') (g₂ : N →ₗ[R] N') [inst_9 : IsLocalizedModule S g₁] [inst_10 : IsLocalizedModule S g₂]
  {l : M →ₗ[R] N},
  Function.Surjective ⇑((IsLocalizedModule.map S g₁ g₂) l) ↔ Function.Surjective ⇑((LocalizedModule.map S) l)

theorem IsLocalizedModule.map_bijective_iff_localizedModuleMap_bijective E0 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} {M' : Type u_4} {N' : Type u_5} [inst : CommSemiring R] {S : Submonoid R}
  [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [inst_3 : AddCommMonoid N] [inst_4 : Module R N]
  [inst_5 : AddCommMonoid M'] [inst_6 : Module R M'] [inst_7 : AddCommMonoid N'] [inst_8 : Module R N']
  (g₁ : M →ₗ[R] M') (g₂ : N →ₗ[R] N') [inst_9 : IsLocalizedModule S g₁] [inst_10 : IsLocalizedModule S g₂]
  {l : M →ₗ[R] N},
  Function.Bijective ⇑((IsLocalizedModule.map S g₁ g₂) l) ↔ Function.Bijective ⇑((LocalizedModule.map S) l)