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.LocalizedModule.Basic

178 declarations. Mathlib docs · Source

Localized Module

Given a commutative semiring R, a multiplicative subset S ⊆ R and an R-module M, we can localize M by S. This gives us a Localization S-module.

Main definitions

  • LocalizedModule.r: the equivalence relation defining this localization, namely (m, s) ≈ (m', s') if and only if there is some u : S such that u • s' • m = u • s • m'.
  • LocalizedModule M S: the localized module by S.
  • LocalizedModule.mk: the canonical map sending (m, s) : M × S ↦ m/s : LocalizedModule M S
  • LocalizedModule.liftOn: any well-defined function f : M × S → α respecting r descents to a function LocalizedModule M S → α
  • LocalizedModule.liftOn₂: any well-defined function f : M × S → M × S → α respecting r descents to a function LocalizedModule M S → LocalizedModule M S
  • LocalizedModule.mk_add_mk: in the localized module mk m s + mk m' s' = mk (s' • m + s • m') (s * s')
  • LocalizedModule.mk_smul_mk : in the localized module, for any r : R, s t : S, m : M, we have mk r s • mk m t = mk (r • m) (s * t) where mk r s : Localization S is localized ring by S.
  • LocalizedModule.isModule : LocalizedModule M S is a Localization S-module.

TODO

  • Redefine Localization for monoids and rings to coincide with LocalizedModule.

Localizations of modules away from an element

theorem IsLocalizedModule.fromLocalizedModule'.congr_simp 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 f_1 : M →ₗ[R] M') (e_f : f = f_1)
  [inst_5 : IsLocalizedModule S f] (a a_1 : LocalizedModule S M),
  a = a_1 → IsLocalizedModule.fromLocalizedModule' S f a = IsLocalizedModule.fromLocalizedModule' S f_1 a_1

theorem LocalizedModule.liftOn.congr_simp E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {α : Type u_3} (x x_1 : LocalizedModule S M),
  x = x_1 →
    ∀ (f f_1 : M × ↥S → α) (e_f : f = f_1) (wd : ∀ (p p' : M × ↥S), p ≈ p' → f p = f p'),
      x.liftOn f wd = x_1.liftOn f_1 ⋯

theorem IsLocalizedModule.linearEquiv.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}
  {M'' : Type u_4} [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M'']
  [inst_4 : Module R M] [inst_5 : Module R M'] [inst_6 : Module R M''] (f f_1 : M →ₗ[R] M') (e_f : f = f_1)
  (g g_1 : M →ₗ[R] M'') (e_g : g = g_1) [inst_7 : IsLocalizedModule S f] [inst_8 : IsLocalizedModule S g],
  IsLocalizedModule.linearEquiv S f g = IsLocalizedModule.linearEquiv S_1 f_1 g_1

theorem IsLocalizedModule.lift.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}
  {M'' : Type u_4} [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M'']
  [inst_4 : Module R M] [inst_5 : Module R M'] [inst_6 : Module R M''] (f f_1 : M →ₗ[R] M') (e_f : f = f_1)
  [inst_7 : IsLocalizedModule S f] (g g_1 : M →ₗ[R] M''),
  g = g_1 →
    ∀ (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)),
      IsLocalizedModule.lift S f g h = IsLocalizedModule.lift S_1 f_1 g_1 ⋯

theorem IsLocalizedModule.liftOfLE.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M₁ : Type u_6}
  {M₂ : Type u_7} [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R M₁] [inst_6 : Module R M₂]
  (S₁ S₁_1 : Submonoid R) (e_S₁ : S₁ = S₁_1) (S₂ S₂_1 : Submonoid R) (e_S₂ : S₂ = S₂_1) (h : S₁ ≤ S₂)
  (f₁ f₁_1 : M →ₗ[R] M₁) (e_f₁ : f₁ = f₁_1) (f₂ f₂_1 : M →ₗ[R] M₂) (e_f₂ : f₂ = f₂_1) [inst_7 : IsLocalizedModule S₁ f₁]
  [inst_8 : IsLocalizedModule S₂ f₂],
  IsLocalizedModule.liftOfLE S₁ S₂ h f₁ f₂ = IsLocalizedModule.liftOfLE S₁_1 S₂_1 ⋯ f₁_1 f₂_1

theorem IsLocalizedModule.mk'.congr_simp 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 f_1 : M →ₗ[R] M') (e_f : f = f_1)
  [inst_5 : IsLocalizedModule S f] (m m_1 : M),
  m = m_1 → ∀ (s s_1 : ↥S), s = s_1 → IsLocalizedModule.mk' f m s = IsLocalizedModule.mk' f_1 m_1 s_1

theorem IsLocalizedModule.map.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_6} {N' : Type u_7}
  [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],
  IsLocalizedModule.map S f g = IsLocalizedModule.map S_1 f_1 g_1

theorem LocalizedModule.lift.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M'' : Type u_4} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M''] [inst_3 : Module R M] [inst_4 : Module R M''] (g g_1 : M →ₗ[R] M''),
  g = g_1 →
    ∀ (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)),
      LocalizedModule.lift S g h = LocalizedModule.lift S g_1 h

theorem IsLocalizedModule.fromLocalizedModule.congr_simp 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 f_1 : M →ₗ[R] M') (e_f : f = f_1)
  [inst_5 : IsLocalizedModule S f],
  IsLocalizedModule.fromLocalizedModule S f = IsLocalizedModule.fromLocalizedModule S f_1

theorem IsLocalizedModule.iso.congr_simp 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 f_1 : M →ₗ[R] M') (e_f : f = f_1)
  [inst_5 : IsLocalizedModule S f], IsLocalizedModule.iso S f = IsLocalizedModule.iso S f_1

def LocalizedModule.r E3 #

{R : Type u} →
  [inst : CommSemiring R] →
    (S : Submonoid R) → (M : Type v) → [inst_1 : AddCommMonoid M] → [Module R M] → M × ↥S → M × ↥S → Prop

The equivalence relation on M × S where (m1, s1) ≈ (m2, s2) if and only if for some (u : S), u * (s2 • m1 - s1 • m2) = 0

theorem LocalizedModule.oreEqv_eq_r E1 #

∀ {R : Type u} [inst : CommSemiring R] (S : Submonoid R) (M : Type v) [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  ⇑(OreLocalization.oreEqv S M) = LocalizedModule.r S M

theorem LocalizedModule.r.isEquiv E1 #

∀ {R : Type u} [inst : CommSemiring R] (S : Submonoid R) (M : Type v) [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  IsEquiv (M × ↥S) (LocalizedModule.r S M)

instance LocalizedModule.r.setoid E0 #

{R : Type u} →
  [inst : CommSemiring R] →
    (S : Submonoid R) → (M : Type v) → [inst_1 : AddCommMonoid M] → [Module R M] → Setoid (M × ↥S)

abbrev LocalizedModule E1 #

{R : Type u} →
  [inst : CommSemiring R] → Submonoid R → (M : Type v) → [inst_1 : AddCommMonoid M] → [Module R M] → Type (max u v)

If S is a multiplicative subset of a ring R and M an R-module, then we can localize M by S.

abbrev LocalizedModule.mk E3 #

{R : Type u} →
  [inst : CommSemiring R] →
    {S : Submonoid R} → {M : Type v} → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → M → ↥S → LocalizedModule S M

The canonical map sending (m, s) ↦ m/s

theorem LocalizedModule.mk_eq E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {m m' : M} {s s' : ↥S}, LocalizedModule.mk m s = LocalizedModule.mk m' s' ↔ ∃ u, u • s' • m = u • s • m'

theorem LocalizedModule.induction_on E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {β : LocalizedModule S M → Prop}, (∀ (m : M) (s : ↥S), β (LocalizedModule.mk m s)) → ∀ (x : LocalizedModule S M), β x

theorem LocalizedModule.induction_on₂ E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {β : LocalizedModule S M → LocalizedModule S M → Prop},
  (∀ (m m' : M) (s s' : ↥S), β (LocalizedModule.mk m s) (LocalizedModule.mk m' s')) →
    ∀ (x y : LocalizedModule S M), β x y

def LocalizedModule.liftOn E3 #

{R : Type u} →
  [inst : CommSemiring R] →
    {S : Submonoid R} →
      {M : Type v} →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            {α : Type u_3} → LocalizedModule S M → (f : M × ↥S → α) → (∀ (p p' : M × ↥S), p ≈ p' → f p = f p') → α

If f : M × S → α respects the equivalence relation LocalizedModule.r, then f descents to a map LocalizedModule M S → α.

theorem LocalizedModule.liftOn_mk E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {α : Type u_3} {f : M × ↥S → α} (wd : ∀ (p p' : M × ↥S), p ≈ p' → f p = f p') (m : M) (s : ↥S),
  (LocalizedModule.mk m s).liftOn f wd = f (m, s)

def LocalizedModule.liftOn₂ E3 #

{R : Type u} →
  [inst : CommSemiring R] →
    {S : Submonoid R} →
      {M : Type v} →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            {α : Type u_3} →
              LocalizedModule S M →
                LocalizedModule S M →
                  (f : M × ↥S → M × ↥S → α) → (∀ (p q p' q' : M × ↥S), p ≈ p' → q ≈ q' → f p q = f p' q') → α

If f : M × S → M × S → α respects the equivalence relation LocalizedModule.r, then f descents to a map LocalizedModule M S → LocalizedModule M S → α.

theorem LocalizedModule.liftOn₂_mk E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {α : Type u_3} (f : M × ↥S → M × ↥S → α) (wd : ∀ (p q p' q' : M × ↥S), p ≈ p' → q ≈ q' → f p q = f p' q') (m m' : M)
  (s s' : ↥S), (LocalizedModule.mk m s).liftOn₂ (LocalizedModule.mk m' s') f wd = f (m, s) (m', s')

theorem LocalizedModule.subsingleton E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  0 ∈ S → Subsingleton (LocalizedModule S M)

If S contains 0 then the localization at S is trivial.

theorem LocalizedModule.zero_mk E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s : ↥S), LocalizedModule.mk 0 s = 0

theorem LocalizedModule.mk_add_mk E3 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {m1 m2 : M} {s1 s2 : ↥S},
  LocalizedModule.mk m1 s1 + LocalizedModule.mk m2 s2 = LocalizedModule.mk (s2 • m1 + s1 • m2) (s1 * s2)

theorem LocalizedModule.mk_neg E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type u_3} [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  {m : M} {s : ↥S}, LocalizedModule.mk (-m) s = -LocalizedModule.mk m s

def LocalizedModule.mul E1 #

{R : Type u} →
  [inst : CommSemiring R] →
    {A : Type u_3} →
      [inst_1 : Semiring A] →
        [inst_2 : Algebra R A] → {S : Submonoid R} → LocalizedModule S A → LocalizedModule S A → LocalizedModule S A

The multiplication on the localized module. Note that this gives a diamond with the instance on R[S⁻¹] (which does not require commutativity), but is defeq to it under with_reducible_and_instances. See https://github.com/leanprover-community/mathlib4/pull/25671 for an approach to generalize this but it requires right R actions on R-algebras.

instance LocalizedModule.instMonoid E0 #

{R : Type u} →
  [inst : CommSemiring R] →
    {A : Type u_3} → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → {S : Submonoid R} → Monoid (LocalizedModule S A)

theorem LocalizedModule.mk_mul_mk' E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {A : Type u_3} [inst_1 : Semiring A] [inst_2 : Algebra R A]
  {a₁ a₂ : A} {s₁ s₂ : ↥S}, LocalizedModule.mk a₁ s₁ * LocalizedModule.mk a₂ s₂ = LocalizedModule.mk (a₁ * a₂) (s₂ * s₁)

A variant of mk_mul_mk that is rfl but has a stranger multiplication order.

theorem LocalizedModule.mk_mul_mk E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {A : Type u_3} [inst_1 : Semiring A] [inst_2 : Algebra R A]
  {a₁ a₂ : A} {s₁ s₂ : ↥S}, LocalizedModule.mk a₁ s₁ * LocalizedModule.mk a₂ s₂ = LocalizedModule.mk (a₁ * a₂) (s₁ * s₂)

theorem LocalizedModule.mk_pow E1 #

∀ {R : Type u} [inst : CommSemiring R] {A : Type u_3} [inst_1 : Semiring A] [inst_2 : Algebra R A] {S : Submonoid R}
  (n : ℕ) (a : A) (s : ↥S), LocalizedModule.mk a s ^ n = LocalizedModule.mk (a ^ n) (s ^ n)

instance LocalizedModule.instSemiring E0 #

{R : Type u} →
  [inst : CommSemiring R] →
    {A : Type u_3} → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → {S : Submonoid R} → Semiring (LocalizedModule S A)

instance LocalizedModule.instCommSemiring E0 #

{R : Type u} →
  [inst : CommSemiring R] →
    {A : Type u_3} →
      [inst_1 : CommSemiring A] → [inst_2 : Algebra R A] → {S : Submonoid R} → CommSemiring (LocalizedModule S A)

instance LocalizedModule.instRing E0 #

{R : Type u} →
  [inst : CommSemiring R] →
    {A : Type u_3} → [inst_1 : Ring A] → [inst_2 : Algebra R A] → {S : Submonoid R} → Ring (LocalizedModule S A)

instance LocalizedModule.instCommRing E0 #

{R : Type u} →
  [inst : CommSemiring R] →
    {A : Type u_3} → [inst_1 : CommRing A] → [inst_2 : Algebra R A] → {S : Submonoid R} → CommRing (LocalizedModule S A)

theorem LocalizedModule.smul'_mk E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  {R₀ : Type u_3} [inst_3 : SMul R₀ R] [inst_4 : SMul R₀ M] [inst_5 : IsScalarTower R₀ R R]
  [inst_6 : IsScalarTower R₀ R M] (r : R₀) (m : M) (s : ↥S), r • LocalizedModule.mk m s = LocalizedModule.mk (r • m) s

theorem LocalizedModule.prod_mk E0 #

∀ {R : Type u} [inst : CommSemiring R] {ι : Type u_3} {A : Type u_4} [inst_1 : CommSemiring A] [inst_2 : Algebra R A]
  {S : Submonoid R} (t : Finset ι) (a : ι → A) (s : ι → ↥S),
  ∏ i ∈ t, LocalizedModule.mk (a i) (s i) = LocalizedModule.mk (∏ i ∈ t, a i) (∏ i ∈ t, s i)

abbrev LocalizedModule.smulOfIsLocalization E1 #

{R : Type u} →
  [inst : CommSemiring R] →
    {S : Submonoid R} →
      {M : Type v} →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            (T : Type u_1) →
              [inst_3 : CommSemiring T] → [inst_4 : Algebra R T] → [IsLocalization S T] → SMul T (LocalizedModule S M)

If IsLocalization S T, then M[S⁻¹] has a T-action. This should eventually be replaced with IsLocalizedModule f N and SMul T N.

theorem LocalizedModule.smul_def E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (T : Type u_1) [inst_3 : CommSemiring T] [inst_4 : Algebra R T] [inst_5 : IsLocalization S T] (x : T) (m : M)
  (s : ↥S),
  x • LocalizedModule.mk m s = LocalizedModule.mk ((IsLocalization.sec S x).1 • m) ((IsLocalization.sec S x).2 * s)

theorem LocalizedModule.mk'_smul_mk E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (T : Type u_1) [inst_3 : CommSemiring T] [inst_4 : Algebra R T] [inst_5 : IsLocalization S T] (r : R) (m : M)
  (s s' : ↥S), IsLocalization.mk' T r s • LocalizedModule.mk m s' = LocalizedModule.mk (r • m) (s * s')

theorem LocalizedModule.mk_smul_mk E3 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (r : R) (m : M) (s t : ↥S), Localization.mk r s • LocalizedModule.mk m t = LocalizedModule.mk (r • m) (s * t)

instance LocalizedModule.instSMulCommClass E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (T : Type u_1) [inst_3 : CommSemiring T] [inst_4 : Algebra R T] [inst_5 : IsLocalization S T] (T' : Type u_2)
  [inst_6 : CommSemiring T'] [inst_7 : Algebra R T'] [inst_8 : IsLocalization S T'],
  SMulCommClass T T' (LocalizedModule S M)

abbrev LocalizedModule.moduleOfIsLocalization E1 #

{R : Type u} →
  [inst : CommSemiring R] →
    {S : Submonoid R} →
      {M : Type v} →
        [inst_1 : AddCommMonoid M] →
          [inst_2 : Module R M] →
            {T : Type u_1} →
              [inst_3 : CommSemiring T] → [inst_4 : Algebra R T] → [IsLocalization S T] → Module T (LocalizedModule S M)

If IsLocalization S T, then M[S⁻¹] is a T-module. This should eventually be replaced with IsLocalizedModule f N and Module T N.

theorem LocalizedModule.mk_cancel_common_left E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s' s : ↥S) (m : M), LocalizedModule.mk (s' • m) (s' * s) = LocalizedModule.mk m s

theorem LocalizedModule.mk_cancel E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s : ↥S) (m : M), LocalizedModule.mk (s • m) s = LocalizedModule.mk m 1

theorem LocalizedModule.mk_cancel_common_right E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s s' : ↥S) (m : M), LocalizedModule.mk (s' • m) (s * s') = LocalizedModule.mk m s

theorem LocalizedModule.smul_eq_iff_of_mem E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (r : R) (hr : r ∈ S) (x y : LocalizedModule S M), r • x = y ↔ x = Localization.mk 1 ⟨r, hr⟩ • y

theorem LocalizedModule.smul'_mul E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {T : Type u_1} [inst_1 : CommSemiring T] [inst_2 : Algebra R T]
  [inst_3 : IsLocalization S T] {A : Type u_3} [inst_4 : Semiring A] [inst_5 : Algebra R A] (x : T)
  (p₁ p₂ : LocalizedModule S A), x • p₁ * p₂ = x • (p₁ * p₂)

theorem LocalizedModule.mul_smul' E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {T : Type u_1} [inst_1 : CommSemiring T] [inst_2 : Algebra R T]
  [inst_3 : IsLocalization S T] {A : Type u_3} [inst_4 : Semiring A] [inst_5 : Algebra R A] (x : T)
  (p₁ p₂ : LocalizedModule S A), p₁ * x • p₂ = x • (p₁ * p₂)

abbrev LocalizedModule.algebraOfIsLocalization E1 #

{R : Type u} →
  [inst : CommSemiring R] →
    {S : Submonoid R} →
      (T : Type u_1) →
        [inst_1 : CommSemiring T] →
          [inst_2 : Algebra R T] →
            [IsLocalization S T] →
              {A : Type u_3} → [inst_4 : Semiring A] → [inst_5 : Algebra R A] → Algebra T (LocalizedModule S A)

If IsLocalization S T, then A[S⁻¹] is a T-algebra. This should eventually be replaced with IsLocalizedModule f N and Algebra T N.

theorem LocalizedModule.algebraMap_mk' E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} (T : Type u_1) [inst_1 : CommSemiring T] [inst_2 : Algebra R T]
  [inst_3 : IsLocalization S T] {A : Type u_3} [inst_4 : Semiring A] [inst_5 : Algebra R A] (a : R) (s : ↥S),
  (algebraMap T (LocalizedModule S A)) (IsLocalization.mk' T a s) = LocalizedModule.mk ((algebraMap R A) a) s

theorem LocalizedModule.algebraMap_mk E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {A : Type u_3} [inst_1 : Semiring A] [inst_2 : Algebra R A]
  (a : R) (s : ↥S),
  (algebraMap (Localization S) (LocalizedModule S A)) (Localization.mk a s) = LocalizedModule.mk ((algebraMap R A) a) s

instance LocalizedModule.instIsScalarTower E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (T : Type u_1) [inst_3 : CommSemiring T] [inst_4 : Algebra R T] [inst_5 : IsLocalization S T],
  IsScalarTower R T (LocalizedModule S M)

abbrev LocalizedModule.numeratorRingHom E1 #

{R : Type u} →
  [inst : CommSemiring R] →
    {S : Submonoid R} → {A : Type u_3} → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → A →+* OreLocalization S A

The ring homomorphism from R to R[S⁻¹], mapping r : R to the fraction r /ₒ 1.

instance LocalizedModule.algebra' E0 #

{R : Type u} →
  [inst : CommSemiring R] →
    {S : Submonoid R} →
      {A : Type u_3} → [inst_1 : Semiring A] → [inst_2 : Algebra R A] → Algebra R (LocalizedModule S A)

def LocalizedModule.mkLinearMap E1 #

{R : Type u} →
  [inst : CommSemiring R] →
    (S : Submonoid R) → (M : Type v) → [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → M →ₗ[R] LocalizedModule S M

The function m ↦ m / 1 as an R-linear map.

theorem LocalizedModule.mkLinearMap_apply E0 #

∀ {R : Type u} [inst : CommSemiring R] (S : Submonoid R) (M : Type v) [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (m : M), (LocalizedModule.mkLinearMap S M) m = LocalizedModule.mk m 1

def LocalizedModule.divBy E1 #

{R : Type u} →
  [inst : CommSemiring R] →
    {S : Submonoid R} →
      {M : Type v} →
        [inst_1 : AddCommMonoid M] → [inst_2 : Module R M] → ↥S → LocalizedModule S M →ₗ[R] LocalizedModule S M

For any s : S, there is an R-linear map given by a/b ↦ a/(b*s).

theorem LocalizedModule.divBy_apply E0 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s : ↥S) (p : LocalizedModule S M),
  (LocalizedModule.divBy s) p = p.liftOn (fun p ↦ LocalizedModule.mk p.1 (p.2 * s)) ⋯

theorem LocalizedModule.divBy_mul_by E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s : ↥S) (p : LocalizedModule S M),
  (LocalizedModule.divBy s) (((algebraMap R (Module.End R (LocalizedModule S M))) ↑s) p) = p

theorem LocalizedModule.mul_by_divBy E1 #

∀ {R : Type u} [inst : CommSemiring R] {S : Submonoid R} {M : Type v} [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (s : ↥S) (p : LocalizedModule S M),
  ((algebraMap R (Module.End R (LocalizedModule S M))) ↑s) ((LocalizedModule.divBy s) p) = p

class IsLocalizedModule E3 #

{R : Type u_1} →
  [inst : CommSemiring 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'] → Submonoid R → (M →ₗ[R] M') → Prop

The characteristic predicate for localized module. IsLocalizedModule S f describes that f : M ⟶ M' is the localization map identifying M' as LocalizedModule S M.

theorem isLocalizedModule_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring 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'] (S : Submonoid R) (f : M →ₗ[R] M'),
  IsLocalizedModule S f ↔
    (∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M')) ↑x)) ∧
      (∀ (y : M'), ∃ x, x.2 • y = f x.1) ∧ ∀ {x₁ x₂ : M}, f x₁ = f x₂ → ∃ c, c • x₁ = c • x₂

ctor IsLocalizedModule.mk E0 #

∀ {R : Type u_1} [inst : CommSemiring 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'] {S : Submonoid R} {f : M →ₗ[R] M'},
  (∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M')) ↑x)) →
    (∀ (y : M'), ∃ x, x.2 • y = f x.1) → (∀ {x₁ x₂ : M}, f x₁ = f x₂ → ∃ c, c • x₁ = c • x₂) → IsLocalizedModule S f

theorem IsLocalizedModule.map_units E0 #

∀ {R : Type u_1} {inst : CommSemiring 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'} {S : Submonoid R} (f : M →ₗ[R] M')
  [self : IsLocalizedModule S f] (x : ↥S), IsUnit ((algebraMap R (Module.End R M')) ↑x)

theorem IsLocalizedModule.surj E1 #

∀ {R : Type u_1} {inst : CommSemiring 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'} (S : Submonoid R) (f : M →ₗ[R] M')
  [self : IsLocalizedModule S f] (y : M'), ∃ x, x.2 • y = f x.1

theorem IsLocalizedModule.exists_of_eq E0 #

∀ {R : Type u_1} {inst : CommSemiring 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'} {S : Submonoid R} {f : M →ₗ[R] M'}
  [self : IsLocalizedModule S f] {x₁ x₂ : M}, f x₁ = f x₂ → ∃ c, c • x₁ = c • x₂

theorem IsLocalizedModule.injective_iff_isRegular 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],
  Function.Injective ⇑f ↔ ∀ (c : ↥S), IsSMulRegular M c

instance IsLocalizedModule.of_linearEquiv E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') (e : M' ≃ₗ[R] M'') [hf : IsLocalizedModule S f],
  IsLocalizedModule S (↑e ∘ₗ f)

instance IsLocalizedModule.of_linearEquiv_right E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') (e : M'' ≃ₗ[R] M) [hf : IsLocalizedModule S f],
  IsLocalizedModule S (f ∘ₗ ↑e)

theorem IsLocalizedModule.comp_iff_of_bijective_left E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] {f : M →ₗ[R] M'} (e : M' →ₗ[R] M''),
  Function.Bijective ⇑e → (IsLocalizedModule S (e ∘ₗ f) ↔ IsLocalizedModule S f)

theorem IsLocalizedModule.comp_iff_of_bijective_right E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (e : M →ₗ[R] M') {f : M' →ₗ[R] M''},
  Function.Bijective ⇑e → (IsLocalizedModule S (f ∘ₗ e) ↔ IsLocalizedModule S f)

theorem isLocalizedModule_id E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) (M : Type u_2) [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] (R' : Type u_6) [inst_3 : CommSemiring R'] [inst_4 : Algebra R R'] [IsLocalization S R']
  [inst_6 : Module R' M] [IsScalarTower R R' M], IsLocalizedModule S LinearMap.id

def LocalizedModule.lift' E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      {M : Type u_2} →
        {M'' : Type u_4} →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid M''] →
              [inst_3 : Module R M] →
                [inst_4 : Module R M''] →
                  (M →ₗ[R] M'') →
                    (∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) → LocalizedModule S M → M''

If g is a linear map M → M'' such that all scalar multiplication by s : S is invertible, then there is a linear map LocalizedModule S M → M''.

theorem LocalizedModule.lift'_mk E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M'' : Type u_4} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M''] [inst_3 : Module R M] [inst_4 : Module R M''] (g : M →ₗ[R] M'')
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) (m : M) (s : ↥S),
  LocalizedModule.lift' S g h (LocalizedModule.mk m s) = ↑⋯.unit⁻¹ (g m)

theorem LocalizedModule.lift'_add E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M'' : Type u_4} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M''] [inst_3 : Module R M] [inst_4 : Module R M''] (g : M →ₗ[R] M'')
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) (x y : LocalizedModule S M),
  LocalizedModule.lift' S g h (x + y) = LocalizedModule.lift' S g h x + LocalizedModule.lift' S g h y

theorem LocalizedModule.lift'_smul E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M'' : Type u_4} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M''] [inst_3 : Module R M] [inst_4 : Module R M''] (g : M →ₗ[R] M'')
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) (r : R) (m : LocalizedModule S M),
  r • LocalizedModule.lift' S g h m = LocalizedModule.lift' S g h (r • m)

def LocalizedModule.lift E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      {M : Type u_2} →
        {M'' : Type u_4} →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : AddCommMonoid M''] →
              [inst_3 : Module R M] →
                [inst_4 : Module R M''] →
                  (M →ₗ[R] M'') →
                    (∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) → LocalizedModule S M →ₗ[R] M''

If g is a linear map M → M'' such that all scalar multiplication by s : S is invertible, then there is a linear map LocalizedModule S M → M''.

theorem LocalizedModule.lift_mk E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M'' : Type u_4} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M''] [inst_3 : Module R M] [inst_4 : Module R M''] (g : M →ₗ[R] M'')
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) (m : M) (s : ↥S),
  (LocalizedModule.lift S g h) (LocalizedModule.mk m s) = ↑⋯.unit⁻¹ (g m)

If g is a linear map M → M'' such that all scalar multiplication by s : S is invertible, then lift g m s = s⁻¹ • g m.

theorem LocalizedModule.lift_mk_one E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M'' : Type u_4} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M''] [inst_3 : Module R M] [inst_4 : Module R M''] (g : M →ₗ[R] M'')
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) (m : M),
  (LocalizedModule.lift S g h) (LocalizedModule.mk m 1) = g m

theorem LocalizedModule.lift_comp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M'' : Type u_4} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M''] [inst_3 : Module R M] [inst_4 : Module R M''] (g : M →ₗ[R] M'')
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)),
  LocalizedModule.lift S g h ∘ₗ LocalizedModule.mkLinearMap S M = g

If g is a linear map M → M'' such that all scalar multiplication by s : S is invertible, then there is a linear map lift g ∘ mkLinearMap = g.

theorem LocalizedModule.lift_unique E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M'' : Type u_4} [inst_1 : AddCommMonoid M]
  [inst_2 : AddCommMonoid M''] [inst_3 : Module R M] [inst_4 : Module R M''] (g : M →ₗ[R] M'')
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) (l : LocalizedModule S M →ₗ[R] M''),
  l ∘ₗ LocalizedModule.mkLinearMap S M = g → LocalizedModule.lift S g h = l

If g is a linear map M → M'' such that all scalar multiplication by s : S is invertible and l is another linear map LocalizedModule S M ⟶ M'' such that l ∘ mkLinearMap = g then l = lift g

instance localizedModuleIsLocalizedModule E0 #

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

theorem IsLocalizedModule.restrictScalars E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] {A : Type u_5}
  [inst_2 : CommSemiring A] [inst_3 : Algebra R A] [inst_4 : Module R M] (S : Submonoid R) [inst_5 : Module A M]
  {N : Type u_6} [inst_6 : AddCommMonoid N] [inst_7 : Module R N] [inst_8 : Module A N] [inst_9 : IsScalarTower R A M]
  [inst_10 : IsScalarTower R A N] (f : M →ₗ[A] N) [h : IsLocalizedModule (Algebra.algebraMapSubmonoid A S) f],
  IsLocalizedModule S (↑R f)

theorem IsLocalizedModule.restrictScalars_powers E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] {A : Type u_5}
  [inst_2 : CommSemiring A] [inst_3 : Algebra R A] [inst_4 : Module R M] [inst_5 : Module A M] {N : Type u_6}
  [inst_6 : AddCommMonoid N] [inst_7 : Module R N] [inst_8 : Module A N] [inst_9 : IsScalarTower R A M]
  [inst_10 : IsScalarTower R A N] (r : R) (f : M →ₗ[A] N)
  [h : IsLocalizedModule (Submonoid.powers ((algebraMap R A) r)) f], IsLocalizedModule (Submonoid.powers r) (↑R f)

theorem IsLocalizedModule.of_restrictScalars E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] {A : Type u_5}
  [inst_2 : CommSemiring A] [inst_3 : Algebra R A] [inst_4 : Module R M] (S : Submonoid R) {N : Type u_6}
  [inst_5 : AddCommMonoid N] [inst_6 : Module R N] [inst_7 : Module A M] [inst_8 : Module A N]
  [inst_9 : IsScalarTower R A M] [inst_10 : IsScalarTower R A N] (f : M →ₗ[A] N) [IsLocalizedModule S (↑R f)],
  IsLocalizedModule (Algebra.algebraMapSubmonoid A S) f

theorem IsLocalizedModule.restrictScalars_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] {A : Type u_5}
  [inst_2 : CommSemiring A] [inst_3 : Algebra R A] [inst_4 : Module R M] (S : Submonoid R) {N : Type u_6}
  [inst_5 : AddCommMonoid N] [inst_6 : Module R N] [inst_7 : Module A M] [inst_8 : Module A N]
  [inst_9 : IsScalarTower R A M] [inst_10 : IsScalarTower R A N] (f : M →ₗ[A] N),
  IsLocalizedModule (Algebra.algebraMapSubmonoid A S) f ↔ IsLocalizedModule S (↑R f)

theorem IsLocalizedModule.of_exists_mul_mem E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {N : Type u_6}
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (S T : Submonoid R),
  S ≤ T → (∀ (x : ↥T), ∃ m, m * ↑x ∈ S) → ∀ (f : M →ₗ[R] N) [IsLocalizedModule S f], IsLocalizedModule T f

def IsLocalizedModule.fromLocalizedModule' 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] → LocalizedModule S M → M'

If (M', f : M ⟶ M') satisfies universal property of localized module, there is a canonical map LocalizedModule S M ⟶ M'.

theorem IsLocalizedModule.fromLocalizedModule'_mk 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] (m : M) (s : ↥S),
  IsLocalizedModule.fromLocalizedModule' S f (LocalizedModule.mk m s) = ↑⋯.unit⁻¹ (f m)

theorem IsLocalizedModule.fromLocalizedModule'_add 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')
  [inst_5 : IsLocalizedModule S f] (x y : LocalizedModule S M),
  IsLocalizedModule.fromLocalizedModule' S f (x + y) =
    IsLocalizedModule.fromLocalizedModule' S f x + IsLocalizedModule.fromLocalizedModule' S f y

theorem IsLocalizedModule.fromLocalizedModule'_smul 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')
  [inst_5 : IsLocalizedModule S f] (r : R) (x : LocalizedModule S M),
  r • IsLocalizedModule.fromLocalizedModule' S f x = IsLocalizedModule.fromLocalizedModule' S f (r • x)

def IsLocalizedModule.fromLocalizedModule 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] → LocalizedModule S M →ₗ[R] M'

If (M', f : M ⟶ M') satisfies universal property of localized module, there is a canonical map LocalizedModule S M ⟶ M'.

theorem IsLocalizedModule.fromLocalizedModule_mk 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] (m : M) (s : ↥S),
  (IsLocalizedModule.fromLocalizedModule S f) (LocalizedModule.mk m s) = ↑⋯.unit⁻¹ (f m)

theorem IsLocalizedModule.fromLocalizedModule.inj 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')
  [inst_5 : IsLocalizedModule S f], Function.Injective ⇑(IsLocalizedModule.fromLocalizedModule S f)

theorem IsLocalizedModule.fromLocalizedModule.surj 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')
  [inst_5 : IsLocalizedModule S f], Function.Surjective ⇑(IsLocalizedModule.fromLocalizedModule S f)

theorem IsLocalizedModule.fromLocalizedModule.bij 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')
  [inst_5 : IsLocalizedModule S f], Function.Bijective ⇑(IsLocalizedModule.fromLocalizedModule S f)

def IsLocalizedModule.iso 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] → LocalizedModule S M ≃ₗ[R] M'

If (M', f : M ⟶ M') satisfies universal property of localized module, then M' is isomorphic to LocalizedModule S M as an R-module.

theorem IsLocalizedModule.iso_apply_mk 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] (m : M) (s : ↥S),
  (IsLocalizedModule.iso S f) (LocalizedModule.mk m s) = ↑⋯.unit⁻¹ (f m)

theorem IsLocalizedModule.iso_mk_one 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] (x : M), (IsLocalizedModule.iso S f) (LocalizedModule.mk x 1) = f x

theorem IsLocalizedModule.iso_symm_apply_aux 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] (m : M'),
  (IsLocalizedModule.iso S f).symm m = LocalizedModule.mk ⋯.choose.1 ⋯.choose.2

theorem IsLocalizedModule.iso_symm_apply' 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')
  [inst_5 : IsLocalizedModule S f] (m : M') (a : M) (b : ↥S),
  b • m = f a → (IsLocalizedModule.iso S f).symm m = LocalizedModule.mk a b

theorem IsLocalizedModule.iso_symm_comp 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')
  [inst_5 : IsLocalizedModule S f], ↑(IsLocalizedModule.iso S f).symm ∘ₗ f = LocalizedModule.mkLinearMap S M

theorem IsLocalizedModule.iso_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] (x : M), (IsLocalizedModule.iso S f).symm (f x) = LocalizedModule.mk x 1

def IsLocalizedModule.lift E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      {M : Type u_2} →
        {M' : Type u_3} →
          {M'' : Type u_4} →
            [inst_1 : AddCommMonoid M] →
              [inst_2 : AddCommMonoid M'] →
                [inst_3 : AddCommMonoid M''] →
                  [inst_4 : Module R M] →
                    [inst_5 : Module R M'] →
                      [inst_6 : Module R M''] →
                        (f : M →ₗ[R] M') →
                          [IsLocalizedModule S f] →
                            (M →ₗ[R] M'') → (∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) → M' →ₗ[R] M''

If M' is a localized module and g is a linear map M → M'' such that all scalar multiplication by s : S is invertible, then there is a linear map M' → M''.

theorem IsLocalizedModule.lift_comp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') [inst_7 : IsLocalizedModule S f] (g : M →ₗ[R] M'')
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)), IsLocalizedModule.lift S f g h ∘ₗ f = g

theorem IsLocalizedModule.lift_iso E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') (g : M →ₗ[R] M'') [inst_7 : IsLocalizedModule S f]
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) (x : LocalizedModule S M),
  (IsLocalizedModule.lift S f g h) ((IsLocalizedModule.iso S f) x) = (LocalizedModule.lift S g h) x

theorem IsLocalizedModule.lift_comp_iso E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') (g : M →ₗ[R] M'') [inst_7 : IsLocalizedModule S f]
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)),
  IsLocalizedModule.lift S f g h ∘ₗ ↑(IsLocalizedModule.iso S f) = LocalizedModule.lift S g h

theorem IsLocalizedModule.lift_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') [inst_7 : IsLocalizedModule S f] (g : M →ₗ[R] M'')
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) (x : M), (IsLocalizedModule.lift S f g h) (f x) = g x

theorem IsLocalizedModule.lift_unique E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') [inst_7 : IsLocalizedModule S f] (g : M →ₗ[R] M'')
  (h : ∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) (l : M' →ₗ[R] M''),
  l ∘ₗ f = g → IsLocalizedModule.lift S f g h = l

theorem IsLocalizedModule.is_universal E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') [IsLocalizedModule S f] (g : M →ₗ[R] M''),
  (∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) → ∃! l, l ∘ₗ f = g

Universal property from localized module: If (M', f : M ⟶ M') is a localized module then it satisfies the following universal property: For every R-module M'' which every s : S-scalar multiplication is invertible and for every R-linear map g : M ⟶ M'', there is a unique R-linear map l : M' ⟶ M'' such that l ∘ f = g.

M -----f----> M'
|           /
|g       /
|     /   l
v   /
M''

theorem IsLocalizedModule.linearMap_ext 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_6} {N' : Type u_7} [inst_6 : AddCommMonoid N] [inst_7 : Module R N] [inst_8 : AddCommMonoid N']
  [inst_9 : Module R N'] (f' : N →ₗ[R] N') [IsLocalizedModule S f'] ⦃g g' : M' →ₗ[R] N'⦄, g ∘ₗ f = g' ∘ₗ f → g = g'

theorem IsLocalizedModule.ext E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') [IsLocalizedModule S f],
  (∀ (x : ↥S), IsUnit ((algebraMap R (Module.End R M'')) ↑x)) → ∀ ⦃j k : M' →ₗ[R] M''⦄, j ∘ₗ f = k ∘ₗ f → j = k

def IsLocalizedModule.linearEquiv E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (S : Submonoid R) →
      {M : Type u_2} →
        {M' : Type u_3} →
          {M'' : Type u_4} →
            [inst_1 : AddCommMonoid M] →
              [inst_2 : AddCommMonoid M'] →
                [inst_3 : AddCommMonoid M''] →
                  [inst_4 : Module R M] →
                    [inst_5 : Module R M'] →
                      [inst_6 : Module R M''] →
                        (f : M →ₗ[R] M') →
                          (g : M →ₗ[R] M'') → [IsLocalizedModule S f] → [IsLocalizedModule S g] → M' ≃ₗ[R] M''

If (M', f) and (M'', g) both satisfy universal property of localized module, then M', M'' are isomorphic as R-module

theorem IsLocalizedModule.linearEquiv_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') (g : M →ₗ[R] M'') [inst_7 : IsLocalizedModule S f]
  [inst_8 : IsLocalizedModule S g] (x : M), (IsLocalizedModule.linearEquiv S f g) (f x) = g x

theorem IsLocalizedModule.linearEquiv_symm_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') (g : M →ₗ[R] M'') [inst_7 : IsLocalizedModule S f]
  [inst_8 : IsLocalizedModule S g] (x : M), (IsLocalizedModule.linearEquiv S f g).symm (g x) = f x

theorem IsLocalizedModule.linearEquiv_of_isLocalizedModule_comp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_2} {M' : Type u_3} {M'' : Type u_4}
  [inst_1 : AddCommMonoid M] [inst_2 : AddCommMonoid M'] [inst_3 : AddCommMonoid M''] [inst_4 : Module R M]
  [inst_5 : Module R M'] [inst_6 : Module R M''] (f : M →ₗ[R] M') [inst_7 : IsLocalizedModule S f] (g : M' →ₗ[R] M'')
  [inst_8 : IsLocalizedModule S (g ∘ₗ f)], ↑(IsLocalizedModule.linearEquiv S f (g ∘ₗ f)) = g

theorem IsLocalizedModule.smul_injective 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]
  (s : ↥S), Function.Injective fun m ↦ s • m

theorem IsLocalizedModule.smul_inj 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]
  (s : ↥S) (m₁ m₂ : M'), s • m₁ = s • m₂ ↔ m₁ = m₂

theorem IsLocalizedModule.isRegular_of_smul_left_injective 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]
  {m : M'}, (Function.Injective fun r ↦ r • m) → ∀ (s : ↥S), IsRegular ↑s

def IsLocalizedModule.mk' 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] → M → ↥S → M'

mk' f m s is the fraction m/s with respect to the localization map f.

theorem IsLocalizedModule.mk'_smul 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')
  [inst_5 : IsLocalizedModule S f] {R₀ : Type u_6} [inst_6 : SMul R₀ R] [inst_7 : SMul R₀ M] [inst_8 : SMul R₀ M']
  [IsScalarTower R₀ R R] [IsScalarTower R₀ R M] [IsScalarTower R₀ R M'] (r : R₀) (m : M) (s : ↥S),
  IsLocalizedModule.mk' f (r • m) s = r • IsLocalizedModule.mk' f m s

theorem IsLocalizedModule.mk'_add_mk' 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')
  [inst_5 : IsLocalizedModule S f] (m₁ m₂ : M) (s₁ s₂ : ↥S),
  IsLocalizedModule.mk' f m₁ s₁ + IsLocalizedModule.mk' f m₂ s₂ = IsLocalizedModule.mk' f (s₂ • m₁ + s₁ • m₂) (s₁ * s₂)

theorem IsLocalizedModule.mk'_zero 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] (s : ↥S), IsLocalizedModule.mk' f 0 s = 0

theorem IsLocalizedModule.mk'_one 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] (m : M), IsLocalizedModule.mk' f m 1 = f m

theorem IsLocalizedModule.mk'_cancel 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] (m : M) (s : ↥S), IsLocalizedModule.mk' f (s • m) s = f m

theorem IsLocalizedModule.mk'_cancel' 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] (m : M) (s : ↥S), s • IsLocalizedModule.mk' f m s = f m

theorem IsLocalizedModule.mk'_cancel_left 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] (m : M) (s₁ s₂ : ↥S),
  IsLocalizedModule.mk' f (s₁ • m) (s₁ * s₂) = IsLocalizedModule.mk' f m s₂

theorem IsLocalizedModule.mk'_cancel_right 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] (m : M) (s₁ s₂ : ↥S),
  IsLocalizedModule.mk' f (s₂ • m) (s₁ * s₂) = IsLocalizedModule.mk' f m s₁

theorem IsLocalizedModule.mk'_add 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')
  [inst_5 : IsLocalizedModule S f] (m₁ m₂ : M) (s : ↥S),
  IsLocalizedModule.mk' f (m₁ + m₂) s = IsLocalizedModule.mk' f m₁ s + IsLocalizedModule.mk' f m₂ s

theorem IsLocalizedModule.mk'_eq_mk'_iff 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] (m₁ m₂ : M) (s₁ s₂ : ↥S),
  IsLocalizedModule.mk' f m₁ s₁ = IsLocalizedModule.mk' f m₂ s₂ ↔ ∃ s, s • s₁ • m₂ = s • s₂ • m₁

theorem IsLocalizedModule.mk'_neg E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Submonoid R} {M : Type u_6} {M' : Type u_7} [inst_1 : AddCommGroup M]
  [inst_2 : SubtractionCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M')
  [inst_5 : IsLocalizedModule S f] (m : M) (s : ↥S), IsLocalizedModule.mk' f (-m) s = -IsLocalizedModule.mk' f m s

theorem IsLocalizedModule.mk'_sub E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Submonoid R} {M : Type u_6} {M' : Type u_7} [inst_1 : AddCommGroup M]
  [inst_2 : SubtractionCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M')
  [inst_5 : IsLocalizedModule S f] (m₁ m₂ : M) (s : ↥S),
  IsLocalizedModule.mk' f (m₁ - m₂) s = IsLocalizedModule.mk' f m₁ s - IsLocalizedModule.mk' f m₂ s

theorem IsLocalizedModule.mk'_sub_mk' E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Submonoid R} {M : Type u_6} {M' : Type u_7} [inst_1 : AddCommGroup M]
  [inst_2 : SubtractionCommMonoid M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M')
  [inst_5 : IsLocalizedModule S f] (m₁ m₂ : M) (s₁ s₂ : ↥S),
  IsLocalizedModule.mk' f m₁ s₁ - IsLocalizedModule.mk' f m₂ s₂ = IsLocalizedModule.mk' f (s₂ • m₁ - s₁ • m₂) (s₁ * s₂)

theorem IsLocalizedModule.mk'_mul_mk'_of_map_mul E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Submonoid R} {M : Type u_6} {M' : Type u_7}
  [inst_1 : NonUnitalNonAssocSemiring M] [inst_2 : Semiring M'] [inst_3 : Module R M] [inst_4 : Algebra R M']
  (f : M →ₗ[R] M'),
  (∀ (m₁ m₂ : M), f (m₁ * m₂) = f m₁ * f m₂) →
    ∀ [inst_5 : IsLocalizedModule S f] (m₁ m₂ : M) (s₁ s₂ : ↥S),
      IsLocalizedModule.mk' f m₁ s₁ * IsLocalizedModule.mk' f m₂ s₂ = IsLocalizedModule.mk' f (m₁ * m₂) (s₁ * s₂)

theorem IsLocalizedModule.mk'_mul_mk' E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Submonoid R} {M : Type u_6} {M' : Type u_7} [inst_1 : Semiring M]
  [inst_2 : Semiring M'] [inst_3 : Algebra R M] [inst_4 : Algebra R M'] (f : M →ₐ[R] M')
  [inst_5 : IsLocalizedModule S f.toLinearMap] (m₁ m₂ : M) (s₁ s₂ : ↥S),
  IsLocalizedModule.mk' f.toLinearMap m₁ s₁ * IsLocalizedModule.mk' f.toLinearMap m₂ s₂ =
    IsLocalizedModule.mk' f.toLinearMap (m₁ * m₂) (s₁ * s₂)

theorem IsLocalizedModule.mk'_eq_iff 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] {m : M} {s : ↥S} {m' : M'}, IsLocalizedModule.mk' f m s = m' ↔ f m = s • m'

theorem IsLocalizedModule.mk'_eq_zero 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] {m : M} (s : ↥S), IsLocalizedModule.mk' f m s = 0 ↔ f m = 0

theorem IsLocalizedModule.mk'_eq_zero' 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')
  [inst_5 : IsLocalizedModule S f] {m : M} (s : ↥S), IsLocalizedModule.mk' f m s = 0 ↔ ∃ s', s' • m = 0

theorem IsLocalizedModule.mk_eq_mk' E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Submonoid R} {M : Type u_2} [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] (s : ↥S) (m : M),
  LocalizedModule.mk m s = IsLocalizedModule.mk' (LocalizedModule.mkLinearMap S M) m s

theorem IsLocalizedModule.mk'_smul_mk' 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'] (A : Type u_5) [inst_3 : CommSemiring A] [inst_4 : Algebra R A] [inst_5 : Module A M']
  [inst_6 : IsLocalization S A] [inst_7 : Module R M] [inst_8 : Module R M'] [IsScalarTower R A M'] (f : M →ₗ[R] M')
  [inst_10 : IsLocalizedModule S f] (x : R) (m : M) (s t : ↥S),
  IsLocalization.mk' A x s • IsLocalizedModule.mk' f m t = IsLocalizedModule.mk' f (x • m) (s * t)

theorem IsLocalizedModule.mk'_surjective 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')
  [inst_5 : IsLocalizedModule S f], Function.Surjective (Function.uncurry (IsLocalizedModule.mk' f))

def IsLocalizedModule.liftOfLE E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {M : Type u_2} →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] →
          {M₁ : Type u_6} →
            {M₂ : Type u_7} →
              [inst_3 : AddCommMonoid M₁] →
                [inst_4 : AddCommMonoid M₂] →
                  [inst_5 : Module R M₁] →
                    [inst_6 : Module R M₂] →
                      (S₁ S₂ : Submonoid R) →
                        S₁ ≤ S₂ →
                          (f₁ : M →ₗ[R] M₁) →
                            (f₂ : M →ₗ[R] M₂) → [IsLocalizedModule S₁ f₁] → [IsLocalizedModule S₂ f₂] → M₁ →ₗ[R] M₂

The natural map Mₛ →ₗ[R] Mₜ if s ≤ t (in Submonoid R).

abbrev LocalizedModule.liftOfLE E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {M : Type u_2} →
      [inst_1 : AddCommMonoid M] →
        [inst_2 : Module R M] → (S₁ S₂ : Submonoid R) → S₁ ≤ S₂ → LocalizedModule S₁ M →ₗ[R] LocalizedModule S₂ M

The natural map Mₛ →ₗ[R] Mₜ if s ≤ t (in Submonoid R).

theorem IsLocalizedModule.liftOfLE_comp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M₁ : Type u_7}
  {M₂ : Type u_6} [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R M₁] [inst_6 : Module R M₂]
  (S₁ S₂ : Submonoid R) (h : S₁ ≤ S₂) (f₁ : M →ₗ[R] M₁) (f₂ : M →ₗ[R] M₂) [inst_7 : IsLocalizedModule S₁ f₁]
  [inst_8 : IsLocalizedModule S₂ f₂], IsLocalizedModule.liftOfLE S₁ S₂ h f₁ f₂ ∘ₗ f₁ = f₂

theorem IsLocalizedModule.liftOfLE_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M₁ : Type u_7}
  {M₂ : Type u_6} [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R M₁] [inst_6 : Module R M₂]
  (S₁ S₂ : Submonoid R) (h : S₁ ≤ S₂) (f₁ : M →ₗ[R] M₁) (f₂ : M →ₗ[R] M₂) [inst_7 : IsLocalizedModule S₁ f₁]
  [inst_8 : IsLocalizedModule S₂ f₂] (x : M), (IsLocalizedModule.liftOfLE S₁ S₂ h f₁ f₂) (f₁ x) = f₂ x

theorem IsLocalizedModule.liftOfLE_mk' E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M₁ : Type u_7}
  {M₂ : Type u_6} [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R M₁] [inst_6 : Module R M₂]
  (S₁ S₂ : Submonoid R) (h : S₁ ≤ S₂) (f₁ : M →ₗ[R] M₁) (f₂ : M →ₗ[R] M₂) [inst_7 : IsLocalizedModule S₁ f₁]
  [inst_8 : IsLocalizedModule S₂ f₂] (m : M) (s : ↥S₁),
  (IsLocalizedModule.liftOfLE S₁ S₂ h f₁ f₂) (IsLocalizedModule.mk' f₁ m s) = IsLocalizedModule.mk' f₂ m ⟨↑s, ⋯⟩

The image of m/s under liftOfLE is m/s.

instance IsLocalizedModule.instLiftOfLE E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {M : Type u_2} [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {M₁ : Type u_6}
  {M₂ : Type u_7} [inst_3 : AddCommMonoid M₁] [inst_4 : AddCommMonoid M₂] [inst_5 : Module R M₁] [inst_6 : Module R M₂]
  (S₁ S₂ : Submonoid R) (h : S₁ ≤ S₂) (f₁ : M →ₗ[R] M₁) (f₂ : M →ₗ[R] M₂) [inst_7 : IsLocalizedModule S₁ f₁]
  [inst_8 : IsLocalizedModule S₂ f₂], IsLocalizedModule S₂ (IsLocalizedModule.liftOfLE S₁ S₂ h f₁ f₂)

theorem IsLocalizedModule.injective_of_map_eq 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') [IsLocalizedModule S f]
  {N : Type u_6} [inst_6 : AddCommMonoid N] [inst_7 : Module R N] {g : M' →ₗ[R] N},
  (∀ {x y : M}, g (f x) = g (f y) → f x = f y) → Function.Injective ⇑g

theorem IsLocalizedModule.injective_of_map_zero E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M : Type u_6} {M' : Type u_7} {N : Type u_8}
  [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup M'] [inst_3 : Module R M] [inst_4 : Module R M'] (f : M →ₗ[R] M')
  [IsLocalizedModule S f] [inst_6 : AddCommGroup N] [inst_7 : Module R N] {g : M' →ₗ[R] N},
  (∀ (m : M), g (f m) = 0 → f m = 0) → Function.Injective ⇑g

def IsLocalizedModule.map 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_6} →
                        {N' : Type u_7} →
                          [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] → (M →ₗ[R] N) →ₗ[R] M' →ₗ[R] N'

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

theorem IsLocalizedModule.map_comp 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_6} {N' : Type u_7} [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] (h : M →ₗ[R] N),
  (IsLocalizedModule.map S f g) h ∘ₗ f = g ∘ₗ h

theorem IsLocalizedModule.map_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_6} {N' : Type u_7} [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] (h : M →ₗ[R] N)
  (x : M), ((IsLocalizedModule.map S f g) h) (f x) = g (h x)

theorem IsLocalizedModule.map_mk' 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_6} {N' : Type u_7} [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] (h : M →ₗ[R] N)
  (x : M) (s : ↥S), ((IsLocalizedModule.map S f g) h) (IsLocalizedModule.mk' f x s) = IsLocalizedModule.mk' g (h x) s

theorem IsLocalizedModule.map_id 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], (IsLocalizedModule.map S f f) LinearMap.id = LinearMap.id

theorem IsLocalizedModule.map_injective 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_6} {N' : Type u_7} [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] (h : M →ₗ[R] N),
  Function.Injective ⇑h → Function.Injective ⇑((IsLocalizedModule.map S f g) h)

theorem IsLocalizedModule.map_surjective 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_6} {N' : Type u_7} [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] (h : M →ₗ[R] N),
  Function.Surjective ⇑h → Function.Surjective ⇑((IsLocalizedModule.map S f g) h)

theorem IsLocalizedModule.iso_localizedModule_eq_refl E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) (M : Type u_2) [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M],
  IsLocalizedModule.iso S (LocalizedModule.mkLinearMap S M) = LinearEquiv.refl R (LocalizedModule S M)

The linear map (LocalizedModule S M) → (LocalizedModule S M) from iso is the identity.

theorem IsLocalizedModule.map_LocalizedModules E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M₀ : Type u_6} [inst_1 : AddCommMonoid M₀]
  [inst_2 : Module R M₀] {M₁ : Type u_7} [inst_3 : AddCommMonoid M₁] [inst_4 : Module R M₁] (g : M₀ →ₗ[R] M₁) (m : M₀)
  (s : ↥S),
  ((IsLocalizedModule.map S (LocalizedModule.mkLinearMap S M₀) (LocalizedModule.mkLinearMap S M₁)) g)
      (LocalizedModule.mk m s) =
    LocalizedModule.mk (g m) s

Formula for IsLocalizedModule.map when each localized module is a LocalizedModule.

theorem IsLocalizedModule.map_iso_commute E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M₀ : Type u_6} {M₀' : Type u_9} [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₀] {M₁ : Type u_7} {M₁' : Type u_8} [inst_6 : AddCommMonoid M₁]
  [inst_7 : AddCommMonoid M₁'] [inst_8 : Module R M₁] [inst_9 : Module R M₁'] (f₁ : M₁ →ₗ[R] M₁')
  [inst_10 : IsLocalizedModule S f₁] (g : M₀ →ₗ[R] M₁),
  (IsLocalizedModule.map S f₀ f₁) g ∘ₗ ↑(IsLocalizedModule.iso S f₀) =
    ↑(IsLocalizedModule.iso S f₁) ∘ₗ
      (IsLocalizedModule.map S (LocalizedModule.mkLinearMap S M₀) (LocalizedModule.mkLinearMap S M₁)) g

theorem IsLocalizedModule.map_comp' E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Submonoid R) {M₀ : Type u_6} {M₀' : Type u_9} [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₀] {M₁ : Type u_7} {M₁' : Type u_11} [inst_6 : AddCommMonoid M₁]
  [inst_7 : AddCommMonoid M₁'] [inst_8 : Module R M₁] [inst_9 : Module R M₁'] (f₁ : M₁ →ₗ[R] M₁')
  [inst_10 : IsLocalizedModule S f₁] {M₂ : Type u_8} {M₂' : Type u_10} [inst_11 : AddCommMonoid M₂]
  [inst_12 : AddCommMonoid M₂'] [inst_13 : Module R M₂] [inst_14 : Module R M₂'] (f₂ : M₂ →ₗ[R] M₂')
  [inst_15 : IsLocalizedModule S f₂] (g : M₀ →ₗ[R] M₁) (h : M₁ →ₗ[R] M₂),
  (IsLocalizedModule.map S f₀ f₂) (h ∘ₗ g) = (IsLocalizedModule.map S f₁ f₂) h ∘ₗ (IsLocalizedModule.map S f₀ f₁) g

Localization of composition is the composition of localization

theorem IsLocalizedModule.mkOfAlgebra E1 #

∀ {R : Type u_6} {S : Type u_7} {S' : Type u_8} [inst : CommSemiring R] [inst_1 : Ring S] [inst_2 : Ring S']
  [inst_3 : Algebra R S] [inst_4 : Algebra R S'] (M : Submonoid R) (f : S →ₐ[R] S'),
  (∀ x ∈ M, IsUnit ((algebraMap R S') x)) →
    (∀ (y : S'), ∃ x, x.2 • y = f x.1) → (∀ (x : S), f x = 0 → ∃ m, m • x = 0) → IsLocalizedModule M f.toLinearMap

def IsLocalizedModule.module E1 #

{R : Type u_6} →
  {A : Type u_7} →
    {M : Type u_8} →
      {M' : Type u_9} →
        [inst : CommSemiring R] →
          [inst_1 : CommSemiring A] →
            [inst_2 : Algebra R A] →
              (S : Submonoid R) →
                [inst_3 : AddCommMonoid M] →
                  [inst_4 : Module R M] →
                    [inst_5 : AddCommMonoid M'] →
                      [inst_6 : Module R M'] →
                        [IsLocalization S A] → (f : M →ₗ[R] M') → [IsLocalizedModule S f] → Module A M'

If M' is the localization of M at S and A = S⁻¹R, then M' is an A-module.

theorem IsLocalizedModule.isScalarTower_module E1 #

∀ {R : Type u_6} {A : Type u_7} {M : Type u_8} {M' : Type u_9} [inst : CommSemiring R] [inst_1 : CommSemiring A]
  [inst_2 : Algebra R A] (S : Submonoid R) [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [inst_5 : AddCommMonoid M']
  [inst_6 : Module R M'] [inst_7 : IsLocalization S A] (f : M →ₗ[R] M') [inst_8 : IsLocalizedModule S f],
  IsScalarTower R A M'

theorem IsLocalizedModule.mem_ker_iff E0 #

∀ {R : Type u_6} {M : Type u_8} {M' : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (S : Submonoid R) {g : M →ₗ[R] M'} [IsLocalizedModule S g] {m : M},
  m ∈ g.ker ↔ ∃ r ∈ S, r • m = 0

theorem IsLocalizedModule.subsingleton_iff_ker_eq_top E1 #

∀ {R : Type u_6} {M : Type u_8} {M' : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (S : Submonoid R) (g : M →ₗ[R] M') [IsLocalizedModule S g],
  Subsingleton M' ↔ g.ker = ⊤

theorem IsLocalizedModule.subsingleton_iff E0 #

∀ {R : Type u_6} {M : Type u_8} {M' : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (S : Submonoid R) (g : M →ₗ[R] M') [IsLocalizedModule S g],
  Subsingleton M' ↔ ∀ (m : M), ∃ r ∈ S, r • m = 0

theorem IsLocalizedModule.subsingleton_of_subsingleton E1 #

∀ {R : Type u_6} {M : Type u_8} {M' : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid M'] [inst_4 : Module R M'] (S : Submonoid R) (g : M →ₗ[R] M') [IsLocalizedModule S g]
  [Subsingleton M], Subsingleton M'

theorem LocalizedModule.mem_ker_mkLinearMap_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Submonoid R}
  {m : M}, m ∈ (LocalizedModule.mkLinearMap S M).ker ↔ ∃ r ∈ S, r • m = 0

theorem LocalizedModule.subsingleton_iff_ker_eq_top E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Submonoid R},
  Subsingleton (LocalizedModule S M) ↔ (LocalizedModule.mkLinearMap S M).ker = ⊤

theorem LocalizedModule.subsingleton_iff E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] {S : Submonoid R},
  Subsingleton (LocalizedModule S M) ↔ ∀ (m : M), ∃ r ∈ S, r • m = 0

instance LocalizedModule.instSubsingleton E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [Subsingleton M]
  (S : Submonoid R), Subsingleton (LocalizedModule S M)

theorem IsLocalizedModule.isTorsionFree_of_forall_isRegular E1 #

∀ {R : Type u_1} {M : Type u_2} {A : Type u_3} {N : Type u_4} [inst : CommRing R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : CommRing A] [inst_4 : AddCommMonoid N] [inst_5 : Module A N] [inst_6 : Algebra R A]
  [inst_7 : Module R N] [IsScalarTower R A N] (f : M →ₗ[R] N) (S : Submonoid R),
  (∀ s ∈ S, s ≠ 0 → IsRegular s) →
    ∀ [Module.IsTorsionFree R M] [IsLocalization S A] [IsLocalizedModule S f], Module.IsTorsionFree A N

theorem IsLocalizedModule.isTorsionFree E1 #

∀ {R : Type u_1} {M : Type u_2} {A : Type u_3} {N : Type u_4} [inst : CommRing R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : CommRing A] [inst_4 : AddCommMonoid N] [inst_5 : Module A N] [inst_6 : Algebra R A]
  [inst_7 : Module R N] [IsScalarTower R A N] (f : M →ₗ[R] N) [IsDomain R] [Module.IsTorsionFree R M] (S : Submonoid R)
  [IsLocalization S A] [IsLocalizedModule S f], Module.IsTorsionFree A N

instance IsLocalizedModule.instIsTorsionFreeLocalizationLocalizedModuleOfIsDomain E0 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [IsDomain R]
  (S : Submonoid R) [Module.IsTorsionFree R M], Module.IsTorsionFree (Localization S) (LocalizedModule S M)

abbrev IsLocalizedModule.Away E1 #

{R : Type u_1} →
  {M : Type u_2} →
    {M' : Type u_3} →
      [inst : CommSemiring R] →
        R →
          [inst_1 : AddCommMonoid M] →
            [inst_2 : Module R M] → [inst_3 : AddCommMonoid M'] → [inst_4 : Module R M'] → (M →ₗ[R] M') → Prop

Given x : R and f : M →ₗ[R] M', IsLocalizedModule.Away x f states that M' is isomorphic to the localization of M at the submonoid generated by x.

abbrev LocalizedModule.Away E1 #

{R : Type u_1} →
  [inst : CommSemiring R] → R → (M : Type u_2) → [inst_1 : AddCommMonoid M] → [Module R M] → Type (max u_1 u_2)

Given x : R, LocalizedModule.Away x M is the localization of M at the submonoid generated by x.