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 / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.LocalProperties.Exactness

25 declarations. Mathlib docs · Source

theorem IsLocalization.Away.map.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {P : Type u_3}
  [inst_3 : CommSemiring P] (Q : Type u_4) [inst_4 : CommSemiring Q] [inst_5 : Algebra P Q] (f f_1 : R →+* P)
  (e_f : f = f_1) (r r_1 : R) (e_r : r = r_1) [inst_6 : IsLocalization.Away r S] [inst_7 : IsLocalization.Away (f r) Q],
  IsLocalization.Away.map S Q f r = IsLocalization.Away.map S Q f_1 r_1

theorem injective_of_isLocalized_maximal E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (Mₚ : (P : Ideal R) → [P.IsMaximal] → Type u_6)
  [inst_5 : (P : Ideal R) → [inst : P.IsMaximal] → AddCommMonoid (Mₚ P)]
  [inst_6 : (P : Ideal R) → [inst_6 : P.IsMaximal] → Module R (Mₚ P)]
  (f : (P : Ideal R) → [inst_7 : P.IsMaximal] → M →ₗ[R] Mₚ P)
  [inst_7 : ∀ (P : Ideal R) [inst_7 : P.IsMaximal], IsLocalizedModule.AtPrime P (f P)]
  (Nₚ : (P : Ideal R) → [P.IsMaximal] → Type u_7) [inst_8 : (P : Ideal R) → [inst : P.IsMaximal] → AddCommMonoid (Nₚ P)]
  [inst_9 : (P : Ideal R) → [inst_9 : P.IsMaximal] → Module R (Nₚ P)]
  (g : (P : Ideal R) → [inst_10 : P.IsMaximal] → N →ₗ[R] Nₚ P)
  [inst_10 : ∀ (P : Ideal R) [inst_10 : P.IsMaximal], IsLocalizedModule.AtPrime P (g P)] (F : M →ₗ[R] N),
  (∀ (P : Ideal R) [inst_11 : P.IsMaximal], Function.Injective ⇑((IsLocalizedModule.map P.primeCompl (f P) (g P)) F)) →
    Function.Injective ⇑F

theorem surjective_of_isLocalized_maximal E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (Mₚ : (P : Ideal R) → [P.IsMaximal] → Type u_6)
  [inst_5 : (P : Ideal R) → [inst : P.IsMaximal] → AddCommMonoid (Mₚ P)]
  [inst_6 : (P : Ideal R) → [inst_6 : P.IsMaximal] → Module R (Mₚ P)]
  (f : (P : Ideal R) → [inst_7 : P.IsMaximal] → M →ₗ[R] Mₚ P)
  [inst_7 : ∀ (P : Ideal R) [inst_7 : P.IsMaximal], IsLocalizedModule.AtPrime P (f P)]
  (Nₚ : (P : Ideal R) → [P.IsMaximal] → Type u_7) [inst_8 : (P : Ideal R) → [inst : P.IsMaximal] → AddCommMonoid (Nₚ P)]
  [inst_9 : (P : Ideal R) → [inst_9 : P.IsMaximal] → Module R (Nₚ P)]
  (g : (P : Ideal R) → [inst_10 : P.IsMaximal] → N →ₗ[R] Nₚ P)
  [inst_10 : ∀ (P : Ideal R) [inst_10 : P.IsMaximal], IsLocalizedModule.AtPrime P (g P)] (F : M →ₗ[R] N),
  (∀ (P : Ideal R) [inst_11 : P.IsMaximal], Function.Surjective ⇑((IsLocalizedModule.map P.primeCompl (f P) (g P)) F)) →
    Function.Surjective ⇑F

theorem bijective_of_isLocalized_maximal E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (Mₚ : (P : Ideal R) → [P.IsMaximal] → Type u_6)
  [inst_5 : (P : Ideal R) → [inst : P.IsMaximal] → AddCommMonoid (Mₚ P)]
  [inst_6 : (P : Ideal R) → [inst_6 : P.IsMaximal] → Module R (Mₚ P)]
  (f : (P : Ideal R) → [inst_7 : P.IsMaximal] → M →ₗ[R] Mₚ P)
  [inst_7 : ∀ (P : Ideal R) [inst_7 : P.IsMaximal], IsLocalizedModule.AtPrime P (f P)]
  (Nₚ : (P : Ideal R) → [P.IsMaximal] → Type u_7) [inst_8 : (P : Ideal R) → [inst : P.IsMaximal] → AddCommMonoid (Nₚ P)]
  [inst_9 : (P : Ideal R) → [inst_9 : P.IsMaximal] → Module R (Nₚ P)]
  (g : (P : Ideal R) → [inst_10 : P.IsMaximal] → N →ₗ[R] Nₚ P)
  [inst_10 : ∀ (P : Ideal R) [inst_10 : P.IsMaximal], IsLocalizedModule.AtPrime P (g P)] (F : M →ₗ[R] N),
  (∀ (P : Ideal R) [inst_11 : P.IsMaximal], Function.Bijective ⇑((IsLocalizedModule.map P.primeCompl (f P) (g P)) F)) →
    Function.Bijective ⇑F

theorem exact_of_isLocalized_maximal E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} {L : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : AddCommMonoid L]
  [inst_6 : Module R L] (Mₚ : (P : Ideal R) → [P.IsMaximal] → Type u_6)
  [inst_7 : (P : Ideal R) → [inst : P.IsMaximal] → AddCommMonoid (Mₚ P)]
  [inst_8 : (P : Ideal R) → [inst_8 : P.IsMaximal] → Module R (Mₚ P)]
  (f : (P : Ideal R) → [inst_9 : P.IsMaximal] → M →ₗ[R] Mₚ P)
  [inst_9 : ∀ (P : Ideal R) [inst_9 : P.IsMaximal], IsLocalizedModule.AtPrime P (f P)]
  (Nₚ : (P : Ideal R) → [P.IsMaximal] → Type u_7)
  [inst_10 : (P : Ideal R) → [inst : P.IsMaximal] → AddCommMonoid (Nₚ P)]
  [inst_11 : (P : Ideal R) → [inst_11 : P.IsMaximal] → Module R (Nₚ P)]
  (g : (P : Ideal R) → [inst_12 : P.IsMaximal] → N →ₗ[R] Nₚ P)
  [inst_12 : ∀ (P : Ideal R) [inst_12 : P.IsMaximal], IsLocalizedModule.AtPrime P (g P)]
  (Lₚ : (P : Ideal R) → [P.IsMaximal] → Type u_8)
  [inst_13 : (P : Ideal R) → [inst : P.IsMaximal] → AddCommMonoid (Lₚ P)]
  [inst_14 : (P : Ideal R) → [inst_14 : P.IsMaximal] → Module R (Lₚ P)]
  (h : (P : Ideal R) → [inst_15 : P.IsMaximal] → L →ₗ[R] Lₚ P)
  [inst_15 : ∀ (P : Ideal R) [inst_15 : P.IsMaximal], IsLocalizedModule.AtPrime P (h P)] (F : M →ₗ[R] N)
  (G : N →ₗ[R] L),
  (∀ (J : Ideal R) [inst_16 : J.IsMaximal],
      Function.Exact ⇑((IsLocalizedModule.map J.primeCompl (f J) (g J)) F)
        ⇑((IsLocalizedModule.map J.primeCompl (g J) (h J)) G)) →
    Function.Exact ⇑F ⇑G

theorem LinearIndependent.of_isLocalized_maximal E1 #

∀ {R : Type u_1} {M : Type u_2} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  (Rₚ : (P : Ideal R) → [P.IsMaximal] → Type u_5) [inst_3 : (P : Ideal R) → [inst : P.IsMaximal] → CommSemiring (Rₚ P)]
  [inst_4 : (P : Ideal R) → [inst_4 : P.IsMaximal] → Algebra R (Rₚ P)]
  [∀ (P : Ideal R) [inst_5 : P.IsMaximal], IsLocalization.AtPrime (Rₚ P) P]
  (Mₚ : (P : Ideal R) → [P.IsMaximal] → Type u_6) [inst_6 : (P : Ideal R) → [inst : P.IsMaximal] → AddCommMonoid (Mₚ P)]
  [inst_7 : (P : Ideal R) → [inst_7 : P.IsMaximal] → Module R (Mₚ P)]
  [inst_8 : (P : Ideal R) → [inst : P.IsMaximal] → Module (Rₚ P) (Mₚ P)]
  [∀ (P : Ideal R) [inst_9 : P.IsMaximal], IsScalarTower R (Rₚ P) (Mₚ P)]
  (f : (P : Ideal R) → [inst_10 : P.IsMaximal] → M →ₗ[R] Mₚ P)
  [∀ (P : Ideal R) [inst_10 : P.IsMaximal], IsLocalizedModule.AtPrime P (f P)] {ι : Type u_9} (v : ι → M),
  (∀ (P : Ideal R) [inst_11 : P.IsMaximal], LinearIndependent (Rₚ P) (⇑(f P) ∘ v)) → LinearIndependent R v

theorem injective_of_localized_maximal E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₗ[R] N),
  (∀ (J : Ideal R) [inst_5 : J.IsMaximal], Function.Injective ⇑((LocalizedModule.map J.primeCompl) f)) →
    Function.Injective ⇑f

theorem surjective_of_localized_maximal E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₗ[R] N),
  (∀ (J : Ideal R) [inst_5 : J.IsMaximal], Function.Surjective ⇑((LocalizedModule.map J.primeCompl) f)) →
    Function.Surjective ⇑f

theorem bijective_of_localized_maximal E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (f : M →ₗ[R] N),
  (∀ (J : Ideal R) [inst_5 : J.IsMaximal], Function.Bijective ⇑((LocalizedModule.map J.primeCompl) f)) →
    Function.Bijective ⇑f

theorem exact_of_localized_maximal E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} {L : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : AddCommMonoid L]
  [inst_6 : Module R L] (f : M →ₗ[R] N) (g : N →ₗ[R] L),
  (∀ (J : Ideal R) [inst_7 : J.IsMaximal],
      Function.Exact ⇑((LocalizedModule.map J.primeCompl) f) ⇑((LocalizedModule.map J.primeCompl) g)) →
    Function.Exact ⇑f ⇑g

theorem injective_of_isLocalized_span E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (s : Set R),
  Ideal.span s = ⊤ →
    ∀ (Mₚ : ↑s → Type u_5) [inst_5 : (r : ↑s) → AddCommMonoid (Mₚ r)] [inst_6 : (r : ↑s) → Module R (Mₚ r)]
      (f : (r : ↑s) → M →ₗ[R] Mₚ r) [inst_7 : ∀ (r : ↑s), IsLocalizedModule.Away (↑r) (f r)] (Nₚ : ↑s → Type u_6)
      [inst_8 : (r : ↑s) → AddCommMonoid (Nₚ r)] [inst_9 : (r : ↑s) → Module R (Nₚ r)] (g : (r : ↑s) → N →ₗ[R] Nₚ r)
      [inst_10 : ∀ (r : ↑s), IsLocalizedModule.Away (↑r) (g r)] (F : M →ₗ[R] N),
      (∀ (r : ↑s), Function.Injective ⇑((IsLocalizedModule.map (Submonoid.powers ↑r) (f r) (g r)) F)) →
        Function.Injective ⇑F

theorem surjective_of_isLocalized_span E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (s : Set R),
  Ideal.span s = ⊤ →
    ∀ (Mₚ : ↑s → Type u_5) [inst_5 : (r : ↑s) → AddCommMonoid (Mₚ r)] [inst_6 : (r : ↑s) → Module R (Mₚ r)]
      (f : (r : ↑s) → M →ₗ[R] Mₚ r) [inst_7 : ∀ (r : ↑s), IsLocalizedModule.Away (↑r) (f r)] (Nₚ : ↑s → Type u_6)
      [inst_8 : (r : ↑s) → AddCommMonoid (Nₚ r)] [inst_9 : (r : ↑s) → Module R (Nₚ r)] (g : (r : ↑s) → N →ₗ[R] Nₚ r)
      [inst_10 : ∀ (r : ↑s), IsLocalizedModule.Away (↑r) (g r)] (F : M →ₗ[R] N),
      (∀ (r : ↑s), Function.Surjective ⇑((IsLocalizedModule.map (Submonoid.powers ↑r) (f r) (g r)) F)) →
        Function.Surjective ⇑F

theorem bijective_of_isLocalized_span E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (s : Set R),
  Ideal.span s = ⊤ →
    ∀ (Mₚ : ↑s → Type u_5) [inst_5 : (r : ↑s) → AddCommMonoid (Mₚ r)] [inst_6 : (r : ↑s) → Module R (Mₚ r)]
      (f : (r : ↑s) → M →ₗ[R] Mₚ r) [inst_7 : ∀ (r : ↑s), IsLocalizedModule.Away (↑r) (f r)] (Nₚ : ↑s → Type u_6)
      [inst_8 : (r : ↑s) → AddCommMonoid (Nₚ r)] [inst_9 : (r : ↑s) → Module R (Nₚ r)] (g : (r : ↑s) → N →ₗ[R] Nₚ r)
      [inst_10 : ∀ (r : ↑s), IsLocalizedModule.Away (↑r) (g r)] (F : M →ₗ[R] N),
      (∀ (r : ↑s), Function.Bijective ⇑((IsLocalizedModule.map (Submonoid.powers ↑r) (f r) (g r)) F)) →
        Function.Bijective ⇑F

theorem exact_of_isLocalized_span E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} {L : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : AddCommMonoid L]
  [inst_6 : Module R L] (s : Set R),
  Ideal.span s = ⊤ →
    ∀ (Mₚ : ↑s → Type u_5) [inst_7 : (r : ↑s) → AddCommMonoid (Mₚ r)] [inst_8 : (r : ↑s) → Module R (Mₚ r)]
      (f : (r : ↑s) → M →ₗ[R] Mₚ r) [inst_9 : ∀ (r : ↑s), IsLocalizedModule.Away (↑r) (f r)] (Nₚ : ↑s → Type u_6)
      [inst_10 : (r : ↑s) → AddCommMonoid (Nₚ r)] [inst_11 : (r : ↑s) → Module R (Nₚ r)] (g : (r : ↑s) → N →ₗ[R] Nₚ r)
      [inst_12 : ∀ (r : ↑s), IsLocalizedModule.Away (↑r) (g r)] (Lₚ : ↑s → Type u_7)
      [inst_13 : (r : ↑s) → AddCommMonoid (Lₚ r)] [inst_14 : (r : ↑s) → Module R (Lₚ r)] (h : (r : ↑s) → L →ₗ[R] Lₚ r)
      [inst_15 : ∀ (r : ↑s), IsLocalizedModule.Away (↑r) (h r)] (F : M →ₗ[R] N) (G : N →ₗ[R] L),
      (∀ (r : ↑s),
          Function.Exact ⇑((IsLocalizedModule.map (Submonoid.powers ↑r) (f r) (g r)) F)
            ⇑((IsLocalizedModule.map (Submonoid.powers ↑r) (g r) (h r)) G)) →
        Function.Exact ⇑F ⇑G

theorem injective_of_localized_span E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (s : Set R),
  Ideal.span s = ⊤ →
    ∀ (f : M →ₗ[R] N),
      (∀ (r : ↑s), Function.Injective ⇑((LocalizedModule.map (Submonoid.powers ↑r)) f)) → Function.Injective ⇑f

theorem surjective_of_localized_span E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (s : Set R),
  Ideal.span s = ⊤ →
    ∀ (f : M →ₗ[R] N),
      (∀ (r : ↑s), Function.Surjective ⇑((LocalizedModule.map (Submonoid.powers ↑r)) f)) → Function.Surjective ⇑f

theorem bijective_of_localized_span E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M]
  [inst_3 : AddCommMonoid N] [inst_4 : Module R N] (s : Set R),
  Ideal.span s = ⊤ →
    ∀ (f : M →ₗ[R] N),
      (∀ (r : ↑s), Function.Bijective ⇑((LocalizedModule.map (Submonoid.powers ↑r)) f)) → Function.Bijective ⇑f

theorem exact_of_localized_span E1 #

∀ {R : Type u_1} {M : Type u_2} {N : Type u_3} {L : Type u_4} [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : AddCommMonoid N] [inst_4 : Module R N] [inst_5 : AddCommMonoid L]
  [inst_6 : Module R L] (s : Set R),
  Ideal.span s = ⊤ →
    ∀ (f : M →ₗ[R] N) (g : N →ₗ[R] L),
      (∀ (r : ↑s),
          Function.Exact ⇑((LocalizedModule.map (Submonoid.powers ↑r)) f)
            ⇑((LocalizedModule.map (Submonoid.powers ↑r)) g)) →
        Function.Exact ⇑f ⇑g

theorem IsLocalizedModule.map_linearMap_of_isLocalization E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (Rₚ : Type u_5)
  (Sₚ : Type u_6) [inst_3 : CommSemiring Rₚ] [inst_4 : Algebra R Rₚ] [inst_5 : CommSemiring Sₚ] [inst_6 : Algebra S Sₚ]
  [inst_7 : Algebra R Sₚ] [inst_8 : IsScalarTower R S Sₚ] [inst_9 : Algebra Rₚ Sₚ] [inst_10 : IsScalarTower R Rₚ Sₚ]
  (p : Ideal R) [inst_11 : p.IsPrime] [inst_12 : IsLocalization.AtPrime Rₚ p]
  [inst_13 : IsLocalizedModule.AtPrime p ↑(IsScalarTower.toAlgHom R S Sₚ)],
  (IsLocalizedModule.map p.primeCompl (Algebra.linearMap R Rₚ) ↑(IsScalarTower.toAlgHom R S Sₚ))
      (Algebra.linearMap R S) =
    ↑R (Algebra.linearMap Rₚ Sₚ)

theorem injective_of_isLocalization_isMaximal E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  (Rₚ : (p : Ideal R) → [p.IsMaximal] → Type u_3) [inst_3 : (p : Ideal R) → [inst : p.IsMaximal] → CommSemiring (Rₚ p)]
  [inst_4 : (p : Ideal R) → [inst_4 : p.IsMaximal] → Algebra R (Rₚ p)] (Sₚ : (p : Ideal R) → [p.IsMaximal] → Type u_4)
  [inst_5 : (p : Ideal R) → [inst : p.IsMaximal] → CommSemiring (Sₚ p)]
  [inst_6 : (p : Ideal R) → [inst : p.IsMaximal] → Algebra S (Sₚ p)]
  [inst_7 : (p : Ideal R) → [inst : p.IsMaximal] → Algebra (Rₚ p) (Sₚ p)]
  [inst_8 : (p : Ideal R) → [inst_8 : p.IsMaximal] → Algebra R (Sₚ p)]
  [∀ (p : Ideal R) [inst_9 : p.IsMaximal], IsScalarTower R (Rₚ p) (Sₚ p)]
  [inst_10 : ∀ (p : Ideal R) [inst_10 : p.IsMaximal], IsScalarTower R S (Sₚ p)]
  [∀ (p : Ideal R) [inst_11 : p.IsMaximal], IsLocalization.AtPrime (Rₚ p) p]
  [∀ (p : Ideal R) [inst_12 : p.IsMaximal], IsLocalizedModule.AtPrime p ↑(IsScalarTower.toAlgHom R S (Sₚ p))],
  (∀ (p : Ideal R) [inst : p.IsMaximal], Function.Injective ⇑(algebraMap (Rₚ p) (Sₚ p))) →
    Function.Injective ⇑(algebraMap R S)

theorem surjective_of_isLocalization_isMaximal E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  (Rₚ : (p : Ideal R) → [p.IsMaximal] → Type u_3) [inst_3 : (p : Ideal R) → [inst : p.IsMaximal] → CommSemiring (Rₚ p)]
  [inst_4 : (p : Ideal R) → [inst_4 : p.IsMaximal] → Algebra R (Rₚ p)] (Sₚ : (p : Ideal R) → [p.IsMaximal] → Type u_4)
  [inst_5 : (p : Ideal R) → [inst : p.IsMaximal] → CommSemiring (Sₚ p)]
  [inst_6 : (p : Ideal R) → [inst : p.IsMaximal] → Algebra S (Sₚ p)]
  [inst_7 : (p : Ideal R) → [inst : p.IsMaximal] → Algebra (Rₚ p) (Sₚ p)]
  [inst_8 : (p : Ideal R) → [inst_8 : p.IsMaximal] → Algebra R (Sₚ p)]
  [∀ (p : Ideal R) [inst_9 : p.IsMaximal], IsScalarTower R (Rₚ p) (Sₚ p)]
  [inst_10 : ∀ (p : Ideal R) [inst_10 : p.IsMaximal], IsScalarTower R S (Sₚ p)]
  [∀ (p : Ideal R) [inst_11 : p.IsMaximal], IsLocalization.AtPrime (Rₚ p) p]
  [∀ (p : Ideal R) [inst_12 : p.IsMaximal], IsLocalizedModule.AtPrime p ↑(IsScalarTower.toAlgHom R S (Sₚ p))],
  (∀ (p : Ideal R) [inst : p.IsMaximal], Function.Surjective ⇑(algebraMap (Rₚ p) (Sₚ p))) →
    Function.Surjective ⇑(algebraMap R S)

theorem bijective_of_isLocalization_isMaximal E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  (Rₚ : (p : Ideal R) → [p.IsMaximal] → Type u_3) [inst_3 : (p : Ideal R) → [inst : p.IsMaximal] → CommSemiring (Rₚ p)]
  [inst_4 : (p : Ideal R) → [inst_4 : p.IsMaximal] → Algebra R (Rₚ p)] (Sₚ : (p : Ideal R) → [p.IsMaximal] → Type u_4)
  [inst_5 : (p : Ideal R) → [inst : p.IsMaximal] → CommSemiring (Sₚ p)]
  [inst_6 : (p : Ideal R) → [inst : p.IsMaximal] → Algebra S (Sₚ p)]
  [inst_7 : (p : Ideal R) → [inst : p.IsMaximal] → Algebra (Rₚ p) (Sₚ p)]
  [inst_8 : (p : Ideal R) → [inst_8 : p.IsMaximal] → Algebra R (Sₚ p)]
  [∀ (p : Ideal R) [inst_9 : p.IsMaximal], IsScalarTower R (Rₚ p) (Sₚ p)]
  [inst_10 : ∀ (p : Ideal R) [inst_10 : p.IsMaximal], IsScalarTower R S (Sₚ p)]
  [∀ (p : Ideal R) [inst_11 : p.IsMaximal], IsLocalization.AtPrime (Rₚ p) p]
  [∀ (p : Ideal R) [inst_12 : p.IsMaximal], IsLocalizedModule.AtPrime p ↑(IsScalarTower.toAlgHom R S (Sₚ p))],
  (∀ (p : Ideal R) [inst : p.IsMaximal], Function.Bijective ⇑(algebraMap (Rₚ p) (Sₚ p))) →
    Function.Bijective ⇑(algebraMap R S)

theorem injective_of_isLocalization_of_span_eq_top E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring S] {s : Set R},
  Ideal.span s = ⊤ →
    ∀ (Rᵣ : ↑s → Type u_3) [inst_2 : (r : ↑s) → CommSemiring (Rᵣ r)] [inst_3 : (r : ↑s) → Algebra R (Rᵣ r)]
      (Sᵣ : ↑s → Type u_4) [inst_4 : (r : ↑s) → CommSemiring (Sᵣ r)] [inst_5 : (r : ↑s) → Algebra S (Sᵣ r)]
      (f : R →+* S) [inst_6 : ∀ (r : ↑s), IsLocalization.Away (↑r) (Rᵣ r)]
      [inst_7 : ∀ (r : ↑s), IsLocalization.Away (f ↑r) (Sᵣ r)],
      (∀ (r : ↑s), Function.Injective ⇑(IsLocalization.Away.map (Rᵣ r) (Sᵣ r) f ↑r)) → Function.Injective ⇑f

theorem surjective_of_isLocalization_of_span_eq_top E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring S] {s : Set R},
  Ideal.span s = ⊤ →
    ∀ (Rᵣ : ↑s → Type u_3) [inst_2 : (r : ↑s) → CommSemiring (Rᵣ r)] [inst_3 : (r : ↑s) → Algebra R (Rᵣ r)]
      (Sᵣ : ↑s → Type u_4) [inst_4 : (r : ↑s) → CommSemiring (Sᵣ r)] [inst_5 : (r : ↑s) → Algebra S (Sᵣ r)]
      (f : R →+* S) [inst_6 : ∀ (r : ↑s), IsLocalization.Away (↑r) (Rᵣ r)]
      [inst_7 : ∀ (r : ↑s), IsLocalization.Away (f ↑r) (Sᵣ r)],
      (∀ (r : ↑s), Function.Surjective ⇑(IsLocalization.Away.map (Rᵣ r) (Sᵣ r) f ↑r)) → Function.Surjective ⇑f

theorem bijective_of_isLocalization_of_span_eq_top E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommSemiring R] [inst_1 : CommSemiring S] {s : Set R},
  Ideal.span s = ⊤ →
    ∀ (Rᵣ : ↑s → Type u_3) [inst_2 : (r : ↑s) → CommSemiring (Rᵣ r)] [inst_3 : (r : ↑s) → Algebra R (Rᵣ r)]
      (Sᵣ : ↑s → Type u_4) [inst_4 : (r : ↑s) → CommSemiring (Sᵣ r)] [inst_5 : (r : ↑s) → Algebra S (Sᵣ r)]
      (f : R →+* S) [inst_6 : ∀ (r : ↑s), IsLocalization.Away (↑r) (Rᵣ r)]
      [inst_7 : ∀ (r : ↑s), IsLocalization.Away (f ↑r) (Sᵣ r)],
      (∀ (r : ↑s), Function.Bijective ⇑(IsLocalization.Away.map (Rᵣ r) (Sᵣ r) f ↑r)) → Function.Bijective ⇑f