1. Introduction
Let 
R be a commutative fixed ring with unit and let C be the non-strict symmetric monoidal category of 
R-Mod where ⊗ denotes the tensor product over 
R. The notion of Long 
H-dimodule for a commutative and cocommutative Hopf algebra 
H in C was introduced by Long [
1] to study the Brauer group of 
H-dimodule algebras. For two arbitrary Hopf algebras 
H and 
B with bijective antipode there exists a well-known connection between the category of left-left 
H-
B-Long dimodules, denoted by 
Long, and the category of left-left Yetter-Drinfel’d modules over the Hopf algebra 
, denoted by 
. This relation can be formulated in the following way: if 
H is a quasitriangular and 
B coquasitriangular, 
Long is a braided monoidal subcategory of 
. As a consequence of this fact, we ensure that under the suitable conditions, Long dimodules provide non-trivial examples of solutions for the Yang–Baxter equation. On the other hand, for a commutative and cocommutative Hopf algebra 
H, the category of left-right 
H-
H-Long dimodules, denoted by 
Long
, is the category of left-right Yetter-Drinfel’d modules over 
H. Then, for all these reasons, it is not unreasonable to assume that there exists an interesting relationship between Long dimodules and the problem of find solutions for the Yang–Baxter equation. Moreover, the previous statement can be extended, as was proved by Militaru in [
2], to the problem of find solutions for the 
-equation.
The results about the connections between Long dimodules and Yetter–Drinfeld modules can be generalized to Hom–Hopf algebras and to non-associative Hopf structures as for example Hopf quasigroups. In [
3], for two monoidal Hom–Hopf algebras 
 and 
 the authors introduce the notion of generalized Hom-Long dimodule and the category of generalized Hom-Long dimodules proving that this category is an example of autonomous category. Also, if 
 is quasitriangular and 
 is coquasitriangular they obtain that the category of generalized Hom-Long dimodules is a braided monoidal subcategory of the category of left-left Yetter-Drinfel’d modules over the monoidal Hom–Hopf algebra 
. On the other hand, in [
4] (see also [
5]) we can find the definition of Long dimodule for Hopf quasigroups and, if 
H is a quasitriangular Hopf quasigroup and 
B coquasitriangular Hopf quasigroup, as in the previous settings, the authors prove that the category of left-left 
H-
B-Long dimodules is a braided monoidal subcategory of the category of Yetter-Drinfel’d modules over the Hopf quasigroup 
.
The main motivation of this paper is to prove that for weak Hopf algebras and Long dimodules associated with them we can obtain similar results to the ones cited in the previous paragraphs. Weak Hopf algebras (or quantum groupoids in the terminology of Nikshych and Vainerman [
6]) were introduced by Böhm, Nill and Szlachányi [
7] as novel algebraic structures encompassing Hopf algebras and groupoid algebras. The central difference with other associative and coassocitive Hopf objects is the following: The coproduct is not required to preserve the unit, equivalently, the counit is not a monoid morphism. The main motivations to study weak Hopf algebras come from many relevant facts. For example, on one hand, groupoid algebras and their duals provide natural examples of weak Hopf algebras and, on the other hand, weak Hopf algebras have a remarkable connection with some interesting theories, as for example, the theory of algebra extensions, the theory of dynamical twists of Hopf algebras, the theory of quantum field theories, the theory of operator algebras [
6] and the theory of fusion categories in characteristic zero [
8]. Also, Hayashi’s face algebras (see [
9]) are relevant examples of weak Hopf algebras and Yamanouchi’s generalized Kac algebras [
10] are exactly 
-weak Hopf algebras with involutive antipode. Finally, for weak Hopf algebras there exists a well-established theory of Yetter–Drinfeld modules (see [
11,
12]) for which, as in the Hopf algebra setting, the more remarkable property related with the Yang–Baxter equation is the following: If 
H is a weak Hopf algebra with bijective antipode the category of left-left Yetter–Drinfeld modules over 
H is braided monoidal. In this case is a remarkable fact that in a different way to the previously cited cases, the tensor product of two Yetter–Drinfeld modules 
M and 
N is a subspace of 
 defined by the image of a suitable idempotent 
R-map 
.
In this paper, we work in a monoidal setting to ensure a good level of generality. Then, we use monoids, comonoids, weak bimonoids and weak Hopf monoids instead of algebras, coalgebras, weak bialgebras and weak Hopf algebras. Our main results are contained in 
Section 3 and 
Section 4. For two weak Hopf monoids 
H and 
B, in the third section we introduce the category of 
H-
B-Long dimodules, denoted as for the category 
R-Mod, by 
Long and we describe in detail the tensor product of this category. In this setting the tensor product is defined as the image of the composition of two idempotent morphisms associated with the module and comodule structure, respectively. The main result is Theorem 1 which states that 
Long is monoidal. Finally, in the fourth section we prove the main result of this paper. As in the cases cited in the previous paragraphs, we obtain that if 
H is quasitriangular and 
B coquasitriangular, 
Long is a braided subcategory of 
 (see Theorem 3). Moreover, if 
H is triangular and 
B cotriangular, we established that 
Long is symmetric.
  2. Preliminaries
A monoidal category is a category C together with a functor 
, called tensor product, an object 
K of C, called the unit object, and families of natural isomorphisms
      
      in C, called associativity, right unit and left unit constraints, respectively, satisfying the Pentagon Axiom and the Triangle Axiom, i.e.,
      
      where for each object 
X in C, 
 denotes the identity morphism of 
X. For simplicity of notation, given objects 
M, 
N, 
P in C and a morphism 
, we write 
 for 
 and 
 for 
.
A monoidal category is called strict if the associativity, right unit and left unit constraints are identities. It is a well-known fact that every non-strict monoidal category is monoidal equivalent to a strict one (see [
13]). Then, in general, we can assume without loss of generality that the category is strict and, as a consequence of the quoted equivalence, the results proved in this paper remain valid for every non-strict symmetric monoidal category, what would include for example the categories of vector spaces over a field 
, or the one of left modules over a commutative ring 
R. In what follows, for simplicity of notation, given objects 
M, 
N, 
P in C and a morphism 
, we write 
 for 
 and 
 for 
.
A braiding for a strict monoidal category C is a natural family of isomorphisms
      
      subject to the conditions
      
A strict braided monoidal category is a strict monoidal category with a braiding. Braided monoidal categories were introduced by Joyal and Street (see [
14]) motivated by the theory of braids and links in topology. Please note that as a consequence of the definition, the equalities 
 hold, for all object 
M of C. If the braiding satisfies that 
 for all 
M, 
N in C, we will say that C is symmetric and the braiding will be called a symmetry.
Throughout this paper C denotes a strict symmetric monoidal category with tensor product ⊗, unit object 
K and natural isomorphism of symmetry 
c. We also assume that in C every idempotent morphism splits, i.e., for any morphism 
 such that 
 there exist an object 
Z, called the image of 
q, and morphisms 
, 
, such that 
 and 
. Please note that 
Z, 
p and 
i are unique up to isomorphism. The categories satisfying this property constitute a broad class that includes, among others, the categories with epi-monic decomposition for morphisms and categories with equalizers or coequalizers. For example, complete bornological spaces is a symmetric monoidal closed category that is not abelian, but it has coequalizers (see [
15]). On the other hand, let Hilb be the category whose objects are complex Hilbert spaces and whose morphisms are the continuous linear maps. Then, Hilb is not an abelian and closed category but it is a symmetric monoidal category (see [
16]) with coequalizers.
A monoid in C is a triple  where A is an object in C and  (unit),  (product) are morphisms in C such that  and . Given two monoids  and ,  is a monoid morphism if , . Also, if A, B are monoids in C, the object  is a monoid in C where  and 
A comonoid in C is a triple  where D is an object in C and  (counit),  (coproduct) are morphisms in C such that  and  If  and  are comonoids,  is a comonoid morphism if ,  If D, E are comonoids in C,  is a comonoid in C where  and 
If A is a monoid, C is a comonoid and ,  are morphisms, we define the convolution product by .
Definition 1. A weak bimonoid H is an object in C with a monoid structure  and a comonoid structure  such that the following axioms hold:
- (a1) 
- (a2) 
- (a3) 
- Moreover, if there exists a morphism  in  (called the antipode of H) satisfying 
- (a4) 
- (a5) 
- (a6) 
we will say that the weak bimonoid is a weak Hopf monoid.
 For any weak bimonoid, if we define the morphisms 
 (target), 
 (source), 
 and 
 by
      
      it is straightforward to show that they are idempotent and the equalities
      
      hold.
On the other hand, denote by 
 the image of the target morphism 
 and let 
, 
 be the morphisms such that 
 and 
. Then,
      
      is a monoid and
      
      is a comonoid. The morphisms 
, 
, 
 and 
 are the unique morphisms satisfying
      
      respectively.
Now we summarize the main properties of the idempotent morphisms 
, 
, 
 and 
 (see [
17] for the detailed proofs).
      
Lemma 1. Let H be a weak bimonoid in . The following identities hold:  Proof.  The proof for (
19) is the following:
-  (by ( 9- ) and the naturality of  c- ) 
-  (by ( 16- )) 
-  (by associativity of ) 
-  (by ( 10- )) 
-  (by ( 13- )). 
On the other hand,
-  (by ( 15- )) 
-  (by ( 9- )) 
-  (by coassociativity of ) 
-  (by ( 14- )) 
-  (by the naturality of  c-  and ( 10- )), 
The proof for (
21) is the following:
Finally, the proof for (
22) can be obtained as the previous one by reversing arrows. □
 If 
H is a weak Hopf monoid in C, the antipode 
 is unique, antimultiplicative, anticomultiplicative and leaves the unit and the counit invariant:
Also, it is straightforward to show the equalities
      
      and
      
If 
H and 
B are weak bimonoids in C, the tensor product 
 so is. In this case, the monoid–comonoid structure is the one of 
 and
      
Then, if 
H and 
B are weak Hopf monoids in C, the tensor product 
 so is with 
 Please note that
      
Finally, for any weak bimonoid H, we can define the opposite and coopposite weak bimonoids as  and , respectively. If H is a weak Hopf monoid and the antipode is an isomorphism,  and , are weak Hopf monoids.
In the end of this section, we summarize some properties about left modules and left comodules over a weak Hopf monoid. The complete details can be found in [
18,
19,
20].
Definition 2. Let H be a weak Hopf monoid in . We say that  is a left H-module if M is an object in  and  is a morphism in  such that Given two left H-modules  and , a morphism  in C 
is a morphism of left H-modules if If  and  are left H-modules we define the morphism  as It is easy to show that  satisfiesand the morphismis an idempotent. If we denote by  the image of  and by ,  the morphisms such that  and , it is not difficult to see that the object  is a left H-module with actionand the equalitieshold. Moreover, if ,  and  are left H-modules, we have thatalso holds. If  and  are morphisms of left H-modules, then,is a morphism of left H-modules between  and . Moreover,  Definition 3. We say that  is a left H-comodule in C 
if M is an object in  and  is a morphism in C 
such that Given two left H-comodules  and , a morphism  in C 
is a morphism of left H-comodules if If  and  are left H-comodules we define the morphism  as It is easy to show that  satisfies and the morphismis an idempotent. If we denote by  the image of  and by ,  the morphisms such that  and , it is not difficult to see that the object  is a left H-comodule with coactionand the equalityholds. Moreover, as in the case of left modules, if ,  and  are left H-comodules, we have thatalso holds. If  and  are morphisms of left H-comodules, then,is a morphism of left H-comodules between  and . Moreover,    3. The Category of Long Dimodules Over Weak Hopf Monoids
In this section, we generalize the notion of Long dimodule to the weak Hopf monoid setting.
Definition 4. Let H and B be weak Hopf monoids in C
. A left-left H-B-Long dimodule  is both a left H-module with action  and a left B-comodule with coaction  such that the equalityholds. A morphism between two left-left H-B-Long dimodules  and  is a morphism  of left H-modules and left B-comodules. Left-left H-B-Long dimodules and morphism of left-left H-B-Long dimodules form a category, denoted as Long.
In a similar way we can define left-right, right-left and right-right H-B-Long dimodules and we have the categories Long, Long and Long, respectively.
 Below we will give examples of left-left H-B-Long dimodules. We want to highlight that if the antipodes of H and B are isomorphisms, it is possible to give many more considering opposite and coopposite weak Hopf monoids.
Example 1. Let H and B be weak Hopf monoids in . The tripleis in Long.
 Similarly, if  and  are the images of the target morphisms with the corresponding structure of monoid–comonoid, by the properties of  and , (5) for H, (7) for B, the associativity of , the coassociativity of  and the naturality of c, we have thatbelongs to Long.
 Finally, let  be a left H-module. Then, it is easy to show thatis an example of left-left H-B-Long dimodule. Moreover, if  be a left B-comodule,belongs to the category Long.
  Example 2. Let H and B be weak Hopf monoids in . A skew pairing between H and B over K is a morphism  such that the equalities
- (b1) 
- (b2) 
- (b3) 
- (b4) 
hold.
Let  be a left B-comodule and let  be a skew pairing between H and B over K such that Then, the tripleis in Long
. Indeed, by (24), (b3) and the B-comodule condition for M, we have that . Moreover, using that M is a left B-comodule, the naturality of c, (b1) and (23), 
holds and, consequently,  is a left H-module. Finally, using that M is a left B-comodule and (45), condition (44) holds because 
In particular, if ,  and  is a skew pairing between H and H over K such thatwe obtain that  is in Long
. Moreover, if  is an isomorphism, the triple  belongs to Long 
if and only if (46) holds.  Example 3. Let H and B be weak Hopf monoids in C. We define a skew copairing between H and B over K as a morphism  such that the equalities
- (c1) 
- (c2) 
- (c3) 
- (c4) 
hold.
Now, let  be a left H-module and let  be a skew copairing between H and B over K such that Then, by a similar proof to the one developed for the example linked to skew pairings we have thatbelongs to Long
. Indeed: First note that by the naturality of c, (c4) and the condition of lef H-module for M, we have that . Moreover, using that M is a left H-module, (c2) and the naturality of c, 
and then,  is a left B-comodule. Finally, using (47), the naturality of c and the condition of left H-module for M, (44) holds because 
In particular, if ,  and  is a skew copairing between H and H over K such thatwe obtain that  is in Long
. Moreover, if  is an isomorphism, the triple  belongs to Long
if and only if (48) holds.  Example 4. Let H and B be weak Hopf monoids in C. Let  and  be morphisms in C. It is easy to show that  is a left H-module if and only if (b1) and (b3) of Example 2 hold. Similarly,  is a left B-comodule if and only if (c2) and (c3) of Example 3 hold. In any case,  and  are objects in the category Long.
 Remark 1. Please note that in the weak Hopf monoid setting, an object M with the trivial morphisms  and  is not an object in Long because in this case neither  is a left H-module nor  a left B-comodule.
 Lemma 2. Let H and B be weak Hopf monoids and let  and  be in Long
. Then, the idempotent morphisms  and , defined in (32) and (40) (for ), satisfy that As a consequence, the morphismis idempotent and there exist two morphisms  and  such that  and  where  is the image of . Moreover, the following identities hold:  Proof.  Indeed, let  and  be in Long. Then,
- (by ( 44- )) 
-  (by the naturality of c). 
Finally, (
51)–(
54) follows easily from (
49) and the properties of 
 and 
. □
 Lemma 3. Let H and B be weak Hopf monoids and let  and  be in Long
. Then, the idempotent morphisms ,  and , defined in (32), (40) and (50), satisfy that where  and  are the morphisms defined in (30) and (38) respectively.  Proof.  Let  and  be in Long. First we have that
		
- (by the naturality of c) 
- (by ( 44- ) for  N- ) 
- (by the naturality of c) 
-  (by ( 44- ) for  M- ) 
 and (
55) holds. Secondly,
-  (by the naturality of c) 
-  (by ( 44- ) for  M-  and  N- ) 
		and therefore (
56) holds.
On the other hand, (
57) and (
58) holds because by (
33), (
41), (
55) and (
56):
        
 □
 Lemma 4. Let H and B be weak Hopf monoids and let ,  and  be in Long
. Then, the idempotent morphisms ,  and , defined in (32), (40) and (50), satisfy that  Proof.  The proofs for (
61)–(
65) follow directly from (
59) and (
60). The proof for (
60) is similar to the one of (
59). Then, we only need to show that (
59) holds. Indeed:
-  (by ( 44- )) 
-  (by the naturality of c). 
 □
 Now we will define a tensor product in the categories of Long dimodules. The proof follows a similar pattern for each side. Then, we only get the computations for the left-left side.
Proposition 1. Let H and B be weak Hopf monoids and let  and  be in Long
. Then, the image of the idempotent morphism , defined in (50), belongs to Long 
with H-module and B-comodule structuresandrespectively. Moreover, if ,  are morphisms in Long
, then,is a morphism in Long 
between  and .  Proof.  Let 
H and 
B be weak Hopf monoids and let 
 and 
 be in 
Long. Let 
 the image of the idempotent morphism 
. Define the action 
 by
        
        and the coaction 
 by
        
The pair 
 is a left 
H-module because
        
        and
        
Similarly, by (
54) we obtain that 
 and, by (
39) and (
58), we have that
        
Therefore,  is a left B-comodule.
Also,  is an object in Long because
-  (by ( 57- )) 
-  (by the naturality of c) 
-  (by ( 44- ) for  M-  and  N- ) 
-  (by ( 57- )) 
On the other hand, if 
 and 
 are morphisms in 
Long, by (
35) and (
43), we have that
        
        holds. Define 
 as 
. Then, 
 is a morphism in 
Long because
-  (by definition of ) 
-  (by ( 66- )) 
-  (by the condition of morphism of left H-modules for f and g) 
-  (by ( 57- )) 
 and
-  (by definition) 
-  (by ( 66- )) 
-  (by the condition of morphism of left B-comodules for f and g) 
-  (by ( 58- )). 
Therefore, the proof is complete. □
 Lemma 5. Let H and B be weak Hopf monoids and let ,  and  be in Long
. Then, the following equalities hold:  Proof.  The proof for the identity (
67) is:
- (by definition) 
-  (by ( 57- ) and ( 58- ) for  N-  and  P- ) 
-  ( by ( 33- ) and ( 41- ) for  N-  and  P-  ) 
-  (by the naturality of c, the coassociativity of  and the associativity of ) 
-  (by ( 33- ) and ( 41- ) for  M-  and  N- ) 
-  (by ( 57- ) and ( 58- ) for  M-  and  N- ) 
-  (by definition). 
On the other hand, (
68) follows by
-  (by the proof of ( 67- )) 
-  (by ( 44- ) for  M- ,  N-  and  P- , the naturality of  c- ) 
-  (by (a2) of Definition 1 for B and (a1) of Definition 1 for H) 
-  (by the naturality of c, the condition of left H-module for N and the condition of left B-comodule for N) 
-  (by the naturality of c). 
Finally, note that by (
61), (
67) and (
68)
        
Therefore, (
69) holds because 
 is a monomorphism and 
 is an epimorphism. The proof for (
70) is similar and we leave the details to the reader. □
 Proposition 2. Let H and B be weak Hopf monoids and let ,  and  be in Long
. Then, the morphismdefined byis a natural isomorphism in Long 
and satisfies the Pentagon Axiom.  Proof.  First, note that the naturality of 
a follows from (
66). Secondly, by (
68), it is easy to show that the inverse of 
 is
        
On the other hand,  is a morphism in Long because we have
-  (by definition) 
-  (by ( 61- ) and ( 68- )) 
-  (by ( 57- ) for  N-  and  P- ) 
-  (by the naturality of c and coassociativity of ) 
-  (by ( 57- ) for  M-  and  N- ) 
-  (by ( 61- ), ( 67- ) and ( 68- )) 
        and
-  (by definition and naturality of c) 
-  (by ( 61- ), ( 67- ) and ( 68- )) 
-  (by the naturality of  c-  and ( 58- ) for  M-  and  N- ) 
-  (by the naturality of c and associativity of ) 
-  (by ( 58- ) for  N-  and  P- ) 
-  (by ( 61- ) and ( 68- )). 
Then, consequently, the Pentagon Axiom holds because, if , ,  and  are in Long,
-  (by ( 66- ) for the morphisms  -  and  - ) 
-  (by the identity ) 
-  (by ( 61- ), ( 67- ) and ( 68- )) 
-  (by ( 61- ) and ( 68- )) 
- (by ( 61- ) and ( 68- )) 
-  (by ( 69- )). 
 □
 Lemma 6. Let H and B be weak Hopf monoids and let  be in Long
. The following identities hold:  Proof.  The proof for (
71) is the following:
-  (by the naturality of c) 
-  (by ( 9- ) and ( 10- )) 
-  (by ( 5- ) and ( 7- )). 
As a consequence of (
71), we have
-  (by the naturality of c) 
-  (by ( 25- ) and ( 44- )) 
On the other hand, (
73) follows by
-  (by the naturality of  c-  and ( 44- )) 
-  (by ( 15- )) 
-  (by the naturality of c) 
-  (by ( 13- )). 
Finally,
-  (by the naturality of  c- , ( 5- ) and the condition of left  H- -module for  M- ) 
-  (by ( 10- ) and ( 44- )) 
-  (by the naturality of c) 
-  (by the naturality of  c-  and ( 13- )) 
 Proposition 3. Let H and B be weak Hopf monoids and let  be in Long
. The morphismsdefined byandare natural isomorphisms in Long 
and satisfy the Triangle Axiom.  Proof.  First note that it is easy to show that 
 and 
 are natural morphisms because (
66) holds. The morphisms 
 is an isomorphism with inverse
Indeed, on one hand,
-  (by the naturality of  c-  and ( 44- )) 
-  (by ( 72- )) 
-  (by the condition of left B-comodule for M) 
-  (by ( 25- )) 
-  (by the condition of left H-module for M and the associativity of ) 
-  (by ( 25- ) and the condition of left  H- -module for  M-  ) 
 and, on the other hand,
- (by the naturality of  c-  and ( 44- )) 
-  (by the naturality of  c- , ( 44- ) and the condition of left  H- -module for  M- ) 
-  (by ( 15- ) and the condition of left  B- -comodule for  M- ) 
-  (by ( 2- ) and ( 13- )) 
-  (by the naturality of  c- , ( 44- ) and ( 71- )) 
-  (by the properties of the idempotent ). 
The morphism  is a morphism of left H-modules because
-  (by ( 44- )) 
- (by ( 57- ) and naturality of  c- ) 
-  (by ( 5- ) and the condition of left  H- -module for  M- ) 
-  ( by the naturality of c and the associativity of ) 
-  (by (a1) of Definition 1, properties of  -  and ( 44- )) 
-  (by ( 1- )) 
-  (by ( 15- )) 
-  (by the condition of left H-module for M). 
Therefore,  is a morphism of left H-modules. Moreover,  is a morphism of left B-comodules because,
-  (by ( 44- )) 
-  (by ( 58- ) and naturality of  c- ) 
-  (by ( 7- )) 
-  (by the naturality of c and the condition of left B-comodule for M) 
-  (by ( 11- )) 
-  (by the naturality of c and the associativity of ) 
-  (by ( 25- )) 
-  (by ( 2- )) 
-  (by ( 13- )) 
-  (by the naturality of c) 
-  (by the left  B- -comodule condition for  M-  and ( 44- )). 
Thus,  is a morphism in Long.
The morphisms  is an isomorphism with inverse
Indeed: On one hand
-  (by definition) 
-  (by ( 74- )) 
-  (by ( 1- ), ( 2- ) and ( 18- )) 
-  (by the naturality of c, the conditions of left H-module and left B-comodule for M and the associativity of ). 
-  (by ( 25- ) for  -  ( - ) 
-  (by the naturality of c) 
-  (by ( 25- ) for  -  ( -  and the condition of left  B- -comodule for  M- ) 
-  (by the naturality of c) 
-  (by ( 25- )) 
-  (by ( 25- ) for  -  ( - )) 
-  (by the condition of left H-module for M) 
       and, on the other hand, 
-  (by ( 44- ), the naturality of  c-  and the conditions of left  H- -module and left  B- -comodule for  M- ) 
-  (by ( 9- ), ( 10- ) and the naturality of  c- ) 
-  (by ( 19- ) and ( 20- )) 
-  (by ( 73- )) 
-  (by the properties of ). 
The morphism  is a morphism of left H-modules because
-  (by definition) 
-  (by ( 1- ) and ( 74- )) 
-  (by the naturality of  c- , ( 1- ) and ( 19- )) 
-  ( by the naturality of  c-  and ( 25- )) 
-  (by the naturality of  c-  and ( 25- ) for  -  ( - ) 
-  (by (a1) of Definition 1 and the properties of ) 
-  (by the idempotent condition for ) 
-  (by ( 10- )) 
-  (by the naturality of c and the condition of left H-module for M) 
-  (by ( 44- ) and the naturality of  c- ). 
Therefore,  is a morphism of left H-modules. Moreover,  is a morphism of left B-comodules because:
-  (by definition) 
-  (by ( 58- ) and ( 7- )) 
-  (by the naturality of c) 
-  (by ( 11- )) 
-  (by the naturality of c) 
-  (by ( 25- )) 
-  (by the naturality of c) 
-  (by ( 44- ) and the naturality of  c-  and the idempotent condition for  - )) 
-  ( by ( 9- )) 
-  (by the naturality of c and the condition of left B-comodule for M) 
-  (by ( 44- ) and the naturality of  c- ). 
Thus,  is a morphism in Long.
Finally, the Triangle Axiom follows from:
-  (by definition) 
-  (by ( 66- )) 
-  (by the naturality of  c- , ( 17- ), ( 1- ), ( 5- ), ( 7- ) and ( 44- )) 
-  (by the naturality of  c- , ( 19- ), ( 20- ), ( 18- ) and ( 44- )) 
-  (by the naturality of  c- , ( 19- ), ( 22- ) and the conditions of left  B- -comodule and left  H- -module for  M-  and  N- ) 
-  (by the naturality of c) 
-  (by the naturality of  c- , ( 19- ), the coassociativity of  - , ( 40- ) and ( 25- ) for  -  ( - ) 
-  (by ( 25- ) for  -  ( - ) 
-  (by ( 32- ) and the definition of  - ) 
-  (by the properties of ) 
 □
 Theorem 1. Let H and B be weak Hopf monoids. The category Long is monoidal.
 Proof.  The proof is a direct consequence of Propositions 2 and 3. □
   4. Quasitriangular Weak Hopf Monoids and Long Dimodules
In the first part of this section, we give a summary about quasitriangular and coquasitriangular weak Hopf monoids in a monoidal setting. The complete details for the quasitriangular context can be found in [
21]. By reversing arrows, it is easy to get the corresponding results for coquasitriangular Hopf monoids.
Let 
H be a weak Hopf monoid in C. By [
21] [Lemma 3.1] we have that the morphisms
      
      are idempotent and 
, 
. Also, by ([
21], Remark 3.2), we have that the following identities
      
      hold. Moreover, if we define 
 and 
 by
      
      we have that 
 and 
 are idempotent morphisms and, if 
 is a morphism in C,
      
      and
      
Similarly, the morphisms
      
      are idempotent and 
, 
. Also, the following identities hold:
Moreover, if we define 
 and 
 by
      
      we have that 
 and 
 are idempotent morphisms and, if 
 is a morphism in C,
      
      and
      
      hold.
The following definition is the categorical monoidal version of the definition of quasitriangular weak Hopf monoid introduced by Nikshych, Turaev and Vainerman in [
22].
Definition 5. Let H be a weak Hopf monoid. Let  and  be the idempotent morphisms defined in (83). We will say that H is a quasitriangular weak Hopf algebra if there exists a morphism  in C 
satisfying the following conditions: - (d1) 
- (d2) 
- (d3) 
- (d4) 
- (d5) 
- There exists a morphism  such that: - (d5.1) 
- (d5.2) 
- (d5.3) 
 
We will say that a quasitriangular weak Hopf monoid H is triangular if moreover .
 For any quasitriangular weak Hopf monoid the morphism 
 is unique and by [
21] [Lemma 3.5] the equalities
      
      hold.
Lemma 7. Let H be a quasitriangular weak Hopf monoid in C
. Then,  Proof.  We will prove (
103). The proof for (
104) is similar and we lend the details to the reader. First note that the identities
-  (by ( 5- )) 
-  (by ( 11- )) 
-  (by the naturality of c and the coassociativity of ) 
-  (by ( 13- )) 
-  ( by the naturality of c and the associativity of ) 
-  (by ( 100- ) and the properties of  - ), 
hold. Then, we obtain the identity
        
        and, as a consequence,
        
Also,
-  (by ( 1- ) and ( 6- )) 
-  (by ( 13- )) 
-  (by the coassociativity of ) 
-  (by ( 11- ) and the associativity of  - ) 
-  (by ( 100- ) and the properties of  - ), 
hold. Then, we obtain the identity
        
        and, as a consequence,
        
On the other hand,
-  (by ( 1- ) and ( 6- )) 
-  (by ( 14- )) 
-  (by the coassociativity of ) 
-  (by ( 9- ) and the associativity of  - ) 
-  (by ( 102- ) and the properties of  - ), 
hold. Then, we obtain the identity
        
        and, consequently,
        
Finally,
-  (by ( 5- )) 
-  (by ( 9- )) 
-  (by the naturality of c and the coassociativity of ) 
-  (by ( 14- )) 
-  (by the naturality of c and the associativity of ) 
-  (by ( 102- ) and the properties of  - ), 
hold. Then, we obtain the identity
        
        and, consequently,
        
 □
 By reversing arrows in Definition 5 we get the definition of coquasitriangular weak Hopf monoid.
Definition 6. Let B be a weak Hopf monoid. Let  and  be the idempotent morphisms defined in (94). We will say that B is a coquasitriangular weak Hopf algebra if there exists a morphism  in C 
satisfying the following conditions: - (e1) 
- (e2) 
- (e3) 
- (e4) 
- (e5) 
- There exists a morphism  such that: - (e5.1) 
- (e5.2) 
- (e5.3) 
 
As a consequence of this definition, we obtain that  is unique and the equalitieshold. We will say that a coquasitriangular weak Hopf monoid B is cotriangular if moreover .
 Lemma 8. For any coquasitriangular weak Hopf monoid B, the following equalitieshold.  Proof.  The proof is the same that the one given for the quasitriangular setting by reversing arrows. □
 Example 5. Basic examples of quasitriangular weak Hopf monoids are cocommutative weak Hopf monoids because, if H is cocommutative (i.e., ), the morphisms  satisfy the conditions of Definition 5. Similarly, commutative weak Hopf monoids (i.e., ) provide examples of coquasitriangular weak Hopf monoids with .
The groupoid algebra of a finite groupoid is the main example of a cocommutative weak Hopf monoid. Recall that a finite groupoid  is simply a category with a finite number of objects in which every morphism is an isomorphism. The set of objects of  will be denoted by , the set of morphisms by , the identity morphism on  by  and, for a morphism  in , we write  and  for the source and the target of g, respectively.
Let  be a finite groupoid, and let R be a commutative ring. The groupoid algebra is the direct product  where the product of two morphisms is their composition if the latter is defined and 0 otherwise, i.e.,  if  and  if . The unit element is . The algebra  is a cocommutative weak Hopf monoid in the symmetric monoidal category R-Mod
, with coproduct , counit  and antipode  given by ,  and , respectively. Moreover, the target and source morphisms are   and the morphism σ that provides the quasitriangular structure is the linear extension of If  is finite,  is free of a finite rank as a R-module. Hence  is finite as object in the category R-Mod
and  is a commutative weak Hopf monoid. The weak Hopf monoid structure of  is given by the formulasand Then, by the general theory,  is an example of coquasitriangular weak Hopf monoid in R-Mod 
where ω is defined by On the other hand, the construction of a weak Hopf monoid  in the symmetric monoidal category of vector spaces over a field K using a matched pair of finite groupoids  was introduced in [23]. In [24] we can find a result that asserts the following: A matched pair of rotations gives rise to a quasitriangular structure for the associated weak Hopf monoid . Also, by [24] [Theorem 5.10] we know that there is an isomorphism of quasitriangular weak Hopf monoids between the Drinfeld double of  and the weak Hopf monoid of a suitable matched pair of groupoids. Finally, in [22], for a weak Hopf monoid H in the symmetric monoidal category of vector spaces over an algebraically closed field, Nikshych, Turaev and Vainerman defined the Drinfeld double  of H and they proved that  is a quasitriangular weak Hopf monoid (see [22] [Proposition 6.2]).  Now we recall the notion of left-left Yetter–Drinfeld module in the weak Hopf monoid setting.
Definition 7. Let H be a weak Hopf monoid. We shall denote by YDthe category of left-left Yetter–Drinfeld modules over H, i.e.,  is an object in YD if  is a left H-module,  is a left H-comodule and
- (f1) 
-  
- (f2) 
Let ,  be objects in YD. A morphism  in C is a morphism of left-left Yetter–Drinfeld modules over H if it is a morphism of left H-modules and left H-comodules.
Please note that if  is a left-left Yetter–Drinfeld module, (f2) is equivalent toand we have the following identity: The conditions (f1) and (f2) of the last definition can also be restated (see [11] [Proposition 2.2]) in the following way: suppose that  is a left H-module and  is a right H-comodule, then,  is in YD 
if and only if  It is a well-known fact that if the antipode of H is an isomorphism, the category YD is a non-strict braided monoidal category. We expose briefly its braided monoidal structure.
For a pair of left-left Yetter–Drinfeld modules over 
H  and 
, there exist two idempotent morphisms 
 and 
 defined as in (
32) and (
40) (for 
) respectively. By (iii) of [
25] [Proposition 1.12] we have that
      
Then, the tensor product in 
YD for 
 and 
 is introduced as the image of the idempotent morphism 
, denoted by 
. The object 
 is a left-left Yetter–Drinfeld module over 
H with the following action and coaction:
The base object is 
, which is a left-left Yetter–Drinfeld module over 
H with (co)module structure
      
The unit constrains are:
      and the associativity constrains are defined by
      
If 
 and 
 are morphisms in the category of left-left Yetter–Drinfeld modules over 
H,
      
      is a morphism in 
YD and
      
      where 
 and 
 are morphisms in 
YD.
Finally, the braiding is
      
      where
      
Now we establish a connection between Long dimodules and Yetter–Drinfeld modules.
Theorem 2. Let H be a quasitriangular weak Hopf monoid with morphism  and let B be a coquasitriangular weak Hopf monoid with morphism . There exists a functordefined on objects bywhereand by the identity on morphisms. Moreover, the functor L is injective on objects and, consequently, Long 
can be identified with a subcategory of YD.
  Proof.  We begin by showing that 
 is a left 
-module. Indeed, taking into account that 
 is a left 
H-module, 
 a left 
B-comodule, the naturality of 
c and (
110), we get that 
. Moreover,
-  (by ( 44- )) 
-  (by the conditions of left H-module and a left B-comodule for M) 
-  (by the naturality of c) 
-  (by (e3) of Definition 6) 
-  (by the naturality of c), 
       and 
 is a left 
-module. In a similar way, we can prove that 
 is a left 
-comodule. Indeed: By (
98), the conditions of left 
H-module and left 
B-comodule for 
M and the naturality of 
c we have that 
. Also,
-  (by ( 44- )) 
-  (by the conditions of left H-module and a left B-comodule for M) 
-  (by the naturality of c) 
-  (by (d3) of Definition 5) 
-  (by the naturality of c) 
-  (by ( 44- )). 
To get (f1) of Definition 7, note that on one hand,
-  (by ( 44- ), the conditions of left  H- -module and a left  B- -comodule for  M-  and the naturality of  c- ) 
-  (by the naturality of c) 
-  (by (e4) of Definition 6) 
-  (by the naturality of c) 
-  (by the naturality of c) 
-  (by (d4) of Definition 5) 
-  (by the naturality of c), 
 and on the other hand,
-  (by ( 44- )) 
-  (by the conditions of left H-module and a left B-comodule for M and by the naturality of c) 
-  (by the naturality of c), 
The condition (f2) of Definition 7 follows because, using the previous calculus,
-  (by identity obtained to prove (f1) of Definition 7) 
-  (by ( 12- ) for  B-  and  H-  and coassociativity of  - ) 
-  (by ( 112- ), (d1) of Definition 5, the properties of  -  and ( 84- )) 
Finally, if  is a morphism in Long, by the left H-linearity and the left B-coliniarity, we have that  is a morphism in the category YD.
As a consequence of the previous facts, there exists a functor
        
        defined on objects by
        
        and by the identity on morphisms. Finally, if 
, it is obvious that 
 and, by (
110) and the condition of left 
B-comodule for 
M, we have
        
Similarly, by (
98) and the condition of left 
H-module for 
M, we obtain
        
Thus, L is injective on objects. □
 Lemma 9. Let H be a quasitriangular weak Hopf monoid with morphism  and let B be a coquasitriangular weak Hopf monoid with morphism . Let L be the functor introduced in Theorem 2. Then, for all  and  in ,  Proof.  By Theorem 2 we know that
        
On the other hand, let 
 be a morphism in 
. Then, 
g is a morphism of left 
-modules, i.e., 
 Composing in this equality with 
, by (
110) and the condition of left 
B-comodule for 
M, we have that 
. Therefore, 
g is a morphism of lef 
H-modules. On the other hand, 
g is a morphism of left 
-comodules, i.e., 
 Composing in this equality with 
, by (
98) and the condition of left 
H-module for 
M, we have that 
. Thus, 
g is a morphism of lef 
B-comodules. Consequently, we can assure that 
g is a morphism in 
 between 
 and 
 and then,
        
 □
 Lemma 10. Let H be a quasitriangular weak Hopf monoid with morphism  and let B be a coquasitriangular weak Hopf monoid with morphism . Let L be the functor introduced in Theorem 2. Then,where  and  are the action and the coaction introduced in (122).  Proof.  To prove the Lemma, by the naturality of 
c, we only need to show that the equalities
        
        and
        
        hold. Indeed: On one hand
-  (by the idempotent condition for ) 
-  (by ( 10- )) 
- (by the naturality of c and (e3) of Definition 6) 
-  (by ( 17- )) 
-  (by ( 115- ) and ( 116- )) 
-  (by the naturality pf c) 
-  (by the idempotent condition for )) 
-  (by ( 14- )) 
-  (by ( 5- )) 
-  (by ( 1- ) and the idempotent condition for  - ), 
 and, on the other hand,
-  (by ( 5- )) 
-  (by ( 9- )) 
-  (by the naturality of c) 
-  (by (d2) of Definition 5) 
-  (by ( 18- ), the idempotent condition for  -  and the naturality of  c- ) 
-  (( 103- ) and ( 104- )) 
-  (by the naturality of c) 
-  (by (a3) of Definition 1 and naturality of c) 
-  (by ( 9- )) 
-  (by the idempotent condition for ) 
-  (by ( 10- )) 
-  (by the idempotent condition for ). 
 □
 Lemma 11. Let H be a quasitriangular weak Hopf monoid with morphism  and let B be a coquasitriangular weak Hopf monoid with morphism . Let L be the functor introduced in Theorem 2. Let  and  be objects in Long 
and let  and  are their corresponding images in YD 
by the functor L. The following equalityholds. As a consequence,  and, if  is another object in Long
, we have thatwhere  is the associative constraint introduced in Proposition 2 and  the corresponding one for ,  and  in YD.
  Proof.  Let  and  be objects in Long and let  and  are their corresponding images in YD by the functor L. Then,
-  (by the naturality of c) 
-  (by (e2) of Definition 6) 
Finally, the equality for the associative constraints follows (
125) and Proposition 2. □
 Lemma 12. Let H be a quasitriangular weak Hopf monoid with morphism  and let B be a coquasitriangular weak Hopf monoid with morphism . Let L be the functor introduced in Theorem 2. Let  be in Long and let  its corresponding image in YD by the functor L. Then,
- (i) 
- If  is the left unit constraint introduced in Proposition 3 for  and  is the corresponding unit constraint defined in  for , we have that . 
- (ii) 
- If  is the right unit constraint introduced in Proposition 3 for  and  is the corresponding unit constraint defined in  for , we have that . 
 Proof.  t 
 be in 
Long and let 
 its corresponding image in 
YD by the functor 
L. First note that by the previous lemma, we have the following identities:
        
        and
        
Then,
        and
-  (by ( 124- ) and the naturality of  c- ) 
-  (by ( 115- )) 
-  (by the naturality of c). 
 □
 In the final result of this paper, we will prove that under the conditions of the previous theorem, Long is a braided monoidal category.
Theorem 3. Let H be a quasitriangular weak Hopf monoid with morphism  and let B be a coquasitriangular weak Hopf monoid with morphism . Then, the category Long is a braided monoidal. Furthermore, if H is triangular and B is cotriangular, then, Long is symmetric.
 Proof.  The main assertion of this theorem is a direct consequence of the preceding Lemmas. Please note that the braiding in 
Long is the one defined in (
128) for the category 
YD. Therefore, if 
 and 
 are objects in 
Long, by (
44) and the naturality of 
c, the braiding admits the following formulation:
        
On the other hand, if H is triangular and B is cotriangular, i.e.,  and , we have that:
-  (by ( 133- )) 
- 
			  (by (i) of [ 20- ] [Lemma 1.4] and naturality of  c- ) 
- (by the naturality of  c-  and ( 44- )) 
-  (by the naturality of c and the condition of H-module and left B-comodule for M and N) 
-  (by the triangular condition for H and the cotriangular condition for B) 
-  (by (d5.3) of Definition 5 and (e5.3) of Definition 6) 
-  (by ( 120- )) 
 and then, Long is symmetric. □
 Example 6. Let  be a finite groupoid such that  is finite. Let  be an algebraically closed field. Let D be a quasitriangular weak Hopf monoid in the category of vector spaces over . Then, by Example 5 and the previous theorem, we have that the category , where , is braided monoidal. As a consequence, if  is a finite groupoid such that  is a matched pair groupoids, the category , where , is an example of braided monoidal category. Finally, for a finite weak Hopf monoid H, the category , where D is the Drinfel’d double of H, is braided monoidal.