1 Introduction

For any group G and any G-module A, it is well-known that the abelian group of singular extensions of G by A is classified by the second Eilenberg–Mac Lane cohomology group \(H^2(G,A)\) [19]. Such a cohomological classification, for singular extensions of categorical groups with symmetric kernel and a functorial section, has been recently showed in [13]. This classification uses a second categorical cohomology group whose definition generalizes the cohomology groups defined by Ulbrich in [23]. It is obtained from a cochain complex of symmetric categorical groups that is built through the pseudo-simplicial category that \({\mathbb G}\) defines by the familiar bar construction (see [4, 8]), but taking into account the \({\mathbb G}\)-action on \({\mathbb A}\).

The aim in this paper is to give the same answer to the more general problem of considering all singular extensions of categorical groups with symmetric kernel. In other words, to give a cohomological classification of the symmetric categorical group of singular extensions of a categorical group \({\mathbb G}\) by a given symmetric \({\mathbb G}\)-categorical group \({\mathbb A}\). This is carried out in Sect. 3 and, for this classification, we introduce a second cohomology categorical group \({\mathcal H}^2({\mathbb G},{\mathbb A})\) which is obtained from a cochain complex of symmetric categorical groups that is built through the simplicial set, \(Ner({\mathbb G})\), nerve of a categorical group \({\mathbb G}\) introduced in [5]. We, then, prove in Theorem 3.5 the existence of a biequivalence of bigroupoids giving the desired classification and, moreover, determining in Corollary 3.6 a Baer sum in the groupoid of singular extensions.

With the objective of suggesting a proof for a categorical-group version of the classical Hochschild–Serre 5-term exact sequence, we developed in Section 2 of [13] a new proof, suitable to our 2-dimensional interest, of this group exact sequence. With this precedent, and using the second categorical cohomology group there defined, we showed, in Section 6 of [13], Hoschild–Serre’s sequences for categorical groups. Now, in Sect. 4, as a main application of this paper, and in a parallel way to that developed in [13], we show new categorical group versions of the classical Hochschild–Serre 5-term exact group sequences [14] involving the \({\mathcal H}^2\) here studied. These sequences are associated to any essentially surjective homomorphism of categorical groups and, in them, new categorical groups of ‘non-functorial derivations’, which are introduced at the beginning of the section, appear.

Firstly, before these two sections, we collect in Sect. 2 some basic facts on (symmetric) categorical groups (see [1, 3, 16, 21] for the background) and on the corresponding notions of action [9, 10, 12], kernel, cokernel, and exactness [10, 18, 24]. Later, we also recall some results about categorical crossed modules (see [10]).

2 Preliminaries

A categorical group (sometimes called gr-category or 2-group in the literature) is a monoidal groupoid \({\mathbb G}=({\mathbb G},\otimes ,I,a,l,r) \) such that every object X is invertible, that is, the functor

$$\begin{aligned} X \otimes (-) :{\mathbb G}\rightarrow {\mathbb G}, \quad Y\mapsto X\otimes Y \end{aligned}$$

is an equivalence. It is then possible to choose, for each \(X\in {\mathbb G}\), an object \(X^*\in {\mathbb G}\) (called an inverse of X and denoted in this way following [16] or [3]) and arrows \(\eta _X :I \rightarrow X\otimes X^*\) and \(\varepsilon _X :X^*\otimes X\rightarrow I\) such that the usual triangular identities are satisfied. The choice of a system of inverses \((X^*,\eta _X,\epsilon _X)\), \(X\in {\mathbb G}\), induces a categorical equivalence

$$\begin{aligned} (-)^* :{\mathbb G}\rightarrow {\mathbb G}\;\;\; f :X \rightarrow Y \; \mapsto \; f^* :X^* \rightarrow Y^* \end{aligned}$$

where \(f^*\) is defined as follows

Note that, if in the definition of \(f^*\) we use f instead of \(f^{-1}\), then the equivalence \((-)^*:{\mathbb G}\longrightarrow {\mathbb G}\) is contravariant and \((X,X^*,\eta _X,\varepsilon _X)\) is a duality in \({\mathbb G}\).

A categorical group \({\mathbb G}\) is said to be symmetric if it is symmetric as a monoidal category, the symmetry being usually denoted by \(c_{_{X,Y}} :X\otimes Y\rightarrow Y\otimes X.\) We will denote by \(\mathcal {CG}\) (respectively \(\mathcal {SCG}\)) the 2-category whose objects are categorical groups (respectively, symmetric categorical groups). Following the terminology in [16], the 1-arrows, which are monoidal functors \(T=(T,T_2) :{\mathbb G}\rightarrow {\mathbb H}\) (respectively, symmetric monoidal functors), are called homomorphisms, and the 2-arrows, which are monoidal natural transformations, are called morphisms. Note that a canonical arrow \(T_0 :I \rightarrow TI\) can be constructed from the natural and coherent family of arrows \(T_2^{X,Y} :TX \otimes TY \rightarrow T(X \otimes Y).\) Note also that in \(\mathcal {CG}\) and \(\mathcal {SCG},\) the 2-arrows are invertible.

When no confusion arises, in order to simplify notation we will

  • omit the associativity isomorphism \(a_{X,Y,Z} :(X \otimes Y) \otimes Z \rightarrow X \otimes (Y \otimes Z)\) and the right and left unit isomorphisms \(r_X :X \rightarrow X \otimes I\) and \(l_X :X \rightarrow I \otimes X\)

  • omit indexes, writing for example \(c :X \otimes Y \rightarrow Y \otimes X\) instead of \(c_{X,Y}\)

  • denote canonical arrows as “\(\mathrm {can}\)” or even as unlabelled arrows; for example, we write \(\mathrm {can}:X \rightarrow Y \otimes X \otimes Y^*\) or just \(X \simeq Y \otimes X \otimes Y^*\) instead of

If \({\mathbb G}\) and \({\mathbb A}\) are categorical groups, an action of \({\mathbb G}\) on \({\mathbb A}\) is a homomorphism of categorical groups \(\varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}({\mathbb A}),\) where \({\mathbb {E}}\mathrm {q}({\mathbb A})\) is the categorical group of monoidal autoequivalences of \({\mathbb A}.\) When such a \({\mathbb G}\)-action is given, we will say that \({\mathbb A}=({\mathbb A},\varphi )\) is a \({\mathbb G}\)-categorical group. To give a \({\mathbb G}\)-categorical group structure on \({\mathbb A}\) is equivalent to giving a functor

(when \(f=\mathrm {id}_X\) or \(u=\mathrm {id}_A,\) we write respectively \(\,^X\!u\) and \(\,^f\!A\) instead of \(\,^f\!u\)) together with natural families of arrows

$$\begin{aligned} \varphi _2^{X,A,B} :\,^X\!A \otimes \,^X\!B \rightarrow \,^X\!(A \otimes B) , \quad \varphi _1^{X,Y,A} :\,^X\!(\,^Y\!A) \rightarrow \,^{X \otimes Y}\!A , \quad \varphi _0^{A} :A \rightarrow \,^I\!A \end{aligned}$$

satisfying suitable coherence conditions (see Remark 3.5 in [13] or Definition 2.1 in [9]).Footnote 1

We say that an action \(\varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}({\mathbb A})\) is symmetric (or that \({\mathbb A}\) is a symmetric \({\mathbb G}\)-categorical group) if \({\mathbb A}\) is symmetric and \(\varphi \) factorizes through \(\varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}_s({\mathbb A}),\) where \({\mathbb {E}}\mathrm {q}_s({\mathbb A})\) is the categorical group of symmetric monoidal autoequivalences of \({\mathbb A}.\)

Actions form a 2-category, denoted \(\mathcal {ACT}\) (or \(\mathcal {SACT}\) if we restrict to symmetric actions), where the 1-cells are the homomorphisms of actions, that is, triples

$$\begin{aligned} (R, F, \lambda ) :({\mathbb G},{\mathbb A},\varphi ) \rightarrow ({\mathbb G}',{\mathbb A}',\varphi ') \end{aligned}$$

with \(R :{\mathbb G}\rightarrow {\mathbb G}'\) and \(F :{\mathbb A}\rightarrow {\mathbb A}'\) two homomorphisms in \(\mathcal {CG}\) (with F in \(\mathcal {SCG}\) if the actions \(\varphi \) and \(\varphi '\) are symmetric), and

$$\begin{aligned} \lambda ^{X,A} :F(\,^X\!A) \rightarrow \,^{RX}\!FA \end{aligned}$$

a natural family of arrows satisfying suitable coherence conditions (see [13]).

Given two homomorphisms of actions

$$\begin{aligned} (R,F,\lambda ), (R',F',\lambda ') :({\mathbb G},{\mathbb A},\varphi ) \rightarrow ({\mathbb G}',{\mathbb A}',\varphi ') \end{aligned}$$

a morphism (2-cell) of actions is a pair of morphisms

$$\begin{aligned} \beta :R \Rightarrow R', \quad \alpha :F \Rightarrow F' \end{aligned}$$

in \(\mathcal {CG}\) compatibles with the actions (see [13]).

Given a homomorphism \(T :{\mathbb G}\rightarrow {\mathbb H}\) in \(\mathcal {CG},\) its kernel is the following diagram in \(\mathcal {CG}\)

where

  • an object of \(\mathbb {K}\mathrm {er}(T)\) is a pair \((X \in {\mathbb G}, x :TX \rightarrow I);\)

  • an arrow \(f :(X,x) \rightarrow (Y,y)\) in \(\mathbb {K}\mathrm {er}(T)\) is an arrow \(f :X \rightarrow Y\) in \({\mathbb G}\) such that \(y \cdot T(f) =x;\)

  • the faithful (but in general not full) homomorphism \(\mathrm {K}(T) :\mathbb {K}\mathrm {er}(T) \rightarrow {\mathbb G}\) is defined by \(\mathrm {K}(T)(f :(X,x) \rightarrow (Y,y)) = (f :X \rightarrow Y);\)

  • the component at (Xx) of the morphism k(T) is given by \(x :T(\mathrm {K}(T)(X,x))=TX \rightarrow I=0(X,x).\)

The kernel of T is a bilimit in the sense of [2] and also a standard homotopy kernel (see [18]).

Note that, because of the double universal property of the kernel, we do not pay too much attention to the fact that a diagram in \(\mathcal {CG}\) or in \(\mathcal {SCG}\) involving kernels (or cokernels) commutes strictly or just up to a 2-arrow.

Let now \(T :{\mathbb G}\rightarrow {\mathbb H}\) be a homomorphism in \(\mathcal {SCG}.\) Its cokernel is the following diagram in \(\mathcal {SCG}\)

and it satisfies two universal properties dual to those of the kernel. It can be described as follows:

  • the objects of \(\mathbb {C}\mathrm {oker}(T)\) are those of \({\mathbb H};\)

  • a prearrow from A to B is a pair \((X \in {\mathbb G}, f :A \rightarrow TX \otimes B);\)

  • an arrow is an equivalence class of prearrows, where two prearrows \((X,f),(X',f')\) fromA to B are equivalent if there exists an arrow \(x :X \rightarrow X'\) in \({\mathbb G}\) such that \((T(x) \otimes 1) \cdot f = f';\)

  • the tensor product of two arrows and is given by the class of the prearrow with object part \(X \otimes Y\) and arrow part

  • the essentially surjective on objects homomorphism \(\mathrm {C}(T) :{\mathbb H}\rightarrow \mathbb {C}\mathrm {oker}(T)\) sends an arrow \(f :A \rightarrow B\) to the class of the prearrow

    \(\mathrm {C}(T)\) in general is not a full functor;

  • the component at \(X \in {\mathbb G}\) of the morphism c(T) is given by the class of the prearrow \((X, TX \rightarrow I \otimes TX).\)

Note that, although we have described the cokernel \(\mathbb {C}\mathrm {oker}(T)\) as a categorical group, in fact it is obtained from a monoidal bicategory by taking 2-isomorphism classes of 1-arrows as arrows. This fact that \(\mathbb {C}\mathrm {oker}(T)\) is a monoidal bicategory is mentioned in the introduction of [24], and the whole proof has been done in [15].

A diagram

in \(\mathcal {CG}\) is 2-exact if the comparison homomorphism \(F' :{\mathbb A}\rightarrow \mathbb {K}\mathrm {er}(G)\) is full and essentially surjective on objects. When the above diagram is in \(\mathcal {SCG},\) its 2-exactness is equivalent to asking that the comparison homomorphism \(G' :\mathbb {C}\mathrm {oker}(F) \rightarrow {\mathbb C}\) is full and faithful. Obvious examples of 2-exact sequences are provided by the above kernel and cokernel constructions.

Categorical precrossed modules and categorical crossed modules have been introduced in [10], and used in [7] as algebraic models for connected homotopy 3-types. Next we recall the construction of the 2-category of categorical crossed modules and some results on the quotient categorical group associated with a categorical crossed module that we will use below (c.f. [10, 13])

A categorical crossed module (see Definition 2.2 and 2.4 in [10]) is a 6-tuple

$$\begin{aligned} ({\mathbb G}, {\mathbb A}, \varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}({\mathbb A}), T :{\mathbb A}\rightarrow {\mathbb G}, \nu , \chi ) \end{aligned}$$

with \(({\mathbb G},{\mathbb A},\varphi )\) an action, \(T :{\mathbb A}\rightarrow {\mathbb G}\) a homomorphism in \(\mathcal {CG},\) and

$$\begin{aligned} \nu _{X,A} :T(\,^{X}\!A) \otimes X \rightarrow X \otimes TA \quad \text {and} \quad \chi _{A,B} :\,^{TA}\!B \otimes A \rightarrow A \otimes B \end{aligned}$$

natural families of arrows satisfying suitable coherence conditions.

A homomorphism from \(({\mathbb G}, {\mathbb A}, \varphi , T , \nu , \chi )\) to \(({\mathbb G}', {\mathbb A}', \varphi ' , T' , \nu ', \chi ')\) is a 4-tuple \((R, F, \lambda , \tau ) \) with \((R, F, \lambda ) :({\mathbb G},{\mathbb A},\varphi ) \rightarrow ({\mathbb G}',{\mathbb A}',\varphi ')\) a homomorphism in \(\mathcal {ACT},\) and \(\tau :R \cdot T \Rightarrow T' \cdot F\) a morphism in \(\mathcal {CG}\) satisfying suitable coherence conditions. Finally, if \((R, F, \lambda , \tau )\) and \( (R', F', \lambda ', \tau ')\) are two such homomorphisms of categorical crossed modules, a morphism of categorical crossed modules is a morphism

$$\begin{aligned} (\beta , \alpha ) :(R, F, \lambda ) \Rightarrow (R',F',\lambda ') \end{aligned}$$

in \(\mathcal {ACT}\) satisfying again a suitable coherence condition.

Categorical crossed modules with their homomorphisms and morphisms form a 2-category denoted \(\mathcal {CCM}\) (or \(\mathcal {SCCM}\) if we restrict to symmetric actions). Whenever the homomorphism \(T :{\mathbb A}\rightarrow {\mathbb G}\) is faithful, the categorical crossed module is said to be a normal sub-categorical group of \({\mathbb G}\).

Let us recall from [10] that, given a categorical crossed module \(({\mathbb G}, {\mathbb A}, \varphi , T , \nu , \chi ),\) we can construct the quotient categorical group given by the following diagram

Its construction is the same as for the cokernel of a homomorphism in \(\mathcal {SCG},\) the only difference is the tensor product of arrows: given two arrows and their tensor product is given by the class of the prearrow with object part \(A \otimes \,^Y\!B\) and arrow part

Homomorphisms of categorical crossed modules extend to the respective quotient categorical groups (see Lemma 7.6 in [13]) and the relation between kernels and quotients (Propositions 3.6 and 3.8 in [10]) is summarized in the following Proposition which states, on a categorical group level, the well known group theoretical facts that the underlying maps of crossed modules are proper maps and quotients are surjective.

Proposition 2.1

  1. 1.

    Let \((\varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}({\mathbb A}), T :{\mathbb A}\rightarrow {\mathbb G}, \nu , \chi )\) be in \(\mathcal {CCM}\) and consider the factorization through the kernel as in the following diagram

    1. (a)

      \(T'\) is a full and essentially surjective homomorphism of \({\mathbb G}\)-categorical crossed modules;

    2. (b)

      if T is faithful, then \({\mathbb A}\) and \(\mathbb {K}\mathrm {er}(\mathrm {C}(T))\) are equivalent normal sub-categorical groups of \({\mathbb G}.\)

  2. 2.

    Let \(F :{\mathbb G}\rightarrow {\mathbb H}\) be in \(\mathcal {CG}\) and consider the factorization through the quotient as in the following diagram

    1. (a)

      \(F'\) is full and faithful;

    2. (b)

      in particular, F is a quotient (i.e., \(F'\) is an equivalence) if and only if F is essentially surjective.

3 Classifying singular extensions of categorical groups

In this section we extend the results of [13] by giving a cohomological classification of the symmetric categorical group of singular extensions of a categorical group \({\mathbb G}\) by a given symmetric \({\mathbb G}\)-categorical group \({\mathbb A}\). The variant here for the classification of all singular extensions uses, as a starting point, the simplicial set, \(Ner({\mathbb G})\), nerve of a categorical group \({\mathbb G}\) introduced in [6].

Recall that Takeuchi–Ulbrich’s cohomology (see [22, 23]) allows to define cohomology groups of a simplicial set \(K_\bullet \), with coefficients in a symmetric categorical group \(\mathbb {A}\), by considering the cochain complex of symmetric categorical groups \(\mathcal {C}(\mathbb {A}^{K_\bullet })\) that, in any dimension \(n\ge 0\), consists of the functors from the discrete category \(K_n\) to \(\mathbb {A}\) (where tensor product, inverses and symmetry are given pointwise by the corresponding ones in \(\mathbb {A}\)) and where the coboundary homomorphisms are given by alternating sums of the coface homomorphisms \(d_i^*:\mathbb {A}^{K_n}\longrightarrow \mathbb {A}^{K_{n+1}}\) induced by the face maps of \(K_\bullet \). In particular, if \(K_\bullet \) is the simplicial set \(Ner(\mathbb {G})\), then 1-coboundaries and 2-cocycles obtained from the cocomplex \(\mathcal {C}(\mathbb {A}^{Ner(\mathbb {G})})\) are just (up to renumbering) those studied in [5]. If \(\mathbb {A}\) is not merely a symmetric categorical group, but it is a symmetric \(\mathbb {G}\)-categorical group, the complex \(\mathcal {C}(\mathbb {A}^{Ner(\mathbb {G})})\) can be modified to a new one, \(\mathcal {C}(\mathbb {G},\mathbb {A})\), with the same symmetric categorical groups at any dimension, but where the coboundaries take into account the action of \(\mathbb {G}\) on \(\mathbb {A}\). We shall remark that Takeuchi-Ulbrich’s cohomology of this complex would give cohomology groups \(H^n(Ner(\mathbb {G}),\mathbb {A})\) defined after passing to isomorphism classes of respective symmetric categorical groups of n-cocycles and \((n-1)\)-coboundaries. However, our proposal of \(\mathcal {H}^2\) (see Definition 1) is obtained by applying the notion of cokernel [24] to the coboundary homomorphism from the symmetric categorical group of 1-cochains to that one of 2-cocycles. In this way we obtain a symmetric categorical group whose \(\pi _0\) (i.e., connected components) gives Takeuchi-Ulbrich’s cohomology. Therefore, projection from \(\mathcal {H}^2\) via \(\pi _0\) produces, in several cases, other well-known cohomology groups (c.f. Example 3.4).

We start recalling, in a quick review, the study about general extensions of categorical groups with symmetric kernel done in [13].

3.1 Singular extensions of categorical groups

If \({\mathbb A}\) and \({\mathbb G}\) are categorical groups, with \({\mathbb A}\) symmetric, and \(\varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}_s({\mathbb A})\) is a symmetric action, an extension of \({\mathbb G}\) by \({\mathbb A}\) is a 6-tuple

$$\begin{aligned} ({\mathbb B}, \psi :{\mathbb B}\rightarrow {\mathbb {E}}\mathrm {q}_s({\mathbb A}), T :{\mathbb A}\rightarrow {\mathbb B}, \nu , \chi , S) \end{aligned}$$

where \(({\mathbb B}, {\mathbb A}, \psi , T, \nu , \chi )\) is an object in \(\mathcal {SCCM}\) with T faithful (that is, \({\mathbb A}\) is a symmetric normal sub-categorical group of \({\mathbb B}\)) and \(S :{\mathbb B}/T \rightarrow {\mathbb G}\) is an equivalence in \(\mathcal {CG}\). When \(\psi , \nu \) and \(\chi \) are understood, we denote an extension of \({\mathbb G}\) by \({\mathbb A}\) by

Note that in any extension of \({\mathbb G}\) by \({\mathbb A}\) the symmetric categorical group \({\mathbb A}\) is equivalent, as a normal sub-categorical group, to the kernel of \(S \cdot \mathrm {C}(T) :{\mathbb B}\rightarrow {\mathbb B}/T \rightarrow {\mathbb G}.\) Also note that, since \({\mathbb A}\) is symmetric, there is a symmetric action of \({\mathbb G}\) on \({\mathbb A}\) (that we recall as the action of \({\mathbb G}\) on \({\mathbb A}\) induced by the extension) given by the composite

where \((\widetilde{\psi },\widetilde{\delta })\) is the factorization through the quotient

where the morphism \(\delta :\psi \cdot T \Rightarrow 0\) is given by \(\delta _{A,B} :\,^{TA}\!B \rightarrow B\) defined by

Extensions of \({\mathbb G}\) by \({\mathbb A}\) are the objects of a 2-groupoid, \(\mathbb {E}\mathrm {xt}({\mathbb G},{\mathbb A})\), whose 1-cells are the homomorphisms of extensions, that is, 4-tuples

$$\begin{aligned} (R, \lambda , \tau , m) :({\mathbb B},{\mathbb A},\psi ,T,\nu ,\chi ,S) \rightarrow ({\mathbb B}',{\mathbb A},\psi ',T',\nu ',\chi ',S') \end{aligned}$$

where \(m :S \Rightarrow S' \cdot \widetilde{R}\) is a morphism in \(\mathcal {CG}\) (with \(\widetilde{R}\) induced between the quotient categorical groups by \(\lambda \) and \(\tau \)), and \((R,\mathrm {Id}_{{\mathbb A}},\lambda ,\tau ) :({\mathbb B},{\mathbb A},\psi ,T,\nu ,\chi ) \rightarrow ({\mathbb B}',{\mathbb A},\psi ',T',\nu ',\chi ',)\) is a homomorphism in \(\mathcal {SCCM}\)

A morphism of extensions

$$\begin{aligned} \beta :(R, \lambda , \tau , m) \Rightarrow (R', \lambda ', \tau ', m') :({\mathbb B},{\mathbb A},\psi ,T,\nu ,\chi ,S) \rightarrow ({\mathbb B}',{\mathbb A},\psi ',T',\nu ',\chi ',S') \end{aligned}$$

is a morphism \((\beta , \mathrm {id}) :(R,\mathrm {Id}_{{\mathbb A}},\lambda ,\tau ) \Rightarrow (R',\mathrm {Id}_{{\mathbb A}},\lambda ',\tau ')\) in \(\mathcal {SCCM}\) making compatible the morphisms m and \(m'\) (see condition (ext1) in [13]).

Now we pay special attention to singular extensions of \({\mathbb G}\) by \({\mathbb A}\), that is, extensions such that the action of \({\mathbb G}\) on \({\mathbb A}\) induced by the extension coincides, up to a morphism, with the given one. More precisely, we have (see Definition 8.7 in [13]):

Definition 3.1

Let \(\varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}_s({\mathbb A})\) be a symmetric action. A \(\varphi \)-extension of \({\mathbb G}\) by \({\mathbb A}\) (or a singular extension if \(\varphi \) is understood) is a 7-tuple

$$\begin{aligned} ({\mathbb B}, \psi :{\mathbb B}\rightarrow {\mathbb {E}}\mathrm {q}_s({\mathbb A}), T :{\mathbb A}\rightarrow {\mathbb B}, \nu , \chi , S,s) \end{aligned}$$

where

is an extension of \({\mathbb G}\) by \({\mathbb A},\) and

is a morphism in \(\mathcal {CG}\).

A homomorphism of \(\varphi \)-extensions

$$\begin{aligned} (R, \lambda , \tau , m) :({\mathbb B},{\mathbb A},\psi ,T,\nu ,\chi ,S,s) \rightarrow ({\mathbb B}',{\mathbb A},\psi ',T',\nu ',\chi ',S',s') \end{aligned}$$

is a homomorphism of extensions \((R, \lambda , \tau , m)\) such that the following diagram commutes

  • (\(\varphi \)ext1)

A morphism of \(\varphi \)-extensions

$$\begin{aligned} \beta :(R, \lambda , \tau , m)\Rightarrow & {} (R', \lambda ', \tau ', m') :({\mathbb B},{\mathbb A},\psi ,T,\nu ,\chi ,S,s)\\ {}\rightarrow & {} ({\mathbb B}',{\mathbb A},\psi ',T',\nu ',\chi ',S',s') \end{aligned}$$

is just a morphism of extensions.

Note that the three notions in the above definition (singular extension, homomorphism and morphism) have equivalent formulations that, occasionally, can be easier to handle than the original ones (see Remark 8.8 in [13]).

It is remarkable the fact that \(\varphi \)-extensions of \({\mathbb G}\) by \({\mathbb A}\), with their homomorphisms and morphisms, form a 2-groupoid denoted \(\mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A})\) (see Remark 8.4 in [13]).

Remark 3.2

For any symmetric \({\mathbb G}\)-categorical group \({\mathbb A}\), a notion of singular extension of \(\mathbb {G}\) by \(\mathbb {A}\) was introduced in [9, Definition 4.1] as a pair \((\mathcal {E},\varphi )\) where \(\mathcal {E}:\mathbb {A}\mathop {\longrightarrow }\limits ^{j}\mathbb {E}\mathop {\longrightarrow }\limits ^{P}\mathbb {G}\) is a sequence of categorical group homomorphisms, P is an essentially surjective fibration, j gives an equivalence between \(\mathbb {A}\) and the fibre category of P over the unit object I of \(\mathbb {G}\), and

$$\begin{aligned} \varphi =(\varphi _{E,A}:E\otimes j(A)\longrightarrow j(^{p(E)}\!A)\otimes E)_{(A,E)\in Obj(\mathbb {A})\times Obj(\mathbb {E})} \end{aligned}$$

is a family of natural isomorphisms in \(\mathbb {E}\) that have to satisfy suitable coherence conditions. This notion is equivalent (c.f. [20]) to the one considering essentially surjective homomorphisms and their homotopy kernels and then, according to Proposition 2.1, to the notion of singular extension here considered. These different approaches are, in fact, the categorical-group version of the group case, where an extension can be presented as a surjective homomorphism together with its kernel or as a normal subgroup together with its cokernel. The advantage with the definition that we handle in this paper, is that, when the normal sub-categorical group is symmetric, it is easy to construct an action of the quotient on the kernel, much easier than doing the same if one defines an extension as an essentially surjective homomorphism with a symmetric kernel. The price to pay is that (contrarily to what happens with groups) to be a normal sub-categorical group is a structure, and not a property, and the only reasonable way to handle such a structure is to see it as a special case of the general structure of categorical crossed module.

3.2 The second cohomology categorical group

We fix a categorical group \({\mathbb G}\) and a symmetric \({\mathbb G}\)-categorical group \({\mathbb A}=({\mathbb A}, \varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}_s({\mathbb A}))\) and, since the action \(\varphi \) has been fixed, here after we usually avoid to name it.

Below we describe explicitly the cochain complex of symmetric categorical groups \(\mathcal {C}(\mathbb {G},\mathbb {A})\) in low dimensions.

  • \(\mathcal {C}^0(\mathbb {G},\mathbb {A})\) is the trivial category.

  • \(\mathcal {C}^1(\mathbb {G},\mathbb {A})\): Its objects are maps \(\gamma :\text {Obj}(\mathbb {G})\rightarrow \text {Obj}(\mathbb {A})\); an arrow \(\gamma \rightarrow \gamma ^{\prime }\) is a family \(\{\gamma _{_X}\rightarrow \gamma ^{\prime }_{_X}\,|\, X\in \text {Obj}(\mathbb {G})\}\) of morphisms in \(\mathbb {A}\).

  • \(\mathcal {C}^2(\mathbb {G},\mathbb {A})\): Its objects are maps \(f\mapsto p(f)\) from the set of morphisms of \({\mathbb G}\), of the form \(f:X\otimes Y \rightarrow Z\), into the objects of \(\mathbb {A}\); an arrow \(p\rightarrow p'\) is a family \(\{p(f)\rightarrow p'(f)\}_{_f}\) of morphisms in \(\mathbb {A}\) indexed by morphisms in \(\mathbb {G}\) of the form \(f:X\otimes Y \rightarrow Z\).

  • \(\mathcal {C}^3(\mathbb {G},\mathbb {A})\): Its objects are maps \(\alpha \mapsto q(\alpha )\) from the set of commutative diagrams \(\alpha \) in \(\mathbb {G}\) of the form

    (1)

    (where the associativity isomorphisms are omitted) into the objects of \(\mathbb {A}\); an arrow \(q\rightarrow q'\) is a family \(\{ q(\alpha )\rightarrow q'(\alpha )\}_{_{\alpha }}\) of morphisms in \(\mathbb {A}\) indexed by commutative squares \(\alpha \) as above.

  • \(\mathcal {C}^4(\mathbb {G},\mathbb {A})\): Its objects are maps \(\theta \mapsto r(\theta )\) from the set of commutative diagrams \(\theta \) in \(\mathbb {G}\) of the form

    (2)

    (where the associativity isomorphisms are omitted) into the objects of \(\mathbb {A}\); an arrow \(r\rightarrow r'\) is a family \(\{r(\theta )\rightarrow r'(\theta )\}_{_{\theta }}\) of morphisms in \(\mathbb {A}\) indexed for commutative cubes \(\theta \) as above.

The corresponding coboundaries are defined by:

  • \(\partial ^0(*)(X)=I\) for all \(X\in \mathbb {G}\);

  • \(\partial ^1(\gamma )(f)=\,^X\!\gamma _{_Y}\otimes \gamma _{_X}\otimes \gamma _{_Z}^*\) for all \(f:X\otimes Y \rightarrow Z\) in \({\mathbb G}\);

  • \(\partial ^2(p)(\alpha )=p(f)\otimes p(h)^*\otimes p(g)\otimes \,^X\!p(i)^*\) for all diagrams \(\alpha \) as in (1);

  • \(\partial ^3(q)(\theta )=q(\alpha _0)\otimes q(\alpha _1)^*\otimes q(\alpha _2)\otimes q(\alpha _3)^*\otimes \,^X\!q(\alpha _4)\) for all diagrams \(\theta \) as in (2) where \(\alpha _0\otimes 1\) is its upper face, \(\alpha _1\) its down face, \(\alpha _3\) its front face, \(1\otimes \alpha _4\) its back face and \(\alpha _2\) its right side face.

From the truncated cocomplex

(adding the normalization condition \(\gamma _{_I}\cong I\) compatible with arrows \(\gamma \rightarrow \gamma '\)) we get the cohomology categorical group \(\mathcal {H}^2(\mathbb {G},\mathbb {A})\) following the general construction given in [11, Definition 3.1]: take first the relative kernel \(\mathcal {Z}^2(\mathbb {G},\mathbb {A})\) of \((\partial ^2 , \partial ^3),\) then \(\mathcal {H}^2(\mathbb {G},\mathbb {A})\) is the cokernel of the factorization \(\mathcal {T}\) of \(\partial ^1\) through \(\mathcal {Z}^2(\mathbb {G},\mathbb {A}).\)

For the reader’s convenience, we make now such a construction explicit.

We start describing the categorical group \(\mathcal {Z}^2(\mathbb {G},\mathbb {A})\) of normalized 2-cocycles of \(\mathbb G\) with coefficients in \(\mathbb A\). Note that its set of objects is just (up to a dimensional shift) the set of normalized 1-cocycles of \(\mathbb {G}\) with coefficients in the \(\mathbb {G}\)-module \(\mathbb {A}\) introduced in [9].

  • The objects of \(\mathcal {Z}^2(\mathbb {G},\mathbb {A})\) are systems (tp), consisting of the following data:

    • (a) For any three objects XYZ and any morphism \(f :X\otimes Y \rightarrow Z\) of \({\mathbb G},\) there is an object \(p(f)\in \mathbb A.\)

    • (b) For any four morphisms

$$\begin{aligned} f :X\otimes Y\rightarrow R, \, g :R\otimes Z\rightarrow S,\, h :X\otimes T\rightarrow S,\, i :Y\otimes Z\rightarrow T \end{aligned}$$

in \({\mathbb G}\) making diagram (1) commutative, there is a morphism

$$\begin{aligned} t_{_{f,g,h,i}} :p(f)\otimes p(g)\rightarrow {^Xp(i)}\otimes p(h) \end{aligned}$$

in \({\mathbb {A}}\) subject to the following conditions:

(NC) Normalization conditions:

  1. NC1:

    For any object X in \(\mathbb G,\) \(p(r_X)\cong I\cong p(l_X);\)

  2. NC2:

    For any \(f :X\otimes Y\rightarrow Z,\) \(t_{r,f,f,l} :I\otimes p(f)\rightarrow {^XI}\otimes p(f)\) is the canonical isomorphism.

(CC) Cocycle condition: For any ten objects XYZRSTUVWK and ten morphisms

$$\begin{aligned} f :X\otimes Y\rightarrow S,\, g :S\otimes Z\rightarrow V,\, h :V\otimes R\rightarrow W, \,j :S\otimes T\rightarrow W,\, k :Z\otimes R\rightarrow T \end{aligned}$$
$$\begin{aligned} m :X\otimes K\rightarrow W,\, s :Y\otimes T\rightarrow K,\, x :X\otimes U\rightarrow V, \,u :Y\otimes Z\rightarrow U,\, v :U\otimes R\rightarrow K \end{aligned}$$

in \(\mathbb G\) making diagram (2) commutative, the diagram

commutes.

  • An arrow \(\alpha :(t,p)\rightarrow (t',p')\) in \({\mathcal Z}^2({\mathbb G},{\mathbb A})\) is a family \(\{\alpha _{_f} :p(f)\rightarrow p'(f)\}_{f}\) of morphisms in \(\mathbb A\) indexed by morphisms \(f :X\otimes Y\rightarrow Z\) in \(\mathbb {G},\) such that for any commutative diagram like (1), the following diagram commutes

  • The tensor product in \({\mathcal Z}^2({\mathbb G},{\mathbb A})\) is given, on objects, by

    $$\begin{aligned} (t,p)\otimes (t',p')=(t\otimes t',p\otimes p') \end{aligned}$$

    where, for any \(f:X\otimes Y\rightarrow Z\), \((p\otimes p')(f)=p(f)\otimes p'(f)\) and, for any commutative diagram like (1), \((t\otimes t')_{_{f,g,h,i}}\) is the dotted arrow making the following diagram commutative

    The tensor product on arrows is pointwise. The rest of the symmetric categorical group structure of \({\mathcal Z}^2({\mathbb G},{\mathbb A})\) is induced by that of \({\mathbb A}.\)

Remark 3.3

To help the reader with this notion of cocycle, let us look at what happens when \({\mathbb G}\) and \({\mathbb A}\) are discrete (see also Example 3.4). If \({\mathbb G}\) is discrete, to have an arrow \(f :X \otimes Y \rightarrow Z\) just means that \(Z = X \otimes Y,\) so that the component p of a cocycle (tp) amounts to a map

$$\begin{aligned} p :\text {Obj}({\mathbb G}) \times \text {Obj}({\mathbb G}) \rightarrow \text {Obj}({\mathbb A}) ,\quad X,Y \mapsto p(X,Y). \end{aligned}$$

Moreover, to give a commutative diagram like (1) means that

$$\begin{aligned} X \otimes Y = R, \quad R \otimes Z = S, \quad X \otimes T = S, \quad Y \otimes Z = T. \end{aligned}$$

Therefore,

$$\begin{aligned} p(f)=p(X,Y), \quad p(g)=p(R,Z)=p(X \otimes Y,Z) \end{aligned}$$
$$\begin{aligned} p(i)=p(Y,Z), \quad p(h)=p(X,T)=p(X,Y \otimes Z) \end{aligned}$$

Finally, the existence of a morphism \(t_{f,g,h,i} :p(f) \otimes p(g) \rightarrow \,^{X}\!p(i) \otimes p(h)\) means that the usual cocycle equation holds:

$$\begin{aligned} p(X,Y) \otimes p(X \otimes Y, Z) = \,^X\!p(Y,Z) \otimes p(X,Y \otimes Z). \end{aligned}$$

The homomorphism of symmetric categorical groups

$$\begin{aligned} \mathcal {T}=(\mathcal {T},\mathcal {T}_2):\mathcal {C}^1(\mathbb {G},\mathbb {A})\rightarrow \mathcal {Z}^2(\mathbb {G},\mathbb {A}) \end{aligned}$$

can be described as follows. Given an object \(\gamma \in \mathcal {C}^1({\mathbb G},{\mathbb A})\), \(\mathcal {T}(\gamma )=(t^\gamma ,p^\gamma )\) where, for any \(f:X\otimes Y\rightarrow Z\), \(p^\gamma (f)={^X\gamma _{_Y}}\otimes \gamma _{_X}\otimes \gamma _{_Z}^*\) and, for any diagram like (1), \(t^\gamma _{_{f,g,h,i}}\) is the dotted arrow making the following diagram commutative

On arrows \(\chi :\gamma \rightarrow \gamma '\), \(\mathcal {T}(\chi ):(t^\gamma ,p^\gamma )\rightarrow (t'^\gamma ,p'^\gamma )\) is given, for any \(f:X\otimes Y\rightarrow Z\), by \(T(\chi )_{_f}={^X\chi _{_Y}}\otimes \chi _{_X}\otimes \chi _{_Z}^*:p^\gamma (f)\rightarrow p'^\gamma (f).\) The monoidal structure

$$\begin{aligned} \mathcal {T}_2:\mathcal {T}(\gamma )\otimes \mathcal {T}(\gamma ')\rightarrow \mathcal {T}(\gamma \otimes \gamma ') \end{aligned}$$

is the canonical isomorphism

obtained from the symmetry of \(\mathbb {A}\) and the isomorphism \(\varphi \) of the action of \(\mathbb {G}\) on \(\mathbb {A}\).

We can close the previous discussion with the following:

Definition 1

The second cohomology categorical group of \({\mathbb G}\) with coefficients in the symmetric \({\mathbb G}\)-categorical group \({\mathbb A}\), \({\mathcal H}^2({\mathbb G},{\mathbb A})\), is the cokernel of the homomorphism of symmetric categorical groups \(\mathcal {T}:\mathcal {C}^1(\mathbb {G},\mathbb {A})\rightarrow \mathcal {Z}^2(\mathbb {G},\mathbb {A})\), that is

$$\begin{aligned} {\mathcal H}^2(\mathbb {G},\mathbb {A})= \mathbb {C}\mathrm {oker}(\mathcal {T}). \end{aligned}$$

The following example shows that our \({\mathcal H}^2({\mathbb G},{\mathbb A})\) particularizes, in the discrete case, to several well-known cohomology groups.

Example 3.4

  1. 1.

    If \({\mathbb G}\) is the discrete categorical group \([G]_0\) associated with a group G,  then the set of objects of \({\mathcal Z}^2([G]_0,{\mathbb A})\) is identified with the set of Ulbrich’s 3-cocycles of G with coefficients in \({\mathbb A},\) (see [23]). In particular (see Example 3 in [9]), if \({\mathbb A}\) is the discrete symmetric \([G]_0\)-categorical group \([A]_0\) associated with a G-module A,  then \({\mathcal Z}^2([G]_0,[A]_0)\) is the discrete symmetric categorical group \([\mathrm {Z}^2(G,A)]_0\) associated with the abelian group of Eilenberg–Mac Lane 2-cocycles of G with coefficients in A.

  2. 2.

    If \({\mathbb G}=[G]_0\) and, moreover, \({\mathbb A}=[A]_1\) is the symmetric \([G]_0\)-categorical group with only one object associated with a G-module A,  then \({\mathcal Z}^2([G]_0,[A]_1)\) is the discrete symmetric categorical group associated with the abelian group of Eilenberg–Mac Lane 3-cocycles of G with coefficients in the G-module A.

  3. 3.

    When the action of \({\mathbb G}\) on \({\mathbb A}\) is trivial, then the set of objects of \({\mathcal Z}^2({\mathbb G},{\mathbb A})\) is the set of 1-cocycles introduced in [6]. If, moreover, \({\mathbb G}=[G]_0,\) then the set of objects of \({\mathcal Z}^2([G]_0,{\mathbb A})\) coincides with the set of Breen’s 1-cocycles introduced in [3].

In conclusion, the cohomology groups introduced by Eilenberg–Mac Lane [19], Ulbrich [23], Breen [3], and Carrasco and Cegarra [6], can be obtained as special instances of our symmetric categorical group \({\mathcal H}^2({\mathbb G},{\mathbb A})\) via the functor of connected components \(\pi _0.\)

3.3 The classification theorem

In order to compare \({\mathcal H}^2({\mathbb G},{\mathbb A})\) with the 2-groupoid \(\mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A}),\) in the next theorem we look at \({\mathcal H}^2({\mathbb G},{\mathbb A})\) as a monoidal bicategory (this fact for the cokernel of any homomorphism in \(\mathcal {SCG}\) has been already remarked in Sect. 2). Following the same line of arguments than that carried out in Proposition 9.1 and Theorem 9.3 in [13], we will show a biequivalence between \({\mathcal H}^2({\mathbb G},{\mathbb A})\) and \(\mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A})\) by giving only the constructive part of the proof and will omit the long diagrammatic arguments needed to check that the various constructions fulfill the requested coherence conditions. As we will remark after its proof, the next theorem extends, to the appropriate bicategorical context, the classification of singular extensions of categorical groups given in [9].

Theorem 3.5

Let \({\mathbb G}\) be a categorical group and \(\varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}_s({\mathbb A})\) a symmetric action. Then, there exists a biequivalence of bicategories

$$\begin{aligned} \overline{\mathcal E} :{\mathcal H}^2({\mathbb G},{\mathbb A}) \rightarrow \mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A}). \end{aligned}$$

Proof

We split the proof in four steps.

Step 1 We construct a 2-functor

$$\begin{aligned} \mathcal E :\mathcal {Z}^2(\mathbb {G},\mathbb {A}) \rightarrow \mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A}) \end{aligned}$$

where \(\mathcal {Z}^2({\mathbb G},{\mathbb A})\) is seen as a 2-category with only identity 2-arrows.

Let (tp) be a normalized 2-cocycle of \({\mathbb G}\) with coefficients in \({\mathbb A}\) and consider the categorical group \({\mathbb A}\times _{(t,p)} {\mathbb G}\) described below:

  • Objects: Obj(\({\mathbb A}\times _{(t,p)} {\mathbb G}\))= Obj(\({\mathbb A}\))\(\times \) Obj(\({\mathbb G}\)).

  • Morphisms: Pairs \((u,f):(A,X)\rightarrow (B,Y)\) where \(f:X\rightarrow Y\) is a morphism in \({\mathbb G}\) and \(u:A\otimes p(fl_{_X})\rightarrow B\) is a morphism in \({\mathbb A}\).

  • Identities: \(1_{(A,X)}=(A\otimes p(l_{_X})\rightarrow A\otimes I\mathop {\longrightarrow }\limits ^{r_{_A}}A,1_{_X}) \).

  • Composition: Given morphisms , their composition is \((w,gf):(A,X)\rightarrow (C,Z)\) where \(w:A\otimes p(gfl_{_X})\rightarrow C\) is the morphism in \({\mathbb A}\) determined by the commutativity of the following diagram:

  • Tensor product: For objects it is given by

    $$\begin{aligned} (A,X)\otimes (B,Y)=(A\otimes \,^X\!B\otimes p(1_{_{X\otimes Y}}),X\otimes Y) \end{aligned}$$

and for arrows \((u,f):(A,X)\rightarrow (C,Z)\) and \((v,g):(B,Y)\rightarrow (D,W)\) it is given by

$$\begin{aligned} (u,f)\otimes (v,g)&=(w,f\otimes g):(A\otimes \,^X\!B\otimes p(1_{_{X\otimes Y}}),X\otimes Y)\\&\longrightarrow (C\otimes \,^Z\!D\otimes p(1_{_{Z\otimes W}}),Z\otimes W) \end{aligned}$$

where w is the morphism making commutative the following diagram:

  • Inverse: \((A, X)^*=(\,^{X^*}\!\!A^*\otimes \,^{X^*}\!p(1_{_{X\otimes X^*}})^*\otimes \,^{X^*}\!p(r_{_X}^{-1}l_{_X})\otimes p(\epsilon _{_X})^*,X^*)\)

  • Action: \(\psi :{\mathbb A}\times _{(t,p)} {\mathbb G}\longrightarrow {\mathbb E}\text {q}_s({\mathbb A})\) given by

    $$\begin{aligned} \psi (A,X)(B)= \,^{(A,X)}\!B=pr_{_{{\mathbb A}}}((A,X)\otimes (B,I)\otimes (A,X)^*)\otimes p(\eta _{_X}^{-1}(r_{_X}\otimes 1)l_{_{X\otimes I\otimes X^*}})) \end{aligned}$$

where \(pr_{_{{\mathbb A}}}(A,X)=A\).

In this way we actually have an extension \(\mathcal {E}(p,t)\) of \({\mathbb G}\) by \({\mathbb A}\)

where \(i_{_{{\mathbb A}}}(A,X)=A\) is a faithful homomorphism and \(pr_{_{{\mathbb G}}}(A,X)=X\) is an essentially surjective homomorphism of categorical groups. Moreover, there is an equivalence between \({\mathbb A}\) and \({\mathbb K}\text {er}(pr_{_{{\mathbb G}}})\) given as follows: If \((A,X)\in {\mathbb K}\text {er}(pr_{_{{\mathbb G}}})\), there exists an arrow \(a:X\rightarrow I\) in \({\mathbb G}\) and then \(\Gamma :{\mathbb K}\text {er}(pr_{_{{\mathbb G}}})\longrightarrow {\mathbb A}\) is given, on objects, by \(\Gamma (A,X)=A\otimes p(ar_{_X})\) and, on arrows \((u,f):(A,X)\rightarrow (B,Y)\), \(\Gamma (u,f):A\otimes p(ar_{_X})\longrightarrow B\otimes p(br_{_Y})\) is the morphism determined, in a canonical way, by \(u:A\otimes p(fl_{_X})\rightarrow B\) and \(t_{_{fl_{_X},br_{_Y},l_{_I},ar_{_X}}}:p(fl_{_X})\otimes p(br_{_Y})\longrightarrow \,^I\!p(ar_{_X})\otimes p(l_{_I}).\) Also (recall Proposition 2.1) there is an equivalence \(({\mathbb A}\times _{(t,p)} {\mathbb G})/i_{_{{\mathbb A}}}\simeq {\mathbb G}\): For any arrow from (AX) to (BY) in \({\mathbb A}\times _{(t,p)} {\mathbb G}\) there is a morphism in \({\mathbb G}\), \(X\rightarrow I\otimes Y\), which canonically determines the image \(f:X\rightarrow Y\) through the equivalence.

The extension \(\mathcal {E}(p,t)\) is actually a \(\varphi \)-extension of \({\mathbb G}\) by \({\mathbb A}\) because there is a morphism \(\sigma :\varphi \cdot pr_{{\mathbb G}} \Rightarrow \widetilde{\psi }\) in \(\mathcal {CG}\) obtained as follows. For any object \((A,X)\in {\mathbb A}\times _{(t,p)} {\mathbb G}\), the morphism in \({\mathbb A}\) \(\sigma _{_{(A,X)}}(B):\,^X\!B\rightarrow \,\widetilde{\psi }(A,X)(B)=\,^{(A,X)}\!B\) is the part in \({\mathbb A}\) of the morphism in \({\mathbb A}\times _{(t,p)} {\mathbb G}\), \((\,^X\!B,I)\longrightarrow (A,X)\otimes (B,I)\otimes (A,X)^* \), canonically deduced from the following one \((A,X)\otimes (B,I)\longrightarrow (\,^X\!B,I)\otimes (A,X)\). This is given by the pair \((u, l_{_X}^{-1}r_{_X})\) where \(u:A\otimes \,^X\!B\otimes p(1_{_{X\otimes I}})\otimes p(l_{_X}^{-1}r_{_X}l_{_{X\otimes I}})\longrightarrow \,^X\!B\otimes \,\!A\otimes p(1_{_{I\otimes X}})\) is the morphism in \({\mathbb A}\) deduced from \(t_{{1},{r},{l^{-1}rl},{1}}\) which is associated with the following commutative diagram

Let now \(\alpha :(t,p)\rightarrow (t',p')\) be a morphism of 2-cocycles. Thus we have a family of morphisms in \({\mathbb A}\), \(\{\alpha _{_f}:p(f)\rightarrow p'(f)\}_{_{f:X\otimes Y\rightarrow Z}}\) and we get a homomorphism of extensions \(\mathcal {E}(\alpha ) :\mathcal {E}(t,p) \Rightarrow \mathcal {E}(t',p')\) according to the following diagrams

where \(\mathrm {Id}:{\mathbb A}\times _{(t,p)} {\mathbb G}\rightarrow {\mathbb A}\times _{(t',p')} {\mathbb G}\) is the identity functor with monoidal structure given by

and \(\lambda _{(A,X),B}\) is determined by the identity in \(pr_{_{{\mathbb A}}}((A,X)\otimes (B,I)\otimes (A,X)^*))\) and \(\alpha _{_{\eta _{_X}^{-1}(r_{_X}\otimes 1)l_{_{X\otimes I\otimes X^*}}}}:p(\eta _{_X}^{-1}(r_{_X}\otimes 1)l_{_{X\otimes I\otimes X^*}})\longrightarrow p'(\eta _{_X}^{-1}(r_{_X}\otimes 1)l_{_{X\otimes I\otimes X^*}}) \).

That \(\mathcal {E}(\alpha )\) is a homomorphism in \(\mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A})\), that is, that condition (\(\varphi \)ext1) holds, follows from the own definition of \(\lambda \).

Step 2 We construct now a 2-natural transformation

Let \(\gamma :\text {Obj}(\mathbb {G})\rightarrow \text {Obj}(\mathbb {A})\) a normalized object of \(\mathcal {C}^1({\mathbb G},{\mathbb A})\). Then \(\mathcal {T}(\gamma )=(t^{\gamma },p^{\gamma })\) and we get a homomorphism of extensions as follows

where \({\mathbb A}\times _{\varphi } {\mathbb G}\) is the semidirect product (see [12, 17]) and the symmetric action \(\psi ' :{\mathbb A}\times _{\varphi } {\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}_s({\mathbb A})\) is explicitly given by The functor \(\Phi _{\gamma }\) is defined on objects by \(\Phi _{\gamma }(A,X)=(A\otimes \gamma _{_X},X)\). Now, for any arrow \((u,f):(A,X)\rightarrow (B,Y)\) in \({\mathbb A}\times _{(t^{\gamma },p^{\gamma })} {\mathbb G}\) we have arrows \(f:X\rightarrow Y\) in \({\mathbb G}\) and \(u:A\otimes p^{\gamma }(fl_{_X})\rightarrow B\) in \({\mathbb A}\) and since, by definition, \(p^{\gamma }(fl_{_X})\cong \gamma _{_X} \otimes \gamma _{_Y}^*\), the arrow u induces, in a canonical way, the required one \(\Phi _{\gamma }(u,f):(A\otimes \gamma _{_X},X)\rightarrow (B\otimes \gamma _{_Y},Y)\). The monoidal structure of \(\Phi _{\gamma }\) is obtained in a canonical way since

$$\begin{aligned} \Phi _{\gamma }((A,X)\otimes (B,Y))= & {} \Phi _{\gamma }(A\otimes \,^X\!B\otimes p^{\gamma }(1_{_{X\otimes Y}}),X\otimes Y)\\= & {} (A\otimes \,^X\!B\otimes \,^X\!\gamma {_Y}\otimes \gamma _{_X}\otimes \gamma _{_{X\otimes Y}}^*\otimes \gamma _{_{X\otimes Y}},X\otimes Y) \end{aligned}$$

whereas

$$\begin{aligned} \Phi _{\gamma }(A,X)\otimes \Phi _{\gamma }(B,Y)= & {} (A\otimes \gamma _{_X},X)\otimes (B\otimes \gamma _{_Y},Y)\\\cong & {} (A\otimes \gamma _{_X}\otimes \,^X\!B\otimes \,^X\!\gamma _{_Y},X\otimes Y). \end{aligned}$$

Finally, since \(\gamma _{_I}\cong I\), the morphism \(\tau :\Phi _{\gamma } \cdot i_{{\mathbb A}} \Rightarrow i_{{\mathbb A}}\) is defined in a canonical way and the morphism \(\lambda :\psi \Rightarrow \psi ' \cdot \Phi _{\gamma }\) is the opposite of the morphism \(\sigma \) used in Step 1.

Step 3 Now we extend the 2-functor \(\mathcal E :\mathcal {Z}^2({\mathbb G},{\mathbb A}) \rightarrow \mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A}),\) constructed in Step 1, to a homomorphism of bicategories

$$\begin{aligned} \overline{\mathcal {E}} :\mathcal {H}^2({\mathbb G},{\mathbb A}) \rightarrow \mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A}) \end{aligned}$$

(we limit ourselves to define \(\overline{\mathcal E}\) on objects, 1-arrows and 2-arrows; to check that \(\overline{\mathcal E}\) is indeed a homomorphism of bicategories is long but essentially straightforward). On objects, \(\overline{\mathcal E}\) is defined as \(\mathcal {E}.\) Consider now a 1-arrow \((\gamma ,\alpha ):(t,p)\rightarrow (t',p')\) in \(\mathcal {H}^2({\mathbb G},{\mathbb A}),\) that is, \(\gamma \in \mathcal {C}^1({\mathbb G},{\mathbb A})\) and \(\alpha :(t,p) \otimes (t^{\gamma },p^{\gamma })\rightarrow (t',p')\) is a 1-arrow in \(\mathcal {Z}^2({\mathbb G},{\mathbb A});\) the homomorphism \(\overline{\mathcal {E}}(\gamma ,\alpha ) :{\mathcal {E}}(t,p) \rightarrow {\mathcal {E}}(t',p')\) factors through \({\mathcal {E}}((t,p) \otimes (t^{\gamma },p^{\gamma }))\) and is described in the following diagram, where \(\Phi _{\gamma }\) and \(\tau \) are as in Step 2, and \(\mathrm {Id}\) is the identity functor with monoidal structure determined by \(\alpha \) as in Step 1

Consider now a 2-arrow \(\beta :(\gamma ,\alpha ) \Rightarrow (\gamma ',\alpha ')\) in \(\mathcal {H}^2({\mathbb G},{\mathbb A}),\) that is, a morphism \(\beta :\gamma \Rightarrow \gamma '\) in \(\mathcal {C}^1({\mathbb G},{\mathbb A})\) (i.e., a family of morphisms in \({\mathbb A}\), \(\beta _{_X}:\gamma _{_X}\rightarrow \gamma ^{\prime }_{_X}\), indexed in the objects X of \({\mathbb G}\)) such that

(3)

commutes, where, for any morphism \(f:X\otimes Y\rightarrow Z\) in \({\mathbb G}\), \(\mathcal {T}(\beta )_{_f}:p^{\gamma }(f)\rightarrow p^{\gamma '}(f)\) is given by \(\mathcal {T}(\beta )_{_f}=\,^X\!\beta _{_Y}\otimes \beta _{_X}\otimes \beta _{_Z}^*\). Then the morphism \(\overline{\mathcal {E}}(\beta ):\overline{\mathcal {E}}(\gamma ,\alpha )\rightarrow \overline{\mathcal {E}}(\gamma ',\alpha ')\) is described in the diagram

where \(\overline{\beta }_{A,X} :(A \otimes \gamma _{_X},X) \rightarrow (A \otimes \gamma ^{\prime }_{_X},X)\) is given, since \(p(1_{_X}l_{_X})\cong I\) and up to a canonical morphism, by the pair \((1_{_X},1_{_A}\otimes \beta _{_X})\). The monoidal structure on the identity functor \(\mathrm {Id}\) is determined by \(1 \otimes \mathcal {T}(\beta )\) as in Step 1.

Finally, the fact that the identity natural transformation in the bottom triangle is monoidal is precisely condition (3). Also, the natural transformation \(\overline{\beta }\) is monoidal and this fact follows from the observation that the morphism involved in such condition

$$\begin{aligned} \Phi _{_{\gamma '}}I\text {d}((A,X)\otimes (B,Y))\longrightarrow \Phi _{_{\gamma '}}I\text {d}((A,X))\otimes \Phi _{_{\gamma '}}I\text {d}((B,Y)) \end{aligned}$$

is determined, since \(p^{\gamma }(1_{_{X\otimes Y}})=\,^X\!\gamma _{_Y}\otimes \gamma _{_X}\otimes \gamma _{_{X\otimes Y}}^*\), by the following composition

Step 4 Finally, we have to prove that the homomorphism \(\overline{\mathcal E} :\mathcal {H}^2({\mathbb G},{\mathbb A}) \rightarrow \mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A}),\) constructed in Step 3, is a biequivalence, that is, it is locally an equivalence and biessentially surjective on objects (i.e., surjective up to equivalence).

\({\overline{\mathcal {E}}}\) is locally faithful:

If \(\beta ,\beta ' :(\gamma ,\alpha )\rightarrow (\gamma ',\alpha ')\) are such that \(\overline{\mathcal {E}}(\beta ) = \overline{\mathcal {E}}(\beta '),\) then for all \(A \in {\mathbb A}\) and \(X \in {\mathbb G}\) we have

$$\begin{aligned} 1_A \otimes \beta _X = 1_A \otimes \beta '_X :A \otimes \gamma _X \rightarrow A \otimes \gamma ^{\prime }_X \end{aligned}$$

and taking \(A=I\) we get \(\beta _X = \beta '_X\) and so \(\beta =\beta '\).

\({\overline{\mathcal {E}}}\) is locally full:

Suppose \((\gamma ,\alpha ),(\gamma ',\alpha '):(t,p)\longrightarrow (t',p')\) two 1-arrows in \(\mathcal {H}^2({\mathbb G},{\mathbb A})\) and let us suppose that \(\overline{\beta }:\overline{\mathcal {E}}(\gamma ,\alpha )\Rightarrow \overline{\mathcal {E}}(\gamma ',\alpha ')\) is a 2-arrow between both morphisms of singular extensions from \(\mathcal {E}(t,p)\) to \(\mathcal {E}(t',p')\). We look for a 2-arrow in \(\mathcal {H}^2({\mathbb G},{\mathbb A})\), \(\beta :(\gamma ,\alpha )\longrightarrow (\gamma ',\alpha ')\) such that \(\overline{\mathcal {E}}(\beta )=\overline{\beta }\). Explicitly, \(\overline{\beta }\) is a natural transformation

$$\begin{aligned} \overline{\beta }_{_{A,X}}:\Phi _{_{\gamma }}(A,X)=(A\otimes \gamma _{_X},X)\longrightarrow (A\otimes \gamma ^{\prime }_{_X},X)=\Phi _{_{{\gamma }^{\prime }}}(A,X) \end{aligned}$$

and so it has two components

$$\begin{aligned} \overline{\beta }_1(A,X): A\otimes \gamma _{_X}\longrightarrow A\otimes \gamma ^{\prime }_{_X}, \quad \overline{\beta }_2(A,X):X\rightarrow X. \end{aligned}$$

We define \(\beta _{_X}:\gamma _{_X}\longrightarrow \gamma ^{\prime }_{_X}\) as follows

In this way, condition (pcm5) in [13] on \(\overline{\beta }\) gives the normalization condition for \(\beta :\gamma \rightarrow \gamma '\) being a morphism in \(\mathcal {C}^1({\mathbb G},{\mathbb A})\) and the monoidal character of \(\overline{\beta }\) gives condition (3) so that \(\beta :(\gamma ,\alpha )\longrightarrow (\gamma ',\alpha ')\) is a 2-arrow in \(\mathcal {H}^2({\mathbb G},{\mathbb A})\). Moreover, condition (act10) in [13] on \(\overline{\beta }\) gives that \(\overline{\beta }_1(A,X)=1\otimes \beta _{_X}: A\otimes \gamma _{_X}\longrightarrow A\otimes \gamma ^{\prime }_{_X}\) and the fact that \(\overline{\beta }\) is a morphism of extensions gives that \(\overline{\beta }_2(A,X)=1_{_X}:X\rightarrow X\). Thus, by definition, \(\overline{\mathcal {E}}(\beta )=\overline{\beta }\).

\({\overline{\mathcal {E}}}\) is locally essentially surjective:

Consider two cocycles \((t,p),(t',p')\in \mathcal {Z}^2({\mathbb G},{\mathbb A})\) and \((R,\tau ,\mu ) :\overline{\mathcal {E}}(t',p') \rightarrow \overline{\mathcal {E}}(t,p)\) a homomorphism in \(\mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A})\)

We are going to construct an 1-arrow \((\gamma ,\alpha )\) in \(\mathcal {H}^2({\mathbb G},{\mathbb A})\), that is, \(\gamma \in \mathcal {C}^1({\mathbb G},{\mathbb A})\) and \(\alpha :(t,p) \otimes (t^{\gamma },p^{\gamma }) \rightarrow (t',p')\) an arrow in \({\mathbb Z}^2({\mathbb G},{\mathbb A})\), and \(\beta :\Phi _{\gamma } \Rightarrow R\) a morphism in \(\mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A}).\) Let us write

$$\begin{aligned} R(A,X) = (R^1(A,X),R^2(A,X)) \end{aligned}$$

for the two components of R,  and

$$\begin{aligned} \tau _A = (\tau ^1(A),\tau ^2(A)) :(A,I) \rightarrow (R^1(A,I),R^2(A,I)) \end{aligned}$$

for the two components of \(\tau ,\) and observe that

$$\begin{aligned} \mu _{A,I} = \tau ^2(A) :I \rightarrow R^2(A,I) \end{aligned}$$

because of condition (ext2) in [13], and

$$\begin{aligned} \tau ^1(A):A\otimes p(\mu _{_{A,I}}l)\longrightarrow R^1(A,I). \end{aligned}$$

Now we put

$$\begin{aligned} \gamma : \text {Obj}({\mathbb G})\rightarrow \text {Obj}({\mathbb A}) \quad \text {by} \quad \gamma _{_X}= R^1(I,X)\otimes p(\mu _{_{I,X}}l)^*\in \text {Obj}({\mathbb A}) \end{aligned}$$

As far as the natural transformation \(\beta \) is concerned, it is of the form

$$\begin{aligned} \beta _{_{A,X}} = (\beta ^1(A,X),\beta ^2(A,X)) :\Phi _{_{\gamma }}(A,X) = (A \otimes \gamma _{_X},X) \rightarrow (R^1(A,X),R^2(A,X)) \end{aligned}$$

and we put

$$\begin{aligned} \beta ^2(A,X) = \mu _{_{A,X}} :X \rightarrow R^2(A,X) \end{aligned}$$

To construct the first component \(\beta ^1(A,X):A \otimes \gamma _{_X}\otimes p(\mu _{_{A,X}}l)\longrightarrow R^1(A,X),\) observe that for any cocycle (tp) one has \((A,I) \otimes _{_{(t,p)}} (I,X) \cong (A\otimes p(1_{_{I\otimes X}}),I\otimes X)\cong (A,X)\) where the second isomorphism is given by the morphism \(t:p(ll)\otimes p(1_{_{I\otimes X}})\longrightarrow I\) determined by the following commutative diagram

Thus the monoidal structure of R provides a natural family of arrows \(R_2^{A,X}\) with two components of the form

$$\begin{aligned} \rho ^2(A,X):R^2(A,I) \otimes R^2(I,X) \longrightarrow R^2(A,X), \end{aligned}$$
$$\begin{aligned}&\rho ^1(A,X) :R^1(A,I) \otimes R^1(I,X)\otimes p(1_{_{R^2(A,I) \otimes R^2(I,X)}})\\&\quad \otimes p(\rho ^2(A,X)l) \longrightarrow R^1(A,X) \end{aligned}$$

and we put \(\beta ^1(A,X)\) as the following composite

where \(t_i\), \(i=1,2,3\), are respectively determined by the following commutative diagrams:

Finally, to construct the arrow \(\alpha :(t,p) \otimes (t^{\gamma },p^{\gamma }) \rightarrow (t',p')\) in \({\mathbb Z}^2({\mathbb G},{\mathbb A})\) we need to give, for any morphism in \({\mathbb G}\), \(f:X\otimes Y\longrightarrow Z\), a morphism in \({\mathbb A}\)

$$\begin{aligned} \alpha _{_f}:p(f)\otimes p^{\gamma }(f)\longrightarrow p'(f) \end{aligned}$$

which we give as the following composite:

where:

  • the morphism ii) is induced by

    $$\begin{aligned} \beta ^1(p'(f),Z)^{-1}:R^1(p'(f),Z)\!\longrightarrow \! p'(f)\!\otimes \! R^1(I,Z)\otimes p(\mu _{_{I,Z}}l)^*\!\otimes \! p(\mu _{_{p'(f),Z}}l) \end{aligned}$$
  • The morphism i) is given as the following composite (as usual, symmetry in \({\mathbb A}\) is freely used):

where \(t_i\), \(i=1,2,3,4\), are respectively determined by the following commutative diagrams

and \(\xi \) is deduced from the following arrow,

where we use the definition of \(\otimes _{(t,p)}\) in the first step, the monoidal structure of R in the second step, \(\varphi _{\bullet }^X\) and the definition of \(\otimes _{(t',p')}\) in the third step, the existence of the morphism \((I,X)\otimes _{(t',p')}(I,Y)\longrightarrow (p'(f),Z)\) associated with the morphism in \({\mathbb A}\), \(p'(1_{_{X\otimes Y}})\otimes p'(fl)\longrightarrow p'(f)\), deduced from the commutative diagram

in the fourth step, the morphism in \({\mathbb A}\times _{(t',p')}{\mathbb G}\)

$$\begin{aligned} (1,\mu _{_{p'(f),Z}}^{-1}):(R^1(p'(f),Z),R^2(p'(f),Z))\longrightarrow (R^1(p'(f),Z)\otimes p(\mu _{_{p'(f),Z}}^{-1}l),Z) \end{aligned}$$

in the fifth step and, in the last step, the existence of the morphism in \({\mathbb A}\),

$$\begin{aligned} p(\mu _{_{p'(f),Z}}^{-1}l)\longrightarrow p(\mu _{_{p'(f),Z}}l)^* \end{aligned}$$

determined by the commutative diagram

\({\overline{\mathcal {E}}}\) is biessentially surjective:

We have to prove that \(\overline{\mathcal {E}}\) is surjective up to equivalence. Let

be a \(\varphi \)-extension. Up to the equivalences \({\mathbb G}\simeq {\mathbb E}/T\) we can describe a cocycle \((t,p)\in \mathcal {Z}^2({\mathbb E}/T,{\mathbb A}))\) as follows. Any morphism in \({\mathbb E}/T\) is an equivalence class of prearrows \((A\in {\mathbb A}, X\otimes Y\mathop {\longrightarrow }\limits ^{f}T(A)\otimes Z)\) and we choose \(p([A,f])=A\) (and we denote \(A=p(f)\)) . Also, recalling that the identity in an object X is the class \([I,\text {can}:X\rightarrow T(I)\otimes X]\) we have that, for any commutative diagram in \({\mathbb E}/T\) as

and, according to the definition of the tensor product of morphisms in the quotient categorical group (see Sect. 2), the object part of the composite \([p(h),h]\cdot ([I,can]\otimes [p(i),i])\) is, unless canonical isomorphisms, \(^X\!p(i)\otimes p(h)\), whereas the object part of the composite \([p(g),g]\cdot ([p(f),f]\otimes [I,can])\) is, again unless canonical isomorphisms, \(p(f)\otimes p(g)\). Then the commutativity of the square implies the existence of a morphism in \({\mathbb A}\)

$$\begin{aligned} t_{_{[p(f),f],[p(g),g],[p(h),h],[p(i),i]}}:\,^X\!p(i)\otimes p(h)\longrightarrow p(f)\otimes p(g) \end{aligned}$$

such that the following diagram in \({\mathbb E}\) is commutative

In this way it is straightforward to check that the pair \((t,p)\in \mathcal {Z}^2({\mathbb G},{\mathbb A})\). Moreover, any other choice of the objects p(f) gives a cohomologous 2-cocycle, that is, isomorphic in the quotient \(\mathcal {H}^2({\mathbb G},{\mathbb A})\). We finish by showing that \(\overline{\mathcal {E}}(t,p)\) is isomorphic to the given \(\varphi \)-extension. The needed arrow in \(\mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A})\) is given by

with \(R(X) = (I,X)\) and \(\tau _{_A}: (I,T(A))\longrightarrow (A,I)\) the morphism in \({\mathbb A}\times _{(t,p)} {\mathbb E}/T\) determined by the arrow in \({\mathbb E}/T\) and the arrow in \({\mathbb A}\) . \(\square \)

The Baer sum of singular extensions of a group G by a G-module A can be defined in a direct way or, alternatively in an indirect way, by using the bijection of the set of classes of such extensions with the second cohomology group \(H^2(G,A)\). This second approach can be used to define also a Baer sum in the categorical group case. The biequivalence \(\overline{\epsilon }\) of previous theorem induces an equivalence between the respective groupoids obtained by taking 2-isomorphisms classes of 1-arrows as arrows. Each pseudo-inverse of this equivalence certainly allows to define, using the tensor product in the symmetric categorical group \(\mathcal {H}^2({\mathbb G},{\mathbb A})\), a symmetric categorical group structure (i.e., a Baer sum) on the groupoid \(\mathrm {Opext}(\varphi ,{\mathbb G},{\mathbb A})\) and, of course, all these different structures yield to equivalent symmetric categorigal groups. In summary we get the following corollary.

Corollary 3.6

Let \({\mathbb G}\) be a categorical group and \(\varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}_s({\mathbb A})\) a symmetric action. Each weak-inverse of the biequivalence

$$\begin{aligned} \overline{\mathcal E} :\mathcal {H}^2({\mathbb G},{\mathbb A}) \rightarrow \mathbb {O}\mathrm {pext}(\varphi ,{\mathbb G},{\mathbb A}) \end{aligned}$$

induces a structure of symmetric categorical group on the groupoid \(\mathrm {Opext}(\varphi ,{\mathbb G},{\mathbb A})\) an all of them are equivalent.

Remark 3.7

With the appropriate notion of morphism between those singular extensions recalled in Remark 3.2 (introduced in [9, Definition 4.1]), the category of singular extensions \(\mathcal {E}(\mathbb {G},\mathbb {A})\) was also considered in [9] where, actually, it was proved the existence of a bijection [9, Theorem 4.4] \(\pi _0(\mathcal {E}(\mathbb {G},\mathbb {A}))\cong \mathbf {H}^1(\mathbb {G},\mathbb {A})\) of its connected components with the first cohomology group there introduced. Comparing the construction of this \(\mathbf {H}^1\) with our definition of the categorical group \({\mathcal H}^2({\mathbb G},{\mathbb A})\), we see that \(\mathbf {H}^1({\mathbb G},{\mathbb A}) \simeq \pi _0({\mathcal H}^2({\mathbb G},{\mathbb A}))\) and then this isomorphism provides, at this group-level, an alternative and dual point of view of the classification theorem 3.5. In that way, singular extensions in terms of surjective fibrations and fibre categories or, equivalently (c.f. [20]), of essentially surjective homomorphisms and their homotopy kernels, would be considered instead of those singular extensions studied in this paper which are defined in terms of faithful homomorphisms and their homotopy cokernels.

4 A new Hochschild–Serre 2-exact sequence

In Corollary 6.5 of [13] we showed categorical group versions of the classical Hochschild–Serre 5-term exact group sequences [14]. These categorical versions involve derivations and a second categorical cohomology group \(\mathbb {H}^2\) able of classifying the singular extensions of categorical groups with symmetric kernel and a functorial section. In order to classify all singular extensions, we have introduced in Sect. 3 a new second categorical cohomology group \(\mathcal {H}^2\) and now, in this section, our aim is to show that, involving this \(\mathcal {H}^2\), there are also corresponding categorical group versions of the classical 5-term Hochschild–Serre sequences.

We fix an essentially surjective homomorphism of categorical groups \(P :{\mathbb E}\rightarrow {\mathbb G},\) a symmetric \({\mathbb G}\)-categorical group \({\mathbb A}=({\mathbb A}, \varphi :{\mathbb G}\rightarrow {\mathbb {E}}\mathrm {q}_s({\mathbb A}))\) and we consider the faithful homomorphisms given by composition with P, \(P_{{\mathbb C}} :{\mathcal C}^1({\mathbb G},{\mathbb A}) \rightarrow {\mathcal C}^1({\mathbb E},{\mathbb A})\) and \(P_{{\mathbb Z}} :{\mathcal Z}^2({\mathbb G},{\mathbb A}) \rightarrow {\mathcal Z}^2({\mathbb E},{\mathbb A})\).

Note that the kernel of the homomorphism \(\mathcal {T}:\mathcal {C}^1(\mathbb {G},\mathbb {A})\rightarrow \mathcal {Z}^2(\mathbb {G},\mathbb {A})\) is the symmetric categorical group \(\mathcal {D}(\mathbb {G},\mathbb {A})\) that we call of the ‘non-functorial’ derivations. This name is justified because its objects are maps \(D:\text {Obj}(\mathbb {G})\rightarrow \text {Obj}(\mathbb {A})\) together with a family of isomorphisms

$$\begin{aligned} \{\beta =\beta _{f}:D(X)\otimes \,^{X}\!D(Y)\rightarrow D(Z)\}_{\{f: X\otimes Y\rightarrow Z\in \text {Mor}({\mathbb G})\}} \end{aligned}$$

such that, for any commutative diagram as (1), the following diagram is commutative:

An arrow in \(\mathcal {D}(\mathbb {G},\mathbb {A})\) from \((D,\beta )\) to \((D',\beta ')\) is a family of isomorphisms

$$\begin{aligned} \{\epsilon _{_X}:D(X)\longrightarrow D'(X)\}_{_{X\in \mathbb {G}}} \end{aligned}$$

such that, for any morphism \(f: X\otimes Y\rightarrow Z\) in \(\mathbb {G}\), the following condition holds:

$$\begin{aligned} \beta ^{\prime }_{f}\cdot (\epsilon _{_X}\otimes \,^{^X}\!\epsilon _{_Y}) = \epsilon _{_{Z}}\cdot \beta _{f}~.\end{aligned}$$
(4)

Of course, the symmetric categorical group structure in \(\mathcal {D}(\mathbb {G},\mathbb {A})\) is induced by that of \(\mathbb {A}\).

Remark 4.1

When the action of \({\mathbb G}\) on \({\mathbb A}\) is the trivial one, the symmetric categorical groups \(\mathcal {D}(\mathbb {G},\mathbb {A})\) of ‘non-functorial derivations’ becomes a categorical group of ‘non-functorial homomorphisms’ from \({\mathbb G}\) to \({\mathbb A}\) that we will denote by \(nf\mathcal {H}om({\mathbb G},{\mathbb A})\). Its objects are pairs \((F,F_2)\) where F is a map \(F:\text {Obj}(\mathbb {G})\rightarrow \text {Obj}(\mathbb {A})\) and

$$\begin{aligned} F_2=F_2^{f}:F(X)\otimes F(Y)\rightarrow F(Z) \end{aligned}$$

is a family of isomorphisms indexed in all morphisms \(f: X\otimes Y\rightarrow Z\) in \(\mathbb {G}\), such that, for any commutative diagram as (1), the following condition holds

$$\begin{aligned} F_2^h\cdot (1\otimes F_2^i)=F_2^g\cdot (F_2^f\otimes 1). \end{aligned}$$

There exists then a morphism \(F_0:I\rightarrow F(I)\) such that, for any \(X\in {\mathbb G}\), the equalities \(F_2^r\cdot (1\otimes F_0)=r\) and \(F_2^l\cdot (F_0\otimes 1)=l\) hold.

In particular, there always exists a morphism \(F_2^{1_{X\otimes Y}}:F_2(X)\otimes F_2(Y)\rightarrow F_2(X\otimes Y)\) and therefore, for any morphism \(f: X\otimes Y\rightarrow Z\) in \(\mathbb {G}\) and considering the induced one \(\widetilde{f}:X\otimes Y\otimes Z^*\rightarrow I\), there exists also a morphism \(F(X\otimes Y\otimes Z^*)\rightarrow I\) canonically deduced from the one \(F_2^{l\cdot (\widetilde{f}\otimes 1)}:F(X\otimes Y\otimes Z^*)\otimes F(I)\rightarrow F(I)\).

A morphism in \(nf\mathcal {H}om({\mathbb G},{\mathbb A})\) from \((F,F_2)\) to \((F',F_2^{\prime })\) is a family of isomorphisms \(\{\tau _{_X}:F(X)\longrightarrow F'(X)\}{_{X\in \mathbb {G}}}\) such that, for any morphism \(f: X\otimes Y\rightarrow Z\) in \(\mathbb {G}\), the following condition holds

$$\begin{aligned} F_2^{\prime \, f}\cdot (\tau _{_X}\otimes \,^{^X}\!\tau _{_Y}) = \tau _{_{Z}}\cdot F_2^{f}. \end{aligned}$$

Considering the kernel and cokernel of the homomorphism \(\mathcal {T}:\mathcal {C}^1(\mathbb {G},\mathbb {A})\rightarrow \mathcal {Z}^2(\mathbb {G},\mathbb {A})\), we have the following 2-exact sequence

There is also a homomorphism of symmetric categorical groups, \(d_{\mathbb G}:\mathbb {A}\longrightarrow \mathcal {D}(\mathbb {G},\mathbb {A})\), given by inner derivations, that is, for any \(A\in \mathbb {A}\) and \(X\in \mathbb {G}\), \(d_{\mathbb G}(A)(X)=\,^X\!A\otimes A^*.\)

The cokernel \(\mathbb {C}\mathrm {oker}(d_{\mathbb G})\) deserves to be called the first cohomology categorical group of \(\mathbb {G}\) with coefficients in \(\mathbb {A}\) and will be denoted by \(\mathcal {H}^1(\mathbb {G},\mathbb {A})\).

Now, following the same steps as in Section 5 of [13], we can construct the following diagram in \(\mathcal {SCG}\):

where

  • \(\underline{\mathcal {C}}^1({\mathbb G},{\mathbb A})\) is the cokernel of \(\mathrm {K}(\mathcal {T}_{{\mathbb G}}) \cdot d_{{\mathbb G}}\) and \(\underline{\mathcal {H}}^2({\mathbb G},{\mathbb A})\) is the cokernel of \(\underline{\mathcal {T}}_{{\mathbb G}};\)

  • \(\mathcal {C}^1(P,{\mathbb A})\) is the cokernel of \(P_{\mathcal {C}},\) \(\underline{\mathcal {C}}^1(P,{\mathbb A})\) is the cokernel of \(\underline{P}_{\mathcal {C}},\) and \(\mathcal {Z}^2(P,{\mathbb A})\) is the cokernel of \(P_{\mathcal {Z}}.\)

Now, the proof of the next proposition is identical to that of Proposition 5.4 in [13].

Proposition 4.2

Let \(P :{\mathbb E}\rightarrow {\mathbb G}\) be an essentially surjective homomorphism of categorical groups and \({\mathbb A}\) a symmetric \({\mathbb G}\)-categorical group. There exists a diagram of 2-exact sequences of symmetric categorical groups

where \(\mathrm {C}(d_{{\mathbb G}})\) and \(\mathrm {C}(d_{{\mathbb E}})\) are essentially surjective, \(s_{{\mathbb G}}\) and \(s_{{\mathbb E}}\) are full and essentially surjective and \(\pi _P\) and \(s_P\) are equivalences.

We give now a suitable interpretation of the third point of these sequences (c.f. Proposition 6.4 in [13]) in order to get the desired new 2-dimensional Hochschild–Serre sequences involving the second cohomology categorical group \(\mathcal {H}^2\). For this, let \(\mathbb {K}\) be the kernel of the fixed homomorphism \(P:\mathbb {E}\rightarrow \mathbb {G}\) and recall, from Example 2.6.v in [10], that there is a canonical action \(\bullet :{\mathbb E}\times {\mathbb K}\rightarrow {\mathbb K}\) with constraints \(\bullet _0, \bullet _1, \bullet _2.\) Explicitly,

$$\begin{aligned} E \bullet (K,u_{_K} :PK \rightarrow I)=(E \otimes K \otimes E^*,u_{_{E \otimes K \otimes E^*}}) \end{aligned}$$

where

Let us consider now the symmetric categorical group

$$\begin{aligned} \underline{nf\mathcal {H}om}({\mathbb K},{\mathbb A}) \end{aligned}$$

having equivariant non-functorial homomorphisms from \({\mathbb K}\) to \({\mathbb A}\) as objects. This means that an object is a triplet \((F,F_2,F_{\varphi })\) where \((F,F_2)\in nf\mathcal {H}om({\mathbb K},{\mathbb A})\) (see Remark 4.1) and \(F_{\varphi }\) is a family of arrows

$$\begin{aligned} F_{\varphi }^{E,(K,u_{_K})} :F(E \bullet (K,u_{_K})) \rightarrow \,^{PE}\!F(K,u_{_K}) \end{aligned}$$

satisfying the following coherence conditions:

  1. (nf1)

    \(F_{\varphi }^{I,(K,u_{_K})} \cdot F_2(\bullet _0^{(K,u_{_K})}\cdot l)\cdot ((F_0\otimes 1)\cdot l^{-1}) = \,^{P_0}\!F(K,u_{_K}) \cdot \varphi _0^{F(K,u_{_K})}\)

  2. (nf2)

    \(\,^{PE}\!F_2^{id_{(K,u_{_K})\otimes (J,u_{_J})}} \cdot \varphi _2^{PE,F(K,u_{_K}),F(J,u_{_J})} \cdot (F_{\varphi }^{E,(K,u_{_K})} \otimes F_{\varphi }^{E,(J,u_{_J})})\)

    \(=F_{\varphi }^{E,(K,u_{_K}) \otimes (J,u_{_J})} \cdot F_2^{\bullet _{2} ^{E,(K,u_{_K}), (J,u_{_J})}}\)

  3. (nf3)

    \(\,^{P_2^{E,F}}\!F(K,u_{_K}) \cdot \varphi _1^{PE,PF,F(K,u_{_K})} \cdot \,^{PE}\!F_{\varphi }^{F,(K,u_{_K})} \cdot F_{\varphi }^{E, F \bullet (K,u_{_K})} = F_{\varphi }^{E \otimes F,(K,u_{_K})} \cdot F(\bullet _1^{E,F,(K,u_{_K})})\)

A morphism

$$\begin{aligned} \tau :(F,F_2,F_{\varphi }) \Rightarrow (F',F_2^{\prime },F_{\varphi }^{\prime }) :{\mathbb K}\rightarrow {\mathbb A}\end{aligned}$$

in \(\underline{nf\mathcal {H}om}({\mathbb K},{\mathbb A})\) is a morphism \(\tau : (F,F_2) \rightarrow (F',F_2^{\prime })\) in \(nf\mathcal {H}om({\mathbb K},{\mathbb A})\) such that

  1. (nf4)

    \(\,^{PE}\!\tau _{_{(K,u_{_K})}} \cdot F_{\varphi }^{E,(K,u_{_K})} = F_{\varphi }^{\prime E,(K,u_{_K})} \cdot \tau _{_{E \bullet (K,u_{_K})}}\).

Next we see that this symmetric categorical group gives the desired interpretation of \({\mathbb K}\text {er}(\mathcal {T}_P)\).

Theorem 4.3

Let \(P:\mathbb {E}\rightarrow \mathbb {G}\) be an essentially surjective homomorphism of categorical groups with kernel \(\mathbb {K}\) and let \(\mathbb {A}\) be a symmetric \(\mathbb {G}\)-categorical group. Then there is an equivalence of symmetric categorical groups

$$\begin{aligned} \underline{{\text {nf}}\mathcal {H}\mathrm {om}}(\mathbb {K},\mathbb {A})\simeq {\mathbb K}\text {{er}}(\mathcal {T}_{P}) \end{aligned}$$

Proof

Recall that an object of \({\mathbb K}\text {er}(\mathcal {T}_P)\) consists of a pair \((\gamma ,u_{_{\gamma }}:\mathcal {T}_P(\gamma )\rightarrow 0)\) where \(\gamma \in \text {Obj}(\mathcal {C}^1(P,\mathbb {A}))=\text {Obj}(\mathcal {C}^1(\mathbb {E},\mathbb {A}))\), that is, \(\gamma :\text {Obj}(\mathbb {E})\rightarrow \text {Obj}(\mathbb {A})\), \(X\mapsto \gamma _{_X}\), is a map with \(\gamma _{_I}\cong I\), and \(u_{_{\gamma }}\) is a morphism in \(\mathcal {Z}^2(P,\mathbb {A})\). This means that \(u_{_{\gamma }}\) is the class of a premorphism \(((p,t),\mathcal {T}_{_{{\mathbb E}}}(\gamma )\longrightarrow P_{_{\mathcal {Z}}}(p,t)\otimes (0,\text {can}))\) where \((p,t)\in \mathcal {Z}^2(\mathbb {G},\mathbb {A})\) and \(\mathcal {T}_{_{{\mathbb E}}}(\gamma )=(p^{\gamma },t^{\gamma })\), with \(p^{\gamma }(f)=\,^{P(X)}\gamma _{_Y}\otimes \gamma _{_X}\otimes \gamma _{_Z}^*\) for any morphism \(f:X\otimes Y\rightarrow Z\) in \({\mathbb E}\). Moreover, since P is essentially surjective, we can choose, for any object \(G\in \mathbb {G}\), an object \(sG\in \mathbb {E}\) and an isomorphism \(G\mathop {\longrightarrow }\limits ^{e_{_G}}P(sG)\). In particular, we choose \(sI=I\) with \(e_{_I}=P_0\) and, for any \(G\in \mathbb {G}\), \(sG^*=(sG)^*\) with \(e_{_{G^*}}=e_{G}^*\). Note that, for any object \(X\in {\mathbb E}\), the object \(X\otimes sP(X)^*\) together with the natural morphism \(u_{_{X\otimes sP(X)^*}}:P(X\otimes sP(X)^*)\rightarrow P(X)\otimes P(sP(X)^*)\rightarrow P(X)\otimes P(X)^*\rightarrow I\) constitute an object of \({\mathbb K}\). Once this morphism is well-understood, in what follows we will omit it for simplicity.

Then, for any object \(F=(F,F_2,F_{\varphi })\in \underline{{\text {nf}}\mathcal {H}\text {om}}(\mathbb {K},\mathbb {A})\), we define

$$\begin{aligned} \Phi :\underline{{\text {nf}}\mathcal {H}\text {om}}(\mathbb {K},\mathbb {A})\longrightarrow {\mathbb K}\text {er}(\mathcal {T}_P) \end{aligned}$$

by \(\Phi (F)=(\gamma ^F,u_{_{\gamma ^F}})\) where, for any object X in \(\mathbb {E}\), \(\gamma ^F_{_X}=F(X\otimes sP(X)^*\). As for \(u_{_{\gamma ^F}}\), it is given by the 2-cocycle \((p^F,t^F)\in \mathcal {Z}^2(\mathbb {G},\mathbb {A})\) and the morphism in \(\mathcal {Z}^2(\mathbb {E},\mathbb {A})\), \(\chi :\mathcal {T}_{_{{\mathbb E}}}(\gamma ^F)\longrightarrow P_{_{\mathcal {Z}}}(p^F,t^F)\otimes (0,\text {can})\), described below.

On the one hand, since for any morphism \(g:G_1\otimes G_2\rightarrow G_3\) in \(\mathbb {G}\) there is a morphism , the pair \((sG_3\otimes sG_2^*\otimes sG_1^*, u_{_{sG_3\otimes sG_2^*\otimes sG_1^*}})\in {\mathbb K}\) and, by omitting the arrow part of the object of \({\mathbb K}\), we put \(p^F(g)=F(sG_3\otimes sG_2^*\otimes sG_1^*)\). Then, for any commutative diagram in \(\mathbb {G}\)

the morphism

is uniquely determined by the following commutative diagram

where the horizontal morphisms are suitably obtained applying \(F_2\) and \(F_{\varphi }\).

On the other hand, \(\chi \) is determined, for any morphism \(f:X\otimes Y\rightarrow Z\) in \(\mathbb {E}\), by the morphism in \(\mathbb {A}\)

defined by means of \(F_{\varphi }^{X,Y\otimes sP(Y)^*}\), \(F_2\), \(f^*:Z^*\longrightarrow Y^*\otimes X^*\), \(F(X\otimes Y\otimes Z^*)\rightarrow I\), \(F_{\varphi }^{X\otimes Y\otimes sP(Z)^*,sP(Z)\otimes sP(Y)^*\otimes sP(X)^*}\) and canonical morphisms.

On arrows \(\tau =(\tau _{_K})_{_{K\in \mathbb {K}}}:F\rightarrow F'\), \(\Phi (\tau ):(\gamma ^F,u_{_{\gamma ^F}})\longrightarrow (\gamma ^{F'},u_{_{\gamma ^{F'}}})\) is the arrow in \({\mathbb K}\text {er}(\mathcal {T}_P)\) determined by \(v\in \mathcal {C}^1(\mathbb {G},\mathbb {A})\) given, for any \(G\in \mathbb {G}\), by \(v_{_G}=I\) and the arrow \(\rho :\gamma ^F\longrightarrow P_{\mathcal {C}}(v)\otimes \gamma ^{F^{\prime }}\) in \(\mathcal {C}^1(\mathbb {E},\mathbb {A})\) given, for any \(X\in \mathbb {E}\), by the arrow in \(\mathbb {A}\)   \(\tau _{_{X\otimes sP(X)^*}}:F(X\otimes sP(X)^*)\rightarrow F'(X\otimes sP(X)^*)\).

To see that \(\Phi \) is a monoidal functor is straightforward. Let us prove now that \(\Phi \) is an equivalence.

To check that it is essentially surjective, suppose \((\gamma , u_{_{\gamma }})\) an object of \({\mathbb K}\text {er}(\mathcal {T}_P)\). Then there is \((p,t)\in \mathcal {Z}^2(\mathbb {G},\mathbb {A})\) and, for any \(f:X\otimes Y\rightarrow Z\) in \({\mathbb G}\), a morphism in \(\mathbb {A}\), \(\theta _{_f}:p^{\gamma }(f)\rightarrow p(P(f))\). Let us consider \(F:\text {Obj}(\mathbb {K})\rightarrow \text {Obj}(\mathbb {A})\) given, for any \((K,u_{_K})\in \mathbb {K}\), by \(F(K,u_{_K})=\gamma _{_K}\otimes p(u_{_K}\cdot r)^*\). Next we see that there exist \(F_2\) and \(F_{\varphi }\) such that \(F=(F,F_2,F_{\varphi })\in \underline{{\text {nf}}\mathcal {H}\text {om}}(\mathbb {K},\mathbb {A})\).

For any morphism in \({\mathbb K}\), \((K,u_{_K})\otimes (K',u_{_{K^{\prime }}})\mathop {\longrightarrow }\limits ^{h}(K'',u_{_{K''}})\) the existence of \(F_2^{h}:F(K,u_{_K})\otimes F(K',u_{_{K^{\prime }}})\longrightarrow F(K'',u_{_{K^{\prime \prime }}})\) means the existence of a morphism \(\gamma _{_K}\otimes p(u_{_K}\cdot r)^*\otimes \gamma _{_{K^{\prime }}}\otimes p(u_{_{K^{\prime }}}\cdot r)^*\longrightarrow \gamma _{_{K''}}\otimes p(u_{_{K''}}\cdot r)^*\). Now, thanks to \(u_{_{\gamma }}\) and \(\theta _{_h}\), there exists a morphism in \({\mathbb A}\), \( \gamma _{_{K^{\prime }}}\otimes \gamma _{_K}\otimes \gamma _{_{K''}}^*\longrightarrow p(P(h)\cdot P_2)\), and this one together with the morphism \(t_{_{P(h)\cdot P_2,u_{_{K''}}\cdot r,u_{_K}\cdot r,u_{_{K^{\prime }}}\cdot r}}\), determined by the commutative square

give the required morphism \(F_2^{h}\).

For any objects \(X\in \mathbb {E}\) and \((K,u_{_K})\in \mathbb {K}\), the existence of \(F_{\varphi }^{X,(K,u_{_K})}\) satisfying conditions (nf1), (nf2) and (nf3) means the existence of a morphism

$$\begin{aligned} \Upsilon :\gamma _{_{X\otimes K\otimes X^*}}\otimes p(u_{_{X\otimes K\otimes X^*}}\cdot r)^*\longrightarrow \,^{P(X)}(\gamma _{_K}\otimes p(u_{_K}\cdot r)^*) \end{aligned}$$

and this is obtained as follows. Considering the morphisms

$$\begin{aligned} a^{-1}_{_{X,K,X^*}}:X\otimes (K\otimes X^*)\rightarrow (X\otimes K)\otimes K^*,\quad 1_{_{K\otimes X^*}}\quad \text {and} \quad \eta _{_X}^{-1}:X\otimes X^*\rightarrow I \end{aligned}$$

and the following ones associated with them

$$\begin{aligned} \theta _{a_{X, K, X^*}^{-1}}:\,^{P(X)}\!\gamma _{_{K\otimes X^*}}\otimes \gamma _{_X}\otimes \gamma ^{*}_{_{(X\otimes K)\otimes X^*}}\longrightarrow p(P(a_{_{X, K, X^*}}^{-1})\cdot P_2), \end{aligned}$$
$$\begin{aligned} \theta _{1_{_{K\otimes X^*}}}:\gamma _{_{X^*}}\otimes \gamma _{_K}\otimes \gamma _{_{K\otimes X^*}}^*\longrightarrow p(P_2) \end{aligned}$$

and

$$\begin{aligned} \theta {_{\eta _{_X}^{-1}}}:\,^{P(X)}\!\gamma _{_{X^*}}\otimes \gamma _{_X}\longrightarrow p(P(\eta _{_X}^{-1})\cdot P_2), \end{aligned}$$

we can deduce the existence of the following morphism

$$\begin{aligned} \theta :\gamma _{_{(X\otimes K)\otimes X^*}}\rightarrow \,^{P(X)}\!\gamma _{_K}\otimes p(P(\eta _{_X}^{-1})\cdot P_2)\otimes \, ^{P(X)}\!p(P_2)^*\otimes p(P(a_{_{X, K, X^*}}^{-1})\cdot P_2)^*. \end{aligned}$$

Now, finally, this morphism \(\theta \) induces \(\Upsilon \) thanks to the morphism

whose existence is easily deduced from the following morphisms:

$$\begin{aligned} t_{_{r\cdot (1\otimes u_{_K}),P(\eta _{_X}^{-1})\cdot P_2,\xi ,P_2}}:p(r\cdot (1\otimes u_{_K})\otimes p(P(\eta _{_X}^{-1})\cdot P_2)\longrightarrow \,^{P(X)}\!p(P_2)\otimes p(\xi ), \end{aligned}$$
$$\begin{aligned} t_{_{P(a^{-1})\cdot P_2,u_{_{X\otimes K\otimes X^*}}\cdot r,\xi ,r}}:p(P(a^{-1})\cdot P_2)\otimes p(u_{_{X\otimes K\otimes X^*}}\cdot r)\longrightarrow p(\xi )\otimes I \end{aligned}$$

and

$$\begin{aligned} t_{_{r\cdot (1\otimes u_{_K}),r,r,u_{_K}\cdot r}}:p(r\cdot (1\otimes u_{_K}))\otimes I\otimes \longrightarrow I\otimes \, ^{P(X)}\!p(u_{_K}\cdot r), \end{aligned}$$

respectively associated to the following commutative diagrams:

and

Moreover, we have that \(\Phi (F)=(\gamma ^F,u_{_{\gamma ^F}})\) is isomorphic to \((\gamma ,u)\) in \(\mathcal {C}^1(P,\mathbb {A})\), the existence of this isomorphism being given by an object \(v\in \mathcal {C}^1(\mathbb {G},\mathbb {A})\) and, for any object \(X\in \mathbb {E}\), by a morphism \(\gamma _{_X}\longrightarrow v_{_{P(X)}}\otimes \gamma _{_X}^F\) in \(\mathbb {A}\), both described below. For any \(X\in \mathbb {E}\), \(\gamma ^F_{_X}=F(X\otimes sP(X)^*)=\gamma _{_{X\otimes sP(X)^*}}\otimes p(u_{_{X\otimes sP(X)^*}}\cdot r)^*\) and therefore we look for \(v\in \mathcal {C}^1(\mathbb {G},\mathbb {A})\) and, for any \(X\in \mathbb {E}\), for a morphism

$$\begin{aligned} \alpha :\gamma _{_X}\longrightarrow v_{_{P(X)}}\otimes \gamma _{_{X\otimes sP(X)^*}}\otimes p(u_{_{X\otimes sP(X)^*}}\cdot r)^*. \end{aligned}$$

Now, on the one hand, consider the morphism

$$\begin{aligned} \theta _{1_{_{X\otimes sP(X)^*}}}:\,^{P(X)}\!\gamma _{_{sP(X)^*}}\otimes \gamma _{_X}\otimes \gamma _{_{X\otimes sP(X)^*}}^*\longrightarrow p(P_2) \end{aligned}$$

and the following one induced by it

$$\begin{aligned} \widetilde{\theta }:\gamma _{_X}\longrightarrow \gamma _{_{X\otimes sP(X)^*}}\otimes p(P_2)\otimes \,^{P(X)}\!\gamma _{_{sP(X)^*}}^*. \end{aligned}$$

On the other hand, associated with the commutative diagram

there is a morphism \(p(P_2)\otimes p(u_{_{X\otimes sP(X)^*}}\cdot r)\longrightarrow p(\eta ^{-1}\cdot (1\otimes e))\) which induces, together with the above morphism \(\widetilde{\theta }\), a new morphism

$$\begin{aligned} \gamma _{_X}\longrightarrow p(\eta ^{-1}\cdot (1\otimes e))\otimes \,^{P(X)}\!\gamma _{_{sP(X)^*}}^*\otimes \gamma _{_{X\otimes sP(X)^*}}\otimes p(u_{_{X\otimes sP(X)^*}}\cdot r)^*. \end{aligned}$$

This is then the desired morphism \(\alpha \) if we consider \(v\in \mathcal {C}^1(\mathbb {G},\mathbb {A})\) given, for any \(G\in \mathbb {G}\), by \(v_{_G}=p(\eta ^{-1}\cdot (1\otimes e))\otimes \,^{sG}\gamma _{_{sG^*}}^*\) and this concludes the proof that \(\Phi \) is essentially surjective.

It remains to prove that \(\Phi \) is full and faithfull, that is, that for any \(F,F'\in \underline{{\text {nf}}\mathcal {H}\text {om}}(\mathbb {K},\mathbb {A})\) the map \((F\mathop {\rightarrow }\limits ^{\tau }F')\mapsto (\Phi (F)\mathop {\longrightarrow }\limits ^{\Phi (\tau )}\Phi (F')\) is bijective.

Recall that \(\Phi (\tau ):(\gamma ^F,u_{_{\gamma ^F}})\longrightarrow (\gamma ^{F'},u_{_{\gamma ^{F'}}})\) is the class of the premorphism \((v,\rho )\) with \(v\in \mathcal {C}^1(\mathbb {G},\mathbb {A})\) given, for any \(G\in \mathbb {G}\), by \(v_{_G}=I\), and \(\rho :\gamma ^F\longrightarrow P_{\mathcal C}(v)\otimes \gamma ^{F^{\prime }}\) in \(\mathcal {C}^1(\mathbb {E},\mathbb {A})\) is given, up to a canonical morphism, for any \(X\in \mathbb {E}\), by the arrow in \(\mathbb {A}\)   \(\tau _{_{X\otimes sP(X)^*}}:F(X\otimes sP(X)^*)\rightarrow F'(X\otimes sP(X)^*)\).

Suppose (wh) any premorphism in \({\mathbb K}\text {er}(\mathcal {T}_P)\) from \(\Phi (F)\) to \(\Phi (F')\). Thus, \(w\in \mathcal {C}^1(\mathbb {G},\mathbb {A})\) and, for any \(X\in \mathbb {E}\), there is a morphism in \(\mathbb {A}\), \(h_{_X}:F(X\otimes sP(X)^*)\longrightarrow w_{_{P(X)}}\otimes F'(X\otimes sP(X)^*)\). Moreover, the equality \(u_{_{\gamma ^{F'}}}\cdot \mathcal {T}_P(w,h)=u_{_{\gamma ^{F}}}\) must hold and this implies the existence of a morphism in \(\mathcal {Z}^2(\mathbb {G},\mathbb {A})\), \((p^w,t^w)\otimes (p^{F'},t^{F'})\longrightarrow (p^F,t^F)\), that is, for any morphism \(G_1\otimes G_2\rightarrow G_3\) in \(\mathbb {G}\), the existence of a morphism

$$\begin{aligned} ^{G_1}w_{_{G_2}}\otimes w_{_{G_1}}\otimes w_{_{G_3}}^*\otimes F'(sG_3\otimes sG_2^*\otimes sG_1^*)\longrightarrow F(sG_3\otimes sG_2^*\otimes sG_1^*). \end{aligned}$$

In particular, considering the morphism \(G\otimes P(sG)^*\mathop {\longrightarrow }\limits ^{e}P(sG)\otimes P(sG)^*\rightarrow I\), and taking into account that \(w_{_I}=I\) and \(sI=I\), we find a morphism

$$\begin{aligned} \nu :\,^{G}\!w_{_{P(sG)^*}}\otimes w_{_{G}}\otimes F'((sP(sG)^*)^*\otimes sG^*)\longrightarrow F((sP(sG)^*)^*\otimes sG^*). \end{aligned}$$

Also, considering for any \(G\in \mathbb {G}\) the morphism

$$\begin{aligned} h_{_{sG^*}}:F(sG^*\otimes (sP(sG)^*)^*) \longrightarrow w_{_{P(sG)^*}}\otimes F'(sG^*\otimes (sP(sG)^*)^*) \end{aligned}$$

and the one that it induces, \(^{P(sG)}h_{_{sG^*}}\), we actually get a morphism

$$\begin{aligned} F((sP(sG)^*)^*)\otimes sG^*)\longrightarrow \,^{G}\!w_{_{P(sG)^*}}\otimes F'((sP(sG)^*)^*)\otimes sG^*). \end{aligned}$$

This last morphism together with the above \(\nu \) imply the existence, for any \(G\in \mathbb {G}\), of a morphism \(w_{_G}\rightarrow I\). Then, for any \(X\in \mathbb {E}\), \(h_{_X}\) induces a morphism

$$\begin{aligned} \widetilde{h}_{_X}:F(X\otimes sP(X)^*)\longrightarrow F'(X\otimes sP(X)^*) \end{aligned}$$

and, in particular, for any object \((K,u_{_K})\in \mathbb {K}\), we obtain a morphism

which determines the existence of \(\tau _K:F(K)\longrightarrow F'(K)\) with \(\widetilde{h}_{_K}=\tau _{_{K\otimes sP(K)^*}}\) and such that, for any \(X\in \mathbb {E}\), \(\tau _{_{X\otimes sP(X)^*}}=\widetilde{h}_{_X}=h_{_X}\cdot \text {can}\). In this way we have that \(\Phi (\tau )=\overline{(v,\rho )}=\overline{(w,h)}\) and so \(\Phi \) is full.

Finally, if \(\tau \) and \(\tau '\) are such that \(\Phi (\tau )=\Phi (\tau ')\) then, for any \(X\in \mathbb {E}\), we have that \(\tau _{_{X\otimes sP(X)^*}}=\tau _{_{X\otimes sP(X)^*}}^{\prime }\) and, in particular, for any \((K,u_{_K})\in \mathbb {K}\) we have that \(\tau _{_K}\otimes \tau _{_{sP(K)^*}}=F_2'^{-1}\cdot \tau _{_{K\otimes sP(K)^*}}\cdot F_2=F_2'^{-1}\cdot \tau _{_{K\otimes sP(K)^*}}^{\prime }\cdot F_2=\tau _{_K}^{\prime }\otimes \tau _{_{sP(K)^*}}^{\prime }\) and therefore \(\tau =\tau ^{\prime }\) and so \(\Phi \) is faithful. \(\square \)

Finally, Theorem 4.3 together with Proposition 4.2 give the following:

Corollary 1

(The Hochschild–Serre 2-exact sequences) Let \(P:\mathbb {E}\rightarrow \mathbb {G}\) be an essentially surjective homomorphism of categorical groups with kernel \(\mathbb {K}\) and let \(\mathbb {A}\) be a symmetric \(\mathbb {G}\)-categorical group. There exist 2-exact sequences of symmetric categorical groups

Note that, when \({\mathbb G}\) is the discrete categorical group associated with a group G and \({\mathbb A}\) is the discrete symmetric categorical group associated with a G-module, these sequences reduce, by taking \(\pi _0\), to the classic 5-term group exact sequences by Hochschild–Serre [14].