The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V08. Multilinear algebra and forms

Mathlib.RingTheory.Coalgebra.TensorProduct

26 declarations. Mathlib docs · Source

instance TensorProduct.instCoalgebraStruct E0 #

{R : Type u_1} →
  {S : Type u_2} →
    {A : Type u_3} →
      {B : Type u_4} →
        [inst : CommSemiring R] →
          [inst_1 : CommSemiring S] →
            [inst_2 : AddCommMonoid A] →
              [inst_3 : AddCommMonoid B] →
                [inst_4 : Algebra R S] →
                  [inst_5 : Module R A] →
                    [inst_6 : Module S A] →
                      [inst_7 : Module R B] →
                        [inst_8 : IsScalarTower R S A] →
                          [CoalgebraStruct R B] → [CoalgebraStruct S A] → CoalgebraStruct S (TensorProduct R A B)

theorem TensorProduct.comul_def E0 #

∀ {R : Type u_1} {S : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : AddCommMonoid A] [inst_3 : AddCommMonoid B] [inst_4 : Algebra R S] [inst_5 : Module R A]
  [inst_6 : Module S A] [inst_7 : Module R B] [inst_8 : IsScalarTower R S A] [inst_9 : CoalgebraStruct R B]
  [inst_10 : CoalgebraStruct S A],
  CoalgebraStruct.comul =
    ↑(TensorProduct.AlgebraTensorModule.tensorTensorTensorComm R S R S A A B B) ∘ₗ
      TensorProduct.AlgebraTensorModule.map CoalgebraStruct.comul CoalgebraStruct.comul

theorem TensorProduct.counit_def E0 #

∀ {R : Type u_1} {S : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : AddCommMonoid A] [inst_3 : AddCommMonoid B] [inst_4 : Algebra R S] [inst_5 : Module R A]
  [inst_6 : Module S A] [inst_7 : Module R B] [inst_8 : IsScalarTower R S A] [inst_9 : CoalgebraStruct R B]
  [inst_10 : CoalgebraStruct S A],
  CoalgebraStruct.counit =
    ↑(TensorProduct.AlgebraTensorModule.rid R S S) ∘ₗ
      TensorProduct.AlgebraTensorModule.map CoalgebraStruct.counit CoalgebraStruct.counit

theorem TensorProduct.comul_tmul E0 #

∀ {R : Type u_1} {S : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : AddCommMonoid A] [inst_3 : AddCommMonoid B] [inst_4 : Algebra R S] [inst_5 : Module R A]
  [inst_6 : Module S A] [inst_7 : Module R B] [inst_8 : IsScalarTower R S A] [inst_9 : CoalgebraStruct R B]
  [inst_10 : CoalgebraStruct S A] (x : A) (y : B),
  CoalgebraStruct.comul (x ⊗ₜ[R] y) =
    (TensorProduct.AlgebraTensorModule.tensorTensorTensorComm R S R S A A B B)
      (CoalgebraStruct.comul x ⊗ₜ[R] CoalgebraStruct.comul y)

theorem TensorProduct.counit_tmul E0 #

∀ {R : Type u_1} {S : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : AddCommMonoid A] [inst_3 : AddCommMonoid B] [inst_4 : Algebra R S] [inst_5 : Module R A]
  [inst_6 : Module S A] [inst_7 : Module R B] [inst_8 : IsScalarTower R S A] [inst_9 : CoalgebraStruct R B]
  [inst_10 : CoalgebraStruct S A] (x : A) (y : B),
  CoalgebraStruct.counit (x ⊗ₜ[R] y) = CoalgebraStruct.counit y • CoalgebraStruct.counit x

def TensorProduct.tacticHopf_tensor_induction_With__ E1 #

Lean.ParserDescr

hopf_tensor_induction x with x₁ x₂ attempts to replace x by x₁ ⊗ₜ x₂ via linearity. This is an implementation detail that is used to set up tensor products of coalgebras, bialgebras, and hopf algebras, and shouldn't be relied on downstream.

instance TensorProduct.instCoalgebra E0 #

{R : Type u_1} →
  {S : Type u_2} →
    {A : Type u_3} →
      {B : Type u_4} →
        [inst : CommSemiring R] →
          [inst_1 : CommSemiring S] →
            [inst_2 : AddCommMonoid A] →
              [inst_3 : AddCommMonoid B] →
                [inst_4 : Algebra R S] →
                  [inst_5 : Module R A] →
                    [inst_6 : Module S A] →
                      [inst_7 : Module R B] →
                        [inst_8 : IsScalarTower R S A] →
                          [Coalgebra R B] → [Coalgebra S A] → Coalgebra S (TensorProduct R A B)

instance TensorProduct.instIsCocomm E0 #

∀ {R : Type u_1} {S : Type u_2} {A : Type u_3} {B : Type u_4} [inst : CommSemiring R] [inst_1 : CommSemiring S]
  [inst_2 : AddCommMonoid A] [inst_3 : AddCommMonoid B] [inst_4 : Algebra R S] [inst_5 : Module R A]
  [inst_6 : Module S A] [inst_7 : Module R B] [inst_8 : IsScalarTower R S A] [inst_9 : Coalgebra R B]
  [inst_10 : Coalgebra S A] [Coalgebra.IsCocomm S A] [Coalgebra.IsCocomm R B],
  Coalgebra.IsCocomm S (TensorProduct R A B)

def Coalgebra.TensorProduct.map E1 #

{R : Type u_5} →
  {S : Type u_6} →
    {M : Type u_7} →
      {N : Type u_8} →
        {P : Type u_9} →
          {Q : Type u_10} →
            [inst : CommSemiring R] →
              [inst_1 : CommSemiring S] →
                [inst_2 : Algebra R S] →
                  [inst_3 : AddCommMonoid M] →
                    [inst_4 : AddCommMonoid N] →
                      [inst_5 : AddCommMonoid P] →
                        [inst_6 : AddCommMonoid Q] →
                          [inst_7 : Module R M] →
                            [inst_8 : Module R N] →
                              [inst_9 : Module R P] →
                                [inst_10 : Module R Q] →
                                  [inst_11 : Module S M] →
                                    [inst_12 : IsScalarTower R S M] →
                                      [inst_13 : Coalgebra S M] →
                                        [inst_14 : Module S N] →
                                          [inst_15 : IsScalarTower R S N] →
                                            [inst_16 : Coalgebra S N] →
                                              [inst_17 : Coalgebra R P] →
                                                [inst_18 : Coalgebra R Q] →
                                                  (M →ₗc[S] N) →
                                                    (P →ₗc[R] Q) → TensorProduct R M P →ₗc[S] TensorProduct R N Q

The tensor product of two coalgebra morphisms as a coalgebra morphism.

theorem Coalgebra.TensorProduct.map_tmul E0 #

∀ {R : Type u_5} {S : Type u_6} {M : Type u_7} {N : Type u_8} {P : Type u_9} {Q : Type u_10} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid N]
  [inst_5 : AddCommMonoid P] [inst_6 : AddCommMonoid Q] [inst_7 : Module R M] [inst_8 : Module R N]
  [inst_9 : Module R P] [inst_10 : Module R Q] [inst_11 : Module S M] [inst_12 : IsScalarTower R S M]
  [inst_13 : Coalgebra S M] [inst_14 : Module S N] [inst_15 : IsScalarTower R S N] [inst_16 : Coalgebra S N]
  [inst_17 : Coalgebra R P] [inst_18 : Coalgebra R Q] (f : M →ₗc[S] N) (g : P →ₗc[R] Q) (x : M) (y : P),
  (Coalgebra.TensorProduct.map f g) (x ⊗ₜ[R] y) = f x ⊗ₜ[R] g y

theorem Coalgebra.TensorProduct.map_toLinearMap E0 #

∀ {R : Type u_5} {S : Type u_6} {M : Type u_7} {N : Type u_8} {P : Type u_9} {Q : Type u_10} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid N]
  [inst_5 : AddCommMonoid P] [inst_6 : AddCommMonoid Q] [inst_7 : Module R M] [inst_8 : Module R N]
  [inst_9 : Module R P] [inst_10 : Module R Q] [inst_11 : Module S M] [inst_12 : IsScalarTower R S M]
  [inst_13 : Coalgebra S M] [inst_14 : Module S N] [inst_15 : IsScalarTower R S N] [inst_16 : Coalgebra S N]
  [inst_17 : Coalgebra R P] [inst_18 : Coalgebra R Q] (f : M →ₗc[S] N) (g : P →ₗc[R] Q),
  ↑(Coalgebra.TensorProduct.map f g) = TensorProduct.AlgebraTensorModule.map ↑f ↑g

def Coalgebra.TensorProduct.assoc E1 #

(R : Type u_5) →
  (S : Type u_6) →
    (M : Type u_7) →
      (N : Type u_8) →
        (P : Type u_9) →
          [inst : CommSemiring R] →
            [inst_1 : CommSemiring S] →
              [inst_2 : Algebra R S] →
                [inst_3 : AddCommMonoid M] →
                  [inst_4 : AddCommMonoid N] →
                    [inst_5 : AddCommMonoid P] →
                      [inst_6 : Module R M] →
                        [inst_7 : Module R N] →
                          [inst_8 : Module R P] →
                            [inst_9 : Module S M] →
                              [inst_10 : IsScalarTower R S M] →
                                [inst_11 : Coalgebra S M] →
                                  [inst_12 : Module S N] →
                                    [inst_13 : IsScalarTower R S N] →
                                      [inst_14 : Coalgebra S N] →
                                        [inst_15 : Coalgebra R P] →
                                          TensorProduct R (TensorProduct S M N) P ≃ₗc[S]
                                            TensorProduct S M (TensorProduct R N P)

The associator for tensor products of R-coalgebras, as a coalgebra equivalence.

theorem Coalgebra.TensorProduct.assoc_tmul E0 #

∀ {R : Type u_5} {S : Type u_6} {M : Type u_7} {N : Type u_8} {P : Type u_9} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid N]
  [inst_5 : AddCommMonoid P] [inst_6 : Module R M] [inst_7 : Module R N] [inst_8 : Module R P] [inst_9 : Module S M]
  [inst_10 : IsScalarTower R S M] [inst_11 : Coalgebra S M] [inst_12 : Module S N] [inst_13 : IsScalarTower R S N]
  [inst_14 : Coalgebra S N] [inst_15 : Coalgebra R P] (x : M) (y : N) (z : P),
  (Coalgebra.TensorProduct.assoc R S M N P) (x ⊗ₜ[S] y ⊗ₜ[R] z) = x ⊗ₜ[S] (y ⊗ₜ[R] z)

theorem Coalgebra.TensorProduct.assoc_symm_tmul E0 #

∀ {R : Type u_5} {S : Type u_6} {M : Type u_7} {N : Type u_8} {P : Type u_9} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid N]
  [inst_5 : AddCommMonoid P] [inst_6 : Module R M] [inst_7 : Module R N] [inst_8 : Module R P] [inst_9 : Module S M]
  [inst_10 : IsScalarTower R S M] [inst_11 : Coalgebra S M] [inst_12 : Module S N] [inst_13 : IsScalarTower R S N]
  [inst_14 : Coalgebra S N] [inst_15 : Coalgebra R P] (x : M) (y : N) (z : P),
  (Coalgebra.TensorProduct.assoc R S M N P).symm (x ⊗ₜ[S] (y ⊗ₜ[R] z)) = x ⊗ₜ[S] y ⊗ₜ[R] z

theorem Coalgebra.TensorProduct.assoc_toLinearEquiv E0 #

∀ {R : Type u_5} {S : Type u_6} {M : Type u_7} {N : Type u_8} {P : Type u_9} [inst : CommSemiring R]
  [inst_1 : CommSemiring S] [inst_2 : Algebra R S] [inst_3 : AddCommMonoid M] [inst_4 : AddCommMonoid N]
  [inst_5 : AddCommMonoid P] [inst_6 : Module R M] [inst_7 : Module R N] [inst_8 : Module R P] [inst_9 : Module S M]
  [inst_10 : IsScalarTower R S M] [inst_11 : Coalgebra S M] [inst_12 : Module S N] [inst_13 : IsScalarTower R S N]
  [inst_14 : Coalgebra S N] [inst_15 : Coalgebra R P],
  (Coalgebra.TensorProduct.assoc R S M N P).toLinearEquiv = TensorProduct.AlgebraTensorModule.assoc R S S M N P

def Coalgebra.TensorProduct.lid E1 #

(R : Type u_5) →
  (P : Type u_9) →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid P] → [inst_2 : Module R P] → [inst_3 : Coalgebra R P] → TensorProduct R R P ≃ₗc[R] P

The base ring is a left identity for the tensor product of coalgebras, up to coalgebra equivalence.

theorem Coalgebra.TensorProduct.lid_toLinearEquiv E0 #

∀ {R : Type u_5} {P : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid P] [inst_2 : Module R P]
  [inst_3 : Coalgebra R P], (Coalgebra.TensorProduct.lid R P).toLinearEquiv = TensorProduct.lid R P

theorem Coalgebra.TensorProduct.lid_tmul E0 #

∀ {R : Type u_5} {P : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid P] [inst_2 : Module R P]
  [inst_3 : Coalgebra R P] (r : R) (a : P), (Coalgebra.TensorProduct.lid R P) (r ⊗ₜ[R] a) = r • a

theorem Coalgebra.TensorProduct.lid_symm_apply E0 #

∀ {R : Type u_5} {P : Type u_9} [inst : CommSemiring R] [inst_1 : AddCommMonoid P] [inst_2 : Module R P]
  [inst_3 : Coalgebra R P] (a : P), (Coalgebra.TensorProduct.lid R P).symm a = 1 ⊗ₜ[R] a

def Coalgebra.TensorProduct.rid E1 #

(R : Type u_5) →
  (S : Type u_6) →
    (M : Type u_7) →
      [inst : CommSemiring R] →
        [inst_1 : CommSemiring S] →
          [inst_2 : Algebra R S] →
            [inst_3 : AddCommMonoid M] →
              [inst_4 : Module R M] →
                [inst_5 : Module S M] →
                  [inst_6 : IsScalarTower R S M] → [inst_7 : Coalgebra S M] → TensorProduct R M R ≃ₗc[S] M

The base ring is a right identity for the tensor product of coalgebras, up to coalgebra equivalence.

theorem Coalgebra.TensorProduct.rid_toLinearEquiv E0 #

∀ {R : Type u_5} {S : Type u_6} {M : Type u_7} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [inst_5 : Module S M] [inst_6 : IsScalarTower R S M]
  [inst_7 : Coalgebra S M],
  (Coalgebra.TensorProduct.rid R S M).toLinearEquiv = TensorProduct.AlgebraTensorModule.rid R S M

theorem Coalgebra.TensorProduct.rid_tmul E0 #

∀ {R : Type u_5} {S : Type u_6} {M : Type u_7} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [inst_5 : Module S M] [inst_6 : IsScalarTower R S M]
  [inst_7 : Coalgebra S M] (r : R) (a : M), (Coalgebra.TensorProduct.rid R S M) (a ⊗ₜ[R] r) = r • a

theorem Coalgebra.TensorProduct.rid_symm_apply E0 #

∀ {R : Type u_5} {S : Type u_6} {M : Type u_7} [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [inst_5 : Module S M] [inst_6 : IsScalarTower R S M]
  [inst_7 : Coalgebra S M] (a : M), (Coalgebra.TensorProduct.rid R S M).symm a = a ⊗ₜ[R] 1

abbrev CoalgHom.lTensor E1 #

{R : Type u_5} →
  (M : Type u_6) →
    {N : Type u_7} →
      {P : Type u_8} →
        [inst : CommRing R] →
          [inst_1 : AddCommGroup M] →
            [inst_2 : AddCommGroup N] →
              [inst_3 : AddCommGroup P] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R N] →
                    [inst_6 : Module R P] →
                      [inst_7 : Coalgebra R M] →
                        [inst_8 : Coalgebra R N] →
                          [inst_9 : Coalgebra R P] → (N →ₗc[R] P) → TensorProduct R M N →ₗc[R] TensorProduct R M P

lTensor M f : M ⊗ N →ₗc M ⊗ P is the natural coalgebra morphism induced by f : N →ₗc P.

abbrev CoalgHom.rTensor E1 #

{R : Type u_5} →
  (M : Type u_6) →
    {N : Type u_7} →
      {P : Type u_8} →
        [inst : CommRing R] →
          [inst_1 : AddCommGroup M] →
            [inst_2 : AddCommGroup N] →
              [inst_3 : AddCommGroup P] →
                [inst_4 : Module R M] →
                  [inst_5 : Module R N] →
                    [inst_6 : Module R P] →
                      [inst_7 : Coalgebra R M] →
                        [inst_8 : Coalgebra R N] →
                          [inst_9 : Coalgebra R P] → (N →ₗc[R] P) → TensorProduct R N M →ₗc[R] TensorProduct R P M

rTensor M f : N ⊗ M →ₗc P ⊗ M is the natural coalgebra morphism induced by f : N →ₗc P.

def Coalgebra.comulCoalgHom E1 #

(R : Type u_5) →
  (C : Type u_6) →
    [inst : CommSemiring R] →
      [inst_1 : AddCommMonoid C] →
        [inst_2 : Module R C] → [inst_3 : Coalgebra R C] → [Coalgebra.IsCocomm R C] → C →ₗc[R] TensorProduct R C C

Comultiplication as a coalgebra hom.