The Mathlib Handbook

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

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

Mathlib.RingTheory.Localization.Away.Basic

85 declarations. Mathlib docs · Source

theorem selfZPow.congr_simp E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (x x_1 : R) (e_x : x = x_1) (B : Type u_2) [inst_1 : CommSemiring B]
  [inst_2 : Algebra R B] [inst_3 : IsLocalization.Away x B] (m m_1 : ℤ), m = m_1 → selfZPow x B m = selfZPow x_1 B m_1

theorem IsLocalization.Away.awayToAwayRight.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] (x x_1 : R) (e_x : x = x_1) [inst_4 : IsLocalization.Away x S] (y y_1 : R) (e_y : y = y_1)
  [inst_5 : Algebra R P] [inst_6 : IsLocalization.Away (x * y) P],
  IsLocalization.Away.awayToAwayRight x y = IsLocalization.Away.awayToAwayRight x_1 y_1

theorem IsLocalization.Away.awayToAwayLeft.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] (x x_1 : R) (e_x : x = x_1) [inst_4 : IsLocalization.Away x S] (y y_1 : R) (e_y : y = y_1)
  [inst_5 : Algebra R P] [inst_6 : IsLocalization.Away (y * x) P],
  IsLocalization.Away.awayToAwayLeft x y = IsLocalization.Away.awayToAwayLeft x_1 y_1

theorem IsLocalization.Away.lift.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] (x x_1 : R) (e_x : x = x_1) [inst_4 : IsLocalization.Away x S] {g g_1 : R →+* P}
  (e_g : g = g_1) (hg : IsUnit (g x)), IsLocalization.Away.lift x hg = IsLocalization.Away.lift x_1 ⋯

theorem Units.liftRight.congr_simp E1 #

∀ {M : Type u} {N : Type v} [inst : Monoid M] [inst_1 : Monoid N] (f f_1 : M →* N) (e_f : f = f_1) (g g_1 : M → Nˣ)
  (e_g : g = g_1) (h : ∀ (x : M), ↑(g x) = f x), Units.liftRight f g h = Units.liftRight f_1 g_1 ⋯

abbrev IsLocalization.Away E1 #

{R : Type u_1} → [inst : CommSemiring R] → R → (S : Type u_4) → [inst_1 : CommSemiring S] → [Algebra R S] → Prop

Given x : R, the typeclass IsLocalization.Away x S states that S is isomorphic to the localization of R at the submonoid generated by x. See IsLocalization.Away.mk for a specialized constructor.

def IsLocalization.Away.invSelf E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {S : Type u_2} → [inst_1 : CommSemiring S] → [inst_2 : Algebra R S] → (x : R) → [IsLocalization.Away x S] → S

Given x : R and a localization map F : R →+* S away from x, invSelf is (F x)⁻¹.

theorem IsLocalization.Away.mul_invSelf E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x : R)
  [inst_3 : IsLocalization.Away x S], (algebraMap R S) x * IsLocalization.Away.invSelf x = 1

def IsLocalization.Away.sec E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {S : Type u_2} →
      [inst_1 : CommSemiring S] → [inst_2 : Algebra R S] → (x : R) → [IsLocalization.Away x S] → S → R × ℕ

For s : S with S being the localization of R away from x, this is a choice of (r, n) : R × ℕ such that s * algebraMap R S (x ^ n) = algebraMap R S r.

theorem IsLocalization.Away.sec_spec E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x : R)
  [inst_3 : IsLocalization.Away x S] (s : S),
  s * (algebraMap R S) (x ^ (IsLocalization.Away.sec x s).2) = (algebraMap R S) (IsLocalization.Away.sec x s).1

theorem IsLocalization.Away.algebraMap_pow_isUnit E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x : R)
  [IsLocalization.Away x S] (n : ℕ), IsUnit ((algebraMap R S) x ^ n)

theorem IsLocalization.Away.algebraMap_isUnit E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x : R)
  [IsLocalization.Away x S], IsUnit ((algebraMap R S) x)

theorem IsLocalization.Away.associated_sec_fst E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x : R)
  [inst_3 : IsLocalization.Away x S] (s : S), Associated ((algebraMap R S) (IsLocalization.Away.sec x s).1) s

theorem IsLocalization.Away.algebraMap_isUnit_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x : R)
  [IsLocalization.Away x S] {y : R}, IsUnit ((algebraMap R S) y) ↔ ∃ n, y ∣ x ^ n

theorem IsLocalization.Away.surj E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x : R)
  [IsLocalization.Away x S] (z : S), ∃ n a, z * (algebraMap R S) x ^ n = (algebraMap R S) a

theorem IsLocalization.Away.exists_of_eq E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x : R)
  [IsLocalization.Away x S] {a b : R}, (algebraMap R S) a = (algebraMap R S) b → ∃ n, x ^ n * a = x ^ n * b

theorem IsLocalization.Away.mk E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (r : R),
  IsUnit ((algebraMap R S) r) →
    (∀ (s : S), ∃ n a, s * (algebraMap R S) r ^ n = (algebraMap R S) a) →
      (∀ (a b : R), (algebraMap R S) a = (algebraMap R S) b → ∃ n, r ^ n * a = r ^ n * b) → IsLocalization.Away r S

Specialized constructor for IsLocalization.Away.

theorem IsLocalization.Away.of_associated E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {r r' : R},
  Associated r r' → ∀ [IsLocalization.Away r S], IsLocalization.Away r' S

theorem IsLocalization.Away.iff_of_associated E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {r r' : R},
  Associated r r' → (IsLocalization.Away r S ↔ IsLocalization.Away r' S)

If r and r' are associated elements of R, an R-algebra S is the localization of R away from r if and only if it is the localization of R away from r'.

theorem IsLocalization.Away.isUnit_of_dvd E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x : R)
  [IsLocalization.Away x S] {r : R}, r ∣ x → IsUnit ((algebraMap R S) r)

def IsLocalization.Away.lift 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] → (x : R) → [IsLocalization.Away x S] → {g : R →+* P} → IsUnit (g x) → S →+* P

Given x : R, a localization map F : R →+* S away from x, and a map of CommSemirings g : R →+* P such that g x is invertible, the homomorphism induced from S to P sending z : S to g y * (g x)⁻ⁿ, where y : R, n : ℕ are such that z = F y * (F x)⁻ⁿ.

theorem IsLocalization.Away.lift_eq E0 #

∀ {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] (x : R) [inst_4 : IsLocalization.Away x S] {g : R →+* P} (hg : IsUnit (g x)) (a : R),
  (IsLocalization.Away.lift x hg) ((algebraMap R S) a) = g a

theorem IsLocalization.Away.lift_comp E0 #

∀ {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] (x : R) [inst_4 : IsLocalization.Away x S] {g : R →+* P} (hg : IsUnit (g x)),
  (IsLocalization.Away.lift x hg).comp (algebraMap R S) = g

def IsLocalization.Away.liftAlgHom 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] →
              (x : R) →
                [IsLocalization.Away x S] →
                  {A : Type u_4} →
                    [inst_5 : CommSemiring A] →
                      [inst_6 : Algebra A R] →
                        [inst_7 : Algebra A S] →
                          [inst_8 : Algebra A P] → [IsScalarTower A R S] → {f : R →ₐ[A] P} → IsUnit (f x) → S →ₐ[A] P

AlgHom version of IsLocalization.Away.lift.

theorem IsLocalization.Away.liftAlgHom_toRingHom 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] (x : R) [inst_4 : IsLocalization.Away x S] {A : Type u_4} [inst_5 : CommSemiring A]
  [inst_6 : Algebra A R] [inst_7 : Algebra A S] [inst_8 : Algebra A P] [inst_9 : IsScalarTower A R S] {f : R →ₐ[A] P}
  (hf : IsUnit (f x)), (IsLocalization.Away.liftAlgHom x hf).toRingHom = IsLocalization.Away.lift x hf

theorem IsLocalization.Away.coe_liftAlgHom E0 #

∀ {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] (x : R) [inst_4 : IsLocalization.Away x S] {A : Type u_4} [inst_5 : CommSemiring A]
  [inst_6 : Algebra A R] [inst_7 : Algebra A S] [inst_8 : Algebra A P] [inst_9 : IsScalarTower A R S] {f : R →ₐ[A] P}
  (hf : IsUnit (f x)), ⇑(IsLocalization.Away.liftAlgHom x hf) = ⇑(IsLocalization.Away.lift x hf)

theorem IsLocalization.Away.liftAlgHom_apply E0 #

∀ {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] (x : R) [inst_4 : IsLocalization.Away x S] {A : Type u_4} [inst_5 : CommSemiring A]
  [inst_6 : Algebra A R] [inst_7 : Algebra A S] [inst_8 : Algebra A P] [inst_9 : IsScalarTower A R S] {f : R →ₐ[A] P}
  (hf : IsUnit (f x)) (s : S), (IsLocalization.Away.liftAlgHom x hf) s = (IsLocalization.Away.lift x hf) s

def IsLocalization.Away.awayToAwayLeft 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] →
              (x : R) →
                [IsLocalization.Away x S] → (y : R) → [inst_5 : Algebra R P] → [IsLocalization.Away (y * x) P] → S →+* P

Given x y : R and localizations S, P away from x and y * x respectively, the homomorphism induced from S to P.

def IsLocalization.Away.awayToAwayRight 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] →
              (x : R) →
                [IsLocalization.Away x S] → (y : R) → [inst_5 : Algebra R P] → [IsLocalization.Away (x * y) P] → S →+* P

Given x y : R and localizations S, P away from x and x * y respectively, the homomorphism induced from S to P.

theorem IsLocalization.Away.awayToAwayLeft_eq E0 #

∀ {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] (x : R) [inst_4 : IsLocalization.Away x S] (y : R) [inst_5 : Algebra R P]
  [inst_6 : IsLocalization.Away (y * x) P] (a : R),
  (IsLocalization.Away.awayToAwayLeft x y) ((algebraMap R S) a) = (algebraMap R P) a

theorem IsLocalization.Away.awayToAwayRight_eq E0 #

∀ {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] (x : R) [inst_4 : IsLocalization.Away x S] (y : R) [inst_5 : Algebra R P]
  [inst_6 : IsLocalization.Away (x * y) P] (a : R),
  (IsLocalization.Away.awayToAwayRight x y) ((algebraMap R S) a) = (algebraMap R P) a

def IsLocalization.Away.map 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 : R →+* P) → (r : R) → [IsLocalization.Away r S] → [IsLocalization.Away (f r) Q] → S →+* Q

Given a map f : R →+* S and an element r : R, we may construct a map Rᵣ →+* Sᵣ.

theorem IsLocalization.Away.map_injective_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {P : Type u_3} [inst_1 : CommSemiring P] (Q : Type u_4)
  [inst_2 : CommSemiring Q] [inst_3 : Algebra P Q] {S : Type u_5} [inst_4 : CommRing S] [inst_5 : Algebra R S]
  (f : R →+* P) (r : R) [inst_6 : IsLocalization.Away r S] [inst_7 : IsLocalization.Away (f r) Q],
  Function.Injective ⇑(IsLocalization.Away.map S Q f r) ↔ ∀ (a : R), f a = 0 → ∃ n, r ^ n * a = 0

theorem IsLocalization.Away.map_surjective_iff E0 #

∀ {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 : R →+* P) (r : R)
  [inst_6 : IsLocalization.Away r S] [inst_7 : IsLocalization.Away (f r) Q],
  Function.Surjective ⇑(IsLocalization.Away.map S Q f r) ↔ ∀ (a : P), ∃ b m, f b = f r ^ m * a

instance IsLocalization.Away.instMapRingHomPowersOfCoe E0 #

∀ {A : Type u_5} [inst : CommSemiring A] {B : Type u_6} [inst_1 : CommSemiring B] (Bₚ : Type u_8)
  [inst_2 : CommSemiring Bₚ] [inst_3 : Algebra B Bₚ] {f : A →+* B} (a : A) [IsLocalization.Away (f a) Bₚ],
  IsLocalization (Submonoid.map f (Submonoid.powers a)) Bₚ

instance IsLocalization.Away.instAlgebraMapSubmonoidPowersOfCoeRingHomAlgebraMap E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_5} [inst_1 : CommSemiring A] [inst_2 : Algebra R A] (Aₚ : Type u_7)
  [inst_3 : CommSemiring Aₚ] [inst_4 : Algebra A Aₚ] (x : R) [IsLocalization.Away ((algebraMap R A) x) Aₚ],
  IsLocalization (Algebra.algebraMapSubmonoid A (Submonoid.powers x)) Aₚ

def IsLocalization.Away.mapₐ E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {A : Type u_5} →
      [inst_1 : CommSemiring A] →
        [inst_2 : Algebra R A] →
          {B : Type u_6} →
            [inst_3 : CommSemiring B] →
              [inst_4 : Algebra R B] →
                (Aₚ : Type u_7) →
                  [inst_5 : CommSemiring Aₚ] →
                    [inst_6 : Algebra A Aₚ] →
                      [inst_7 : Algebra R Aₚ] →
                        [IsScalarTower R A Aₚ] →
                          (Bₚ : Type u_8) →
                            [inst_9 : CommSemiring Bₚ] →
                              [inst_10 : Algebra B Bₚ] →
                                [inst_11 : Algebra R Bₚ] →
                                  [IsScalarTower R B Bₚ] →
                                    (f : A →ₐ[R] B) →
                                      (a : A) →
                                        [IsLocalization.Away a Aₚ] → [IsLocalization.Away (f a) Bₚ] → Aₚ →ₐ[R] Bₚ

Given an algebra map f : A →ₐ[R] B and an element a : A, we may construct a map Aₐ →ₐ[R] Bₐ.

theorem IsLocalization.Away.mapₐ_apply E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_5} [inst_1 : CommSemiring A] [inst_2 : Algebra R A] {B : Type u_6}
  [inst_3 : CommSemiring B] [inst_4 : Algebra R B] (Aₚ : Type u_7) [inst_5 : CommSemiring Aₚ] [inst_6 : Algebra A Aₚ]
  [inst_7 : Algebra R Aₚ] [inst_8 : IsScalarTower R A Aₚ] (Bₚ : Type u_8) [inst_9 : CommSemiring Bₚ]
  [inst_10 : Algebra B Bₚ] [inst_11 : Algebra R Bₚ] [inst_12 : IsScalarTower R B Bₚ] (f : A →ₐ[R] B) (a : A)
  [inst_13 : IsLocalization.Away a Aₚ] [inst_14 : IsLocalization.Away (f a) Bₚ] (x : Aₚ),
  (IsLocalization.Away.mapₐ Aₚ Bₚ f a) x = (IsLocalization.Away.map Aₚ Bₚ f.toRingHom a) x

theorem IsLocalization.Away.mapₐ_injective_of_injective E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_5} [inst_1 : CommSemiring A] [inst_2 : Algebra R A] {B : Type u_6}
  [inst_3 : CommSemiring B] [inst_4 : Algebra R B] {Aₚ : Type u_7} [inst_5 : CommSemiring Aₚ] [inst_6 : Algebra A Aₚ]
  [inst_7 : Algebra R Aₚ] [inst_8 : IsScalarTower R A Aₚ] {Bₚ : Type u_8} [inst_9 : CommSemiring Bₚ]
  [inst_10 : Algebra B Bₚ] [inst_11 : Algebra R Bₚ] [inst_12 : IsScalarTower R B Bₚ] {f : A →ₐ[R] B} (a : A)
  [inst_13 : IsLocalization.Away a Aₚ] [inst_14 : IsLocalization.Away (f a) Bₚ],
  Function.Injective ⇑f → Function.Injective ⇑(IsLocalization.Away.mapₐ Aₚ Bₚ f a)

theorem IsLocalization.Away.mapₐ_surjective_of_surjective E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_5} [inst_1 : CommSemiring A] [inst_2 : Algebra R A] {B : Type u_6}
  [inst_3 : CommSemiring B] [inst_4 : Algebra R B] {Aₚ : Type u_7} [inst_5 : CommSemiring Aₚ] [inst_6 : Algebra A Aₚ]
  [inst_7 : Algebra R Aₚ] [inst_8 : IsScalarTower R A Aₚ] {Bₚ : Type u_8} [inst_9 : CommSemiring Bₚ]
  [inst_10 : Algebra B Bₚ] [inst_11 : Algebra R Bₚ] [inst_12 : IsScalarTower R B Bₚ] {f : A →ₐ[R] B} (a : A)
  [inst_13 : IsLocalization.Away a Aₚ] [inst_14 : IsLocalization.Away (f a) Bₚ],
  Function.Surjective ⇑f → Function.Surjective ⇑(IsLocalization.Away.mapₐ Aₚ Bₚ f a)

theorem IsLocalization.Away.mul E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (T : Type u_5)
  [inst_3 : CommSemiring T] [inst_4 : Algebra S T] [inst_5 : Algebra R T] [IsScalarTower R S T] (x y : R)
  [IsLocalization.Away x S] [IsLocalization.Away ((algebraMap R S) y) T], IsLocalization.Away (y * x) T

Localizing the localization of R at x at the image of y is the same as localizing R at y * x. See IsLocalization.Away.mul' for the x * y version.

theorem IsLocalization.Away.mul' E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (T : Type u_5)
  [inst_3 : CommSemiring T] [inst_4 : Algebra S T] [inst_5 : Algebra R T] [IsScalarTower R S T] (x y : R)
  [IsLocalization.Away x S] [IsLocalization.Away ((algebraMap R S) y) T], IsLocalization.Away (x * y) T

Localizing the localization of R at x at the image of y is the same as localizing R at x * y. See IsLocalization.Away.mul for the y * x version.

instance IsLocalization.Away.instHMulAwayCoeRingHomAlgebraMap E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x y : R)
  [IsLocalization.Away x S], IsLocalization.Away (y * x) (Localization.Away ((algebraMap R S) y))

Localizing the localization of R at x at the image of y is the same as localizing R at y * x.

instance IsLocalization.Away.instHMulAwayCoeRingHomAlgebraMap_1 E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x y : R)
  [IsLocalization.Away x S], IsLocalization.Away (x * y) (Localization.Away ((algebraMap R S) y))

Localizing the localization of R at x at the image of y is the same as localizing R at x * y.

theorem IsLocalization.Away.commutes E1 #

∀ {R : Type u_5} [inst : CommSemiring R] (S₁ : Type u_6) (S₂ : Type u_7) (T : Type u_8) [inst_1 : CommSemiring S₁]
  [inst_2 : CommSemiring S₂] [inst_3 : CommSemiring T] [inst_4 : Algebra R S₁] [inst_5 : Algebra R S₂]
  [inst_6 : Algebra R T] [inst_7 : Algebra S₁ T] [inst_8 : Algebra S₂ T] [IsScalarTower R S₁ T] [IsScalarTower R S₂ T]
  (x y : R) [IsLocalization.Away x S₁] [IsLocalization.Away y S₂] [IsLocalization.Away ((algebraMap R S₂) x) T],
  IsLocalization.Away ((algebraMap R S₁) y) T

If S₁ is the localization of R away from f and S₂ is the localization away from g, then any localization T of S₂ away from f is also a localization of S₁ away from g.

theorem IsLocalization.Away.isDomain E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (S : Type u_2) [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [IsDomain R]
  {x : R}, x ≠ 0 → ∀ [IsLocalization.Away x S], IsDomain S

def IsLocalization.atUnit E1 #

(R : Type u_1) →
  [inst : CommSemiring R] →
    (S : Type u_2) →
      [inst_1 : CommSemiring S] → [inst_2 : Algebra R S] → (x : R) → IsUnit x → [IsLocalization.Away x S] → R ≃ₐ[R] S

The localization away from a unit is isomorphic to the ring.

def IsLocalization.atOne E1 #

(R : Type u_1) →
  [inst : CommSemiring R] →
    (S : Type u_2) → [inst_1 : CommSemiring S] → [inst_2 : Algebra R S] → [IsLocalization.Away 1 S] → R ≃ₐ[R] S

The localization at one is isomorphic to the ring.

theorem IsLocalization.away_of_isUnit_of_bijective E1 #

∀ {R : Type u_4} (S : Type u_5) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {r : R},
  IsUnit r → Function.Bijective ⇑(algebraMap R S) → IsLocalization.Away r S

theorem IsLocalization.Away.mul_of_isUnit E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x y : R)
  [IsLocalization.Away x S], IsUnit ((algebraMap R S) y) → IsLocalization.Away (x * y) S

theorem IsLocalization.Away.mul_of_isUnit' E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x y : R)
  [IsLocalization.Away y S], IsUnit ((algebraMap R S) x) → IsLocalization.Away (x * y) S

theorem IsLocalization.Away.mul_of_associated E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (x z : R)
  (y : S) [IsLocalization.Away x S] {T : Type u_4} [inst_4 : CommRing T] [inst_5 : Algebra S T] [inst_6 : Algebra R T]
  [IsScalarTower R S T] [IsLocalization.Away y T], Associated ((algebraMap R S) z) y → IsLocalization.Away (x * z) T

theorem IsLocalization.Away.algebraMap_surjective_of_isIdempotentElem E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] (e : R),
  IsIdempotentElem e → ∀ [IsLocalization.Away e S], Function.Surjective ⇑(algebraMap R S)

theorem IsLocalization.away_of_isIdempotentElem_of_mul E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] [inst_2 : Algebra R S] {e : R},
  IsIdempotentElem e →
    (∀ (x y : R), (algebraMap R S) x = (algebraMap R S) y ↔ e * x = e * y) →
      Function.Surjective ⇑(algebraMap R S) → IsLocalization.Away e S

theorem IsLocalization.away_of_isIdempotentElem E1 #

∀ {R : Type u_4} {S : Type u_5} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] {e : R},
  IsIdempotentElem e →
    RingHom.ker (algebraMap R S) = Ideal.span {1 - e} → Function.Surjective ⇑(algebraMap R S) → IsLocalization.Away e S

instance IsLocalization.away_fst E0 #

∀ {R : Type u_4} {S : Type u_5} [inst : CommSemiring R] [inst_1 : CommSemiring S], IsLocalization.Away (1, 0) R

instance IsLocalization.away_snd E0 #

∀ {R : Type u_4} {S : Type u_5} [inst : CommSemiring R] [inst_1 : CommSemiring S], IsLocalization.Away (0, 1) S

theorem IsLocalization.Away.of_surjective E1 #

∀ {S : Type u_4} {T : Type u_5} [inst : CommRing S] [inst_1 : CommRing T] [inst_2 : Algebra S T],
  Function.Surjective ⇑(algebraMap S T) →
    ∀ {r : S},
      IsUnit ((algebraMap S T) r) → ∀ (n : ℕ), r ^ n • RingHom.ker (algebraMap S T) ≤ ⊥ → IsLocalization.Away r T

Suppose I is an ideal of R, then R / I is the localization away from r : R if r - 1 ∈ I and for some n, r ^ n • I = ⊥. For sake of usability, we state this for surjective ring maps instead of ideals. For a version with two ideals, see Away.of_sub_one_mem_ker'.

theorem IsLocalization.Away.of_surjective_of_isScalarTower E1 #

∀ {S : Type u_4} {T : Type u_5} [inst : CommRing S] [inst_1 : CommRing T] [inst_2 : Algebra S T] {R : Type u_6}
  [inst_3 : CommRing R] [inst_4 : Algebra R S] [inst_5 : Algebra R T] [IsScalarTower R S T],
  Function.Surjective ⇑(algebraMap S T) →
    Function.Surjective ⇑(algebraMap R S) →
      ∀ (r : R),
        IsUnit ((algebraMap R T) r) →
          ∀ {n : ℕ},
            r ^ n • RingHom.ker (algebraMap R T) ≤ RingHom.ker (algebraMap R S) →
              IsLocalization.Away ((algebraMap R S) r) T

Suppose J ≤ I are ideals of R, then R / I is the localization away from r : R / J if r - 1 ∈ I and for some n, r ^ n • I ≤ J. For sake of usability, we state this for surjective ring maps instead of ideals.

abbrev Localization.awayLift E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {P : Type u_3} → [inst_1 : CommSemiring P] → (f : R →+* P) → (r : R) → IsUnit (f r) → Localization.Away r →+* P

Given a map f : R →+* S and an element r : R, such that f r is invertible, we may construct a map Rᵣ →+* S.

theorem Localization.awayLift_mk E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {A : Type u_4} [inst_1 : CommSemiring A] (f : R →+* A) (r a : R) (v : A)
  (hv : f r * v = 1) (j : ℕ), (Localization.awayLift f r ⋯) (Localization.mk a ⟨r ^ j, ⋯⟩) = f a * v ^ j

abbrev Localization.awayMap E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {P : Type u_3} →
      [inst_1 : CommSemiring P] → (f : R →+* P) → (r : R) → Localization.Away r →+* Localization.Away (f r)

Given a map f : R →+* S and an element r : R, we may construct a map Rᵣ →+* Sᵣ.

theorem Localization.awayMap_injective_iff E0 #

∀ {S : Type u_2} [inst : CommSemiring S] {R : Type u_4} [inst_1 : CommRing R] {f : R →+* S} {r : R},
  Function.Injective ⇑(Localization.awayMap f r) ↔ ∀ (a : R), f a = 0 → ∃ n, r ^ n * a = 0

theorem Localization.awayMap_surjective_iff E0 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] {f : R →+* S} {r : R},
  Function.Surjective ⇑(Localization.awayMap f r) ↔ ∀ (a : S), ∃ b m, f b = f r ^ m * a

theorem Localization.awayMap_injective_of_dvd E1 #

∀ {S : Type u_2} [inst : CommSemiring S] {R : Type u_4} [inst_1 : CommRing R] (f : R →+* S) {a b : R},
  a ∣ b → Function.Injective ⇑(Localization.awayMap f a) → Function.Injective ⇑(Localization.awayMap f b)

theorem Localization.awayMap_surjective_of_dvd E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] (f : R →+* S) {a b : R},
  a ∣ b → Function.Surjective ⇑(Localization.awayMap f a) → Function.Surjective ⇑(Localization.awayMap f b)

theorem Localization.awayMap_bijective_of_dvd E1 #

∀ {S : Type u_2} [inst : CommSemiring S] {R : Type u_4} [inst_1 : CommRing R] (f : R →+* S) {a b : R},
  a ∣ b → Function.Bijective ⇑(Localization.awayMap f a) → Function.Bijective ⇑(Localization.awayMap f b)

theorem Localization.awayMap_awayMap_surjective E1 #

∀ {R : Type u_1} [inst : CommSemiring R] {S : Type u_2} [inst_1 : CommSemiring S] (f : R →+* S) (a b : R),
  Function.Surjective ⇑(Localization.awayMap f (a * b)) →
    Function.Surjective ⇑(Localization.awayMap (Localization.awayMap f a) ((algebraMap R (Localization.Away a)) b))

abbrev Localization.awayMapₐ E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    {A : Type u_4} →
      [inst_1 : CommSemiring A] →
        [inst_2 : Algebra R A] →
          {B : Type u_5} →
            [inst_3 : CommSemiring B] →
              [inst_4 : Algebra R B] → (f : A →ₐ[R] B) → (a : A) → Localization.Away a →ₐ[R] Localization.Away (f a)

Given a map f : A →ₐ[R] B and an element a : A, we may construct a map Aₐ →ₐ[R] Bₐ.

theorem Localization.algebraMap_injective_of_span_eq_top E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (s : Set R),
  Ideal.span s = ⊤ → Function.Injective ⇑(algebraMap R ((a : ↑s) → Localization.Away ↑a))

theorem Localization.existsUnique_algebraMap_eq_of_span_eq_top E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (s : Set R),
  Ideal.span s = ⊤ →
    ∀ (f : (a : ↑s) → Localization.Away ↑a),
      (∀ (a b : ↑s),
          (IsLocalization.Away.awayToAwayRight ↑a ↑b) (f a) = (IsLocalization.Away.awayToAwayLeft ↑b ↑a) (f b)) →
        ∃! r, ∀ (a : ↑s), (algebraMap R (Localization.Away ↑a)) r = f a

The sheaf condition for the structure sheaf on Spec R for a covering of the whole prime spectrum by basic opens.

theorem Localization.Away.isDomain E1 #

∀ {R : Type u_1} [inst : CommSemiring R] [IsDomain R] {x : R}, x ≠ 0 → IsDomain (Localization.Away x)

If x ≠ 0, then the localization of a domain away from x is again a domain.

def selfZPow E1 #

{R : Type u_1} →
  [inst : CommSemiring R] →
    (x : R) → (B : Type u_2) → [inst_1 : CommSemiring B] → [inst_2 : Algebra R B] → [IsLocalization.Away x B] → ℤ → B

selfZPow x (m : ℤ) is x ^ m as an element of the localization away from x.

theorem selfZPow_of_nonneg E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] {n : ℤ}, 0 ≤ n → selfZPow x B n = (algebraMap R B) x ^ n.natAbs

theorem selfZPow_natCast E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] (d : ℕ), selfZPow x B ↑d = (algebraMap R B) x ^ d

theorem selfZPow_zero E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B], selfZPow x B 0 = 1

theorem selfZPow_of_neg E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] {n : ℤ}, n < 0 → selfZPow x B n = IsLocalization.mk' B 1 (Submonoid.pow x n.natAbs)

theorem selfZPow_of_nonpos E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] {n : ℤ}, n ≤ 0 → selfZPow x B n = IsLocalization.mk' B 1 (Submonoid.pow x n.natAbs)

theorem selfZPow_neg_natCast E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] (d : ℕ), selfZPow x B (-↑d) = IsLocalization.mk' B 1 (Submonoid.pow x d)

theorem selfZPow_sub_natCast E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] {n m : ℕ},
  selfZPow x B (↑n - ↑m) = IsLocalization.mk' B (x ^ n) (Submonoid.pow x m)

theorem selfZPow_add E0 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] {n m : ℤ}, selfZPow x B (n + m) = selfZPow x B n * selfZPow x B m

theorem selfZPow_mul_neg E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] (d : ℤ), selfZPow x B d * selfZPow x B (-d) = 1

theorem selfZPow_neg_mul E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] (d : ℤ), selfZPow x B (-d) * selfZPow x B d = 1

theorem selfZPow_pow_sub E1 #

∀ {R : Type u_1} [inst : CommSemiring R] (x : R) (B : Type u_2) [inst_1 : CommSemiring B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] (a : R) (b : B) (m d : ℤ),
  selfZPow x B (m - d) * IsLocalization.mk' B a 1 = b ↔ selfZPow x B m * IsLocalization.mk' B a 1 = selfZPow x B d * b

theorem exists_reduced_fraction' E1 #

∀ {R : Type u_3} [inst : CommRing R] (x : R) (B : Type u_4) [inst_1 : CommRing B] [inst_2 : Algebra R B]
  [inst_3 : IsLocalization.Away x B] [IsDomain R] [WfDvdMonoid R] {b : B},
  b ≠ 0 → Irreducible x → ∃ a n, ¬x ∣ a ∧ selfZPow x B n * (algebraMap R B) a = b