Internally graded rings and algebras #
This module provides DirectSum.GSemiring
and DirectSum.GCommSemiring
instances for a collection
of subobjects A
when a SetLike.GradedMonoid
instance is available:
With these instances in place, it provides the bundled canonical maps out of a direct sum of subobjects into their carrier type:
DirectSum.coeRingHom
(aRingHom
version ofDirectSum.coeAddMonoidHom
)DirectSum.coeAlgHom
(anAlgHom
version ofDirectSum.coeLinearMap
)
Strictly the definitions in this file are not sufficient to fully define an "internal" direct sum;
to represent this case, (h : DirectSum.IsInternal A) [SetLike.GradedMonoid A]
is
needed. In the future there will likely be a data-carrying, constructive, typeclass version of
DirectSum.IsInternal
for providing an explicit decomposition function.
When CompleteLattice.Independent (Set.range A)
(a weaker condition than
DirectSum.IsInternal A
), these provide a grading of ⨆ i, A i
, and the
mapping ⨁ i, A i →+ ⨆ i, A i
can be obtained as
DirectSum.toAddMonoid (fun i ↦ AddSubmonoid.inclusion <| le_iSup A i)
.
Tags #
internally graded ring
Equations
- AddCommMonoid.ofSubmonoidOnSemiring A i = inferInstance
Equations
- AddCommGroup.ofSubgroupOnRing A i = inferInstance
From AddSubmonoid
s and AddSubgroup
s #
Build a DirectSum.GNonUnitalNonAssocSemiring
instance for a collection of additive
submonoids.
Equations
- SetLike.gnonUnitalNonAssocSemiring A = let __src := SetLike.gMul A; DirectSum.GNonUnitalNonAssocSemiring.mk ⋯ ⋯ ⋯ ⋯
Build a DirectSum.GSemiring
instance for a collection of additive submonoids.
Equations
- SetLike.gsemiring A = let __src := SetLike.gMonoid A; DirectSum.GSemiring.mk ⋯ ⋯ ⋯ GradedMonoid.GMonoid.gnpow ⋯ ⋯ (fun (n : ℕ) => { val := ↑n, property := ⋯ }) ⋯ ⋯
Build a DirectSum.GCommSemiring
instance for a collection of additive submonoids.
Equations
- SetLike.gcommSemiring A = let __src := SetLike.gCommMonoid A; let __src_1 := SetLike.gsemiring A; DirectSum.GCommSemiring.mk ⋯
Build a DirectSum.GRing
instance for a collection of additive subgroups.
Equations
- SetLike.gring A = let __src := SetLike.gsemiring A; DirectSum.GRing.mk (fun (z : ℤ) => { val := ↑z, property := ⋯ }) ⋯ ⋯
Build a DirectSum.GCommRing
instance for a collection of additive submonoids.
Equations
- SetLike.gcommRing A = let __src := SetLike.gCommMonoid A; let __src_1 := SetLike.gring A; DirectSum.GCommRing.mk ⋯
The canonical ring isomorphism between ⨁ i, A i
and R
Equations
- DirectSum.coeRingHom A = DirectSum.toSemiring (fun (i : ι) => AddSubmonoidClass.subtype (A i)) ⋯ ⋯
Instances For
The canonical ring isomorphism between ⨁ i, A i
and R
Build a DirectSum.GAlgebra
instance for a collection of Submodule
s.
Equations
- Submodule.galgebra A = { toFun := LinearMap.toAddMonoidHom (LinearMap.codRestrict (A 0) (Algebra.linearMap S R) ⋯), map_one := ⋯, map_mul := ⋯, commutes := ⋯, smul_def := ⋯ }
A direct sum of powers of a submodule of an algebra has a multiplicative structure.
Equations
- ⋯ = ⋯
The canonical algebra isomorphism between ⨁ i, A i
and R
.
Equations
- DirectSum.coeAlgHom A = DirectSum.toAlgebra S (fun (i : ι) => ↥(A i)) (fun (i : ι) => Submodule.subtype (A i)) ⋯ ⋯
Instances For
The supremum of submodules that form a graded monoid is a subalgebra, and equal to the range of
DirectSum.coeAlgHom
.