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
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.
- decompose' : A â DirectSum Κ fun (i : Κ) => âĽ(đ i)
- left_inv : Function.LeftInverse (â(DirectSum.coeAddMonoidHom đ)) decompose'
- right_inv : Function.RightInverse (â(DirectSum.coeAddMonoidHom đ)) decompose'
Instances
If A is graded by Κ with degree i component đ i, then it is isomorphic as
a ring to a direct sum of components.
Equations
Instances For
The projection maps of a graded ring
Equations
Instances For
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.
Equations
Instances For
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].
Equations
Instances For
If A is graded by Κ with degree i component đ i, then it is isomorphic as
an algebra to a direct sum of components.
Equations
Instances For
The projection maps of graded algebra
Equations
Instances For
If A is graded by a canonically ordered additive monoid, then the projection map x ⌠xâ
is a ring homomorphism.
Equations
Instances For
The ring homomorphism from A to đ 0 sending every a : A to aâ.
Equations
Instances For
The ring homomorphism GradedRing.projZeroRingHom' đ is surjective.
The canonical isomorphism of an internal direct sum with the ambient algebra
Equations
Instances For
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.