The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra
Mathlib.RingTheory.GradedAlgebra.Basic
48 declarations. Mathlib docs ยท Source
Internally-graded rings and algebras
This file defines the typeclass GradedAlgebra ๐, for working with an algebra A that is
internally graded by a collection of submodules ๐ : ฮน โ Submodule R A.
See the docstring of that typeclass for more information.
Main definitions
GradedRing ๐: the typeclass, which is a combination ofSetLike.GradedMonoid, andDirectSum.Decomposition ๐.GradedAlgebra ๐: A convenience alias forGradedRingwhen๐is a family of submodules.DirectSum.decomposeRingEquiv ๐ : A โโ[R] โจ i, ๐ i, a more bundled version ofDirectSum.decompose ๐.DirectSum.decomposeAlgEquiv ๐ : A โโ[R] โจ i, ๐ i, a more bundled version ofDirectSum.decompose ๐.GradedAlgebra.proj ๐ iis the linear map fromAto its degreei : ฮนcomponent, such thatproj ๐ i x = decompose ๐ x i.
Implementation notes
For now, we do not have internally-graded semirings and internally-graded rings; these can be
represented with ๐ : ฮน โ Submodule โ A and ๐ : ฮน โ Submodule โค A respectively, since all
Semirings are โ-algebras via Semiring.toNatAlgebra, and all Rings are โค-algebras via
Ring.toIntAlgebra.
Tags
graded algebra, graded ring, graded semiring, decomposition
theorem GradedRing.projZeroRingHom.congr_simp E1 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [inst_4 : CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐], GradedRing.projZeroRingHom ๐ = GradedRing.projZeroRingHom ๐
def GradedRing.ctorIdx E1 #
{ฮน : Type u_1} โ
{A : Type u_3} โ
{ฯ : Type u_4} โ
{inst : DecidableEq ฮน} โ
{inst_1 : AddMonoid ฮน} โ
{inst_2 : Semiring A} โ
{inst_3 : SetLike ฯ A} โ {inst_4 : AddSubmonoidClass ฯ A} โ {๐ : ฮน โ ฯ} โ GradedRing ๐ โ โ
theorem GradedRing.projZeroRingHom'.congr_simp E1 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [inst_4 : CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐], GradedRing.projZeroRingHom' ๐ = GradedRing.projZeroRingHom' ๐
class GradedRing E3 #
{ฮน : Type u_1} โ
{A : Type u_3} โ
{ฯ : Type u_4} โ
[DecidableEq ฮน] โ
[AddMonoid ฮน] โ
[inst : Semiring A] โ [inst_1 : SetLike ฯ A] โ [AddSubmonoidClass ฯ A] โ (ฮน โ ฯ) โ Type (max u_1 u_3)
An internally-graded R-algebra A is one that can be decomposed into a collection
of Submodule R As indexed by ฮน such that the canonical map A โ โจ i, ๐ i is bijective and
respects multiplication, i.e. the product of an element of degree i and an element of degree j
is an element of degree i + j.
Note that the fact that A is internally-graded, GradedAlgebra ๐, implies an externally-graded
algebra structure DirectSum.GAlgebra R (fun i โฆ โฅ(๐ i)), which in turn makes available an
Algebra R (โจ i, ๐ i) instance.
instance GradedRing.toGradedMonoid E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} {inst : DecidableEq ฮน} {inst_1 : AddMonoid ฮน} {inst_2 : Semiring A}
{inst_3 : SetLike ฯ A} {inst_4 : AddSubmonoidClass ฯ A} {๐ : ฮน โ ฯ} [self : GradedRing ๐], SetLike.GradedMonoid ๐
instance GradedRing.toDecomposition E0 #
{ฮน : Type u_1} โ
{A : Type u_3} โ
{ฯ : Type u_4} โ
{inst : DecidableEq ฮน} โ
{inst_1 : AddMonoid ฮน} โ
{inst_2 : Semiring A} โ
{inst_3 : SetLike ฯ A} โ
{inst_4 : AddSubmonoidClass ฯ A} โ {๐ : ฮน โ ฯ} โ [self : GradedRing ๐] โ DirectSum.Decomposition ๐
ctor GradedRing.mk E0 #
{ฮน : Type u_1} โ
{A : Type u_3} โ
{ฯ : Type u_4} โ
[inst : DecidableEq ฮน] โ
[inst_1 : AddMonoid ฮน] โ
[inst_2 : Semiring A] โ
[inst_3 : SetLike ฯ A] โ
[inst_4 : AddSubmonoidClass ฯ A] โ
{๐ : ฮน โ ฯ} โ
[toGradedMonoid : SetLike.GradedMonoid ๐] โ
[toDecomposition : DirectSum.Decomposition ๐] โ GradedRing ๐
def DirectSum.decomposeRingEquiv E1 #
{ฮน : Type u_1} โ
{A : Type u_3} โ
{ฯ : Type u_4} โ
[inst : DecidableEq ฮน] โ
[inst_1 : AddMonoid ฮน] โ
[inst_2 : Semiring A] โ
[inst_3 : SetLike ฯ A] โ
[inst_4 : AddSubmonoidClass ฯ A] โ
(๐ : ฮน โ ฯ) โ [inst_5 : GradedRing ๐] โ A โ+* DirectSum ฮน fun i โฆ โฅ(๐ i)
If A is graded by ฮน with degree i component ๐ i, then it is isomorphic as
a ring to a direct sum of components.
theorem DirectSum.decompose_one E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : Semiring A]
[inst_3 : SetLike ฯ A] [inst_4 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) [inst_5 : GradedRing ๐],
(DirectSum.decompose ๐) 1 = 1
theorem DirectSum.decompose_symm_one E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : Semiring A]
[inst_3 : SetLike ฯ A] [inst_4 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) [inst_5 : GradedRing ๐],
(DirectSum.decompose ๐).symm 1 = 1
theorem DirectSum.decompose_mul E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : Semiring A]
[inst_3 : SetLike ฯ A] [inst_4 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) [inst_5 : GradedRing ๐] (x y : A),
(DirectSum.decompose ๐) (x * y) = (DirectSum.decompose ๐) x * (DirectSum.decompose ๐) y
theorem DirectSum.decompose_symm_mul E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : Semiring A]
[inst_3 : SetLike ฯ A] [inst_4 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) [inst_5 : GradedRing ๐]
(x y : DirectSum ฮน fun i โฆ โฅ(๐ i)),
(DirectSum.decompose ๐).symm (x * y) = (DirectSum.decompose ๐).symm x * (DirectSum.decompose ๐).symm y
def GradedRing.proj E3 #
{ฮน : Type u_1} โ
{A : Type u_3} โ
{ฯ : Type u_4} โ
[inst : DecidableEq ฮน] โ
[inst_1 : AddMonoid ฮน] โ
[inst_2 : Semiring A] โ
[inst_3 : SetLike ฯ A] โ [inst_4 : AddSubmonoidClass ฯ A] โ (๐ : ฮน โ ฯ) โ [GradedRing ๐] โ ฮน โ A โ+ A
The projection maps of a graded ring
theorem GradedRing.proj_apply E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : Semiring A]
[inst_3 : SetLike ฯ A] [inst_4 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) [inst_5 : GradedRing ๐] (i : ฮน) (r : A),
(GradedRing.proj ๐ i) r = โ(((DirectSum.decompose ๐) r) i)
theorem GradedRing.proj_recompose E1 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : Semiring A]
[inst_3 : SetLike ฯ A] [inst_4 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) [inst_5 : GradedRing ๐]
(a : DirectSum ฮน fun i โฆ โฅ(๐ i)) (i : ฮน),
(GradedRing.proj ๐ i) ((DirectSum.decompose ๐).symm a) =
(DirectSum.decompose ๐).symm ((DirectSum.of (fun i โฆ โฅ(๐ i)) i) (a i))
theorem GradedRing.mem_support_iff E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : Semiring A]
[inst_3 : SetLike ฯ A] [inst_4 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) [inst_5 : GradedRing ๐]
[inst_6 : (i : ฮน) โ (x : โฅ(๐ i)) โ Decidable (x โ 0)] (r : A) (i : ฮน),
i โ DFinsupp.support ((DirectSum.decompose ๐) r) โ (GradedRing.proj ๐ i) r โ 0
theorem DirectSum.coe_decompose_mul_add_of_left_mem E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : Semiring A] [inst_2 : SetLike ฯ A]
[inst_3 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) {i j : ฮน} [inst_4 : AddLeftCancelMonoid ฮน] [inst_5 : GradedRing ๐]
{a b : A}, a โ ๐ i โ โ(((DirectSum.decompose ๐) (a * b)) (i + j)) = a * โ(((DirectSum.decompose ๐) b) j)
theorem DirectSum.coe_decompose_mul_add_of_right_mem E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : Semiring A] [inst_2 : SetLike ฯ A]
[inst_3 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) {i j : ฮน} [inst_4 : AddRightCancelMonoid ฮน] [inst_5 : GradedRing ๐]
{a b : A}, b โ ๐ j โ โ(((DirectSum.decompose ๐) (a * b)) (i + j)) = โ(((DirectSum.decompose ๐) a) i) * b
theorem DirectSum.decompose_mul_add_left E1 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : Semiring A] [inst_2 : SetLike ฯ A]
[inst_3 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) {i j : ฮน} [inst_4 : AddLeftCancelMonoid ฮน] [inst_5 : GradedRing ๐]
(a : โฅ(๐ i)) {b : A},
((DirectSum.decompose ๐) (โa * b)) (i + j) = GradedMonoid.GMul.mul a (((DirectSum.decompose ๐) b) j)
theorem DirectSum.decompose_mul_add_right E1 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : Semiring A] [inst_2 : SetLike ฯ A]
[inst_3 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) {i j : ฮน} [inst_4 : AddRightCancelMonoid ฮน] [inst_5 : GradedRing ๐]
{a : A} (b : โฅ(๐ j)),
((DirectSum.decompose ๐) (a * โb)) (i + j) = GradedMonoid.GMul.mul (((DirectSum.decompose ๐) a) i) b
theorem DirectSum.coe_decompose_mul_of_left_mem_zero E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : Semiring A] [inst_2 : SetLike ฯ A]
[inst_3 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) {j : ฮน} [inst_4 : AddMonoid ฮน] [inst_5 : GradedRing ๐] {a b : A},
a โ ๐ 0 โ โ(((DirectSum.decompose ๐) (a * b)) j) = a * โ(((DirectSum.decompose ๐) b) j)
theorem DirectSum.coe_decompose_mul_of_right_mem_zero E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : DecidableEq ฮน] [inst_1 : Semiring A] [inst_2 : SetLike ฯ A]
[inst_3 : AddSubmonoidClass ฯ A] (๐ : ฮน โ ฯ) {i : ฮน} [inst_4 : AddMonoid ฮน] [inst_5 : GradedRing ๐] {a b : A},
b โ ๐ 0 โ โ(((DirectSum.decompose ๐) (a * b)) i) = โ(((DirectSum.decompose ๐) a) i) * b
abbrev GradedAlgebra E1 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
[DecidableEq ฮน] โ
[AddMonoid ฮน] โ
[inst : CommSemiring R] โ
[inst_1 : Semiring A] โ [inst_2 : Algebra R A] โ (ฮน โ Submodule R A) โ Type (max u_1 u_3)
A special case of GradedRing with ฯ = Submodule R A. This is useful both because it
can avoid typeclass search, and because it provides a more concise name.
abbrev GradedAlgebra.ofAlgHom E1 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
[inst : DecidableEq ฮน] โ
[inst_1 : AddMonoid ฮน] โ
[inst_2 : CommSemiring R] โ
[inst_3 : Semiring A] โ
[inst_4 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ
[inst_5 : SetLike.GradedMonoid ๐] โ
(decompose : A โโ[R] DirectSum ฮน fun i โฆ โฅ(๐ i)) โ
(DirectSum.coeAlgHom ๐).comp decompose = AlgHom.id R A โ
(โ (i : ฮน) (x : โฅ(๐ i)), decompose โx = (DirectSum.of (fun i โฆ โฅ(๐ i)) i) x) โ GradedAlgebra ๐
A helper to construct a GradedAlgebra when the SetLike.GradedMonoid structure is already
available. This makes the left_inv condition easier to prove, and phrases the right_inv
condition in a way that allows custom @[ext] lemmas to apply.
See note [reducible non-instances].
instance instGradedAlgebraRestrictScalars E0 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
[inst : DecidableEq ฮน] โ
[inst_1 : AddMonoid ฮน] โ
[inst_2 : CommSemiring R] โ
[inst_3 : Semiring A] โ
[inst_4 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ
(Rโ : Type u_5) โ
[inst_5 : CommSemiring Rโ] โ
[inst_6 : Algebra Rโ R] โ
[inst_7 : Algebra Rโ A] โ
[inst_8 : IsScalarTower Rโ R A] โ
[i : GradedAlgebra ๐] โ GradedAlgebra fun x โฆ Submodule.restrictScalars Rโ (๐ x)
def DirectSum.decomposeAlgEquiv E1 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
[inst : DecidableEq ฮน] โ
[inst_1 : AddMonoid ฮน] โ
[inst_2 : CommSemiring R] โ
[inst_3 : Semiring A] โ
[inst_4 : Algebra R A] โ
(๐ : ฮน โ Submodule R A) โ [inst_5 : GradedAlgebra ๐] โ A โโ[R] DirectSum ฮน fun i โฆ โฅ(๐ i)
If A is graded by ฮน with degree i component ๐ i, then it is isomorphic as
an algebra to a direct sum of components.
theorem DirectSum.decomposeAlgEquiv_apply E0 #
โ {ฮน : Type u_1} {R : Type u_2} {A : Type u_3} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : CommSemiring R]
[inst_3 : Semiring A] [inst_4 : Algebra R A] (๐ : ฮน โ Submodule R A) [inst_5 : GradedAlgebra ๐] (a : A),
(DirectSum.decomposeAlgEquiv ๐) a = (DirectSum.decompose ๐) a
theorem DirectSum.decomposeAlgEquiv_symm_apply E0 #
โ {ฮน : Type u_1} {R : Type u_2} {A : Type u_3} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : CommSemiring R]
[inst_3 : Semiring A] [inst_4 : Algebra R A] (๐ : ฮน โ Submodule R A) [inst_5 : GradedAlgebra ๐]
(a : DirectSum ฮน fun i โฆ โฅ(๐ i)), (DirectSum.decomposeAlgEquiv ๐).symm a = (DirectSum.decompose ๐).symm a
theorem DirectSum.decompose_algebraMap E0 #
โ {ฮน : Type u_1} {R : Type u_2} {A : Type u_3} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : CommSemiring R]
[inst_3 : Semiring A] [inst_4 : Algebra R A] (๐ : ฮน โ Submodule R A) [inst_5 : GradedAlgebra ๐] (r : R),
(DirectSum.decompose ๐) ((algebraMap R A) r) = (algebraMap R (DirectSum ฮน fun i โฆ โฅ(๐ i))) r
theorem DirectSum.decompose_symm_algebraMap E0 #
โ {ฮน : Type u_1} {R : Type u_2} {A : Type u_3} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : CommSemiring R]
[inst_3 : Semiring A] [inst_4 : Algebra R A] (๐ : ฮน โ Submodule R A) [inst_5 : GradedAlgebra ๐] (r : R),
(DirectSum.decompose ๐).symm ((algebraMap R (DirectSum ฮน fun i โฆ โฅ(๐ i))) r) = (algebraMap R A) r
def GradedAlgebra.proj E1 #
{ฮน : Type u_1} โ
{R : Type u_2} โ
{A : Type u_3} โ
[inst : DecidableEq ฮน] โ
[inst_1 : AddMonoid ฮน] โ
[inst_2 : CommSemiring R] โ
[inst_3 : Semiring A] โ [inst_4 : Algebra R A] โ (๐ : ฮน โ Submodule R A) โ [GradedAlgebra ๐] โ ฮน โ A โโ[R] A
The projection maps of graded algebra
theorem GradedAlgebra.proj_apply E0 #
โ {ฮน : Type u_1} {R : Type u_2} {A : Type u_3} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : CommSemiring R]
[inst_3 : Semiring A] [inst_4 : Algebra R A] (๐ : ฮน โ Submodule R A) [inst_5 : GradedAlgebra ๐] (i : ฮน) (r : A),
(GradedAlgebra.proj ๐ i) r = โ(((DirectSum.decompose ๐) r) i)
theorem GradedAlgebra.proj_recompose E1 #
โ {ฮน : Type u_1} {R : Type u_2} {A : Type u_3} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : CommSemiring R]
[inst_3 : Semiring A] [inst_4 : Algebra R A] (๐ : ฮน โ Submodule R A) [inst_5 : GradedAlgebra ๐]
(a : DirectSum ฮน fun i โฆ โฅ(๐ i)) (i : ฮน),
(GradedAlgebra.proj ๐ i) ((DirectSum.decompose ๐).symm a) =
(DirectSum.decompose ๐).symm ((DirectSum.of (fun i โฆ โฅ(๐ i)) i) (a i))
theorem GradedAlgebra.mem_support_iff E0 #
โ {ฮน : Type u_1} {R : Type u_2} {A : Type u_3} [inst : DecidableEq ฮน] [inst_1 : AddMonoid ฮน] [inst_2 : CommSemiring R]
[inst_3 : Semiring A] [inst_4 : Algebra R A] (๐ : ฮน โ Submodule R A) [inst_5 : GradedAlgebra ๐]
[inst_6 : DecidableEq A] (r : A) (i : ฮน),
i โ DFinsupp.support ((DirectSum.decompose ๐) r) โ (GradedAlgebra.proj ๐ i) r โ 0
def GradedRing.projZeroRingHom E1 #
{ฮน : Type u_1} โ
{A : Type u_3} โ
{ฯ : Type u_4} โ
[inst : Semiring A] โ
[inst_1 : DecidableEq ฮน] โ
[inst_2 : AddCommMonoid ฮน] โ
[inst_3 : PartialOrder ฮน] โ
[CanonicallyOrderedAdd ฮน] โ
[inst_5 : SetLike ฯ A] โ [inst_6 : AddSubmonoidClass ฯ A] โ (๐ : ฮน โ ฯ) โ [GradedRing ๐] โ A โ+* A
If A is graded by a canonically ordered additive monoid, then the projection map x โฆ xโ
is a ring homomorphism.
theorem GradedRing.projZeroRingHom_apply E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [inst_4 : CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐] (a : A), (GradedRing.projZeroRingHom ๐) a = โ(((DirectSum.decompose ๐) a) 0)
def GradedRing.projZeroRingHom' E1 #
{ฮน : Type u_1} โ
{A : Type u_3} โ
{ฯ : Type u_4} โ
[inst : Semiring A] โ
[inst_1 : DecidableEq ฮน] โ
[inst_2 : AddCommMonoid ฮน] โ
[inst_3 : PartialOrder ฮน] โ
[CanonicallyOrderedAdd ฮน] โ
[inst_5 : SetLike ฯ A] โ
[inst_6 : AddSubmonoidClass ฯ A] โ (๐ : ฮน โ ฯ) โ [inst_7 : GradedRing ๐] โ A โ+* โฅ(๐ 0)
The ring homomorphism from A to ๐ 0 sending every a : A to aโ.
theorem GradedRing.coe_projZeroRingHom'_apply E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [inst_4 : CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐] (a : A), โ((GradedRing.projZeroRingHom' ๐) a) = (GradedRing.projZeroRingHom ๐) a
theorem GradedRing.projZeroRingHom'_apply_coe E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [inst_4 : CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐] (a : โฅ(๐ 0)), (GradedRing.projZeroRingHom' ๐) โa = a
theorem GradedRing.projZeroRingHom'_surjective E1 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [inst_4 : CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐], Function.Surjective โ(GradedRing.projZeroRingHom' ๐)
The ring homomorphism GradedRing.projZeroRingHom' ๐ is surjective.
theorem DirectSum.coe_decompose_mul_of_left_mem_of_not_le E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐] {a b : A} {n i : ฮน}, a โ ๐ i โ ยฌi โค n โ โ(((DirectSum.decompose ๐) (a * b)) n) = 0
theorem DirectSum.coe_decompose_mul_of_right_mem_of_not_le E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐] {a b : A} {n i : ฮน}, b โ ๐ i โ ยฌi โค n โ โ(((DirectSum.decompose ๐) (a * b)) n) = 0
theorem DirectSum.coe_decompose_mul_of_left_mem_of_le E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐] {a b : A} {n i : ฮน} [inst_8 : Sub ฮน] [OrderedSub ฮน] [AddLeftReflectLE ฮน],
a โ ๐ i โ i โค n โ โ(((DirectSum.decompose ๐) (a * b)) n) = a * โ(((DirectSum.decompose ๐) b) (n - i))
theorem DirectSum.coe_decompose_mul_of_right_mem_of_le E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐] {a b : A} {n i : ฮน} [inst_8 : Sub ฮน] [OrderedSub ฮน] [AddLeftReflectLE ฮน],
b โ ๐ i โ i โค n โ โ(((DirectSum.decompose ๐) (a * b)) n) = โ(((DirectSum.decompose ๐) a) (n - i)) * b
theorem DirectSum.coe_decompose_mul_of_left_mem E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐] {a b : A} {i : ฮน} [inst_8 : Sub ฮน] [OrderedSub ฮน] [AddLeftReflectLE ฮน] (n : ฮน)
[inst_11 : Decidable (i โค n)],
a โ ๐ i โ โ(((DirectSum.decompose ๐) (a * b)) n) = if i โค n then a * โ(((DirectSum.decompose ๐) b) (n - i)) else 0
theorem DirectSum.coe_decompose_mul_of_right_mem E0 #
โ {ฮน : Type u_1} {A : Type u_3} {ฯ : Type u_4} [inst : Semiring A] [inst_1 : DecidableEq ฮน] [inst_2 : AddCommMonoid ฮน]
[inst_3 : PartialOrder ฮน] [CanonicallyOrderedAdd ฮน] [inst_5 : SetLike ฯ A] [inst_6 : AddSubmonoidClass ฯ A]
(๐ : ฮน โ ฯ) [inst_7 : GradedRing ๐] {a b : A} {i : ฮน} [inst_8 : Sub ฮน] [OrderedSub ฮน] [AddLeftReflectLE ฮน] (n : ฮน)
[inst_11 : Decidable (i โค n)],
b โ ๐ i โ โ(((DirectSum.decompose ๐) (a * b)) n) = if i โค n then โ(((DirectSum.decompose ๐) a) (n - i)) * b else 0
def DirectSum.IsInternal.coeAlgEquiv E1 #
{R : Type u_5} โ
[inst : CommSemiring R] โ
{A : Type u_6} โ
[inst_1 : Semiring A] โ
[inst_2 : Algebra R A] โ
{ฮน : Type u_7} โ
[inst_3 : DecidableEq ฮน] โ
[inst_4 : AddMonoid ฮน] โ
{M : ฮน โ Submodule R A} โ
[inst_5 : SetLike.GradedMonoid M] โ DirectSum.IsInternal M โ (DirectSum ฮน fun i โฆ โฅ(M i)) โโ[R] A
The canonical isomorphism of an internal direct sum with the ambient algebra
def DirectSum.IsInternal.gradedAlgebra E1 #
{R : Type u_5} โ
[inst : CommSemiring R] โ
{A : Type u_6} โ
[inst_1 : Semiring A] โ
[inst_2 : Algebra R A] โ
{ฮน : Type u_7} โ
[inst_3 : DecidableEq ฮน] โ
[inst_4 : AddMonoid ฮน] โ
{M : ฮน โ Submodule R A} โ [SetLike.GradedMonoid M] โ DirectSum.IsInternal M โ GradedAlgebra M
Given an R-algebra A and a family ฮน โ Submodule R A of submodules
parameterized by an additive monoid ฮน
and satisfying SetLike.GradedMonoid M (essentially, is multiplicative)
such that DirectSum.IsInternal M (A is the direct sum of the M i),
we endow A with the structure of a graded algebra.
The submodules are the homogeneous parts.