Comodules over a coalgebra #
This file defines right comodules over an R-coalgebra C and their morphisms. A right
comodule is an R-module M equipped with a coaction ρ : M →ₗ[R] M ⊗[R] C satisfying
the usual coassociativity and counit identities.
This is a first Layer 1 prerequisite for the reductive-groups roadmap: representations of an affine group scheme represented by a Hopf algebra are comodules over its coordinate Hopf algebra, and the roadmap explicitly calls for comodules, comodule morphisms, tensor products, duals, and the regular representation. The file starts with the core definition, the regular right comodule of a coalgebra over itself, and the basic morphism API.
Main definitions #
TauCeti.Comodule: a right comodule over a coalgebra.TauCeti.Comodule.Hom: morphisms of comodules.TauCeti.Comodule.instSelf: the regular right comodule of a coalgebra over itself.
References #
This follows the standard definition of a right comodule over a coalgebra; see for example Sweedler, Hopf Algebras, Chapter 2. It is added for the "Comodules over a coalgebra/Hopf algebra" target in Layer 1 of the Tau Ceti reductive-groups roadmap.
A right comodule over an R-coalgebra C.
The coaction is written as a linear map coact : M →ₗ[R] M ⊗[R] C. The coassociativity law
says that coacting twice on the M component agrees with coacting once and then
comultiplying the C component. The counit law says that applying the coalgebra counit to
the C component recovers the original vector, under the canonical M ⊗ R presentation.
The coaction of a right comodule.
- coassoc : ↑(TensorProduct.assoc R M C C) ∘ₗ LinearMap.rTensor C coact ∘ₗ coact = LinearMap.lTensor M CoalgebraStruct.comul ∘ₗ coact
Coassociativity of the right coaction.
- lTensor_counit_comp_coact : LinearMap.lTensor M CoalgebraStruct.counit ∘ₗ coact = (TensorProduct.mk R M R).flip 1
The right counit law for the coaction.
Instances
Coassociativity of the coaction, as an equality of linear maps.
Coassociativity of the coaction, evaluated at a vector.
The counit law of the coaction, evaluated at a vector.
The regular right comodule of a coalgebra over itself, with coaction given by the coalgebra comultiplication.
Equations
- TauCeti.Comodule.instSelf R C = { coact := CoalgebraStruct.comul, coassoc := ⋯, lTensor_counit_comp_coact := ⋯ }
The coaction of the regular right comodule is the coalgebra comultiplication.
A morphism of right comodules over a fixed coalgebra.
- toFun : M → N
A comodule morphism commutes with the two coactions.
Instances For
Equations
- TauCeti.Comodule.Hom.funLike = { coe := fun (f : TauCeti.Comodule.Hom R C M N) => ⇑f.toLinearMap, coe_injective := ⋯ }
See Note [custom simps projection].
Equations
Instances For
Two comodule morphisms are equal when their underlying functions are equal.
A comodule morphism commutes with coactions, as an equality of linear maps.
A comodule morphism commutes with coactions, evaluated at a vector.
The identity morphism of a right comodule.
Equations
- TauCeti.Comodule.Hom.id R C M = { toLinearMap := LinearMap.id, map_coact := ⋯ }
Instances For
Composition of right-comodule morphisms.
Equations
- g.comp f = { toLinearMap := g.toLinearMap ∘ₗ f.toLinearMap, map_coact := ⋯ }
Instances For
The underlying linear map of the identity morphism is the identity linear map.
The underlying linear map of a composition is the composition of the underlying linear maps.