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.IntegralClosure.IsIntegralClosure.Basic

102 declarations. Mathlib docs · Source

# Integral closure as a characteristic predicate

We prove basic properties of IsIntegralClosure.

theorem IsIntegralClosure.lift.congr_simp E1 #

∀ (R : Type u_1) (A : Type u_2) (B : Type u_3) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] {S : Type u_4} [inst_6 : CommRing S]
  [inst_7 : Algebra R S] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R S B] [inst_10 : Algebra R A]
  [inst_11 : IsScalarTower R A B] [isIntegral : Algebra.IsIntegral R S],
  IsIntegralClosure.lift R A B = IsIntegralClosure.lift R A B

theorem IsIntegralClosure.mk'.congr_simp E1 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] (x x_1 : B) (e_x : x = x_1)
  (hx : IsIntegral R x), IsIntegralClosure.mk' A x hx = IsIntegralClosure.mk' A x_1 ⋯

theorem IsIntegral.isUnit E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Field R] [inst_1 : Ring S] [IsDomain S] [inst_3 : Algebra R S] {x : S},
  IsIntegral R x → x ≠ 0 → IsUnit x

A nonzero element in a domain integral over a field is a unit.

theorem isField_of_isIntegral_of_isField' E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain S] [inst_3 : Algebra R S]
  [Algebra.IsIntegral R S], IsField R → IsField S

A commutative domain that is an integral algebra over a field is a field.

theorem IsIntegral.inv_mem_adjoin E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Field R] [inst_1 : DivisionRing S] [inst_2 : Algebra R S] {x : S},
  IsIntegral R x → x⁻¹ ∈ R[x]

theorem IsIntegral.inv_mem E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Field R] [inst_1 : DivisionRing S] [inst_2 : Algebra R S] {x : S}
  {A : Subalgebra R S}, IsIntegral R x → x ∈ A → x⁻¹ ∈ A

The inverse of an integral element in a subalgebra of a division ring over a field also lies in that subalgebra.

theorem Algebra.IsIntegral.inv_mem E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Field R] [inst_1 : DivisionRing S] [inst_2 : Algebra R S] {x : S}
  {A : Subalgebra R S} [Algebra.IsIntegral R ↥A], x ∈ A → x⁻¹ ∈ A

An integral subalgebra of a division ring over a field is closed under inverses.

theorem IsIntegral.inv E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Field R] [inst_1 : DivisionRing S] [inst_2 : Algebra R S] {x : S},
  IsIntegral R x → IsIntegral R x⁻¹

The inverse of an integral element in a division ring over a field is also integral.

theorem IsIntegral.mem_of_inv_mem E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : Field R] [inst_1 : DivisionRing S] [inst_2 : Algebra R S] {x : S}
  {A : Subalgebra R S}, IsIntegral R x → x⁻¹ ∈ A → x ∈ A

theorem IsIntegral.div E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : Field R] [inst_1 : Field S] [inst_2 : Algebra R S] {x y : S},
  IsIntegral R x → IsIntegral R y → IsIntegral R (x / y)

theorem Algebra.IsIntegral.finite E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A]
  [Algebra.IsIntegral R A] [h' : Algebra.FiniteType R A], Module.Finite R A

The Kurosh problem asks to show that this is still true when A is not necessarily commutative and R is a field, but it has been solved in the negative. See https://arxiv.org/pdf/1706.02383.pdf for criteria for a finitely generated algebraic (= integral) algebra over a field to be finite dimensional.

This could be an instance, but we tend to go from Module.Finite to IsIntegral/IsAlgebraic, and making it an instance will cause the search to be complicated a lot.

theorem Algebra.finite_iff_isIntegral_and_finiteType E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A],
  Module.Finite R A ↔ Algebra.IsIntegral R A ∧ Algebra.FiniteType R A

finite = integral + finite type

theorem RingHom.IsIntegral.to_finite E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] {f : R →+* S},
  f.IsIntegral → f.FiniteType → f.Finite

theorem RingHom.Finite.of_isIntegral_of_finiteType E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] {f : R →+* S},
  f.IsIntegral → f.FiniteType → f.Finite

Alias of RingHom.IsIntegral.to_finite.

theorem RingHom.finite_iff_isIntegral_and_finiteType E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] {f : R →+* S},
  f.Finite ↔ f.IsIntegral ∧ f.FiniteType

finite = integral + finite type

theorem mem_integralClosure_iff_mem_fg E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {r : A},
  r ∈ integralClosure R A ↔ ∃ M, (Subalgebra.toSubmodule M).FG ∧ r ∈ M

theorem adjoin_le_integralClosure E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {x : A},
  IsIntegral R x → R[x] ≤ integralClosure R A

theorem le_integralClosure_iff_isIntegral E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {S : Subalgebra R A},
  S ≤ integralClosure R A ↔ Algebra.IsIntegral R ↥S

theorem Algebra.IsIntegral.adjoin E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {S : Set A},
  (∀ x ∈ S, IsIntegral R x) → Algebra.IsIntegral R ↥(Algebra.adjoin R S)

instance instFiniteSubtypeMemSubalgebraAdjoinOfIsIntegralOfFiniteElem E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A]
  [Algebra.IsIntegral R A] (S : Set A) [Finite ↑S], Module.Finite R ↥(Algebra.adjoin R S)

theorem integralClosure_eq_top_iff E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A],
  integralClosure R A = ⊤ ↔ Algebra.IsIntegral R A

theorem Algebra.isIntegral_sup E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {S T : Subalgebra R A},
  Algebra.IsIntegral R ↥(S ⊔ T) ↔ Algebra.IsIntegral R ↥S ∧ Algebra.IsIntegral R ↥T

theorem Algebra.isIntegral_iSup E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {ι : Sort u_5}
  (S : ι → Subalgebra R A), Algebra.IsIntegral R ↥(iSup S) ↔ ∀ (i : ι), Algebra.IsIntegral R ↥(S i)

theorem integralClosure_map_algEquiv E1 #

∀ {R : Type u_1} {A : Type u_2} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing S]
  [inst_3 : Algebra R A] [inst_4 : Algebra R S] (f : A ≃ₐ[R] S),
  Subalgebra.map (↑f) (integralClosure R A) = integralClosure R S

Mapping an integral closure along an AlgEquiv gives the integral closure.

def AlgHom.mapIntegralClosure E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {S : Type u_4} →
      [inst : CommRing R] →
        [inst_1 : CommRing A] →
          [inst_2 : CommRing S] →
            [inst_3 : Algebra R A] →
              [inst_4 : Algebra R S] → (A →ₐ[R] S) → ↥(integralClosure R A) →ₐ[R] ↥(integralClosure R S)

An AlgHom between two rings restrict to an AlgHom between the integral closures inside them.

theorem AlgHom.coe_mapIntegralClosure E0 #

∀ {R : Type u_1} {A : Type u_2} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing S]
  [inst_3 : Algebra R A] [inst_4 : Algebra R S] (f : A →ₐ[R] S) (x : ↥(integralClosure R A)),
  ↑(f.mapIntegralClosure x) = f ↑x

def AlgEquiv.mapIntegralClosure E1 #

{R : Type u_1} →
  {A : Type u_2} →
    {S : Type u_4} →
      [inst : CommRing R] →
        [inst_1 : CommRing A] →
          [inst_2 : CommRing S] →
            [inst_3 : Algebra R A] →
              [inst_4 : Algebra R S] → (A ≃ₐ[R] S) → ↥(integralClosure R A) ≃ₐ[R] ↥(integralClosure R S)

An AlgEquiv between two rings restrict to an AlgEquiv between the integral closures inside them.

theorem AlgEquiv.coe_mapIntegralClosure E0 #

∀ {R : Type u_1} {A : Type u_2} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing S]
  [inst_3 : Algebra R A] [inst_4 : Algebra R S] (f : A ≃ₐ[R] S) (x : ↥(integralClosure R A)),
  ↑(f.mapIntegralClosure x) = f ↑x

theorem integralClosure.isIntegral E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A]
  (x : ↥(integralClosure R A)), IsIntegral R x

instance integralClosure.algebraIsIntegral E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A],
  Algebra.IsIntegral R ↥(integralClosure R A)

theorem IsIntegral.of_mul_unit E1 #

∀ {R : Type u_1} {B : Type u_3} [inst : CommRing R] [inst_1 : Ring B] [inst_2 : Algebra R B] {x y : B} {r : R},
  (algebraMap R B) r * y = 1 → IsIntegral R (x * y) → IsIntegral R x

theorem RingHom.IsIntegralElem.of_mul_unit E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S) (x y : S) (r : R),
  f r * y = 1 → f.IsIntegralElem (x * y) → f.IsIntegralElem x

theorem IsIntegral.of_mem_closure' E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] (G : Set A),
  (∀ x ∈ G, IsIntegral R x) → ∀ x ∈ Subring.closure G, IsIntegral R x

Generalization of IsIntegral.of_mem_closure bootstrapped up from that lemma

theorem IsIntegral.of_mem_closure'' E1 #

∀ {R : Type u_1} [inst : CommRing R] {S : Type u_5} [inst_1 : CommRing S] {f : R →+* S} (G : Set S),
  (∀ x ∈ G, f.IsIntegralElem x) → ∀ x ∈ Subring.closure G, f.IsIntegralElem x

theorem IsIntegral.pow E1 #

∀ {R : Type u_1} {B : Type u_3} [inst : CommRing R] [inst_1 : Ring B] [inst_2 : Algebra R B] {x : B},
  IsIntegral R x → ∀ (n : ℕ), IsIntegral R (x ^ n)

theorem IsIntegral.zpow E1 #

∀ {F : Type u_5} {D : Type u_6} [inst : Field F] [inst_1 : DivisionRing D] [inst_2 : Algebra F D] {x : D},
  IsIntegral F x → ∀ (n : ℤ), IsIntegral F (x ^ n)

An integer power of an integral element in a division ring over a field is integral.

theorem IsIntegral.zpow_mem E1 #

∀ {F : Type u_5} {D : Type u_6} [inst : Field F] [inst_1 : DivisionRing D] [inst_2 : Algebra F D] {x : D}
  {A : Subalgebra F D}, IsIntegral F x → x ∈ A → ∀ (n : ℤ), x ^ n ∈ A

An integer power of an integral element of a subalgebra lies in that subalgebra.

theorem IsIntegral.zpow_mem_adjoin E1 #

∀ {F : Type u_5} {D : Type u_6} [inst : Field F] [inst_1 : DivisionRing D] [inst_2 : Algebra F D] {x : D},
  IsIntegral F x → ∀ (n : ℤ), x ^ n ∈ F[x]

theorem Algebra.IsIntegral.zpow_mem E1 #

∀ {F : Type u_5} {D : Type u_6} [inst : Field F] [inst_1 : DivisionRing D] [inst_2 : Algebra F D] {x : D}
  {A : Subalgebra F D} [Algebra.IsIntegral F ↥A], x ∈ A → ∀ (n : ℤ), x ^ n ∈ A

An integral subalgebra of a division ring over a field is closed under integer powers.

theorem IsIntegral.nsmul E1 #

∀ {R : Type u_1} {B : Type u_3} [inst : CommRing R] [inst_1 : Ring B] [inst_2 : Algebra R B] {x : B},
  IsIntegral R x → ∀ (n : ℕ), IsIntegral R (n • x)

theorem IsIntegral.zsmul E1 #

∀ {R : Type u_1} {B : Type u_3} [inst : CommRing R] [inst_1 : Ring B] [inst_2 : Algebra R B] {x : B},
  IsIntegral R x → ∀ (n : ℤ), IsIntegral R (n • x)

theorem IsIntegral.multiset_prod E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {s : Multiset A},
  (∀ x ∈ s, IsIntegral R x) → IsIntegral R s.prod

theorem IsIntegral.multiset_sum E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {s : Multiset A},
  (∀ x ∈ s, IsIntegral R x) → IsIntegral R s.sum

theorem IsIntegral.prod E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {α : Type u_5}
  {s : Finset α} (f : α → A), (∀ x ∈ s, IsIntegral R (f x)) → IsIntegral R (∏ x ∈ s, f x)

theorem IsIntegral.sum E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {α : Type u_5}
  {s : Finset α} (f : α → A), (∀ x ∈ s, IsIntegral R (f x)) → IsIntegral R (∑ x ∈ s, f x)

theorem IsIntegral.det E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {n : Type u_5}
  [inst_3 : Fintype n] [inst_4 : DecidableEq n] {M : Matrix n n A},
  (∀ (i j : n), IsIntegral R (M i j)) → IsIntegral R M.det

theorem IsIntegral.pow_iff E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {x : A} {n : ℕ},
  0 < n → (IsIntegral R (x ^ n) ↔ IsIntegral R x)

theorem Algebra.IsPushout.isIntegral' E1 #

∀ (R : Type u_1) (A : Type u_2) (S : Type u_4) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing S]
  [inst_3 : Algebra R A] [inst_4 : Algebra R S] [int : Algebra.IsIntegral R S] (SA : Type u_5) [inst_5 : CommRing SA]
  [inst_6 : Algebra R SA] [inst_7 : Algebra S SA] [inst_8 : Algebra A SA] [inst_9 : IsScalarTower R S SA]
  [inst_10 : IsScalarTower R A SA] [Algebra.IsPushout R A S SA], Algebra.IsIntegral A SA

theorem Algebra.IsPushout.isIntegral E1 #

∀ (R : Type u_1) (A : Type u_2) (S : Type u_4) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing S]
  [inst_3 : Algebra R A] [inst_4 : Algebra R S] [int : Algebra.IsIntegral R S] (SA : Type u_5) [inst_5 : CommRing SA]
  [inst_6 : Algebra R SA] [inst_7 : Algebra S SA] [inst_8 : Algebra A SA] [inst_9 : IsScalarTower R S SA]
  [inst_10 : IsScalarTower R A SA] [h : Algebra.IsPushout R S A SA], Algebra.IsIntegral A SA

instance instIsIntegralPolynomial E0 #

∀ (R : Type u_1) (S : Type u_4) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [int : Algebra.IsIntegral R S], Algebra.IsIntegral (Polynomial R) (Polynomial S)

instance instIsIntegralMvPolynomial E0 #

∀ (R : Type u_1) (S : Type u_4) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [int : Algebra.IsIntegral R S] {σ : Type u_6}, Algebra.IsIntegral (MvPolynomial σ R) (MvPolynomial σ S)

instance instIsIntegralAddMonoidAlgebraOfIsPushout E0 #

∀ (R : Type u_1) (S : Type u_4) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [int : Algebra.IsIntegral R S] {M : Type u_6} [inst_3 : AddCommMonoid M]
  [inst_4 : Algebra (AddMonoidAlgebra R M) (AddMonoidAlgebra S M)]
  [inst_5 : IsScalarTower R (AddMonoidAlgebra R M) (AddMonoidAlgebra S M)]
  [Algebra.IsPushout R S (AddMonoidAlgebra R M) (AddMonoidAlgebra S M)],
  Algebra.IsIntegral (AddMonoidAlgebra R M) (AddMonoidAlgebra S M)

instance instIsIntegralMonoidAlgebraOfIsPushout E0 #

∀ (R : Type u_1) (S : Type u_4) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [int : Algebra.IsIntegral R S] {M : Type u_6} [inst_3 : CommMonoid M]
  [inst_4 : Algebra (MonoidAlgebra R M) (MonoidAlgebra S M)]
  [inst_5 : IsScalarTower R (MonoidAlgebra R M) (MonoidAlgebra S M)]
  [Algebra.IsPushout R S (MonoidAlgebra R M) (MonoidAlgebra S M)],
  Algebra.IsIntegral (MonoidAlgebra R M) (MonoidAlgebra S M)

theorem RingHom.isIntegralElem_leadingCoeff_mul E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S) (p : Polynomial R) (x : S),
  Polynomial.eval₂ f x p = 0 → f.IsIntegralElem (f p.leadingCoeff * x)

Given a p : R[X] and a x : S such that p.eval₂ f x = 0, f p.leadingCoeff * x is integral.

theorem isIntegral_leadingCoeff_smul E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] (p : Polynomial R) (x : S)
  [inst_2 : Algebra R S], (Polynomial.aeval x) p = 0 → IsIntegral R (p.leadingCoeff • x)

Given a p : R[X] and a root x : S, then p.leadingCoeff • x : S is integral over R.

theorem Polynomial.Monic.quotient_isIntegralElem E1 #

∀ {S : Type u_4} [inst : CommRing S] {g : Polynomial S},
  g.Monic →
    ∀ {I : Ideal (Polynomial S)},
      g ∈ I →
        ((Ideal.Quotient.mk I).comp (algebraMap S (Polynomial S))).IsIntegralElem ((Ideal.Quotient.mk I) Polynomial.X)

theorem Polynomial.Monic.quotient_isIntegral E1 #

∀ {S : Type u_4} [inst : CommRing S] {g : Polynomial S},
  g.Monic →
    ∀ {I : Ideal (Polynomial S)}, g ∈ I → ((Ideal.Quotient.mkₐ S I).comp (Algebra.ofId S (Polynomial S))).IsIntegral

instance integralClosure.isIntegralClosure E0 #

∀ (R : Type u_1) (A : Type u_2) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A],
  IsIntegralClosure (↥(integralClosure R A)) R A

theorem isIntegralClosure_iff E0 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [FaithfulSMul A B],
  IsIntegralClosure A R B ↔ ∀ (x : B), IsIntegral R x ↔ ∃ a, (algebraMap A B) a = x

If A acts faithfully on B, then A is the integral closure of R in B iff an element of B is integral over R exactly when it lies in the image of A.

theorem IsIntegralClosure.isIntegral E1 #

∀ (R : Type u_1) {A : Type u_2} (B : Type u_3) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [IsIntegralClosure A R B] [inst_6 : Algebra R A] [IsScalarTower R A B]
  (x : A), IsIntegral R x

theorem IsIntegralClosure.isIntegral_algebra E1 #

∀ (R : Type u_1) {A : Type u_2} (B : Type u_3) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [IsIntegralClosure A R B] [inst_6 : Algebra R A] [IsScalarTower R A B],
  Algebra.IsIntegral R A

theorem IsIntegralClosure.isTorsionFree E1 #

∀ (R : Type u_1) {A : Type u_2} (B : Type u_3) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [IsIntegralClosure A R B] [inst_6 : Module R A] [IsScalarTower R A B]
  [Module.IsTorsionFree R B], Module.IsTorsionFree R A

theorem IsIntegralClosure.mem_range_algebraMap E0 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [IsIntegralClosure A R B] {C : Type u_4} [inst_6 : Ring C]
  [inst_7 : Algebra R C] [inst_8 : Algebra A C] [inst_9 : Algebra B C] [FaithfulSMul B C] [IsScalarTower R B C]
  [IsScalarTower A B C] {x : C}, IsIntegral R x → (x ∈ Set.range ⇑(algebraMap B C) ↔ x ∈ Set.range ⇑(algebraMap A C))

def IsIntegralClosure.mk' E1 #

{R : Type u_1} →
  (A : Type u_2) →
    {B : Type u_3} →
      [inst : CommRing R] →
        [inst_1 : CommRing A] →
          [inst_2 : CommRing B] →
            [inst_3 : Algebra R B] → [inst_4 : Algebra A B] → [IsIntegralClosure A R B] → (x : B) → IsIntegral R x → A

If x : B is integral over R, then it is an element of the integral closure of R in B.

theorem IsIntegralClosure.algebraMap_mk' E0 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] (x : B) (hx : IsIntegral R x),
  (algebraMap A B) (IsIntegralClosure.mk' A x hx) = x

theorem IsIntegralClosure.mk'_one E0 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] (h : optParam (IsIntegral R 1) ⋯),
  IsIntegralClosure.mk' A 1 h = 1

theorem IsIntegralClosure.mk'_zero E0 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] (h : optParam (IsIntegral R 0) ⋯),
  IsIntegralClosure.mk' A 0 h = 0

theorem IsIntegralClosure.mk'_add E0 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] (x y : B) (hx : IsIntegral R x)
  (hy : IsIntegral R y), IsIntegralClosure.mk' A (x + y) ⋯ = IsIntegralClosure.mk' A x hx + IsIntegralClosure.mk' A y hy

theorem IsIntegralClosure.mk'_mul E0 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] (x y : B) (hx : IsIntegral R x)
  (hy : IsIntegral R y), IsIntegralClosure.mk' A (x * y) ⋯ = IsIntegralClosure.mk' A x hx * IsIntegralClosure.mk' A y hy

theorem IsIntegralClosure.mk'_algebraMap E0 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] [inst_6 : Algebra R A]
  [IsScalarTower R A B] (x : R) (h : optParam (IsIntegral R ((algebraMap R B) x)) ⋯),
  IsIntegralClosure.mk' A ((algebraMap R B) x) h = (algebraMap R A) x

theorem IsIntegralClosure.isField E1 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [IsIntegralClosure A R B] [inst_6 : Algebra R A] [IsScalarTower R A B]
  [IsDomain A], IsField R → IsField A

The integral closure of a field in a commutative domain is always a field.

theorem IsIntegralClosure.of_algEquiv E1 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [IsIntegralClosure A R B] {S : Type u_4} [inst_6 : CommRing S]
  [inst_7 : Algebra A S] [inst_8 : Algebra R S] (f : B ≃ₐ[R] S),
  (∀ (x : A), (algebraMap A S) x = f ((algebraMap A B) x)) → IsIntegralClosure A R S

def IsIntegralClosure.lift E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : CommRing R] →
        [inst_1 : CommRing A] →
          [inst_2 : CommRing B] →
            [inst_3 : Algebra R B] →
              [inst_4 : Algebra A B] →
                [IsIntegralClosure A R B] →
                  {S : Type u_4} →
                    [inst_6 : CommRing S] →
                      [inst_7 : Algebra R S] →
                        [inst_8 : Algebra S B] →
                          [IsScalarTower R S B] →
                            [inst_10 : Algebra R A] →
                              [IsScalarTower R A B] → [isIntegral : Algebra.IsIntegral R S] → S →ₐ[R] A

If B / S / R is a tower of ring extensions where S is integral over R, then S maps (uniquely) into an integral closure B / A / R.

theorem IsIntegralClosure.algebraMap_lift E0 #

∀ (R : Type u_1) (A : Type u_2) (B : Type u_3) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] {S : Type u_4} [inst_6 : CommRing S]
  [inst_7 : Algebra R S] [inst_8 : Algebra S B] [inst_9 : IsScalarTower R S B] [inst_10 : Algebra R A]
  [inst_11 : IsScalarTower R A B] [isIntegral : Algebra.IsIntegral R S] (x : S),
  (algebraMap A B) ((IsIntegralClosure.lift R A B) x) = (algebraMap S B) x

def IsIntegralClosure.equiv E1 #

(R : Type u_1) →
  (A : Type u_2) →
    (B : Type u_3) →
      [inst : CommRing R] →
        [inst_1 : CommRing A] →
          [inst_2 : CommRing B] →
            [inst_3 : Algebra R B] →
              [inst_4 : Algebra A B] →
                [IsIntegralClosure A R B] →
                  (A' : Type u_4) →
                    [inst_6 : CommRing A'] →
                      [inst_7 : Algebra A' B] →
                        [IsIntegralClosure A' R B] →
                          [inst_9 : Algebra R A] →
                            [inst_10 : Algebra R A'] → [IsScalarTower R A B] → [IsScalarTower R A' B] → A ≃ₐ[R] A'

Integral closures are all isomorphic to each other.

theorem IsIntegralClosure.algebraMap_equiv E0 #

∀ (R : Type u_1) (A : Type u_2) (B : Type u_3) [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : CommRing B]
  [inst_3 : Algebra R B] [inst_4 : Algebra A B] [inst_5 : IsIntegralClosure A R B] (A' : Type u_4)
  [inst_6 : CommRing A'] [inst_7 : Algebra A' B] [inst_8 : IsIntegralClosure A' R B] [inst_9 : Algebra R A]
  [inst_10 : Algebra R A'] [inst_11 : IsScalarTower R A B] [inst_12 : IsScalarTower R A' B] (x : A),
  (algebraMap A' B) ((IsIntegralClosure.equiv R A B A') x) = (algebraMap A B) x

theorem isIntegral_trans E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Ring B]
  [inst_3 : Algebra A B] [inst_4 : Algebra R B] [inst_5 : Algebra R A] [IsScalarTower R A B] [Algebra.IsIntegral R A]
  (x : B), IsIntegral A x → IsIntegral R x

If A is an R-algebra all of whose elements are integral over R, and x is an element of an A-algebra that is integral over A, then x is integral over R.

theorem Algebra.IsIntegral.trans E1 #

∀ {R : Type u_1} (A : Type u_2) {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Ring B]
  [inst_3 : Algebra A B] [inst_4 : Algebra R B] [inst_5 : Algebra R A] [IsScalarTower R A B] [Algebra.IsIntegral R A]
  [Algebra.IsIntegral A B], Algebra.IsIntegral R B

If A is an R-algebra all of whose elements are integral over R, and B is an A-algebra all of whose elements are integral over A, then all elements of B are integral over R.

theorem RingHom.IsIntegral.trans E1 #

∀ {R : Type u_1} {S : Type u_4} {T : Type u_5} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T]
  (f : R →+* S) (g : S →+* T), f.IsIntegral → g.IsIntegral → (g.comp f).IsIntegral

theorem IsIntegralClosure.tower_top E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {B : Type u_6}
  {C : Type u_7} [inst_3 : CommSemiring C] [inst_4 : CommRing B] [inst_5 : Algebra R B] [inst_6 : Algebra A B]
  [inst_7 : Algebra C B] [IsScalarTower R A B] [IsIntegralClosure C R B] [Algebra.IsIntegral R A],
  IsIntegralClosure C A B

If R → A → B is an algebra tower, C is the integral closure of R in B and A is integral over R, then C is the integral closure of A in B.

theorem RingHom.isIntegral_of_surjective E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S),
  Function.Surjective ⇑f → f.IsIntegral

theorem IsIntegral.tower_bot E1 #

∀ {R : Type u_1} {A : Type u_2} {B : Type u_3} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Ring B]
  [inst_3 : Algebra A B] [inst_4 : Algebra R B] [inst_5 : Algebra R A] [IsScalarTower R A B],
  Function.Injective ⇑(algebraMap A B) → ∀ {x : A}, IsIntegral R ((algebraMap A B) x) → IsIntegral R x

If R → A → B is an algebra tower with A → B injective, then if the entire tower is an integral extension so is R → A

theorem RingHom.IsIntegral.tower_bot E1 #

∀ {R : Type u_1} {S : Type u_4} {T : Type u_5} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T]
  (f : R →+* S) (g : S →+* T), Function.Injective ⇑g → (g.comp f).IsIntegral → f.IsIntegral

theorem Algebra.IsIntegral.tower_bot E1 #

∀ {R : Type u_1} {S : Type u_4} (T : Type u_5) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T]
  [IsDomain S] [inst_4 : Algebra R S] [inst_5 : Algebra R T] [inst_6 : Algebra S T] [Module.IsTorsionFree S T]
  [Nontrivial T] [IsScalarTower R S T] [h : Algebra.IsIntegral R T], Algebra.IsIntegral R S

Let T / S / R be a tower of algebras, T is non-trivial and is a torsion free S-module, then if T is an integral R-algebra, then S is an integral R-algebra.

theorem IsIntegral.tower_bot_of_field E1 #

∀ {R : Type u_6} {A : Type u_7} {B : Type u_8} [inst : CommRing R] [inst_1 : Field A] [inst_2 : Ring B] [Nontrivial B]
  [inst_4 : Algebra R A] [inst_5 : Algebra A B] [inst_6 : Algebra R B] [IsScalarTower R A B] {x : A},
  IsIntegral R ((algebraMap A B) x) → IsIntegral R x

theorem RingHom.isIntegralElem.of_comp E1 #

∀ {R : Type u_1} {S : Type u_4} {T : Type u_5} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T]
  (f : R →+* S) (g : S →+* T) {x : T}, (g.comp f).IsIntegralElem x → g.IsIntegralElem x

theorem RingHom.IsIntegral.tower_top E1 #

∀ {R : Type u_1} {S : Type u_4} {T : Type u_5} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T]
  (f : R →+* S) (g : S →+* T), (g.comp f).IsIntegral → g.IsIntegral

theorem Algebra.IsIntegral.tower_top E1 #

∀ (R : Type u_1) {S : Type u_4} {T : Type u_5} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T]
  [inst_3 : Algebra R S] [inst_4 : Algebra R T] [inst_5 : Algebra S T] [IsScalarTower R S T]
  [h : Algebra.IsIntegral R T], Algebra.IsIntegral S T

Let T / S / R be a tower of algebras, T is an integral R-algebra, then it is integral as an S-algebra.

theorem RingHom.IsIntegral.quotient E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S) {I : Ideal S},
  f.IsIntegral → (Ideal.quotientMap I f ⋯).IsIntegral

instance instIsIntegralQuotientIdeal E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {I : Ideal A}
  [Algebra.IsIntegral R A], Algebra.IsIntegral R (A ⧸ I)

instance Algebra.IsIntegral.quotient E0 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A] {I : Ideal A}
  [Algebra.IsIntegral R A], Algebra.IsIntegral (R ⧸ Ideal.comap (algebraMap R A) I) (A ⧸ I)

theorem isIntegral_quotientMap_iff E0 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] (f : R →+* S) {I : Ideal S},
  (Ideal.quotientMap I f ⋯).IsIntegral ↔ ((Ideal.Quotient.mk I).comp f).IsIntegral

theorem RingHom.IsIntegral.kerLift E1 #

∀ {S : Type u_4} {T : Type u_5} [inst : CommRing S] [inst_1 : CommRing T] {f : S →+* T},
  f.IsIntegral → f.kerLift.IsIntegral

theorem RingHom.IsIntegral.isLocalHom E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] {f : R →+* S},
  f.IsIntegral → Function.Injective ⇑f → IsLocalHom f

instance Algebra.IsIntegral.isLocalHom E0 #

∀ (R : Type u_1) (S : Type u_4) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsIntegral R S] [FaithfulSMul R S], IsLocalHom (algebraMap R S)

theorem isField_of_isIntegral_of_isField E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsIntegral R S], Function.Injective ⇑(algebraMap R S) → IsField S → IsField R

If the integral extension R → S is injective, and S is a field, then R is also a field.

theorem Algebra.IsIntegral.isField_iff_isField E1 #

∀ {R : Type u_1} {S : Type u_4} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  [Algebra.IsIntegral R S] [IsDomain S], Function.Injective ⇑(algebraMap R S) → (IsField R ↔ IsField S)

theorem Ideal.IsMaximal.ne_bot_of_isIntegral_int E1 #

∀ {R : Type u_1} [inst : CommRing R] [CharZero R] [Algebra.IsIntegral ℤ R] (I : Ideal R) [I.IsMaximal], I ≠ ⊥

theorem Algebra.ker_algebraMap_isMaximal_of_isIntegral E1 #

∀ (R : Type u_1) [inst : CommRing R] (k : Type u_6) [inst_1 : Field k] [inst_2 : Algebra R k] [Algebra.IsIntegral R k],
  (RingHom.ker (algebraMap R k)).IsMaximal

theorem integralClosure_idem E1 #

∀ {R : Type u_1} {A : Type u_2} [inst : CommRing R] [inst_1 : CommRing A] [inst_2 : Algebra R A],
  integralClosure (↥(integralClosure R A)) A = ⊥

instance instIsDomainSubtypeMemSubalgebraIntegralClosure E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [IsDomain S] [inst_3 : Algebra R S],
  IsDomain ↥(integralClosure R S)

theorem roots_mem_integralClosure E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : IsDomain S] [inst_3 : Algebra R S]
  {f : Polynomial R}, f.Monic → ∀ {a : S}, a ∈ f.aroots S → a ∈ integralClosure R S