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.FractionRing

110 declarations. Mathlib docs · Source

Fraction ring / fraction field Frac(R) as localization

Main definitions

  • IsFractionRing R K expresses that K is a field of fractions of R, as an abbreviation of IsLocalization (NonZeroDivisors R) K

Main results

  • IsFractionRing.field: a definition (not an instance) stating the localization of an integral domain R at R \ {0} is a field
  • Rat.isFractionRing is an instance stating ℚ is the field of fractions of ℤ

Implementation notes

See Mathlib/RingTheory/Localization/Basic.lean for a design overview.

Tags

localization, ring localization, commutative ring localization, characteristic predicate, commutative ring, field of fractions

theorem IsFractionRing.lift.congr_simp E1 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] {L : Type u_7} [inst_2 : Field L]
  [inst_3 : Algebra A K] [inst_4 : IsFractionRing A K] {g g_1 : A →+* L} (e_g : g = g_1) (hg : Function.Injective ⇑g),
  IsFractionRing.lift hg = IsFractionRing.lift ⋯

theorem IsFractionRing.fieldEquivOfAlgEquiv.congr_simp E1 #

∀ {A : Type u_8} {B : Type u_9} {C : Type u_10} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : CommRing C]
  [inst_3 : Algebra A B] [inst_4 : Algebra A C] (FA : Type u_12) (FB : Type u_13) (FC : Type u_14) [inst_5 : Field FA]
  [inst_6 : Field FB] [inst_7 : Field FC] [inst_8 : Algebra A FA] [inst_9 : Algebra B FB] [inst_10 : Algebra C FC]
  [inst_11 : IsFractionRing A FA] [inst_12 : IsFractionRing B FB] [inst_13 : IsFractionRing C FC]
  [inst_14 : Algebra A FB] [inst_15 : IsScalarTower A B FB] [inst_16 : Algebra A FC] [inst_17 : IsScalarTower A C FC]
  [inst_18 : Algebra FA FB] [inst_19 : IsScalarTower A FA FB] [inst_20 : Algebra FA FC]
  [inst_21 : IsScalarTower A FA FC] (f f_1 : B ≃ₐ[A] C),
  f = f_1 → IsFractionRing.fieldEquivOfAlgEquiv FA FB FC f = IsFractionRing.fieldEquivOfAlgEquiv FA FB FC f_1

theorem IsFractionRing.semilinearEquivOfRingEquiv.congr_simp E1 #

∀ {A : Type u_8} {B : Type u_9} (K : Type u_10) (L : Type u_11) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing K] [inst_3 : CommRing L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K]
  [inst_6 : Algebra B L] [inst_7 : IsFractionRing B L] (f : A ≃+* B),
  IsFractionRing.semilinearEquivOfRingEquiv K L f = IsFractionRing.semilinearEquivOfRingEquiv K L f

theorem IsFractionRing.fieldEquivOfAlgEquivHom.congr_simp E1 #

∀ {A : Type u_8} {B : Type u_9} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] (K : Type u_10)
  (L : Type u_11) [inst_3 : Field K] [inst_4 : Field L] [inst_5 : Algebra A K] [inst_6 : Algebra B L]
  [inst_7 : IsFractionRing A K] [inst_8 : IsFractionRing B L] [inst_9 : Algebra A L] [inst_10 : IsScalarTower A B L]
  [inst_11 : Algebra K L] [inst_12 : IsScalarTower A K L],
  IsFractionRing.fieldEquivOfAlgEquivHom K L = IsFractionRing.fieldEquivOfAlgEquivHom K L

theorem IsFractionRing.ringEquivOfRingEquiv.congr_simp E1 #

∀ {A : Type u_8} {K : Type u_9} {B : Type u_10} {L : Type u_11} [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing K] [inst_3 : CommRing L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K]
  [inst_6 : Algebra B L] [inst_7 : IsFractionRing B L] (h h_1 : A ≃+* B),
  h = h_1 → IsFractionRing.ringEquivOfRingEquiv h = IsFractionRing.ringEquivOfRingEquiv h_1

theorem Submonoid.pos.congr_simp E1 #

∀ (α : Type u_1) [inst : MulZeroOneClass α] [inst_1 : PartialOrder α] [inst_2 : PosMulStrictMono α]
  [inst_3 : ZeroLEOneClass α] [inst_4 : NeZero 1], Submonoid.pos α = Submonoid.pos α

theorem IsFractionRing.ringEquivOfRingEquivHom.congr_simp E1 #

∀ (A : Type u_8) (K : Type u_9) [inst : CommRing A] [inst_1 : CommRing K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K], IsFractionRing.ringEquivOfRingEquivHom A K = IsFractionRing.ringEquivOfRingEquivHom A K

abbrev IsFractionRing E3 #

(R : Type u_6) → [inst : CommSemiring R] → (K : Type u_7) → [inst_1 : CommSemiring K] → [Algebra R K] → Prop

IsFractionRing R K states K is the ring of fractions of a commutative ring R.

instance instIsFractionRing E0 #

∀ {R : Type u_6} [inst : Field R], IsFractionRing R R

theorem IsFractionRing.of_algEquiv E1 #

∀ {R : Type u_6} [inst : CommSemiring R] {K : Type u_7} {L : Type u_8} [inst_1 : CommSemiring K] [inst_2 : Algebra R K]
  [inst_3 : CommSemiring L] [inst_4 : Algebra R L] [h : IsFractionRing R K] (e : K ≃ₐ[R] L), IsFractionRing R L

instance Rat.isFractionRing E3 #

IsFractionRing ℤ ℚ

The cast from Int to Rat as a FractionRing.

instance instIsLocalizationIntPosRat E0 #

IsLocalization (Submonoid.pos ℤ) ℚ

As a corollary, Rat is also a localization at only positive integers.

instance NNRat.isFractionRing E0 #

IsFractionRing ℕ ℚ≥0

NNRat is the ring of fractions of Nat.

theorem IsFractionRing.of_field E1 #

∀ (R : Type u_1) [inst : CommRing R] (K : Type u_5) [inst_1 : Field K] [inst_2 : Algebra R K] [FaithfulSMul R K],
  (∀ (z : K), ∃ x y, z = (algebraMap R K) x / (algebraMap R K) y) → IsFractionRing R K

theorem IsFractionRing.of_semifield_isLocalization E1 #

∀ {R : Type u_6} [inst : CommSemiring R] [NoZeroDivisors R] (S : Submonoid R) (K : Type u_7) [inst_2 : Semifield K]
  [inst_3 : Algebra R K] [IsLocalization S K], IsFractionRing R K

theorem IsFractionRing.of_ringEquiv_left E1 #

∀ {R : Type u_6} [inst : CommSemiring R] {S : Type u_7} [inst_1 : CommSemiring S] {K : Type u_8}
  [inst_2 : CommSemiring K] [inst_3 : Algebra R K] (e : R ≃+* S) [inst_4 : Algebra S K],
  (∀ (x : R), (algebraMap R K) x = (algebraMap S K) (e x)) → ∀ [IsFractionRing S K], IsFractionRing R K

theorem IsFractionRing.to_map_eq_zero_iff E0 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_5} [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K]
  {x : R}, (algebraMap R K) x = 0 ↔ x = 0

theorem IsFractionRing.injective E1 #

∀ (R : Type u_1) [inst : CommRing R] (K : Type u_5) [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K],
  Function.Injective ⇑(algebraMap R K)

theorem IsFractionRing.nonZeroDivisors_eq_isUnit E1 #

∀ (R : Type u_1) [inst : CommRing R] (K : Type u_5) [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K],
  nonZeroDivisors K = IsUnit.submonoid K

def IsFractionRing.algEquiv E3 #

(R : Type u_1) →
  [inst : CommRing R] →
    (K : Type u_5) →
      [inst_1 : CommRing K] →
        [inst_2 : Algebra R K] →
          [IsFractionRing R K] →
            (L : Type u_6) → [inst : CommRing L] → [inst_3 : Algebra K L] → [IsFractionRing K L] → K ≃ₐ[K] L

If L is a fraction ring of K which is a fraction ring of R, the K-algebra homomorphism from K to L is an isomorphism.

theorem IsFractionRing.idem E1 #

∀ (R : Type u_1) [inst : CommRing R] (K : Type u_5) [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K],
  IsFractionRing K K

theorem IsFractionRing.trans E1 #

∀ (R : Type u_1) [inst : CommRing R] (K : Type u_5) [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K]
  (L : Type u_6) [inst_4 : CommRing L] [inst_5 : Algebra K L] [IsFractionRing K L] [inst_7 : Algebra R L]
  [IsScalarTower R K L], IsFractionRing R L

Taking fraction ring is idempotent: a fraction ring of a fraction ring of R is itself a fraction ring of R.

instance IsFractionRing.instFaithfulSMul E0 #

∀ (R : Type u_1) [inst : CommRing R] (K : Type u_5) [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K],
  FaithfulSMul R K

theorem IsFractionRing.self_iff_nonZeroDivisors_eq_isUnit E1 #

∀ {R : Type u_1} [inst : CommRing R], IsFractionRing R R ↔ nonZeroDivisors R = IsUnit.submonoid R

theorem IsFractionRing.self_iff_nonZeroDivisors_le_isUnit E1 #

∀ {R : Type u_1} [inst : CommRing R], IsFractionRing R R ↔ nonZeroDivisors R ≤ IsUnit.submonoid R

theorem IsFractionRing.self_iff_bijective E1 #

∀ {R : Type u_1} [inst : CommRing R] (K : Type u_5) [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K],
  IsFractionRing R R ↔ Function.Bijective ⇑(algebraMap R K)

theorem IsFractionRing.self_iff_surjective E1 #

∀ {R : Type u_1} [inst : CommRing R] (K : Type u_5) [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K],
  IsFractionRing R R ↔ Function.Surjective ⇑(algebraMap R K)

theorem IsFractionRing.coe_inj E0 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_5} [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K]
  {a b : R}, ↑a = ↑b ↔ a = b

theorem IsFractionRing.to_map_ne_zero_of_mem_nonZeroDivisors E1 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_5} [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [Nontrivial R] {x : R}, x ∈ nonZeroDivisors R → (algebraMap R K) x ≠ 0

theorem IsFractionRing.isDomain E1 #

∀ (A : Type u_4) [inst : CommRing A] {K : Type u_5} [inst_1 : CommRing K] [inst_2 : Algebra A K] [IsFractionRing A K]
  [IsDomain A], IsDomain K

A CommRing K which is the localization of an integral domain R at R - {0} is an integral domain.

def IsFractionRing.inv E1 #

(A : Type u_4) →
  [inst : CommRing A] →
    {K : Type u_5} → [inst_1 : CommRing K] → [inst_2 : Algebra A K] → [IsFractionRing A K] → [IsDomain A] → K → K

The inverse of an element in the field of fractions of an integral domain.

theorem IsFractionRing.mul_inv_cancel E1 #

∀ (A : Type u_4) [inst : CommRing A] {K : Type u_5} [inst_1 : CommRing K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K] [inst_4 : IsDomain A] (x : K), x ≠ 0 → x * IsFractionRing.inv A x = 1

abbrev IsFractionRing.toField E1 #

(A : Type u_4) →
  [inst : CommRing A] →
    {K : Type u_5} → [inst_1 : CommRing K] → [inst_2 : Algebra A K] → [IsFractionRing A K] → [IsDomain A] → Field K

A CommRing K which is the localization of an integral domain R at R - {0} is a field. See note [reducible non-instances].

theorem IsFractionRing.surjective_iff_isField E1 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_5} [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K]
  [IsDomain R], Function.Surjective ⇑(algebraMap R K) ↔ IsField R

theorem IsFractionRing.isDomain_iff_isField E1 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_5} [inst_1 : CommRing K] [inst_2 : Algebra R K] [IsFractionRing R K],
  IsDomain R ↔ IsField K

The ring R is an integral domain iff its fraction ring K is a field.

theorem IsFractionRing.mk'_mk_eq_div E1 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K] {r s : A} (hs : s ∈ nonZeroDivisors A),
  IsLocalization.mk' K r ⟨s, hs⟩ = (algebraMap A K) r / (algebraMap A K) s

theorem IsFractionRing.mk'_eq_div E0 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K] {r : A} (s : ↥(nonZeroDivisors A)),
  IsLocalization.mk' K r s = (algebraMap A K) r / (algebraMap A K) ↑s

theorem IsFractionRing.div_surjective E1 #

∀ (A : Type u_4) [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] [inst_2 : Algebra A K] [IsFractionRing A K]
  (z : K), ∃ x, ∃ y ∈ nonZeroDivisors A, (algebraMap A K) x / (algebraMap A K) y = z

theorem IsFractionRing.isUnit_map_of_injective E1 #

∀ {A : Type u_4} [inst : CommRing A] {L : Type u_7} [inst_1 : Field L] {g : A →+* L},
  Function.Injective ⇑g → ∀ (y : ↥(nonZeroDivisors A)), IsUnit (g ↑y)

theorem IsFractionRing.mk'_eq_zero_iff_eq_zero E1 #

∀ {R : Type u_1} [inst : CommRing R] {K : Type u_5} [inst_1 : Field K] [inst_2 : Algebra R K]
  [inst_3 : IsFractionRing R K] {x : R} {y : ↥(nonZeroDivisors R)}, IsLocalization.mk' K x y = 0 ↔ x = 0

theorem IsFractionRing.mk'_eq_one_iff_eq E0 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K] {x : A} {y : ↥(nonZeroDivisors A)}, IsLocalization.mk' K x y = 1 ↔ x = ↑y

theorem IsFractionRing.of_algHom E1 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] {L : Type u_7} [inst_2 : Field L]
  [inst_3 : Algebra A K] [IsFractionRing A K] [inst_5 : Algebra A L] (f : L →ₐ[A] K), IsFractionRing A L

theorem IsFractionRing.algHom_commutes E1 #

∀ {A : Type u_4} [inst : CommRing A] {B : Type u_6} [inst_1 : CommRing B] [inst_2 : Algebra A B] {K₁ : Type u_8}
  {K₂ : Type u_9} [inst_3 : Field K₁] [inst_4 : Field K₂] [inst_5 : Algebra A K₁] [inst_6 : Algebra A K₂]
  [IsFractionRing A K₁] {L₁ : Type u_10} {L₂ : Type u_11} [inst_8 : Field L₁] [inst_9 : Field L₂]
  [inst_10 : Algebra B L₁] [inst_11 : Algebra B L₂] [inst_12 : Algebra K₁ L₁] [inst_13 : Algebra K₂ L₂]
  [inst_14 : Algebra A L₁] [inst_15 : Algebra A L₂] [IsScalarTower A K₁ L₁] [IsScalarTower A K₂ L₂]
  [IsScalarTower A B L₁] [IsScalarTower A B L₂] (e : K₁ →ₐ[A] K₂) (f : L₁ →ₐ[B] L₂) (x : K₁),
  (algebraMap K₂ L₂) (e x) = f ((algebraMap K₁ L₁) x)

theorem IsFractionRing.algEquiv_commutes E1 #

∀ {A : Type u_4} [inst : CommRing A] {B : Type u_6} [inst_1 : CommRing B] [inst_2 : Algebra A B] {K₁ : Type u_8}
  {K₂ : Type u_9} [inst_3 : Field K₁] [inst_4 : Field K₂] [inst_5 : Algebra A K₁] [inst_6 : Algebra A K₂]
  [IsFractionRing A K₁] {L₁ : Type u_10} {L₂ : Type u_11} [inst_8 : Field L₁] [inst_9 : Field L₂]
  [inst_10 : Algebra B L₁] [inst_11 : Algebra B L₂] [inst_12 : Algebra K₁ L₁] [inst_13 : Algebra K₂ L₂]
  [inst_14 : Algebra A L₁] [inst_15 : Algebra A L₂] [IsScalarTower A K₁ L₁] [IsScalarTower A K₂ L₂]
  [IsScalarTower A B L₁] [IsScalarTower A B L₂] (e : K₁ ≃ₐ[A] K₂) (f : L₁ ≃ₐ[B] L₂) (x : K₁),
  (algebraMap K₂ L₂) (e x) = f ((algebraMap K₁ L₁) x)

theorem IsFractionRing.closure_range_algebraMap E1 #

∀ (A : Type u_4) [inst : CommRing A] (K : Type u_5) [inst_1 : Field K] [inst_2 : Algebra A K] [IsFractionRing A K],
  Subfield.closure (Set.range ⇑(algebraMap A K)) = ⊤

If A is a commutative ring with fraction field K, then the subfield of K generated by the image of algebraMap A K is equal to the whole field K.

theorem IsFractionRing.ringHom_fieldRange_eq_of_comp_eq E0 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] [inst_2 : Algebra A K] [IsFractionRing A K]
  {L : Type u_8} [inst_4 : Field L] {g : A →+* L} {f : K →+* L},
  f.comp (algebraMap A K) = g → f.fieldRange = Subfield.closure ↑g.range

If A is a commutative ring with fraction field K, L is a field, g : A →+* L lifts to f : K →+* L, then the image of f is the subfield generated by the image of g.

theorem IsFractionRing.ringHom_fieldRange_eq_of_comp_eq_of_range_eq E0 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] [inst_2 : Algebra A K] [IsFractionRing A K]
  {L : Type u_8} [inst_4 : Field L] {g : A →+* L} {f : K →+* L},
  f.comp (algebraMap A K) = g → ∀ {s : Set L}, g.range = Subring.closure s → f.fieldRange = Subfield.closure s

If A is a commutative ring with fraction field K, L is a field, g : A →+* L lifts to f : K →+* L, s is a set such that the image of g is the subring generated by s, then the image of f is the subfield generated by s.

def IsFractionRing.lift E1 #

{A : Type u_4} →
  [inst : CommRing A] →
    {K : Type u_5} →
      [inst_1 : Field K] →
        {L : Type u_7} →
          [inst_2 : Field L] →
            [inst_3 : Algebra A K] → [IsFractionRing A K] → {g : A →+* L} → Function.Injective ⇑g → K →+* L

Given a commutative ring A with field of fractions K, and an injective ring hom g : A →+* L where L is a field, we get a field hom sending z : K to g x * (g y)⁻¹, where (x, y) : A × (NonZeroDivisors A) are such that z = f x * (f y)⁻¹.

theorem IsFractionRing.lift_unique E1 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] {L : Type u_7} [inst_2 : Field L]
  [inst_3 : Algebra A K] [inst_4 : IsFractionRing A K] {g : A →+* L} (hg : Function.Injective ⇑g) {f : K →+* L},
  (∀ (x : A), f ((algebraMap A K) x) = g x) → IsFractionRing.lift hg = f

theorem IsFractionRing.ringHom_ext E1 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] {L : Type u_7} [inst_2 : Field L]
  [inst_3 : Algebra A K] [IsFractionRing A K] {f1 f2 : K →+* L},
  (∀ (x : A), f1 ((algebraMap A K) x) = f2 ((algebraMap A K) x)) → f1 = f2

Another version of unique to give two lift maps should be equal

theorem IsFractionRing.injective_comp_algebraMap E1 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] {L : Type u_7} [inst_2 : Field L]
  [inst_3 : Algebra A K] [IsFractionRing A K], Function.Injective fun f ↦ f.comp (algebraMap A K)

def IsFractionRing.liftAlgHom E1 #

{R : Type u_1} →
  [inst : CommRing R] →
    {A : Type u_4} →
      [inst_1 : CommRing A] →
        {K : Type u_5} →
          [inst_2 : Field K] →
            {L : Type u_7} →
              [inst_3 : Field L] →
                [inst_4 : Algebra A K] →
                  [IsFractionRing A K] →
                    [inst_6 : Algebra R A] →
                      [inst_7 : Algebra R K] →
                        [IsScalarTower R A K] →
                          [inst_9 : Algebra R L] → {g : A →ₐ[R] L} → Function.Injective ⇑g → K →ₐ[R] L

AlgHom version of IsFractionRing.lift.

theorem IsFractionRing.liftAlgHom_toRingHom E1 #

∀ {R : Type u_1} [inst : CommRing R] {A : Type u_4} [inst_1 : CommRing A] {K : Type u_5} [inst_2 : Field K]
  {L : Type u_7} [inst_3 : Field L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K] [inst_6 : Algebra R A]
  [inst_7 : Algebra R K] [inst_8 : IsScalarTower R A K] [inst_9 : Algebra R L] {g : A →ₐ[R] L}
  (hg : Function.Injective ⇑g), (IsFractionRing.liftAlgHom hg).toRingHom = IsFractionRing.lift hg

theorem IsFractionRing.coe_liftAlgHom E0 #

∀ {R : Type u_1} [inst : CommRing R] {A : Type u_4} [inst_1 : CommRing A] {K : Type u_5} [inst_2 : Field K]
  {L : Type u_7} [inst_3 : Field L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K] [inst_6 : Algebra R A]
  [inst_7 : Algebra R K] [inst_8 : IsScalarTower R A K] [inst_9 : Algebra R L] {g : A →ₐ[R] L}
  (hg : Function.Injective ⇑g), ⇑(IsFractionRing.liftAlgHom hg) = ⇑(IsFractionRing.lift hg)

theorem IsFractionRing.liftAlgHom_apply E0 #

∀ {R : Type u_1} [inst : CommRing R] {A : Type u_4} [inst_1 : CommRing A] {K : Type u_5} [inst_2 : Field K]
  {L : Type u_7} [inst_3 : Field L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K] [inst_6 : Algebra R A]
  [inst_7 : Algebra R K] [inst_8 : IsScalarTower R A K] [inst_9 : Algebra R L] {g : A →ₐ[R] L}
  (hg : Function.Injective ⇑g) (x : K), (IsFractionRing.liftAlgHom hg) x = (IsFractionRing.lift hg) x

theorem IsFractionRing.lift_algebraMap E0 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] {L : Type u_7} [inst_2 : Field L]
  [inst_3 : Algebra A K] [inst_4 : IsFractionRing A K] {g : A →+* L} (hg : Function.Injective ⇑g) (x : A),
  (IsFractionRing.lift hg) ((algebraMap A K) x) = g x

Given a commutative ring A with field of fractions K, and an injective ring hom g : A →+* L where L is a field, the field hom induced from K to L maps x to g x for all x : A.

theorem IsFractionRing.lift_fieldRange E1 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] {L : Type u_7} [inst_2 : Field L]
  [inst_3 : Algebra A K] [inst_4 : IsFractionRing A K] {g : A →+* L} (hg : Function.Injective ⇑g),
  (IsFractionRing.lift hg).fieldRange = Subfield.closure ↑g.range

The image of IsFractionRing.lift is the subfield generated by the image of the ring hom.

theorem IsFractionRing.lift_fieldRange_eq_of_range_eq E0 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] {L : Type u_7} [inst_2 : Field L]
  [inst_3 : Algebra A K] [inst_4 : IsFractionRing A K] {g : A →+* L} (hg : Function.Injective ⇑g) {s : Set L},
  g.range = Subring.closure s → (IsFractionRing.lift hg).fieldRange = Subfield.closure s

The image of IsFractionRing.lift is the subfield generated by s, if the image of the ring hom is the subring generated by s.

theorem IsFractionRing.lift_mk' E1 #

∀ {A : Type u_4} [inst : CommRing A] {K : Type u_5} [inst_1 : Field K] {L : Type u_7} [inst_2 : Field L]
  [inst_3 : Algebra A K] [inst_4 : IsFractionRing A K] {g : A →+* L} (hg : Function.Injective ⇑g) (x : A)
  (y : ↥(nonZeroDivisors A)), (IsFractionRing.lift hg) (IsLocalization.mk' K x y) = g x / g ↑y

Given a commutative ring A with field of fractions K, and an injective ring hom g : A →+* L where L is a field, field hom induced from K to L maps f x / f y to g x / g y for all x : A, y ∈ NonZeroDivisors A.

def IsFractionRing.map E1 #

{A : Type u_8} →
  {B : Type u_9} →
    {K : Type u_10} →
      {L : Type u_11} →
        [inst : CommRing A] →
          [inst_1 : CommRing B] →
            [IsDomain B] →
              [inst_3 : CommRing K] →
                [inst_4 : Algebra A K] →
                  [IsFractionRing A K] →
                    [inst_6 : CommRing L] →
                      [inst_7 : Algebra B L] → [IsFractionRing B L] → {j : A →+* B} → Function.Injective ⇑j → K →+* L

Given commutative rings A, B where B is an integral domain, with fraction rings K, L and an injective ring hom j : A →+* B, we get a ring hom sending z : K to g (j x) * (g (j y))⁻¹, where (x, y) : A × (NonZeroDivisors A) are such that z = f x * (f y)⁻¹.

def IsFractionRing.ringEquivOfRingEquiv E1 #

{A : Type u_8} →
  {K : Type u_9} →
    {B : Type u_10} →
      {L : Type u_11} →
        [inst : CommRing A] →
          [inst_1 : CommRing B] →
            [inst_2 : CommRing K] →
              [inst_3 : CommRing L] →
                [inst_4 : Algebra A K] →
                  [IsFractionRing A K] → [inst_6 : Algebra B L] → [IsFractionRing B L] → A ≃+* B → K ≃+* L

Given rings A, B and localization maps to their fraction rings f : A →+* K, g : B →+* L, an isomorphism h : A ≃+* B induces an isomorphism of fraction rings K ≃+* L.

theorem IsFractionRing.ringEquivOfRingEquiv_apply E0 #

∀ {A : Type u_8} {K : Type u_9} {B : Type u_10} {L : Type u_11} [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing K] [inst_3 : CommRing L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K]
  [inst_6 : Algebra B L] [inst_7 : IsFractionRing B L] (h : A ≃+* B) (a : K),
  (IsFractionRing.ringEquivOfRingEquiv h) a = (IsLocalization.map L ↑h ⋯) a

theorem IsFractionRing.ringEquivOfRingEquiv_algebraMap E1 #

∀ {A : Type u_8} {K : Type u_9} {B : Type u_10} {L : Type u_11} [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing K] [inst_3 : CommRing L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K]
  [inst_6 : Algebra B L] [inst_7 : IsFractionRing B L] (h : A ≃+* B) (a : A),
  (IsFractionRing.ringEquivOfRingEquiv h) ((algebraMap A K) a) = (algebraMap B L) (h a)

theorem IsFractionRing.ringEquivOfRingEquiv_refl E0 #

∀ {A : Type u_8} {K : Type u_9} [inst : CommRing A] [inst_1 : CommRing K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K], IsFractionRing.ringEquivOfRingEquiv (RingEquiv.refl A) = RingEquiv.refl K

theorem IsFractionRing.ringEquivOfRingEquiv_symm E0 #

∀ {A : Type u_8} {K : Type u_9} {B : Type u_10} {L : Type u_11} [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing K] [inst_3 : CommRing L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K]
  [inst_6 : Algebra B L] [inst_7 : IsFractionRing B L] (h : A ≃+* B),
  (IsFractionRing.ringEquivOfRingEquiv h).symm = IsFractionRing.ringEquivOfRingEquiv h.symm

theorem IsFractionRing.ringEquivOfRingEquiv_comp E1 #

∀ {A : Type u_8} (K : Type u_9) {B : Type u_10} (L : Type u_11) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing K] [inst_3 : CommRing L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K]
  [inst_6 : Algebra B L] [inst_7 : IsFractionRing B L] {C : Type u_12} (M : Type u_13) [inst_8 : CommRing C]
  [inst_9 : CommRing M] [inst_10 : Algebra C M] [inst_11 : IsFractionRing C M] (f : A ≃+* B) (g : B ≃+* C),
  IsFractionRing.ringEquivOfRingEquiv (f.trans g) =
    (IsFractionRing.ringEquivOfRingEquiv f).trans (IsFractionRing.ringEquivOfRingEquiv g)

def IsFractionRing.ringEquivOfRingEquivHom E1 #

(A : Type u_8) →
  (K : Type u_9) →
    [inst : CommRing A] → [inst_1 : CommRing K] → [inst_2 : Algebra A K] → [IsFractionRing A K] → (A ≃+* A) →* K ≃+* K

A ring automorphism of a ring induces an ring automorphism of its fraction field.

This is a bundled version of ringEquivOfRingEquiv.

theorem IsFractionRing.ringEquivOfRingEquivHom_apply E0 #

∀ (A : Type u_8) (K : Type u_9) [inst : CommRing A] [inst_1 : CommRing K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K] (f : A ≃+* A),
  (IsFractionRing.ringEquivOfRingEquivHom A K) f = IsFractionRing.ringEquivOfRingEquiv f

theorem IsFractionRing.ringEquivOfRingEquivHom_injective E1 #

∀ (A : Type u_8) (K : Type u_9) [inst : CommRing A] [inst_1 : CommRing K] [inst_2 : Algebra A K]
  [inst_3 : IsFractionRing A K], Function.Injective ⇑(IsFractionRing.ringEquivOfRingEquivHom A K)

theorem IsFractionRing.instRingHomInvPairToRingHomRingEquivSymm E2 #

∀ {A : Type u_8} {B : Type u_9} [inst : CommRing A] [inst_1 : CommRing B] (f : A ≃+* B), RingHomInvPair ↑f ↑f.symm

def IsFractionRing.semilinearEquivOfRingEquiv E1 #

{A : Type u_8} →
  {B : Type u_9} →
    (K : Type u_10) →
      (L : Type u_11) →
        [inst : CommRing A] →
          [inst_1 : CommRing B] →
            [inst_2 : CommRing K] →
              [inst_3 : CommRing L] →
                [inst_4 : Algebra A K] →
                  [IsFractionRing A K] → [inst_6 : Algebra B L] → [IsFractionRing B L] → (f : A ≃+* B) → K ≃ₛₗ[↑f] L

Given rings A, B and localization maps to their fraction rings f : A →+* K, g : B →+* L, an isomorphism h : A ≃+* B induces a semilinear equivalence fraction rings K ≃ₛₗ[f.toRingHom] L.

theorem IsFractionRing.semilinearEquivOfRingEquiv_apply E0 #

∀ {A : Type u_8} {B : Type u_9} (K : Type u_10) (L : Type u_11) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing K] [inst_3 : CommRing L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K]
  [inst_6 : Algebra B L] [inst_7 : IsFractionRing B L] (f : A ≃+* B) (x : K),
  (IsFractionRing.semilinearEquivOfRingEquiv K L f) x = (IsFractionRing.ringEquivOfRingEquiv f) x

theorem IsFractionRing.semilinearEquivOfRingEquiv_algebraMap E0 #

∀ {A : Type u_8} {B : Type u_9} (K : Type u_10) (L : Type u_11) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing K] [inst_3 : CommRing L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K]
  [inst_6 : Algebra B L] [inst_7 : IsFractionRing B L] (f : A ≃+* B) (a : A),
  (IsFractionRing.semilinearEquivOfRingEquiv K L f) ((algebraMap A K) a) = (algebraMap B L) (f a)

theorem IsFractionRing.semilinearEquivOfRingEquiv_symm_apply E0 #

∀ {A : Type u_8} {B : Type u_9} (K : Type u_10) (L : Type u_11) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing K] [inst_3 : CommRing L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K]
  [inst_6 : Algebra B L] [inst_7 : IsFractionRing B L] (f : A ≃+* B) (x : L),
  (IsFractionRing.semilinearEquivOfRingEquiv K L f).symm x = (IsFractionRing.ringEquivOfRingEquiv f).symm x

theorem IsFractionRing.semilinearEquivOfRingEquiv_comp E1 #

∀ {A : Type u_8} {B : Type u_9} (K : Type u_10) (L : Type u_11) [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing K] [inst_3 : CommRing L] [inst_4 : Algebra A K] [inst_5 : IsFractionRing A K]
  [inst_6 : Algebra B L] [inst_7 : IsFractionRing B L] (f : A ≃+* B) {C : Type u_12} (M : Type u_13)
  [inst_8 : CommRing C] [inst_9 : CommRing M] [inst_10 : Algebra C M] [inst_11 : IsFractionRing C M] (g : B ≃+* C),
  have this := ⋯;
  have this_1 := ⋯;
  IsFractionRing.semilinearEquivOfRingEquiv K M (f.trans g) =
    (IsFractionRing.semilinearEquivOfRingEquiv K L f).trans (IsFractionRing.semilinearEquivOfRingEquiv L M g)

def IsFractionRing.algEquivOfAlgEquiv E1 #

{R : Type u_8} →
  {A : Type u_9} →
    {K : Type u_10} →
      {B : Type u_11} →
        {L : Type u_12} →
          [inst : CommSemiring R] →
            [inst_1 : CommRing A] →
              [inst_2 : CommRing B] →
                [inst_3 : CommRing K] →
                  [inst_4 : CommRing L] →
                    [inst_5 : Algebra R A] →
                      [inst_6 : Algebra R K] →
                        [inst_7 : Algebra A K] →
                          [IsFractionRing A K] →
                            [IsScalarTower R A K] →
                              [inst_10 : Algebra R B] →
                                [inst_11 : Algebra R L] →
                                  [inst_12 : Algebra B L] →
                                    [IsFractionRing B L] → [IsScalarTower R B L] → (A ≃ₐ[R] B) → K ≃ₐ[R] L

Given R-algebras A, B and localization maps to their fraction rings f : A →ₐ[R] K, g : B →ₐ[R] L, an isomorphism h : A ≃ₐ[R] B induces an isomorphism of fraction rings K ≃ₐ[R] L.

theorem IsFractionRing.algEquivOfAlgEquiv_algebraMap E0 #

∀ {R : Type u_8} {A : Type u_9} {K : Type u_10} {B : Type u_11} {L : Type u_12} [inst : CommSemiring R]
  [inst_1 : CommRing A] [inst_2 : CommRing B] [inst_3 : CommRing K] [inst_4 : CommRing L] [inst_5 : Algebra R A]
  [inst_6 : Algebra R K] [inst_7 : Algebra A K] [inst_8 : IsFractionRing A K] [inst_9 : IsScalarTower R A K]
  [inst_10 : Algebra R B] [inst_11 : Algebra R L] [inst_12 : Algebra B L] [inst_13 : IsFractionRing B L]
  [inst_14 : IsScalarTower R B L] (h : A ≃ₐ[R] B) (a : A),
  (IsFractionRing.algEquivOfAlgEquiv h) ((algebraMap A K) a) = (algebraMap B L) (h a)

theorem IsFractionRing.algEquivOfAlgEquiv_symm E0 #

∀ {R : Type u_8} {A : Type u_9} {K : Type u_10} {B : Type u_11} {L : Type u_12} [inst : CommSemiring R]
  [inst_1 : CommRing A] [inst_2 : CommRing B] [inst_3 : CommRing K] [inst_4 : CommRing L] [inst_5 : Algebra R A]
  [inst_6 : Algebra R K] [inst_7 : Algebra A K] [inst_8 : IsFractionRing A K] [inst_9 : IsScalarTower R A K]
  [inst_10 : Algebra R B] [inst_11 : Algebra R L] [inst_12 : Algebra B L] [inst_13 : IsFractionRing B L]
  [inst_14 : IsScalarTower R B L] (h : A ≃ₐ[R] B),
  (IsFractionRing.algEquivOfAlgEquiv h).symm = IsFractionRing.algEquivOfAlgEquiv h.symm

def IsFractionRing.fieldEquivOfAlgEquiv E1 #

{A : Type u_8} →
  {B : Type u_9} →
    {C : Type u_10} →
      [inst : CommRing A] →
        [inst_1 : CommRing B] →
          [inst_2 : CommRing C] →
            [inst_3 : Algebra A B] →
              [inst_4 : Algebra A C] →
                (FA : Type u_12) →
                  (FB : Type u_13) →
                    (FC : Type u_14) →
                      [inst_5 : Field FA] →
                        [inst_6 : Field FB] →
                          [inst_7 : Field FC] →
                            [inst_8 : Algebra A FA] →
                              [inst_9 : Algebra B FB] →
                                [inst_10 : Algebra C FC] →
                                  [IsFractionRing A FA] →
                                    [IsFractionRing B FB] →
                                      [IsFractionRing C FC] →
                                        [inst_14 : Algebra A FB] →
                                          [IsScalarTower A B FB] →
                                            [inst_16 : Algebra A FC] →
                                              [IsScalarTower A C FC] →
                                                [inst_18 : Algebra FA FB] →
                                                  [IsScalarTower A FA FB] →
                                                    [inst_20 : Algebra FA FC] →
                                                      [IsScalarTower A FA FC] → (B ≃ₐ[A] C) → FB ≃ₐ[FA] FC

An algebra isomorphism of rings induces an algebra isomorphism of fraction fields.

theorem IsFractionRing.restrictScalars_fieldEquivOfAlgEquiv E1 #

∀ {A : Type u_8} {B : Type u_9} {C : Type u_10} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : CommRing C]
  [inst_3 : Algebra A B] [inst_4 : Algebra A C] (FA : Type u_12) (FB : Type u_13) (FC : Type u_14) [inst_5 : Field FA]
  [inst_6 : Field FB] [inst_7 : Field FC] [inst_8 : Algebra A FA] [inst_9 : Algebra B FB] [inst_10 : Algebra C FC]
  [inst_11 : IsFractionRing A FA] [inst_12 : IsFractionRing B FB] [inst_13 : IsFractionRing C FC]
  [inst_14 : Algebra A FB] [inst_15 : IsScalarTower A B FB] [inst_16 : Algebra A FC] [inst_17 : IsScalarTower A C FC]
  [inst_18 : Algebra FA FB] [inst_19 : IsScalarTower A FA FB] [inst_20 : Algebra FA FC]
  [inst_21 : IsScalarTower A FA FC] (f : B ≃ₐ[A] C),
  AlgEquiv.restrictScalars A (IsFractionRing.fieldEquivOfAlgEquiv FA FB FC f) = IsFractionRing.algEquivOfAlgEquiv f

theorem IsFractionRing.fieldEquivOfAlgEquiv_algebraMap E0 #

∀ {A : Type u_8} {B : Type u_9} {C : Type u_10} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : CommRing C]
  [inst_3 : Algebra A B] [inst_4 : Algebra A C] (FA : Type u_12) (FB : Type u_13) (FC : Type u_14) [inst_5 : Field FA]
  [inst_6 : Field FB] [inst_7 : Field FC] [inst_8 : Algebra A FA] [inst_9 : Algebra B FB] [inst_10 : Algebra C FC]
  [inst_11 : IsFractionRing A FA] [inst_12 : IsFractionRing B FB] [inst_13 : IsFractionRing C FC]
  [inst_14 : Algebra A FB] [inst_15 : IsScalarTower A B FB] [inst_16 : Algebra A FC] [inst_17 : IsScalarTower A C FC]
  [inst_18 : Algebra FA FB] [inst_19 : IsScalarTower A FA FB] [inst_20 : Algebra FA FC]
  [inst_21 : IsScalarTower A FA FC] (f : B ≃ₐ[A] C) (b : B),
  (IsFractionRing.fieldEquivOfAlgEquiv FA FB FC f) ((algebraMap B FB) b) = (algebraMap C FC) (f b)

This says that fieldEquivOfAlgEquiv f is an extension of f (i.e., it agrees with f on B). Whereas (fieldEquivOfAlgEquiv f).commutes says that fieldEquivOfAlgEquiv f fixes K.

theorem IsFractionRing.fieldEquivOfAlgEquiv_refl E0 #

∀ (A : Type u_8) (B : Type u_9) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] (FA : Type u_12)
  (FB : Type u_13) [inst_3 : Field FA] [inst_4 : Field FB] [inst_5 : Algebra A FA] [inst_6 : Algebra B FB]
  [inst_7 : IsFractionRing A FA] [inst_8 : IsFractionRing B FB] [inst_9 : Algebra A FB] [inst_10 : IsScalarTower A B FB]
  [inst_11 : Algebra FA FB] [inst_12 : IsScalarTower A FA FB],
  IsFractionRing.fieldEquivOfAlgEquiv FA FB FB AlgEquiv.refl = AlgEquiv.refl

theorem IsFractionRing.fieldEquivOfAlgEquiv_trans E1 #

∀ {A : Type u_8} {B : Type u_9} {C : Type u_10} {D : Type u_11} [inst : CommRing A] [inst_1 : CommRing B]
  [inst_2 : CommRing C] [inst_3 : CommRing D] [inst_4 : Algebra A B] [inst_5 : Algebra A C] [inst_6 : Algebra A D]
  (FA : Type u_12) (FB : Type u_13) (FC : Type u_14) (FD : Type u_15) [inst_7 : Field FA] [inst_8 : Field FB]
  [inst_9 : Field FC] [inst_10 : Field FD] [inst_11 : Algebra A FA] [inst_12 : Algebra B FB] [inst_13 : Algebra C FC]
  [inst_14 : Algebra D FD] [inst_15 : IsFractionRing A FA] [inst_16 : IsFractionRing B FB]
  [inst_17 : IsFractionRing C FC] [inst_18 : IsFractionRing D FD] [inst_19 : Algebra A FB]
  [inst_20 : IsScalarTower A B FB] [inst_21 : Algebra A FC] [inst_22 : IsScalarTower A C FC] [inst_23 : Algebra A FD]
  [inst_24 : IsScalarTower A D FD] [inst_25 : Algebra FA FB] [inst_26 : IsScalarTower A FA FB] [inst_27 : Algebra FA FC]
  [inst_28 : IsScalarTower A FA FC] [inst_29 : Algebra FA FD] [inst_30 : IsScalarTower A FA FD] (f : B ≃ₐ[A] C)
  (g : C ≃ₐ[A] D),
  IsFractionRing.fieldEquivOfAlgEquiv FA FB FD (f.trans g) =
    (IsFractionRing.fieldEquivOfAlgEquiv FA FB FC f).trans (IsFractionRing.fieldEquivOfAlgEquiv FA FC FD g)

def IsFractionRing.fieldEquivOfAlgEquivHom E1 #

{A : Type u_8} →
  {B : Type u_9} →
    [inst : CommRing A] →
      [inst_1 : CommRing B] →
        [inst_2 : Algebra A B] →
          (K : Type u_10) →
            (L : Type u_11) →
              [inst_3 : Field K] →
                [inst_4 : Field L] →
                  [inst_5 : Algebra A K] →
                    [inst_6 : Algebra B L] →
                      [IsFractionRing A K] →
                        [IsFractionRing B L] →
                          [inst_9 : Algebra A L] →
                            [IsScalarTower A B L] →
                              [inst_11 : Algebra K L] → [IsScalarTower A K L] → (B ≃ₐ[A] B) →* Gal(L/K)

An algebra automorphism of a ring induces an algebra automorphism of its fraction field.

This is a bundled version of fieldEquivOfAlgEquiv.

theorem IsFractionRing.fieldEquivOfAlgEquivHom_apply E0 #

∀ {A : Type u_8} {B : Type u_9} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] (K : Type u_10)
  (L : Type u_11) [inst_3 : Field K] [inst_4 : Field L] [inst_5 : Algebra A K] [inst_6 : Algebra B L]
  [inst_7 : IsFractionRing A K] [inst_8 : IsFractionRing B L] [inst_9 : Algebra A L] [inst_10 : IsScalarTower A B L]
  [inst_11 : Algebra K L] [inst_12 : IsScalarTower A K L] (f : B ≃ₐ[A] B),
  (IsFractionRing.fieldEquivOfAlgEquivHom K L) f = IsFractionRing.fieldEquivOfAlgEquiv K L L f

theorem IsFractionRing.fieldEquivOfAlgEquivHom_injective E1 #

∀ (A : Type u_8) (B : Type u_9) [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra A B] (K : Type u_10)
  (L : Type u_11) [inst_3 : Field K] [inst_4 : Field L] [inst_5 : Algebra A K] [inst_6 : Algebra B L]
  [inst_7 : IsFractionRing A K] [inst_8 : IsFractionRing B L] [inst_9 : Algebra A L] [inst_10 : IsScalarTower A B L]
  [inst_11 : Algebra K L] [inst_12 : IsScalarTower A K L],
  Function.Injective ⇑(IsFractionRing.fieldEquivOfAlgEquivHom K L)

theorem IsFractionRing.isFractionRing_iff_of_base_ringEquiv E1 #

∀ {R : Type u_1} [inst : CommRing R] (S : Type u_2) [inst_1 : CommRing S] [inst_2 : Algebra R S] {P : Type u_3}
  [inst_3 : CommRing P] (h : R ≃+* P), IsFractionRing R S ↔ IsFractionRing P S

theorem IsFractionRing.nontrivial_iff_nontrivial E1 #

∀ (R : Type u_8) (S : Type u_9) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [h : IsFractionRing R S], Nontrivial R ↔ Nontrivial S

theorem IsFractionRing.nontrivial E1 #

∀ (R : Type u_8) (S : Type u_9) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [h : IsFractionRing R S] [hR : Nontrivial R], Nontrivial S

def IsFractionRing.mulSemiringAction E1 #

(G : Type u_10) →
  (B : Type u_12) →
    (L : Type u_14) →
      [inst : Group G] →
        [inst_1 : CommRing B] →
          [MulSemiringAction G B] →
            [inst_3 : Field L] → [inst_4 : Algebra B L] → [IsFractionRing B L] → MulSemiringAction G L

Given a MulSemiringAction G B, extend the action of G on B to a MulSemiringAction G L on the fraction field L of B.

instance IsFractionRing.smulDistribClass E0 #

∀ (G : Type u_10) (B : Type u_12) (L : Type u_14) [inst : Group G] [inst_1 : CommRing B]
  [inst_2 : MulSemiringAction G B] [inst_3 : Field L] [inst_4 : Algebra B L] [inst_5 : IsFractionRing B L],
  SMulDistribClass G B L

The action of G on the fraction field L of B given by IsFractionRing.mulSemiringAction is compatible with the embedding B ⊆ L.

theorem IsFractionRing.faithfulSMul E1 #

∀ (G : Type u_10) (B : Type u_12) (L : Type u_14) [inst : Group G] [inst_1 : CommRing B]
  [inst_2 : MulSemiringAction G B] [inst_3 : Field L] [inst_4 : Algebra B L] [IsFractionRing B L]
  [inst_6 : MulSemiringAction G L] [SMulDistribClass G B L] [FaithfulSMul G B], FaithfulSMul G L

theorem IsFractionRing.smulCommClass E1 #

∀ (G : Type u_10) (A : Type u_11) (B : Type u_12) (K : Type u_13) (L : Type u_14) [inst : Group G] [inst_1 : CommRing A]
  [inst_2 : CommRing B] [inst_3 : MulSemiringAction G B] [inst_4 : Algebra A B] [inst_5 : Field K] [inst_6 : Field L]
  [inst_7 : Algebra K L] [inst_8 : Algebra A K] [inst_9 : Algebra B L] [inst_10 : Algebra A L] [IsFractionRing A K]
  [IsFractionRing B L] [IsScalarTower A K L] [IsScalarTower A B L] [inst_15 : MulSemiringAction G L]
  [SMulDistribClass G B L] [SMulCommClass G A B], SMulCommClass G K L

theorem IsFractionRing.fixingSubgroup_range_algebraMap E1 #

∀ (G : Type u_10) {A : Type u_11} {B : Type u_12} (K : Type u_13) (L : Type u_14) [inst : Group G] [inst_1 : CommRing A]
  [inst_2 : CommRing B] [inst_3 : MulSemiringAction G B] [inst_4 : Algebra A B] [inst_5 : Field K] [inst_6 : Field L]
  [inst_7 : Algebra K L] [inst_8 : Algebra A K] [inst_9 : Algebra B L] [inst_10 : Algebra A L] [IsFractionRing A K]
  [IsFractionRing B L] [IsScalarTower A K L] [IsScalarTower A B L] [inst_15 : MulSemiringAction G L]
  [SMulDistribClass G B L],
  fixingSubgroup G (Set.range ⇑(algebraMap A B)) = fixingSubgroup G (Set.range ⇑(algebraMap K L))

If K is the fraction field of A and L is the fraction field of B with A ⊆ B, then for G acting on B and L, the fixing subgroup of A in B equals the fixing subgroup of K in L.

theorem algebraMap_injective_of_field_isFractionRing E1 #

∀ (R : Type u_1) [inst : CommRing R] (S : Type u_2) [inst_1 : CommRing S] [inst_2 : Algebra R S] (K : Type u_6)
  (L : Type u_7) [inst_3 : Field K] [inst_4 : Semiring L] [Nontrivial L] [inst_6 : Algebra R K] [IsFractionRing R K]
  [inst_8 : Algebra S L] [inst_9 : Algebra K L] [inst_10 : Algebra R L] [IsScalarTower R S L] [IsScalarTower R K L],
  Function.Injective ⇑(algebraMap R S)

theorem FaithfulSMul.of_field_isFractionRing E1 #

∀ (R : Type u_1) [inst : CommRing R] (S : Type u_2) [inst_1 : CommRing S] [inst_2 : Algebra R S] (K : Type u_6)
  (L : Type u_7) [inst_3 : Field K] [inst_4 : Semiring L] [Nontrivial L] [inst_6 : Algebra R K] [IsFractionRing R K]
  [inst_8 : Algebra S L] [inst_9 : Algebra K L] [inst_10 : Algebra R L] [IsScalarTower R S L] [IsScalarTower R K L],
  FaithfulSMul R S

abbrev FractionRing E3 #

(R : Type u_1) → [CommRing R] → Type u_1

The fraction ring of a commutative ring R as a quotient type.

We instantiate this definition as generally as possible, and assume that the commutative ring R is an integral domain only when this is needed for proving.

In this generality, this construction is also known as the total fraction ring of R.

instance FractionRing.instIsFractionRing E0 #

∀ (R : Type u_1) [inst : CommRing R], IsFractionRing (FractionRing R) (FractionRing R)

instance FractionRing.unique E0 #

(R : Type u_1) → [inst : CommRing R] → [Subsingleton R] → Unique (FractionRing R)

instance FractionRing.instNontrivial E0 #

∀ (R : Type u_1) [inst : CommRing R] [Nontrivial R], Nontrivial (FractionRing R)

instance FractionRing.instDecidableEq E0 #

{R : Type u_1} → [inst : CommRing R] → [DecidableEq R] → DecidableEq (FractionRing R)

instance FractionRing.field E0 #

(A : Type u_4) → [inst : CommRing A] → [IsDomain A] → Field (FractionRing A)

theorem FractionRing.mk_eq_div E0 #

∀ (A : Type u_4) [inst : CommRing A] [inst_1 : IsDomain A] {r : A} {s : ↥(nonZeroDivisors A)},
  Localization.mk r s = (algebraMap A (FractionRing A)) r / (algebraMap A (FractionRing A)) ↑s

abbrev FractionRing.liftAlgebra E1 #

(R : Type u_1) →
  [inst : CommRing R] →
    (K : Type u_5) → [inst_1 : Field K] → [inst_2 : Algebra R K] → [FaithfulSMul R K] → Algebra (FractionRing R) K

This is not an instance because it creates a diamond when K = FractionRing R. Should usually be introduced locally along with isScalarTower_liftAlgebra See note [reducible non-instances].

instance FractionRing.isScalarTower_liftAlgebra E0 #

∀ (R : Type u_1) [inst : CommRing R] (K : Type u_5) [inst_1 : Field K] [inst_2 : Algebra R K]
  [inst_3 : FaithfulSMul R K], IsScalarTower R (FractionRing R) K

theorem FractionRing.algebraMap_liftAlgebra E1 #

∀ (R : Type u_1) [inst : CommRing R] (K : Type u_5) [inst_1 : Field K] [inst_2 : Algebra R K]
  [inst_3 : FaithfulSMul R K],
  have this := ⋯;
  algebraMap (FractionRing R) K = IsFractionRing.lift ⋯

instance FractionRing.instIsScalarTower E0 #

∀ (R : Type u_1) [inst : CommRing R] (K : Type u_5) [inst_1 : Field K] [inst_2 : Algebra R K]
  [inst_3 : FaithfulSMul R K] {R₀ : Type u_6} [inst_4 : SMul R₀ R] [inst_5 : IsScalarTower R₀ R R] [inst_6 : SMul R₀ K]
  [IsScalarTower R₀ R K], IsScalarTower R₀ (FractionRing R) K

def FractionRing.algEquiv E1 #

(A : Type u_4) →
  [inst : CommRing A] →
    (K : Type u_6) → [inst_1 : CommRing K] → [inst_2 : Algebra A K] → [IsFractionRing A K] → FractionRing A ≃ₐ[A] K

Given a ring A and a localization map to a fraction ring f : A →+* K, we get an A-isomorphism between the fraction ring of A as a quotient type and K.

instance FractionRing.instFaithfulSMul E0 #

∀ (R : Type u_1) [inst : CommRing R] (A : Type u_4) [inst_1 : CommRing A] [inst_2 : Algebra R A] [FaithfulSMul R A],
  FaithfulSMul R (FractionRing A)

instance FractionRing.instIsScalarTower_1 E0 #

∀ (A : Type u_4) [inst : CommRing A] [IsDomain A] (k : Type u_6) (K : Type u_7) [inst_2 : Field k] [inst_3 : Field K]
  [inst_4 : Algebra A k] [inst_5 : Algebra A K] [inst_6 : Algebra k K] [inst_7 : FaithfulSMul A k]
  [inst_8 : FaithfulSMul A K] [IsScalarTower A k K], IsScalarTower (FractionRing A) k K