The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra
Mathlib.RingTheory.GradedAlgebra.TensorProduct
15 declarations. Mathlib docs ยท Source
Tensor product of graded algebra
In this file we show that if ๐ is a graded R-algebra, and S is any R-algebra, then
S โ[R] ๐ is a graded S-algebra with the grading fun i โฆ (๐ i).baseChange S.
Implementation notes
We need to provide the shortcut instances afterwards for the grade zero because it is expensive to
deduce via unification the function fun i โฆ (๐ i).baseChange S.
theorem AlgHom.liftEquiv.congr_simp E1 #
โ (R : Type u_4) (S : Type u_5) (A : Type u_6) (B : Type u_7) [inst : CommSemiring R] [inst_1 : CommSemiring S]
[inst_2 : Semiring A] [inst_3 : Semiring B] [inst_4 : Algebra R A] [inst_5 : Algebra S B] [inst_6 : Algebra R S]
[inst_7 : Algebra R B] [inst_8 : IsScalarTower R S B], AlgHom.liftEquiv R S A B = AlgHom.liftEquiv R S A B
instance GradedAlgebra.baseChange E0 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
{S : Type u_4} โ
[inst : CommSemiring R] โ
[inst_1 : CommSemiring S] โ
[inst_2 : Algebra R S] โ
[inst_3 : DecidableEq ฮน] โ
[inst_4 : AddMonoid ฮน] โ
[inst_5 : Semiring A] โ
[inst_6 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ [GradedAlgebra ๐] โ GradedAlgebra fun i โฆ Submodule.baseChange S (๐ i)
instance GradedAlgebra.instSemiringSubtypeTensorProductMemSubmoduleBaseChangeOfNat E0 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
{S : Type u_4} โ
[inst : CommSemiring R] โ
[inst_1 : CommSemiring S] โ
[inst_2 : Algebra R S] โ
[inst_3 : DecidableEq ฮน] โ
[inst_4 : AddMonoid ฮน] โ
[inst_5 : Semiring A] โ
[inst_6 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ [GradedAlgebra ๐] โ Semiring โฅ(Submodule.baseChange S (๐ 0))
instance GradedAlgebra.instAlgebraSubtypeTensorProductMemSubmoduleBaseChangeOfNat E0 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
{S : Type u_4} โ
[inst : CommSemiring R] โ
[inst_1 : CommSemiring S] โ
[inst_2 : Algebra R S] โ
[inst_3 : DecidableEq ฮน] โ
[inst_4 : AddMonoid ฮน] โ
[inst_5 : Semiring A] โ
[inst_6 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ [inst_7 : GradedAlgebra ๐] โ Algebra S โฅ(Submodule.baseChange S (๐ 0))
theorem GradedAlgebra.coe_algebraMap_apply E0 #
โ {ฮน : Type u_1} {R : Type u_2} {A : Type u_3} {S : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring S]
[inst_2 : Algebra R S] [inst_3 : DecidableEq ฮน] [inst_4 : AddMonoid ฮน] [inst_5 : Semiring A] [inst_6 : Algebra R A]
(๐ : ฮน โ Submodule R A) [inst_7 : GradedAlgebra ๐] (s : S),
โ((algebraMap S โฅ(Submodule.baseChange S (๐ 0))) s) = s โโ[R] 1
instance GradedAlgebra.instCommSemiringSubtypeTensorProductMemSubmoduleBaseChangeOfNat E0 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
{S : Type u_4} โ
[inst : CommSemiring R] โ
[inst_1 : CommSemiring S] โ
[inst_2 : Algebra R S] โ
[inst_3 : DecidableEq ฮน] โ
[inst_4 : AddMonoid ฮน] โ
[inst_5 : CommSemiring A] โ
[inst_6 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ [GradedAlgebra ๐] โ CommSemiring โฅ(Submodule.baseChange S (๐ 0))
instance GradedAlgebra.instAlgebraSubtypeTensorProductMemSubmoduleBaseChangeOfNat_1 E0 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
{S : Type u_4} โ
[inst : CommSemiring R] โ
[inst_1 : CommSemiring S] โ
[inst_2 : Algebra R S] โ
[inst_3 : DecidableEq ฮน] โ
[inst_4 : AddCommMonoid ฮน] โ
[inst_5 : CommSemiring A] โ
[inst_6 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ
[inst_7 : GradedAlgebra ๐] โ Algebra (โฅ(Submodule.baseChange S (๐ 0))) (TensorProduct R S A)
theorem GradedAlgebra.algebraMap_apply E0 #
โ {ฮน : Type u_1} {R : Type u_2} {A : Type u_3} {S : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring S]
[inst_2 : Algebra R S] [inst_3 : DecidableEq ฮน] [inst_4 : AddCommMonoid ฮน] [inst_5 : CommSemiring A]
[inst_6 : Algebra R A] (๐ : ฮน โ Submodule R A) [inst_7 : GradedAlgebra ๐] (x : โฅ(Submodule.baseChange S (๐ 0))),
(algebraMap (โฅ(Submodule.baseChange S (๐ 0))) (TensorProduct R S A)) x = โx
instance GradedAlgebra.instRingSubtypeTensorProductMemSubmoduleBaseChangeOfNat E0 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
{S : Type u_4} โ
[inst : CommSemiring R] โ
[inst_1 : CommRing S] โ
[inst_2 : Algebra R S] โ
[inst_3 : DecidableEq ฮน] โ
[inst_4 : AddMonoid ฮน] โ
[inst_5 : Semiring A] โ
[inst_6 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ [GradedAlgebra ๐] โ Ring โฅ(Submodule.baseChange S (๐ 0))
instance GradedAlgebra.instCommRingSubtypeTensorProductMemSubmoduleBaseChangeOfNat E0 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
{S : Type u_4} โ
[inst : CommSemiring R] โ
[inst_1 : CommRing S] โ
[inst_2 : Algebra R S] โ
[inst_3 : DecidableEq ฮน] โ
[inst_4 : AddCommMonoid ฮน] โ
[inst_5 : CommSemiring A] โ
[inst_6 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ [GradedAlgebra ๐] โ CommRing โฅ(Submodule.baseChange S (๐ 0))
def GradedAlgHom.liftEquiv E1 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{S : Type u_3} โ
{A : Type u_4} โ
{B : Type u_5} โ
[inst : DecidableEq ฮน] โ
[inst_1 : AddMonoid ฮน] โ
[inst_2 : CommSemiring R] โ
[inst_3 : CommSemiring S] โ
[inst_4 : Semiring A] โ
[inst_5 : Semiring B] โ
[inst_6 : Algebra R A] โ
[inst_7 : Algebra S B] โ
(๐ : ฮน โ Submodule R A) โ
(โฌ : ฮน โ Submodule S B) โ
[inst_8 : GradedAlgebra ๐] โ
[inst_9 : GradedAlgebra โฌ] โ
[inst_10 : Algebra R S] โ
[inst_11 : Algebra R B] โ
[inst_12 : IsScalarTower R S B] โ
(๐ โโแต[R] fun x โฆ Submodule.restrictScalars R (โฌ x)) โ
((fun x โฆ Submodule.baseChange S (๐ x)) โโแต[S] โฌ)
A map from the base change of a graded algebra is the same as a map to the scalar restriction.
In category-theoretical terms, this is an adjunction between:
๐ โฆ (๐ ยท |>.baseChange S), a functor from GradedR-Algebra to GradedS-Algebra; and:โฌ โฆ (โฌ ยท |>.restrictScalars R), a functor from GradedS-Algebra to GradedR-Algebra.
theorem GradedAlgHom.liftEquiv_tmul E0 #
โ {ฮน : Type u_1} {R : Type u_2} {S : Type u_3} {A : Type u_4} {B : Type u_5} [inst : DecidableEq ฮน]
[inst_1 : AddMonoid ฮน] [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Semiring A] [inst_5 : Semiring B]
[inst_6 : Algebra R A] [inst_7 : Algebra S B] {๐ : ฮน โ Submodule R A} {โฌ : ฮน โ Submodule S B}
[inst_8 : GradedAlgebra ๐] [inst_9 : GradedAlgebra โฌ] [inst_10 : Algebra R S] [inst_11 : Algebra R B]
[inst_12 : IsScalarTower R S B] (f : ๐ โโแต[R] fun x โฆ Submodule.restrictScalars R (โฌ x)) (r : S) (x : A),
((GradedAlgHom.liftEquiv ๐ โฌ) f) (r โโ[R] x) = r โข f x
theorem GradedAlgHom.liftEquiv_symm_apply E0 #
โ {ฮน : Type u_1} {R : Type u_2} {S : Type u_3} {A : Type u_4} {B : Type u_5} [inst : DecidableEq ฮน]
[inst_1 : AddMonoid ฮน] [inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Semiring A] [inst_5 : Semiring B]
[inst_6 : Algebra R A] [inst_7 : Algebra S B] {๐ : ฮน โ Submodule R A} {โฌ : ฮน โ Submodule S B}
[inst_8 : GradedAlgebra ๐] [inst_9 : GradedAlgebra โฌ] [inst_10 : Algebra R S] [inst_11 : Algebra R B]
[inst_12 : IsScalarTower R S B] (f : (fun x โฆ Submodule.baseChange S (๐ x)) โโแต[S] โฌ) (x : A),
((GradedAlgHom.liftEquiv ๐ โฌ).symm f) x = f (1 โโ[R] x)
def GradedAlgHom.includeRight E1 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
(S : Type u_3) โ
{A : Type u_4} โ
[inst : DecidableEq ฮน] โ
[inst_1 : AddMonoid ฮน] โ
[inst_2 : CommSemiring R] โ
[inst_3 : CommSemiring S] โ
[inst_4 : Semiring A] โ
[inst_5 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ
[inst_6 : GradedAlgebra ๐] โ
[inst_7 : Algebra R S] โ
๐ โโแต[R] fun x โฆ Submodule.restrictScalars R (Submodule.baseChange S (๐ x))
Graded version of Algebra.TensorProduct.includeRight, i.e. the inclusion from a graded
R-algebra ๐ to its base change to S and then restricted back to R. (The restriction does
not change the actual sets).
In categorical terms, this is the unit of the adjunction GradedAlgHom.liftEquiv.
theorem GradedAlgHom.includeRight_apply E0 #
โ {ฮน : Type u_1} {R : Type u_2} (S : Type u_3) {A : Type u_4} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน]
[inst_2 : CommSemiring R] [inst_3 : CommSemiring S] [inst_4 : Semiring A] [inst_5 : Algebra R A]
{๐ : ฮน โ Submodule R A} [inst_6 : GradedAlgebra ๐] [inst_7 : Algebra R S] (x : A),
(GradedAlgHom.includeRight S ๐) x = 1 โโ[R] x