Documentation

TauCeti.Algebra.Coalgebra.Comodule.Cat

The category of comodules over a coalgebra #

This file bundles the right comodules defined in TauCeti.Algebra.Coalgebra.Comodule.Basic into a category. For a fixed coalgebra C over a commutative semiring R, objects are R-semimodules with a right C-coaction and morphisms are the comodule morphisms already defined by Comodule.Hom.

The reductive-groups roadmap asks for the category of finite-dimensional comodules over a Hopf algebra as the representation category of an affine group scheme. This file supplies the underlying bundled category and its forgetful functor to SemimoduleCat; finiteness, tensor products, duals, and the Hopf-algebra specialization can be added on top.

Main definitions #

References #

This is the categorical packaging of the standard right-comodule definition, added for Layer 1 of the Tau Ceti reductive-groups roadmap: "Comodules over a coalgebra/Hopf algebra". The bundled-category API follows the pattern of Mathlib.Algebra.Category.CoalgCat.Basic and Mathlib.LinearAlgebra.QuadraticForm.QuadraticModuleCat.

structure TauCeti.ComoduleCat (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] extends SemimoduleCat R :
Type (max (max u v) (w + 1))

The category of right comodules over a fixed R-coalgebra C.

Instances For
    @[instance_reducible]
    Equations
    @[instance_reducible]
    Equations
    @[reducible, inline]
    abbrev TauCeti.ComoduleCat.of (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] (M : Type w) [AddCommMonoid M] [Module R M] [Comodule R C M] :

    Build a bundled comodule from a type carrying the usual unbundled typeclasses.

    Equations
    Instances For
      @[simp]

      The coaction on ComoduleCat.of is the original unbundled coaction.

      @[reducible, inline]
      abbrev TauCeti.ComoduleCat.Hom (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] (M N : ComoduleCat R C) :

      Morphisms in ComoduleCat are morphisms of the underlying right comodules.

      Equations
      Instances For
        @[instance_reducible]
        Equations
        • One or more equations did not get rendered due to their size.
        @[instance_reducible]
        instance TauCeti.ComoduleCat.homZero (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] (M N : ComoduleCat R C) :
        Zero (M ⟶ N)

        The zero structure on categorical morphisms is the zero comodule morphism.

        Equations
        @[instance_reducible]
        instance TauCeti.ComoduleCat.homAdd (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] (M N : ComoduleCat R C) :
        Add (M ⟶ N)

        Addition of categorical morphisms is pointwise addition of comodule morphisms.

        Equations
        • One or more equations did not get rendered due to their size.
        @[instance_reducible]

        Categorical morphisms form an additive commutative monoid under pointwise operations.

        Equations
        • One or more equations did not get rendered due to their size.
        @[instance_reducible]
        instance TauCeti.ComoduleCat.homSMul (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] (M N : ComoduleCat R C) :
        SMul R (M ⟶ N)

        Scalar multiplication of categorical morphisms is pointwise scalar multiplication of comodule morphisms.

        Equations
        • One or more equations did not get rendered due to their size.
        @[instance_reducible]
        instance TauCeti.ComoduleCat.homModule (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] (M N : ComoduleCat R C) :
        Module R (M ⟶ N)

        Categorical morphisms form an R-module under pointwise operations.

        Equations
        @[instance_reducible]

        ComoduleCat is concrete, with concrete morphisms the bundled comodule morphisms.

        Equations
        • One or more equations did not get rendered due to their size.
        @[reducible, inline]
        abbrev TauCeti.ComoduleCat.hom (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : ComoduleCat R C} (f : M ⟶ N) :

        Turn a morphism in ComoduleCat back into its underlying comodule morphism.

        Equations
        Instances For
          @[reducible, inline]
          abbrev TauCeti.ComoduleCat.ofHom (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : Type w} [AddCommMonoid M] [Module R M] [Comodule R C M] [AddCommMonoid N] [Module R N] [Comodule R C N] (f : Comodule.Hom R C M N) :
          of R C M ⟶ of R C N

          Typecheck an unbundled comodule morphism as a morphism in ComoduleCat.

          Equations
          Instances For
            @[simp]
            theorem TauCeti.ComoduleCat.hom_ofHom (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : Type w} [AddCommMonoid M] [Module R M] [Comodule R C M] [AddCommMonoid N] [Module R N] [Comodule R C N] (f : Comodule.Hom R C M N) :

            Turning an unbundled comodule morphism into a categorical morphism and back is the identity.

            @[simp]
            theorem TauCeti.ComoduleCat.ofHom_hom (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : ComoduleCat R C} (f : M ⟶ N) :

            Turning a categorical morphism into an unbundled comodule morphism and back is the identity.

            @[simp]

            The categorical identity is the bundled form of the identity comodule morphism.

            @[simp]
            theorem TauCeti.ComoduleCat.ofHom_comp (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N P : Type w} [AddCommMonoid M] [Module R M] [Comodule R C M] [AddCommMonoid N] [Module R N] [Comodule R C N] [AddCommMonoid P] [Module R P] [Comodule R C P] (f : Comodule.Hom R C M N) (g : Comodule.Hom R C N P) :

            Categorical composition is the bundled form of composition of comodule morphisms.

            @[simp]
            theorem TauCeti.ComoduleCat.ofHom_apply (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : Type w} [AddCommMonoid M] [Module R M] [Comodule R C M] [AddCommMonoid N] [Module R N] [Comodule R C N] (f : Comodule.Hom R C M N) (m : M) :

            The bundled form of a comodule morphism applies as the original morphism.

            @[reducible, inline]
            abbrev TauCeti.ComoduleCat.homLinearMap (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : ComoduleCat R C} (f : M ⟶ N) :

            The underlying linear map of a ComoduleCat morphism.

            Equations
            Instances For
              theorem TauCeti.ComoduleCat.hom_ext (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : ComoduleCat R C} {f g : M ⟶ N} (h : ∀ (m : (fun (X : ComoduleCat R C) => ↑X.toSemimoduleCat) M), (CategoryTheory.ConcreteCategory.hom f) m = (CategoryTheory.ConcreteCategory.hom g) m) :
              f = g

              Two morphisms of bundled comodules are equal when their underlying functions are equal.

              theorem TauCeti.ComoduleCat.hom_ext_iff {R : Type u} [CommSemiring R] {C : Type v} [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : ComoduleCat R C} {f g : M ⟶ N} :
              @[simp]

              The identity morphism has the identity linear map underneath.

              @[simp]

              Composition in ComoduleCat is composition of the underlying linear maps.

              @[simp]

              The identity morphism acts as the identity function.

              @[simp]

              Composition of morphisms acts by ordinary function composition.

              @[simp]

              The zero morphism has the zero linear map underneath.

              @[simp]
              theorem TauCeti.ComoduleCat.toLinearMap_add (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : ComoduleCat R C} (f g : M ⟶ N) :

              Addition of morphisms is addition of the underlying linear maps.

              @[simp]
              theorem TauCeti.ComoduleCat.toLinearMap_nsmul (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : ComoduleCat R C} (n : ℕ) (f : M ⟶ N) :

              Natural-number scalar multiplication of morphisms is natural-number scalar multiplication of the underlying linear maps.

              @[simp]
              theorem TauCeti.ComoduleCat.toLinearMap_smul (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N : ComoduleCat R C} (r : R) (f : M ⟶ N) :

              Scalar multiplication of morphisms is scalar multiplication of the underlying linear maps.

              @[simp]
              theorem TauCeti.ComoduleCat.toLinearMap_sum (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {ι : Type u_1} {M N : ComoduleCat R C} (s : Finset ι) (f : ι → (M ⟶ N)) :
              (∑ i ∈ s, f i).toLinearMap = ∑ i ∈ s, (f i).toLinearMap

              Finite sums of morphisms are finite sums of the underlying linear maps.

              @[simp]

              The zero morphism acts as the zero function.

              @[simp]

              Addition of morphisms acts by pointwise addition.

              @[simp]

              Natural-number scalar multiplication of morphisms acts by pointwise natural-number scalar multiplication.

              @[simp]

              Scalar multiplication of morphisms acts by pointwise scalar multiplication.

              @[simp]
              theorem TauCeti.ComoduleCat.sum_apply (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {ι : Type u_1} {M N : ComoduleCat R C} (s : Finset ι) (f : ι → (M ⟶ N)) (m : ↑M.toSemimoduleCat) :
              (CategoryTheory.ConcreteCategory.hom (∑ i ∈ s, f i)) m = ∑ i ∈ s, (CategoryTheory.ConcreteCategory.hom (f i)) m

              Finite sums of morphisms act by pointwise finite sums.

              @[simp]

              Composition in ComoduleCat is additive in the left morphism.

              @[simp]

              Composition in ComoduleCat is additive in the right morphism.

              @[simp]
              theorem TauCeti.ComoduleCat.smul_comp (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N P : ComoduleCat R C} (r : R) (f : M ⟶ N) (g : N ⟶ P) :

              Composition in ComoduleCat is compatible with scalar multiplication in the left morphism.

              @[simp]
              theorem TauCeti.ComoduleCat.comp_smul (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N P : ComoduleCat R C} (r : R) (f : M ⟶ N) (g : N ⟶ P) :

              Composition in ComoduleCat is compatible with scalar multiplication in the right morphism.

              theorem TauCeti.ComoduleCat.zero_comp (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N P : ComoduleCat R C} (f : N ⟶ P) :

              Composing the zero morphism on the left gives the zero morphism.

              theorem TauCeti.ComoduleCat.comp_zero (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N P : ComoduleCat R C} (f : M ⟶ N) :

              Composing the zero morphism on the right gives the zero morphism.

              @[instance_reducible]

              ComoduleCat has the standard categorical zero morphisms.

              Equations
              @[instance_reducible]

              The forgetful functor from comodules to their underlying semimodules.

              Equations
              • One or more equations did not get rendered due to their size.
              @[simp]

              The forgetful functor sends a comodule to its underlying semimodule.

              @[simp]

              The forgetful functor sends a comodule morphism to its underlying linear map.

              A categorical isomorphism of comodules induces the underlying linear equivalence.

              Equations
              Instances For
                @[simp]

                The linear equivalence induced by a comodule isomorphism has the isomorphism's forward comodule morphism underneath.

                @[simp]

                The inverse of the linear equivalence induced by a comodule isomorphism has the isomorphism's inverse comodule morphism underneath.

                @[simp]

                The linear equivalence induced by a comodule isomorphism applies as its forward morphism.

                @[simp]

                The inverse linear equivalence induced by a comodule isomorphism applies as the inverse morphism.

                @[simp]

                The linear equivalence induced by the identity comodule isomorphism is the identity.

                @[simp]

                The linear equivalence induced by the inverse comodule isomorphism is the inverse linear equivalence.

                @[simp]
                theorem TauCeti.ComoduleCat.isoToLinearEquiv_trans (R : Type u) [CommSemiring R] (C : Type v) [AddCommMonoid C] [Module R C] [Coalgebra R C] {M N P : ComoduleCat R C} (i : M ≅ N) (j : N ≅ P) :

                The linear equivalence induced by a composite comodule isomorphism is the composite of the induced linear equivalences.

                Build a comodule isomorphism from a linear equivalence whose forward map respects the coactions.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  @[simp]

                  The forward morphism of isoOfLinearEquiv has the original linear equivalence underneath.

                  @[simp]

                  The inverse morphism of isoOfLinearEquiv has the inverse linear equivalence underneath.

                  @[simp]

                  The forward morphism of isoOfLinearEquiv applies as the original linear equivalence.

                  @[simp]

                  The inverse morphism of isoOfLinearEquiv applies as the inverse linear equivalence.

                  @[simp]

                  Converting isoOfLinearEquiv back to a linear equivalence recovers the original linear equivalence.

                  @[simp]

                  Rebuilding a comodule isomorphism from its induced linear equivalence recovers the original isomorphism.