The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Localization.Integral
33 declarations. Mathlib docs · Source
theorem Invertible.mk.congr_simp E1 #
∀ {α : Type u} [inst : Mul α] [inst_1 : One α] {a : α} (invOf invOf_1 : α) (e_invOf : invOf = invOf_1)
(invOf_mul_self : invOf * a = 1) (mul_invOf_self : a * invOf = 1),
{ invOf := invOf, invOf_mul_self := invOf_mul_self, mul_invOf_self := mul_invOf_self } =
{ invOf := invOf_1, invOf_mul_self := ⋯, mul_invOf_self := ⋯ }
def IsLocalization.integerNormalization E1 #
{R : Type u_1} →
[inst : CommRing R] →
(M : Submonoid R) →
{S : Type u_2} →
[inst_1 : CommRing S] → [inst_2 : Algebra R S] → [IsLocalization M S] → Polynomial S → Polynomial R
integerNormalization p normalizes p to have integer coefficients
by clearing the denominators
theorem IsLocalization.integerNormalization_spec E1 #
∀ {R : Type u_1} [inst : CommRing R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : IsLocalization M S] (p : Polynomial S),
∃ b ∈ M, Polynomial.map (algebraMap R S) (IsLocalization.integerNormalization M p) = b • p
theorem IsLocalization.integerNormalization_support E1 #
∀ {R : Type u_1} [inst : CommRing R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : IsLocalization M S] (p : Polynomial S), (IsLocalization.integerNormalization M p).support ⊆ p.support
theorem IsLocalization.integerNormalization_eq_zero_iff E0 #
∀ {R : Type u_1} [inst : CommRing R] {M : Submonoid R} {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : IsLocalization M S] [IsDomain R],
M ≤ nonZeroDivisors R → ∀ (p : Polynomial S), IsLocalization.integerNormalization M p = 0 ↔ p = 0
theorem IsLocalization.integerNormalization_eval₂_eq_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : IsLocalization M S] {R' : Type u_3} [inst_4 : CommRing R'] (g : S →+* R') (p : Polynomial S) {x : R'},
Polynomial.eval₂ g x p = 0 →
Polynomial.eval₂ (g.comp (algebraMap R S)) x (IsLocalization.integerNormalization M p) = 0
theorem IsLocalization.integerNormalization_aeval_eq_zero E1 #
∀ {R : Type u_1} [inst : CommRing R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
[inst_3 : IsLocalization M S] {R' : Type u_3} [inst_4 : CommRing R'] [inst_5 : Algebra R R'] [inst_6 : Algebra S R']
[IsScalarTower R S R'] (p : Polynomial S) {x : R'},
(Polynomial.aeval x) p = 0 → (Polynomial.aeval x) (IsLocalization.integerNormalization M p) = 0
theorem IsFractionRing.integerNormalization_eq_zero_iff E0 #
∀ {A : Type u_3} {K : Type u_4} [inst : CommRing A] [IsDomain A] [inst_2 : Field K] [inst_3 : Algebra A K]
[inst_4 : IsFractionRing A K] {p : Polynomial K},
IsLocalization.integerNormalization (nonZeroDivisors A) p = 0 ↔ p = 0
theorem IsFractionRing.coeff_integerNormalization_eq_zero_iff E0 #
∀ {A : Type u_3} {K : Type u_4} [inst : CommRing A] [IsDomain A] [inst_2 : Field K] [inst_3 : Algebra A K]
[inst_4 : IsFractionRing A K] (p : Polynomial K) (n : ℕ),
(IsLocalization.integerNormalization (nonZeroDivisors A) p).coeff n = 0 ↔ p.coeff n = 0
theorem IsFractionRing.aroots_integerNormalization E0 #
∀ {A : Type u_3} {K : Type u_4} [inst : CommRing A] [IsDomain A] [inst_2 : Field K] [inst_3 : Algebra A K]
[inst_4 : IsFractionRing A K] {L : Type u_6} [inst_5 : CommRing L] [inst_6 : IsDomain L] [inst_7 : Algebra A L]
[inst_8 : Algebra K L] [IsScalarTower A K L] (p : Polynomial K),
(IsLocalization.integerNormalization (nonZeroDivisors A) p).aroots L = p.aroots L
Clearing the denominators of a polynomial does not change its roots.
theorem IsFractionRing.exists_linearCombination_eq_zero E1 #
∀ (A : Type u_3) {K : Type u_4} [inst : CommRing A] [inst_1 : Field K] [inst_2 : Algebra A K] [IsFractionRing A K]
{V : Type u_6} {ι : Type u_7} [inst_4 : AddCommMonoid V] [inst_5 : Module A V] [inst_6 : Module K V]
[IsScalarTower A K V] (f : ι → V) (v : ι →₀ K),
(Finsupp.linearCombination K f) v = 0 →
∃ b ∈ nonZeroDivisors A,
∃ v', (∀ (i : ι), (algebraMap A K) (v' i) = b • v i) ∧ (Finsupp.linearCombination A f) v' = 0
theorem IsFractionRing.isAlgebraic_iff E0 #
∀ (A : Type u_3) (K : Type u_4) (C : Type u_5) [inst : CommRing A] [IsDomain A] [inst_2 : Field K]
[inst_3 : Algebra A K] [IsFractionRing A K] [inst_5 : CommRing C] [inst_6 : Algebra A C] [inst_7 : Algebra K C]
[IsScalarTower A K C] {x : C}, IsAlgebraic A x ↔ IsAlgebraic K x
An element of a ring is algebraic over the ring A iff it is algebraic
over the field of fractions of A.
theorem IsFractionRing.comap_isAlgebraic_iff E0 #
∀ {A : Type u_3} {K : Type u_4} {C : Type u_5} [inst : CommRing A] [IsDomain A] [inst_2 : Field K]
[inst_3 : Algebra A K] [IsFractionRing A K] [inst_5 : CommRing C] [inst_6 : Algebra A C] [inst_7 : Algebra K C]
[IsScalarTower A K C], Algebra.IsAlgebraic A C ↔ Algebra.IsAlgebraic K C
A ring is algebraic over the ring A iff it is algebraic over the field of fractions of A.
theorem RingHom.isIntegralElem_localization_at_leadingCoeff E1 #
∀ {R : Type u_5} {S : Type u_6} [inst : CommSemiring R] [inst_1 : CommSemiring S] (f : R →+* S) (x : S)
(p : Polynomial R),
Polynomial.eval₂ f x p = 0 →
∀ (M : Submonoid R),
p.leadingCoeff ∈ M →
∀ {Rₘ : Type u_7} {Sₘ : Type u_8} [inst_2 : CommRing Rₘ] [inst_3 : CommRing Sₘ] [inst_4 : Algebra R Rₘ]
[inst_5 : IsLocalization M Rₘ] [inst_6 : Algebra S Sₘ] [inst_7 : IsLocalization (Submonoid.map f M) Sₘ],
(IsLocalization.map Sₘ f ⋯).IsIntegralElem ((algebraMap S Sₘ) x)
theorem is_integral_localization_at_leadingCoeff E1 #
∀ {R : Type u_1} [inst : CommRing R] {M : Submonoid R} {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
{Rₘ : Type u_3} {Sₘ : Type u_4} [inst_3 : CommRing Rₘ] [inst_4 : CommRing Sₘ] [inst_5 : Algebra R Rₘ]
[inst_6 : IsLocalization M Rₘ] [inst_7 : Algebra S Sₘ] [inst_8 : IsLocalization (Algebra.algebraMapSubmonoid S M) Sₘ]
{x : S} (p : Polynomial R),
(Polynomial.aeval x) p = 0 →
p.leadingCoeff ∈ M → (IsLocalization.map Sₘ (algebraMap R S) ⋯).IsIntegralElem ((algebraMap S Sₘ) x)
Given a particular witness to an element being algebraic over an algebra R → S,
We can localize to a submonoid containing the leading coefficient to make it integral.
Explicitly, the map between the localizations will be an integral ring morphism
theorem isIntegral_localization E1 #
∀ {R : Type u_1} [inst : CommRing R] {M : Submonoid R} {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
{Rₘ : Type u_3} {Sₘ : Type u_4} [inst_3 : CommRing Rₘ] [inst_4 : CommRing Sₘ] [inst_5 : Algebra R Rₘ]
[inst_6 : IsLocalization M Rₘ] [inst_7 : Algebra S Sₘ] [inst_8 : IsLocalization (Algebra.algebraMapSubmonoid S M) Sₘ]
[Algebra.IsIntegral R S], (IsLocalization.map Sₘ (algebraMap R S) ⋯).IsIntegral
If R → S is an integral extension, M is a submonoid of R,
Rₘ is the localization of R at M,
and Sₘ is the localization of S at the image of M under the extension map,
then the induced map Rₘ → Sₘ is also an integral extension
theorem isIntegral_localization' E1 #
∀ {R : Type u_5} {S : Type u_6} [inst : CommRing R] [inst_1 : CommRing S] {f : R →+* S},
f.IsIntegral → ∀ (M : Submonoid R), (IsLocalization.map (Localization (Submonoid.map (↑f) M)) f ⋯).IsIntegral
theorem IsLocalization.scaleRoots_commonDenom_mem_lifts E1 #
∀ {R : Type u_1} [inst : CommRing R] (M : Submonoid R) {Rₘ : Type u_3} [inst_1 : CommRing Rₘ] [inst_2 : Algebra R Rₘ]
[inst_3 : IsLocalization M Rₘ] (p : Polynomial Rₘ),
p.leadingCoeff ∈ (algebraMap R Rₘ).range →
p.scaleRoots ((algebraMap R Rₘ) ↑(IsLocalization.commonDenom M p.support ⇑p.coeff)) ∈
Polynomial.lifts (algebraMap R Rₘ)
theorem IsIntegral.exists_multiple_integral_of_isLocalization E1 #
∀ {R : Type u_1} [inst : CommRing R] (M : Submonoid R) {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S]
{Rₘ : Type u_3} [inst_3 : CommRing Rₘ] [inst_4 : Algebra R Rₘ] [IsLocalization M Rₘ] [inst_6 : Algebra Rₘ S]
[IsScalarTower R Rₘ S] (x : S), IsIntegral Rₘ x → ∃ m, IsIntegral R (m • x)
theorem IsLocalization.exists_isIntegral_smul_of_isIntegral_map E1 #
∀ {R : Type u_5} {S : Type u_6} {Sₘ : Type u_7} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing Sₘ]
[inst_3 : Algebra R S] [inst_4 : Algebra S Sₘ] [inst_5 : Algebra R Sₘ] [IsScalarTower R S Sₘ] (M : Submonoid R)
[IsLocalization (Algebra.algebraMapSubmonoid S M) Sₘ] {x : S},
IsIntegral R ((algebraMap S Sₘ) x) → ∃ m ∈ M, IsIntegral R (m • x)
If t is R-integral in S[M⁻¹] where M is a submonoid of R,
then m • t is integral in S for some m ∈ M.
theorem IsLocalization.Away.exists_isIntegral_mul_of_isIntegral_algebraMap E1 #
∀ {R : Type u_5} {S : Type u_6} {Sₘ : Type u_7} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing Sₘ]
[inst_3 : Algebra R S] [inst_4 : Algebra S Sₘ] [inst_5 : Algebra R Sₘ] [IsScalarTower R S Sₘ] {r : S},
IsIntegral R r →
∀ [IsLocalization.Away r Sₘ] {x : S}, IsIntegral R ((algebraMap S Sₘ) x) → ∃ n, IsIntegral R (r ^ n * x)
If t is R-integral in S[1/r] where r : S is integral over R,
then r ^ n • t is integral in S for some n.
theorem IsLocalization.Away.exists_isIntegral_mul_of_isIntegral_mk' E1 #
∀ {R : Type u_5} {S : Type u_6} {Sₘ : Type u_7} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing Sₘ]
[inst_3 : Algebra R S] [inst_4 : Algebra S Sₘ] [inst_5 : Algebra R Sₘ] [IsScalarTower R S Sₘ] {r : S},
IsIntegral R r →
∀ [inst_7 : IsLocalization.Away r Sₘ] {x : S} {a : ↥(Submonoid.powers r)},
IsIntegral R (IsLocalization.mk' Sₘ x a) → ∃ n, IsIntegral R (r ^ n * x)
theorem isIntegral_of_isIntegral_adjoin_of_mul_eq_one E1 #
∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S] (t s : S),
s * t = 1 → IsIntegral (↥R[s]) t → IsIntegral R t
If t is integral over R[1/t], then it is integral over R.
theorem IsLocalization.Away.isIntegral_of_isIntegral_map E1 #
∀ {R : Type u_5} {S : Type u_6} {Sₘ : Type u_7} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing Sₘ]
[inst_3 : Algebra R S] [inst_4 : Algebra S Sₘ] [inst_5 : Algebra R Sₘ] [IsScalarTower R S Sₘ] (x : S)
[IsLocalization.Away x Sₘ], IsIntegral R ((algebraMap S Sₘ) x) → IsIntegral R x
If t is integral in S[1/t], then it is integral in S.
theorem IsIntegralClosure.isFractionRing_of_algebraic E1 #
∀ (A : Type u_3) [inst : CommRing A] {L : Type u_5} [inst_1 : Field L] [inst_2 : Algebra A L] (C : Type u_6)
[inst_3 : CommRing C] [IsDomain C] [inst_5 : Algebra C L] [IsIntegralClosure C A L] [inst_7 : Algebra A C]
[IsScalarTower A C L] [Algebra.IsAlgebraic A L], (∀ (x : A), (algebraMap A L) x = 0 → x = 0) → IsFractionRing C L
If the field L is an algebraic extension of the integral domain A,
the integral closure C of A in L has fraction field L.
theorem IsIntegralClosure.isFractionRing_of_finite_extension E1 #
∀ (A : Type u_3) (K : Type u_4) [inst : CommRing A] (L : Type u_5) [inst_1 : Field K] [inst_2 : Field L]
[inst_3 : Algebra A K] [inst_4 : Algebra A L] [IsFractionRing A K] (C : Type u_6) [inst_6 : CommRing C] [IsDomain C]
[inst_8 : Algebra C L] [IsIntegralClosure C A L] [inst_10 : Algebra A C] [IsScalarTower A C L] [IsDomain A]
[inst_13 : Algebra K L] [IsScalarTower A K L] [FiniteDimensional K L], IsFractionRing C L
If the field L is a finite extension of the fraction field of the integral domain A,
the integral closure C of A in L has fraction field L.
theorem integralClosure.isFractionRing_of_algebraic E1 #
∀ {A : Type u_3} [inst : CommRing A] {L : Type u_5} [inst_1 : Field L] [inst_2 : Algebra A L] [Algebra.IsAlgebraic A L],
(∀ (x : A), (algebraMap A L) x = 0 → x = 0) → IsFractionRing (↥(integralClosure A L)) L
If the field L is an algebraic extension of the integral domain A,
the integral closure of A in L has fraction field L.
theorem integralClosure.isFractionRing_of_finite_extension E1 #
∀ {A : Type u_3} (K : Type u_4) [inst : CommRing A] (L : Type u_5) [inst_1 : Field K] [inst_2 : Field L]
[inst_3 : Algebra A K] [IsFractionRing A K] [IsDomain A] [inst_6 : Algebra A L] [inst_7 : Algebra K L]
[IsScalarTower A K L] [FiniteDimensional K L], IsFractionRing (↥(integralClosure A L)) L
If the field L is a finite extension of the fraction field of the integral domain A,
the integral closure of A in L has fraction field L.
theorem IsLocalization.integralClosure E1 #
∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S] {Rf : Type u_5}
{Sf : Type u_6} [inst_3 : CommRing Rf] [inst_4 : CommRing Sf] [inst_5 : Algebra R Rf] [inst_6 : Algebra S Sf]
[inst_7 : Algebra Rf Sf] [inst_8 : Algebra R Sf] [IsScalarTower R S Sf] [inst_10 : IsScalarTower R Rf Sf]
(M : Submonoid R) [IsLocalization M Rf] [IsLocalization (Algebra.algebraMapSubmonoid S M) Sf]
[inst_13 : Algebra ↥(integralClosure R S) ↥(integralClosure Rf Sf)]
[IsScalarTower (↥(integralClosure R S)) (↥(integralClosure Rf Sf)) Sf]
[IsScalarTower R ↥(integralClosure R S) ↥(integralClosure Rf Sf)],
IsLocalization (Algebra.algebraMapSubmonoid (↥(integralClosure R S)) M) ↥(integralClosure Rf Sf)
Taking integral closure commutes with localizations.
theorem IsLocalization.Away.integralClosure E1 #
∀ {R : Type u_1} [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S] {Rf : Type u_5}
{Sf : Type u_6} [inst_3 : CommRing Rf] [inst_4 : CommRing Sf] [inst_5 : Algebra R Rf] [inst_6 : Algebra S Sf]
[inst_7 : Algebra Rf Sf] [inst_8 : Algebra R Sf] [IsScalarTower R S Sf] [inst_10 : IsScalarTower R Rf Sf] (f : R)
[IsLocalization.Away f Rf] [IsLocalization.Away ((algebraMap R S) f) Sf]
[inst_13 : Algebra ↥(integralClosure R S) ↥(integralClosure Rf Sf)]
[IsScalarTower (↥(integralClosure R S)) (↥(integralClosure Rf Sf)) Sf]
[IsScalarTower R ↥(integralClosure R S) ↥(integralClosure Rf Sf)],
IsLocalization.Away ((algebraMap R ↥(integralClosure R S)) f) ↥(integralClosure Rf Sf)
theorem IsFractionRing.isAlgebraic_iff' E1 #
∀ (R : Type u_1) [inst : CommRing R] (S : Type u_2) [inst_1 : CommRing S] [inst_2 : Algebra R S] (K : Type u_4)
[inst_3 : Field K] [IsDomain R] [inst_5 : Algebra R K] [inst_6 : Algebra S K] [Module.IsTorsionFree R K]
[IsFractionRing S K] [IsScalarTower R S K], Algebra.IsAlgebraic R S ↔ Algebra.IsAlgebraic R K
S is algebraic over R iff a fraction ring of S is algebraic over R
theorem IsFractionRing.ideal_span_singleton_map_subset E1 #
∀ (R : Type u_1) [inst : CommRing R] {S : Type u_2} [inst_1 : CommRing S] [inst_2 : Algebra R S] {K : Type u_4}
{L : Type u_5} [IsDomain R] [IsDomain S] [inst_5 : Field K] [inst_6 : Field L] [inst_7 : Algebra R K]
[inst_8 : Algebra R L] [inst_9 : Algebra S L] [Algebra.IsAlgebraic R S] [IsFractionRing S L] [inst_12 : Algebra K L]
[IsScalarTower R S L] [IsScalarTower R K L] {a : S} {b : Set S},
Function.Injective ⇑(algebraMap R L) →
↑(Ideal.span {a}) ⊆ ↑(Submodule.span R b) →
↑(Ideal.span {(algebraMap S L) a}) ⊆ ↑(Submodule.span K (⇑(algebraMap S L) '' b))
If the S-multiples of a are contained in some R-span, then Frac(S)-multiples of a
are contained in the equivalent Frac(R)-span.
theorem isAlgebraic_of_isFractionRing E1 #
∀ (R : Type u_5) (S : Type u_6) (K : Type u_7) (L : Type u_8) [inst : CommRing R] [inst_1 : CommRing S]
[inst_2 : Field K] [inst_3 : CommRing L] [inst_4 : Algebra R S] [inst_5 : Algebra R K] [inst_6 : Algebra R L]
[inst_7 : Algebra S L] [inst_8 : Algebra K L] [IsScalarTower R S L] [IsScalarTower R K L] [IsFractionRing S L]
[Algebra.IsIntegral R S], Algebra.IsAlgebraic K L