1 Introduction

Let \(\mathbf {S}\) be a site. Picard \(\mathbf {S}\)-2-stacks might be succinctly described as the 2-categorical analogue of abelian groups within the context of stacks. Thus, they are to be thought of as a generalization of an abelian sheaf on \(\mathbf {S}\), but two categorical dimensions higher. This paper studies Picard \(\mathbf {S}\)-2-stacks as part of the larger program of translating between algebro-geometric information and categorical information. Picard \(\mathbf {S}\)-2-stacks reside on the categorical side, while the derived category of abelian sheaves on \(\mathbf {S}\) with cohomology in the range \([-2,0]\) resides on the algebro-geometric side. In [3], we have introduced and studied extensions of Picard \(\mathbf {S}\)-2-stacks, which resides on the categorical side, and we have computed the homological interpretation of such extensions (see [3, Thm. 1.1]) which resides on the algebro-geometric side. In this paper, we introduce and study torsors under Picard \(\mathbf {S}\)-2-stacks which resides on the categorical side, and we compute the homological interpretation of such torsors (see 0.1) which resides on the algebro-geometric side. This result on torsors under Picard \(\mathbf {S}\)-2-stacks allows us to obtain the two categorical dimensions higher generalization of Grothendieck’s study of extensions via torsors done in [12]. In this setting of translating between algebro-geometric information and categorical information, we can cite also the paper [18, p. 64] where Mumford introduced the notion of invertible sheaves on a \(\mathbf {S}\)-stack (categorical side) and the paper [9, Prop. 2.1.2] where Brochard computed the homological interpretation of such invertible sheaves (algebro-geometric side).

Before to describe more in detail the results of this paper, we recall the notion of gr-\(\mathbf {S}\)-2-stack and of Picard \(\mathbf {S}\)-2-stack. A gr- \(\mathbf {S}\) -2-stack \(\mathbb {G}=(\mathbb {G},\otimes ,\mathsf {a},\pi )\) is an \(\mathbf {S}\)-2-stack in 2-groupoids \(\mathbb {G}\) equipped with a morphism of \(\mathbf {S}\)-2-stacks \( \otimes : \mathbb {G}\times \mathbb {G}{{\mathrm{{\rightarrow }}}}\mathbb {G}\), called the group law of \(\mathbb {G}\), with a natural 2-transformation of \(\mathbf {S}\)-2-stacks \(\mathsf {a}\), called the associativity, which expresses the associativity constraint of the group law \( \otimes \) of \(\mathbb {G}\), and with a modification of \(\mathbf {S}\)-2-stacks \(\pi \) which expresses the obstruction to the coherence of the associativity \(\mathsf {a}\) (i.e., the obstruction to the pentagonal axiom) and which satisfies the coherence axiom of Stasheff’s polytope (see (1.5) or [6, §4] for more details). Moreover, we require that for any object X of \(\mathbb {G}(U)\) with U an object of \(\mathbf {S}\), the morphisms of \(\mathbf {S}\)-2-stacks \(X \otimes - :\mathbb {G}\rightarrow \mathbb {G}\) and \(- \otimes X:\mathbb {G}\rightarrow \mathbb {G}\), called, respectively, the left and the right multiplications by X, are equivalences of \(\mathbf {S}\)-2-stack.

A strict Picard \(\mathbf {S}\)-2-stack (just called Picard \(\mathbf {S}\)-2-stack) \(\mathbb {P}=(\mathbb {P},\otimes ,\mathsf {a},\pi ,\mathsf {c},\zeta ,\mathfrak {h}_1,\mathfrak {h}_2,\eta )\) is a gr-\(\mathbf {S}\)-2-stack \((\mathbb {P},\otimes ,\mathsf {a},\pi )\) equipped with a natural 2-transformation of \(\mathbf {S}\)-2-stacks \(\mathsf {c}\), called the braiding, which expresses the commutativity constraint for the group law \(\otimes \) of \(\mathbb {P}\), with a modification of \(\mathbf {S}\)-2-stacks \(\zeta \) which expresses the obstruction to the coherence of the braiding \(\mathsf {c}\), with two modifications of \(\mathbf {S}\)-2-stacks \(\mathfrak {h}_1,\mathfrak {h}_2\) which express the obstruction to the compatibility between \(\mathsf {a}\) and \(\mathsf {c}\) (i.e., the obstruction to the hexagonal axiom), and finally with a modification of \(\mathbf {S}\)-2-stacks \(\eta \) which expresses the obstruction to the strictness of the braiding \(\mathsf {c}\). We require also that the modifications \(\zeta ,\mathfrak {h}_1,\mathfrak {h}_2\) and \(\eta \) satisfy some compatibility conditions. Picard 2-stacks form a 3-category \(2\mathcal {P}{\textsc {icard}}(\mathbf {S})\) whose hom-2-groupoid consists of additive 2-functors, morphisms of additive 2-functors, and modifications of morphisms of additive 2-functors.

Picard \(\mathbf {S}\)-2-stacks are the categorical analogue of length 3 complexes of abelian sheaves over \(\mathbf {S}\). In fact in [20], it is proven the existence of an equivalence of categories

(0.1)

where \(\mathcal {D}^{[-2,0]}(\mathbf {S})\) is the full subcategory of the derived category \(\mathcal {D}(\mathbf {S})\) of complexes of abelian sheaves over \(\mathbf {S}\) such that \(\mathrm {H}^{-i}(A) \ne 0\) for \(i=0,1,2\), and \(2\mathcal {P}{\textsc {icard}}^{\flat \flat }(\mathbf {S})\) is the category of Picard 2-stacks whose objects are Picard 2-stacks and whose arrows are equivalence classes of additive 2-functors. We denote by \([\,\,]^{\flat \flat }\) the inverse equivalence of \(2\mathrm {st}^{\flat \flat }\).

Let \(\mathbb {G}\) be a gr-\(\mathbf {S}\)-2-stack. A right \(\mathbb {G}\)-torsor \(\mathbb {P}=(\mathbb {P},m,\mu ,\Theta )\) is an \(\mathbf {S}\)-2-stack in 2-groupoids \(\mathbb {P}\) equipped with a morphism of \(\mathbf {S}\)-2-stacks \( m: \mathbb {P}\times \mathbb {G}{{\mathrm{{\rightarrow }}}}\mathbb {P}\), called the action of \(\mathbb {G}\) on \(\mathbb {P}\), with a natural 2-transformation of \(\mathbf {S}\)-2-stacks \(\mu \) which expresses the compatibility between the action m and the group law of \(\mathbb {G}\), with a modification of \(\mathbf {S}\)-2-stacks \(\Theta \) which expresses the obstruction to the compatibility between \(\mu \) and the associativity \(\mathsf {a}\) underlying \(\mathbb {G}\) (i.e., the obstruction to the pentagonal axiom) and which satisfies the coherence axiom of Stasheff’s polytope. Moreover, we require that \(\mathbb {P}\) is locally equivalent to \(\mathbb {G}\) and also that \(\mathbb {P}\) is locally not empty. If \(\mathbb {G}\) acts on the left side, we get the notion of left \(\mathbb {G}\)-torsor. A \(\mathbb {G}\)-torsor \(\mathbb {P}=(\mathbb {P},m^l,m^r,\mu ^l,\mu ^r,\Theta ^l,\Theta ^r, \kappa , \Omega ^r,\Omega ^l)\) is an \({\mathbf {S}}\)-2-stack in 2-groupoids \(\mathbb {P}\) endowed with a structure of left \(\mathbb {G}\)-torsor \((\mathbb {P},m^l,\mu ^l,\Theta ^l)\), with a structure of right \(\mathbb {G}\)-torsor \((\mathbb {P},m^r,\mu ^r,\Theta ^r)\), with a natural 2-transformation \(\kappa \), which expresses the compatibility between the left and the right action of \(\mathbb {G}\) on \(\mathbb {P}\), and finally with two modifications of \(\mathbf {S}\)-2-stacks \(\Omega ^l\) and \(\Omega ^r\), which express the obstruction to the compatibility between the natural 2-transformation \(\kappa \) and the natural 2-transformations \(\mu ^l\) and \(\mu ^r\), respectively. We require also that the two modifications \(\Omega ^l\) and \(\Omega ^r\) satisfy some compatibility conditions. \(\mathbb {G}\)-torsors build a 3-category \(\textsc {Tors}(\mathbb {G})\) whose objects are \(\mathbb {G}\)-torsors and whose hom-2-groupoid \(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {Q})\) of morphisms of \(\mathbb {G}\)-torsors between two \(\mathbb {G}\)-torsors is defined in Definitions 2.62.82.9, and 2.10.

Using regular morphisms of length 3 complexes of abelian sheaves, it is not possible to obtain all additive 2-functors between Picard 2-stacks. In order to get all of them, in [20] the second author introduces the tricategory \(\mathcal {T}^{[-2,0]}(\mathbf {S})\) of length 3 complexes of abelian sheaves over \(\mathbf {S}\), in which arrows between length 3 complexes are fractions, and he shows that there is a tri-equivalence

(0.2)

between the tricategory \(\mathcal {T}^{[-2,0]}(\mathbf {S})\) and the 3-category \(2\mathcal {P}{\textsc {icard}}(\mathbf {S})\) of Picard 2-stacks. At the end of section 3, we sketch the definition of G-torsor with G a length 3 complex of the tricategory \(\mathcal {T}^{[-2,0]}(\mathbf {S})\) (Def. 2.16). These G-torsors build a tricategory \(\textsc {Tors}(G)\) which is the pure algebraic analogue of the 3-category \(\textsc {Tors}(\mathbb {G})\) of \(\mathbb {G}\)-torsors (Prop. 2.17).

From now on, we assume \(\mathbb {G}\) to be a Picard \(\mathbf {S}\)-2-stack. The hom-2-groupoid \(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P})\) of morphisms of \(\mathbb {G}\)-torsors from a \(\mathbb {G}\)-torsor \(\mathbb {P}\) to itself is endowed with a Picard \(\mathbf {S}\)-2-stack structure (Lem. 3.1) and so its homotopy groups \(\pi _{i}(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P}))\) (for \(i=0,1,2\)) are abelian groups. We define

  • \(\textsc {Tors}^1(\mathbb {G})\) is the group of equivalence classes of \(\mathbb {G}\)-torsors: its abelian group law is furnished by the contracted product of \(\mathbb {G}\)-torsors (Def. 2.11).

  • \(\textsc {Tors}^i(\mathbb {G})\) (for \(i=0,-1,-2\)) is the homotopy group \(\pi _{-i}(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P}))\) for any \(\mathbb {G}\)-torsor \(\mathbb {P}\).

If K is a complex of abelian sheaves over \(\mathbf {S}\), we denote by \(\mathrm {H}^i(K)\) the i-th cohomology group \(\mathrm {H}^i\big ({\mathrm {R}}\Gamma (K)\big )\) of the derived functor of the functor of global sections applied to K. With these notations, we can finally state our first Theorem, which furnishes a parametrization of the elements of \(\textsc {Tors}^i(\mathbb {G})\) by the i-th cohomology group \( \mathrm {H}^i([\mathbb {G}]^{\flat \flat })\), and a categorical description of the elements of \(\mathrm {H}^i(K)\), with K a length 3 complex of abelian sheaves, via torsors under Picard \(\mathbf {S}\)-2-stacks.

Theorem 0.1

Let \(\mathbb {G}\) be a Picard \(\mathbf {S}\)-2-stack. Then we have the following isomorphisms

$$\begin{aligned} \textsc {Tors}^i(\mathbb {G}) \cong \mathrm {H}^i([\mathbb {G}]^{\flat \flat }) \qquad for \; i=1,0,-1,-2. \end{aligned}$$

Gr-\(\mathbf {S}\)-3-stacks are not defined yet. Assuming their existence, the contracted product of \(\mathbb {G}\)-torsors, which equips the set \(\textsc {Tors}^1(\mathbb {G})\) of equivalence classes of \(\mathbb {G}\)-torsors with an abelian group law, should define a structure of gr-\(\mathbf {S}\)-3-stack on the 3-category \(\textsc {Tors}(\mathbb {G})\). In this setting, our Theorem 0.1 says that the 3-category \(\textsc {Tors}(\mathbb {G})\) of \(\mathbb {G}\)-torsors should be actually the gr-\(\mathbf {S}\)-3-stack associated with the object of \(\mathcal {D}^{[-3,0]}(\mathbf {S})\)

$$\begin{aligned} \tau _{\le 0} {\mathrm {R}}\Gamma ([\mathbb {G}]^{\flat \flat }[1]) \end{aligned}$$

via the generalization of the equivalence \(2\mathrm {st}^{\flat \flat }\) (0.1) to gr-\(\mathbf {S}\)-3-stacks and to length 4 complexes of sheaves of sets on \(\mathbf {S}\) (here \(\tau _{\le 0}\) is the good truncation in degree 0). Moreover, in order to define the groups \(\textsc {Tors}^i(\mathbb {G})\), we could use the homotopy groups \(\pi _{i}\) of the gr-\(\mathbf {S}\)-3-stack \(\textsc {Tors}(\mathbb {G})\): in fact \(\textsc {Tors}^i(\mathbb {G})=\pi _{-i+1}(\textsc {Tors}(\mathbb {G}))\) for \( i=1,0,-1,-2.\)

If \(\mathbb {P}\) and \(\mathbb {G}\) are two Picard \(\mathbf {S}\)-2-stacks, an extension \((\mathbb {E},I,J,\varepsilon )\) of \(\mathbb {P}\) by \(\mathbb {G}\) consists of a Picard \(\mathbf {S}\)-2-stack \(\mathbb {E}\), two additive 2-functors \(I:\mathbb {G}{{\mathrm{{\rightarrow }}}}\mathbb {E}\) and \(J:\mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {P}\), and a morphism of additive 2-functors \(\varepsilon :J \circ I \Rightarrow 0\), such that the following equivalent conditions are satisfied:

  • \(\pi _0(J): \pi _0(\mathbb {E}) {{\mathrm{{\rightarrow }}}}\pi _0(\mathbb {P})\) is surjective and I induces an equivalence of Picard \(\mathbf {S}\)-2-stacks between \(\mathbb {G}\) and \(\mathbb {K}{\mathrm {er}}(J),\)

  • \(\pi _2(I): \pi _2(\mathbb {G}) {{\mathrm{{\rightarrow }}}}\pi _2(\mathbb {E})\) is injective and J induces an equivalence of Picard \(\mathbf {S}\)-2-stacks between \(\mathbb {C}{\mathrm {oker}}(I)\) and \(\mathbb {P}\).

In [3], we have proved that extensions of \(\mathbb {P}\) by \(\mathbb {G}\) form a 3-category \(\mathcal {E}\mathrm {xt}(\mathbb {P},\mathbb {G})\) and we have computed the homotopy groups \(\pi _{i}(\mathcal {E}\mathrm {xt}(\mathbb {P},\mathbb {G}))\) for \(i=0,1,2,3\). In this paper, we describe extensions of Picard \(\mathbf {S}\)-2-stacks in terms of torsors under Picard \(\mathbf {S}\)-2-stacks. We start with a special case of extensions, which involve a Picard \(\mathbf {S}\)-2-stack generated by an \(\mathbf {S}\)-2-stack in 2-groupoids (see Def. 3.4), and whose description in terms of torsors is a direct consequence of Theorem 0.1:

Corollary 0.2

Let \(\mathbb {G}\) be a Picard \(\mathbf {S}\)-2-stacks. Consider a gr-\(\mathbf {S}\)-2-stack \(\mathbb {P}\), associated with a length 3 complex of sheaves of groups on \(\mathbf {S}\), and the Picard \(\mathbf {S}\)-2-stack \(\mathbb {Z}[\mathbb {P}]\) generated it. We have the following tri-equivalence of 3-categories

$$\begin{aligned} \mathcal {E}\mathrm {xt}(\mathbb {Z}[\mathbb {P}],\mathbb {G}) \cong \textsc {Tors}(\mathbb {G}_\mathbb {P}) \end{aligned}$$

where \(\textsc {Tors}(\mathbb {G}_\mathbb {P})\) denotes the 3-category of \(\mathbb {G}_\mathbb {P}\)-torsors over \(\mathbb {P}\) (see Def. 2.15).

Now, for the general case, if \(\mathbb {P}\) and \(\mathbb {G}\) are two Picard \(\mathbf {S}\)-2-stacks, we find an explicit description of extensions of \(\mathbb {P}\) by \(\mathbb {G}\) in terms of \(\mathbb {G}_\mathbb {P}\)-torsors over \(\mathbb {P}\) which are endowed with an abelian group law on the fibers. More precisely, it exists a tri-equivalence of 3-categories between the 3-category \(\mathcal {E}\mathrm {xt}(\mathbb {P},\mathbb {G})\) and the 3-category consisting of the data \((\mathbb {E},M,\alpha ,\mathfrak {a},\chi ,\mathfrak {s},\mathfrak {c}_1,\mathfrak {c}_2)\), where \(\mathbb {E}\) is a \(\mathbb {G}_\mathbb {P}\)-torsors over \(\mathbb {P}\), \(M : p_1^* \; \mathbb {E}\wedge p_2^* \; \mathbb {E}{{\mathrm{{\rightarrow }}}}\otimes ^* \; \mathbb {E}\) is a morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors over \(\mathbb {P}\times \mathbb {P}\) defining a group law on the fibers of \(\mathbb {E}\) (here \(\otimes \) is the group law of \(\mathbb {P}\) and \(p_i: \mathbb {P}\times \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) are the projections), \(\alpha \) is a 2-morphism of \(\mathbb {G}_{\mathbb {P}^3}\)-torsors expressing the associativity constraint of this group law defined by M, \(\chi \) is a 2-morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors expressing the braiding constraint of this group law defined by M, and finally \(\mathfrak {a},\mathfrak {s}, \mathfrak {c}_1,\mathfrak {c}_2\) are 3-morphisms of \(\mathbb {G}_{\mathbb {P}^i}\)-torsors (with \(i=4,2,3,3\), respectively) expressing, respectively, the obstruction to the coherence of \(\alpha \), the obstruction to the coherence of \(\chi \), and the obstruction to the compatibility between \(\alpha \) and \(\chi \). We require also that these 3-morphisms of \(\mathbb {G}_{\mathbb {P}^i}\)-torsors satisfy some coherence and compatibility conditions. Summarizing, we have

Theorem 0.3

Let \(\mathbb {P}\) and \(\mathbb {G}\) be two Picard \(\mathbf {S}\)-2-stacks. Then we have the following tri-equivalence of 3-categories

This Theorem generalizes to Picard \(\mathbf {S}\)-2-stacks the following result of Grothendieck in [12, Exposé VII 1.1.6 and 1.2]: if P and G are two abelian sheaves, to have an extension of P by G is the same thing as to have a \(G_P\)-torsor E over P, and an isomorphism \( pr_1^*E ~ pr_2^*E {{\mathrm{{\rightarrow }}}}+^* E\) of \(G_{P^2}\)-torsors over \(P\times P\) satisfying some associativity and commutativity constraints.

As a consequence of the description of extensions of Picard \(\mathbf {S}\)-2-stacks in terms of torsors (Cor. 0.2 and Thm. 0.3), we have

Corollary 0.4

Any Picard \(\mathbf {S}\)-2-stack \(\mathbb {P}\) admits as canonical free partial left resolution in the category \(2\mathcal {P}{\textsc {icard}}^{\flat \flat }(\mathbf {S})\) the following complex of Picard \(\mathbf {S}\)-2-stack:

$$\begin{aligned} \mathbb {L}.(\mathbb {P}) : \qquad 0 {{\mathrm{{\longrightarrow }}}}\mathbb {L}^5(\mathbb {P})\mathop {{{\mathrm{{\longrightarrow }}}}}\limits ^{D_5}\mathbb {L}^4(\mathbb {P}) \mathop {{{\mathrm{{\longrightarrow }}}}}\limits ^{D_4} \mathbb {L}^3(\mathbb {P}) \mathop {{{\mathrm{{\longrightarrow }}}}}\limits ^{D_3} \mathbb {L}^2(\mathbb {P}) \mathop {{{\mathrm{{\longrightarrow }}}}}\limits ^{D_2} \mathbb {L}^1(\mathbb {P}) {{\mathrm{{\longrightarrow }}}}0 \end{aligned}$$

with

$$\begin{aligned} \mathbb {L}^1(\mathbb {P})&={\mathbb {Z}}[\mathbb {P}];\\ \mathbb {L}^2(\mathbb {P})&={\mathbb {Z}}[\mathbb {P}^2];\\ \mathbb {L}^3(\mathbb {P})&={\mathbb {Z}}[\mathbb {P}^3] \oplus {\mathbb {Z}}[\mathbb {P}^2];\\ \mathbb {L}^4(\mathbb {P})&={\mathbb {Z}}[\mathbb {P}^4]\oplus {\mathbb {Z}}[\mathbb {P}^3]\oplus {\mathbb {Z}}[\mathbb {P}^3]\oplus {\mathbb {Z}}[\mathbb {P}^2]\oplus {\mathbb {Z}}[\mathbb {P}];\\ \mathbb {L}^5(\mathbb {P})&={\mathbb {Z}}[\mathbb {P}^5]\oplus {\mathbb {Z}}[\mathbb {P}^4]\oplus {\mathbb {Z}}[\mathbb {P}^4]\oplus {\mathbb {Z}}[\mathbb {P}^4]\oplus {\mathbb {Z}}[\mathbb {P}^3]\oplus {\mathbb {Z}}[\mathbb {P}^3]\oplus {\mathbb {Z}}[\mathbb {P}^3]\oplus {\mathbb {Z}}[\mathbb {P}^2]\\&\quad \oplus {\mathbb {Z}}[\mathbb {P}] \oplus {\mathbb {Z}}[\mathbb {P}^2]; \end{aligned}$$

in degrees 1,2,3,4, and 5, respectively, and with the differential operators defined by

$$\begin{aligned} D_2[p |_1 q]&= [p+q] -[p]-[q];\\ D_3[p |_2 q]&= [p |_1 q] -[q |_1 p];\nonumber \\ D_3[p |_1 q |_1r]&= [p+q |_1 r] -[p |_1 q+r]+[p |_1 q]-[q |_1 r];\nonumber \\ D_4[p |_1 q |_1 r |_1 s]&= [p |_1 q |_1 r] +[p |_1 q+r |_1 s]+[q |_1 r |_1 s] -[p+q |_1 r |_1 s] -[p |_1 q |_1 r+s ];\nonumber \\ D_4[p |_2 q |_1 r]&= [q |_1 r |_1 p] +[p |_2 q+r]+[p |_1 q |_1 r]-[q |_1 p |_1 r]-[p |_2 q]-[p |_2 r];\nonumber \\ D_4[p |_1 q |_2 r]&= [p |_1 r |_1 q] +[p+q |_2 r]-[p |_1 q |_1 r]-[r |_1 p |_1 q]-[p |_2 r]-[q |_2 r];\nonumber \\ D_4[p |_3 q]&=-[p |_2 q]-[q |_2 p];\nonumber \\ D_4[p]&=-[p |_2 p];\nonumber \\ D_5[p |_1 q |_1 r |_1 s |_1 t]&=[q |_1 r |_1 s |_1 t]+[p |_1 q+r |_1 s |_1 t]+[p |_1 q |_1 r |_1 s+t] -[p |_1 q |_1 r+s |_1 t] \nonumber \\&\quad -[p |_1 q |_1 r |_1 s]-[p+q |_1 r |_1 s |_1 t];\nonumber \\ D_5[p |_2 q |_1 r |_1 s]&=[p |_1 q |_1 r |_1 s]+[p |_2 q |_1 r+s]+[p |_2 r |_1 s] -[q |_1 p |_1 r |_1 s]- [p |_2 q+r |_1 s] \nonumber \\&\quad -[q |_1 r |_1 s |_1 p]+[q |_1 r |_1 p |_1 s]-[p |_2 q |_1 r];\nonumber \\ D_5[p |_1 q |_1 r |_2 s ]&= -[p |_1 q |_1 r |_1 s]+[p+q |_1 r |_2 s]+[p |_1 q |_1 s |_1 r]+[p |_1 q |_2 s]+[s |_1 p |_1 q |_1 r]\nonumber \\&\quad -[p |_1 q+r |_2 s]-[p |_1 s |_1 q |_1 r]-[q |_1 r |_2 s];\nonumber \\ D_5[p |_1 q |_2 r |_1 s ]&= [p+q |_2 r |_1 s]-[p |_2 r |_1 s]-[q |_2 r |_1 s]-[p |_1 q |_2 r+s]+[p |_1 q |_2 r]+[p |_1 q |_2 s]\nonumber \\&\quad +[p |_1 q |_1 r |_1 s]+[p |_1 r |_1 s |_1 q]+[r |_1 s |_1 p |_1 q]+[r |_1 p |_1 q |_1 s]-[p |_1 r |_1 q |_1 s]\nonumber \\&\quad -[r |_1 p |_1 s |_1 q];\nonumber \\ D_5[p |_3 q |_1 r]&=[p |_3 q+r]+[p |_2 q |_1 r]+[q |_1 r |_2 p]-[p |_3 r]-[p |_3 q];\nonumber \\ D_5[p |_1 q |_3 r]&=[p+q |_3 r]+[p |_1 q |_2 r]+[r |_2 p |_1 q]-[p |_3 r]-[q |_3 r];\nonumber \\ D_5[p |_2 q |_2 r]&=[p |_2 q |_1 r]-[p |_2 r |_1 q]+[p |_1 q |_2 r]-[q |_1 p |_2 r];\nonumber \\ D_5[p |_4 q]&=[p |_3 q]-[q |_3 p];\nonumber \\ D_5[p]&=[p]+[p]-[p |_3 p];\nonumber \\ D_5[p |^4 q]&=-[p |_1 q |_1 p |_1 q]+[p |_1 q |_2 p+q] + [p |_2 p |_1 q]+[q |_2 p |_1 q] - [q |_3 p]\nonumber \\&\quad + [p + q]-[p]-[q].\nonumber \end{aligned}$$
(0.3)

The augmentation map is given by the additive 2-functor \(\epsilon : {\mathbb {Z}}[\mathbb {P}] {{\mathrm{{\rightarrow }}}}\mathbb {P}, \epsilon ([p])=p,\) for any \(p \in \mathbb {P}\).

In the above Corollary, adopting Eilenberg–MacLane’s bar notation, we give an explicit definition of the differential operators \(D_i\) in terms of objects. Their definitions on 1- and 2-arrows are formally identical to the ones on the objects because of the peculiar nature of the free Picard \(\mathbf {S}\)-2-stacks involved in \(\mathbb {L}.(\mathbb {P})\). We find the explicit definitions of the differentials by translating the data underlying the notion of Picard \(\mathbf {S}\)-2-stack and also the constraints that those data have to satisfy: \(D_2\) corresponds to the group law \(\otimes \) underlying \(\mathbb {P}\), \(D_3[p |_2 q]\) corresponds to the braiding \(\mathsf {c}\), \(D_3[p |_1 q |_1 r]\) corresponds to the associativity \(\mathsf {a}\), \(D_4[p |_1 q |_1 r |_1 s]\) corresponds to the modification of \(\mathbf {S}\)-2-stacks \(\pi \) (1.1) which expresses the obstruction to the coherence of the associativity \(\mathsf {a}\) (i.e., the obstruction to the pentagonal axiom), \(D_4[p |_2 q |_1 r]\) and \(D_4[p |_1 q |_2 r]\) correspond, respectively, to the modifications \(\mathfrak {h}_1\) and \(\mathfrak {h}_2\) (1.3) which expresses the obstruction to the compatibility between \(\mathsf {a}\) and \(\mathsf {c}\) (i.e., the obstruction to the hexagonal axiom), \(D_4[p |_3 q]\) corresponds to the modification \(\zeta \) (1.2) which expresses the obstruction to the coherence of the braiding \(\mathsf {c}\), \(D_4[p]\) corresponds to the modification \(\eta \) (1.4) which expresses the obstruction to the strictness of \(\mathsf {c}\), \(D_5[p |_1 q |_1 r |_1 s |_1 t]\) corresponds to the Stasheff’s polytope (1.5) which expresses the coherence of the modification \(\pi \), \(D_5[p |_2 q |_1 r |_1 s]\) and \(D_5[p |_1 q |_1 r |_2 s]\) correspond, respectively, to diagrams (1.7), (1.8) which express the compatibility of the modifications \(\mathfrak {h}_1\) and \(\mathfrak {h}_2\) with the modification \(\pi \), \(D_5[p |_1 q |_2 r |_1 s]\) corresponds to the equality of diagrams (1.9) and (1.10) which expresses the comparability of the modifications \(\mathfrak {h}_1\) and \(\mathfrak {h}_2\), \(D_5[p |_3 q |_1 r]\) and \(D_5[p |_1 q |_3 r]\) correspond, respectively, to diagrams (1.11) and (1.12) which express the compatibility between \(\mathfrak {h}_1\) and \(\mathfrak {h}_2\) under the above comparison, \(D_5[p |_2 q |_2 r]\) corresponds to diagram (1.13) which expresses the compatibility of Z-systems, \(D_5[p |_4 q]\) corresponds to the equation of 2-arrow (1.6) which expresses the coherence of \(\zeta \), \(D_5[p]\) corresponds to the relation \(\eta *\eta =\zeta \), and finally \(D_5[p|^4q]\) corresponds to diagram (1.14) which expresses the additive nature of \(\eta \).

Remark that the differential \(D_2\) corresponds to a morphism of \(\mathbf {S}\)-2-stacks, the group law, the differentials \(D_3\) correspond to natural 2-transformations, the associativity \(\mathsf {a}\) and the braiding \(\mathsf {c}\), the differentials \(D_4\) correspond to modifications, which express the obstructions to the coherence axioms or the compatibility conditions for natural 2-transformations, and finally the differentials \(D_5\) correspond to the coherence axioms or the compatibility conditions for modifications.

In [12, Exposé VII, Remark 3.5.4], Grothendieck pointed out that it would be interesting to have for any abelian sheaf P a resolution L.(P), which depends functorially on P, and whose entries are sums of free \(\mathbb {Z}\)-modules generated by Cartesian products of P. The same issue is addressed in Illusie’s book [15], see in particular Chapter VI page 132 line 13 and Section 11.4. Working with abelian sheaves, in [12, Exposé VII, (3.5.2)] Grothendieck got the first two differential operators \(D_2\) and \(D_3\) of the resolution L.(P). Working with Picard stacks, in [4] and [8] Breen has computed the differential operator \(D_4\) of this resolution. Corollary 0.4 is the authors’ contribution to Grothendieck’s remark: Working with Picard 2-stacks, in this paper we have computed the differential operator \(D_5\).

If we denote by \(3{\mathcal {P}\textsc {icard}^{\flat \flat \flat }(\mathbf {S})}\) the category of Picard 3-stacks whose objects are Picard 3-stacks and whose arrows are equivalence classes of additive 3-functors, another consequence of the description of extensions of Picard \(\mathbf {S}\)-2-stacks in terms of torsors (Cor. 0.2 and Thm. 0.3) is

Corollary 0.5

Let \(\mathbb {P}\) and \(\mathbb {G}\) be two Picard \(\mathbf {S}\)-2-stacks. The complex

$$\begin{aligned} 0&{{\mathrm{{\rightarrow }}}}\textsc {Tors}(\mathbb {G}_\mathbb {P}) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_2^*} \textsc {Tors}(\mathbb {G}_{\mathbb {P}^2}) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_3^*} \textsc {Tors}(\mathbb {G}_{\mathbb {P}^3}) \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^2}) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_4^* }...\\ ...&\mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_4^* } \textsc {Tors}(\mathbb {G}_{\mathbb {P}^4}) \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^3})^2 \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^2}) \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}})\mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_5^* } ... \nonumber \\ ...&\mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_5^* } \textsc {Tors}(\mathbb {G}_{\mathbb {P}^5}) \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^4})^3 \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^3})^3 \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^2}) \times \nonumber \\&\textsc {Tors}(\mathbb {G}_{\mathbb {P}}) \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^2}){{\mathrm{{\rightarrow }}}}0\nonumber \end{aligned}$$

is a right resolution of the 3-category \(\mathcal {E}\mathrm {xt}(\mathbb {P},\mathbb {G})\) of extensions of \(\mathbb {P}\) by \(\mathbb {G}\) in the category \(3{\mathcal {P}\textsc {icard}^{\flat \flat \flat }(\mathbf {S})}\). Here \(D_i^* \) denotes the pullback via the differential operator \(D_i\) (0.3) (for \(i=2,3,4,5\)).

This last result can be rewritten in the derived category \(\mathcal {D}(\mathbf {S})\) of abelian sheaves on \(\mathbf {S}\), using the homological interpretation of extensions of Picard \(\mathbf {S}\)-2-stacks [3, Thm. 1.1] and of torsors under Picard \(\mathbf {S}\)-2-stacks (Thm. 0.1):

Corollary 0.6

Let P and G be length 3 complexes of abelian sheaves on \(\mathbf {S}\). The complex

$$\begin{aligned} 0&{{\mathrm{{\rightarrow }}}}\tau _{\le 0}{\mathrm {R}}\Gamma (G_P[1]) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{d_2} \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P^2}[1]) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{d_3} \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P^3}[1]) \times \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P^2}[1]) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{d_4} ...\\ ...&\mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{d_4} {\mathrm {R}}\Gamma (G_{P^4 }[1]) \times \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P^3}[1])^2 \times \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P^2}[1]) \times \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P}[1]) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{d_5} ...\nonumber \\ ...&\mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{d_5} \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P^5 }[1]) \times \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P^4}[1])^3 \times \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P^3}[1])^3 \times \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P^2}[1]) \times \nonumber \\&\tau _{\le 0}{\mathrm {R}}\Gamma (G_{P}[1]) \times \tau _{\le 0}{\mathrm {R}}\Gamma (G_{P^2}[1]) {{\mathrm{{\rightarrow }}}}0\nonumber \end{aligned}$$

is a right resolution of the object \(\tau _{\le 0}{\mathrm {R}}\mathrm {Hom}(P,G[1])\) of \(\mathcal {D}^{[-3,0]}(\mathbf {S})\).

In [1] the first author describes explicitly extensions of Picard \(\mathbf {S}\)-stacks in terms of torsors under Picard \(\mathbf {S}\)-stacks which are endowed with an abelian group law on the fibers (see in particular [1, Thm. 4.1]). In order to generalize from \(\mathbf {S}\)-stacks to \(\mathbf {S}\)-2-stacks the notions of [1] that we need in this paper (as, for example, the definition of torsor) we proceed as follows: the data involving 1-arrows and 2-arrows remain the same, but the coherence axioms or the compatibility conditions, that 2-arrows have to satisfy and that are given via equations of 1-arrows, are replaced by 3-arrows which express the obstruction to the above coherence axioms or compatibility conditions for 2-arrows, and we require that these 3-arrows satisfy some coherence axioms or compatibility conditions that are given via equations of 2-arrows.

We hope that this work will shed some light on the notions of “torsor” for higher categories with group-like operation. In particular, as in [3], we pay a lot of attention to write down the proofs in such a way that they can be easily generalized to Picard \(\mathbf {S}\)-n-stacks and to length n+1 complexes of abelian sheaves on \(\mathbf {S}\).

Theorem 0.1 plays an important role in the proof of Theorem 0.1 of [2] which states that the Picard 2-stack of F-gerbes \(\mathbb {G}{\mathrm {erbe}}_{\mathbf {S}} (F)\), with F an abelian sheaf on a site \(\mathbf {S}\), is equivalent (as Picard 2-stack) to the Picard 2-stack associated with the complex \(\tau _{\le 0}{\mathrm {R}}\Gamma (\mathbf {S},F[2])\), where \(F[2]=[F \rightarrow 0 \rightarrow 0]\) with F in degree -2. In particular, our Theorem 0.1 allows the first author to obtain a purely categorical proof of the classical fact that F-equivalence classes of F-gerbes, which are the elements of the 0th-homotopy group of \(\mathbb {G}{\mathrm {erbe}}_{\mathbf {S}} (F)\), are parametrized by the elements of the cohomological group \(\mathrm {H}^2(\mathbf {S},F)\).

The study of torsors under Picard \(\mathbf {S}\)-2-stacks is a first step toward the theory of biextensions of Picard \(\mathbf {S}\)-2-stacks: In fact, if \(\mathbb {P},\mathbb {Q}\) and \(\mathbb {G}\) are Picard \(\mathbf {S}\)-2-stacks, a biextension of \((\mathbb {P},\mathbb {Q})\) by \(\mathbb {G}\) is a \(\mathbb {G}_{\mathbb {P}\times \mathbb {Q}}\)-torsor over \(\mathbb {P}\times \mathbb {Q}\) endowed with two compatible group laws on the fibers. Using the canonical free partial resolution \(\mathbb {L}.(\mathbb {P})\) of \(\mathbb {P}\) (Cor. 0.4) and the 3-category \(\Psi _{\mathbb {L}.(\mathbb {P})\otimes \mathbb {L}.(\mathbb {Q})}(\mathbb {G})\) introduced in Definition 5.1, we get easily the homological interpretation of biextensions of \((\mathbb {P},\mathbb {Q})\) by \(\mathbb {G}\): \(\pi _{-i+1}(\mathcal {B}\mathrm {iext} (\mathbb {P},\mathbb {Q};\mathbb {G})) \cong \mathrm {Hom}_{\mathcal {D}(\mathbf {S})}\big ([\mathbb {P}]^{\flat \flat } \otimes [\mathbb {Q}]^{\flat \flat },[\mathbb {G}]^{\flat \flat }[i]\big )\) for \(i=1,0,-1,-2\), where \(\pi _{-i+1}(\mathcal {B}\mathrm {iext} (\mathbb {P},\mathbb {Q};\mathbb {G}))\) are the homotopy groups of the 3-category of biextensions of \((\mathbb {P},\mathbb {Q})\) by \(\mathbb {G}\). The theory of biextensions has important applications in the theory of motives since biextensions define bilinear morphisms between motives.

2 Notation

In this paper, \(\mathbf {S}\) will be any site whose topology is precanonical so that the representable pre-sheaves are sheaves.

We denote by \({\mathcal {K}}(\mathbf {S})\) the category of (cochain) complexes of abelian sheaves on the site \(\mathbf {S}\). Let \(\mathcal {K}^{[-2,0]}(\mathbf {S})\) be the subcategory of \({\mathcal {K}}(\mathbf {S})\) consisting of complexes \(K=(K^i)_{i \in \mathbb {Z}}\) such that \(K^i=0\) for \(i \not = -2,-1\) or 0. The good truncation \( \tau _{\le n} K\) of a complex K of \({\mathcal {K}}(\mathbf S )\) is the following complex: \( (\tau _{\le n} K)^i= K^i\) for \(i <n, (\tau _{\le n} K)^n= \ker (d^n)\), and \((\tau _{\le n} K)^i= 0\) for \(i > n\). For any \(i \in {\mathbb {Z}}\), the shift functor \([i]:{\mathcal {K}}(\mathbf {S}) {{\mathrm{{\rightarrow }}}}{\mathcal {K}}(\mathbf {S}) \) acts on a complex \(K=(K^n)_{n \in \mathbb {Z}}\) as \((K[i])^n=K^{i+n}\) and \(d^n_{K[i]}=(-1)^{i} d^{n+i}_{K}\).

Denote by \(\mathcal {D}(\mathbf {S})\) the derived category of abelian sheaves on \(\mathbf {S}\), and let \(\mathcal {D}^{[-2,0]}(\mathbf {S})\) be the full subcategory of \(\mathcal {D}(\mathbf {S})\) consisting of complexes K such that \({\mathrm {H}}^i (K)=0\) for \(i \not = -2,-1\) or 0. If K and L are complexes of \(\mathcal {D}(\mathbf {S})\), the group \(\mathrm {Ext}^i(K,L)\) is by definition \(\mathrm {Hom}_{\mathcal {D}(\mathbf {S})}(K,L[i])\) for any \(i \in {\mathbb {Z}}\). Let \({\mathrm {R}}\mathrm {Hom}(-,-)\) be the derived functor of the bifunctor \(\mathrm {Hom}(-,-)\). The i-th cohomology group \({\mathrm {H}}^i\big ({\mathrm {R}}\mathrm {Hom}(K,L) \big )\) of \({\mathrm {R}}\mathrm {Hom}(K,L)\) is isomorphic to \(\mathrm {Hom}_{\mathcal {D}(\mathbf {S})}(K,L[i])\). The functor \(\Gamma (-)\) of global sections is isomorphic to the functor \(\mathrm {Hom}(\mathbf {e},-),\) where \(\mathbf {e}\) is the final object of the category of abelian sheaves on \(\mathbf {S}.\) Let \({\mathrm {R}}\Gamma (-)\) be the derived functor of the functor \(\Gamma (-)\) of global sections. The i-th cohomology group \(\mathrm {H}^i\big ({\mathrm {R}}\Gamma (K)\big )\) of \({\mathrm {R}}\Gamma (K)\) is denoted by \(\mathrm {H}^i(K)\).

In this paper, by an \(\mathbf {S}\)-2-(pre)stack we will always mean an \(\mathbf {S}\)-2-(pre)stack in 2-groupoids.

3 Recollections on Picard 2-stacks

The notion of Picard 2-stacks is well known [7, Def. 8.4]. In simplest words, it is a 2-stack over a site equipped with a commutative group-like structure. In the literature, there are no references that the authors are aware of where the details of the commutative group-like structure of a 2-stack is stated explicitly. Although we believe that it is known by the experts, since it will be needed in the paper, in this section we unravel the details of this structure. In the following definitions, U will denote an object of the site \(\mathbf {S}\). Moreover, in the diagrams involving 2-arrows, we will put the symbol \(\cong \) in the cells which commute up to a modification of \(\mathbf {S}\)-2-stacks coming from the Picard structure.

A strict Picard \(\mathbf {S}\) -2-stack (just called Picard \(\mathbf {S}\)-2-stack) \(\mathbb {P}=(\mathbb {P},\otimes ,\mathsf {a},\pi ,\mathsf {c},\zeta ,\mathfrak {h}_1,\mathfrak {h}_2,\eta )\) is an \(\mathbf {S}\)-2-stack \(\mathbb {P}\) equipped with

  1. (1)

    a morphism of \(\mathbf {S}\)-2-stacks \(\otimes : \mathbb {P}\times \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {P}\), called the group law of \(\mathbb {P}\). For simplicity instead of \(X \otimes Y\), we write just XY for all \(X,Y \in \mathbb {P}(U)\);

  2. (2)

    two natural 2-transformations of \(\mathbf {S}\)-2-stacks \(\mathsf {a}:\otimes \circ (\otimes \times \mathrm {id}_\mathbb {P}) {{\mathrm{{\Rightarrow }}}}\otimes \circ (\mathrm {id}_\mathbb {P}\times \otimes )\), called the associativity, and \(\mathsf {c}: \otimes \circ \mathsf {s} {{\mathrm{{\Rightarrow }}}}\otimes \) with \( \mathsf {s}(X,Y)=(Y,X)\) for all \(X,Y \in \mathbb {P}(U)\), called the braiding, which express, respectively, the associativity and the commutativity constraints of the group law \(\otimes \) of \(\mathbb {P}\);

  3. (3)

    a modification \(\pi \) of \(\mathbf {S}\)-2-stacks whose component at \((X,Y,Z,W) \in \mathbb {P}^4(U)\) is the 2-arrow

    (1.1)

    and which expresses the obstruction to the coherence of the associativity \(\mathsf {a}\) (i.e., the obstruction to the pentagonal axiom);

  4. (4)

    a modification \(\zeta \) of \(\mathbf {S}\)-2-stacks whose component at \((X,Y) \in \mathbb {P}^2(U)\) is the 2-arrow

    $$\begin{aligned} \zeta _{(X,Y)}: \mathrm {id}_{XY} {{\mathrm{{\Rightarrow }}}}\mathsf {c}_{(Y,X)} \circ \mathsf {c}_{(X,Y)} \end{aligned}$$
    (1.2)

    and which expresses the obstruction to the coherence of the braiding \(\mathsf {c}\). The modification \(\zeta \) implies the weak invertibility of the braiding \(\mathsf {c}\);

  5. (5)

    two modifications \(\mathfrak {h}_1,\mathfrak {h}_2\) of \(\mathbf {S}\)-2-stacks whose components at \((X,Y,Z) \in \mathbb {P}^3(U)\) are the 2-arrows

    (1.3)

    and which express the obstruction to the compatibility between the associativity \(\mathsf {a}\) and the braiding \(\mathsf {c}\) (i.e., the obstruction to the hexagonal axiom);

  6. (6)

    a modification \(\eta \) of \(\mathbf {S}\)-2-stacks whose component at \(X \in \mathbb {P}(U)\) is the 2-arrow

    $$\begin{aligned} \eta _{X} :\mathrm {id}_{XX} {{\mathrm{{\Rightarrow }}}}\mathsf {c}_{(X,X)} \end{aligned}$$
    (1.4)

    and which expresses the obstruction to the strictness of the braiding \(\mathsf {c}\).

These data satisfy the following compatibility conditions:

  1. (i)

    for any \(X \in \mathbb {P}(U)\), the morphism of \(\mathbf {S}\)-2-stacks \(X \otimes -:\mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {P}\), called the left multiplication by X, is an equivalence of \(\mathbf {S}\)-2-stacks;

  2. (ii)

    the modification \(\pi \) is coherent, i.e., it satisfies the coherence axiom of Stasheff’s polytope (see [17, § 4]): for all \(X,Y,Z,W,T \in \mathbb {P}(U)\), the following equation of 2-arrows holds

    (1.5)
  3. (iii)

    the modification \(\zeta \) is coherent, i.e., for all \(X,Y,Z \in \mathbb {P}(U)\), the following equation of 2-arrows holds

    $$\begin{aligned} \zeta _{(Y,X)} * \mathsf {c}_{(X,Y)}=\mathsf {c}_{(X,Y)} * \zeta _{(X,Y)}, \end{aligned}$$
    (1.6)
  4. (iv)

    the modification \(\mathfrak {h}_1\) is compatible with \(\pi \), i.e., for all \(X,Y,Z,W \in \mathbb {P}(U)\), the following equation of 2-arrows is satisfied

    (1.7)

    and the modification \(\mathfrak {h}_2\) is compatible with \(\pi \), i.e., for all \(X,Y,Z,W \in \mathbb {P}(U)\) the following equation of 2-arrows is satisfied

    (1.8)

    where the modification \(\pi ^*\) is obtained from \(\pi \) by inverting some or all \(\mathsf {a}\)’s. The modifications \(\mathfrak {h}_1\) and \(\mathfrak {h}_2\) are comparable in the sense that the pasting of the 2-arrows in the diagram

    (1.9)

    is equal to the pasting of the 2-arrows in the diagram

    (1.10)

    Moreover, the modifications \(\mathfrak {h}_1\) and \(\mathfrak {h}_2\) are compatible with each other under the above comparison, i.e., the pasting of the 2-arrows in the diagram below, denoted by \(\mathfrak {h}_1 \square \mathfrak {h}_2\), is the identity

    (1.11)

    and an analogous pasting of 2-arrows, denoted by \(\mathfrak {h}_2 \square \mathfrak {h}_1\), is the identity

    (1.12)

    Finally using the terminology of Kapranov and Voevodsky in [17], we require that the 2-arrows defining the Z-systems coincide, i.e., for all \(X,Y,Z \in \mathbb {P}(U)\), the following equation of 2-arrows holds

    (1.13)
  5. (v)

    the modification \(\eta \) satisfies the following two compatibility conditions: the first one is that \(\eta *\eta =\zeta \), the second one is that for all \(X,Y \in \mathbb {P}(U)\) there is an additive relation between \(\eta _X\),\(\eta _Y\) and \(\eta _{X Y}\), i.e., \(\eta _{XY}\) is equal to the pasting of the 2-arrows in the following diagram

    (1.14)

Picard \(\mathbf {S}\)-2-stacks over \(\mathbf {S}\) form a 3-category \(2\mathcal {P}{\textsc {icard}}(\mathbf {S})\) whose objects are Picard \(\mathbf {S}\)-2-stacks and whose hom-2-groupoid consists of additive 2-functors, morphisms of additive 2-functors, and modifications of morphisms of additive 2-functors (see [3, § 3]).

The automorphisms \(\mathscr {A} ut (e)\) of the neutral object of a Picard \(\mathbf {S}\)-2-stack form a Picard \(\mathbf {S}\)-stack. The homotopy groups \(\pi _i(\mathbb {P})\) of a Picard \(\mathbf {S}\)-2-stack \(\mathbb {P}\) are

  • \( \pi _0(\mathbb {P})\) which is the sheafification of the pre-sheaf which associates with each object U of \(\mathbf {S}\), the group of equivalence classes of objects of \(\mathbb {P}(U)\);

  • \(\pi _1(\mathbb {P}) =\pi _0 (\mathscr {A} ut (e))\), with \(\pi _0 (\mathscr {A} ut (e))\) the sheafification of the pre-sheaf which associates with each object U of \(\mathbf {S}\), the group of isomorphism classes of objects of \(\mathscr {A} ut (e)(U)\);

  • \(\pi _2(\mathbb {P}) =\pi _1 (\mathscr {A} ut (e))\), with \(\pi _1(\mathscr {A} ut (e))\) the sheaf of automorphisms of the neutral object of \(\mathscr {A} ut (e)\).

We will denote by \(\mathbf {0}\) the Picard \(\mathbf {S}\)-2-stack whose only object is the neutral object and whose only 1- and 2-arrows are the identities. The complex \([\mathbf {0}]^{\flat \flat }\) of \(\mathcal {D}^{[-2,0]}(\mathbf {S})\) corresponding to the Picard \(\mathbf {S}\)-2-stack \(\mathbf {0}\) via the equivalence of categories \(2\mathrm {st}^{\flat \flat }\) (0.1) is \(\mathbf {E}=[\mathbf {e} \mathop {\rightarrow }\limits ^{id_\mathbf {e}} \mathbf {e} \mathop {\rightarrow }\limits ^{id_\mathbf {e}} \mathbf {e}]\) with \(\mathbf {e}\) the final object of the category of abelian sheaves on \(\mathbf {S}\).

4 The 3-category \(\textsc {Tors}(\mathbb {G})\) of \(\mathbb {G}\)-torsors

In this section, we categorify the notion of \(\mathscr {G}\)-torsors where \(\mathscr {G}\) is a gr-\(\mathbf {S}\)-stack (see [5]). We define in detail the 3-category of \(\mathbb {G}\)-torsors where \(\mathbb {G}\) is a gr-\(\mathbf {S}\)-2-stack. At the end of the section, using the tri-equivalence (0.2), we give without details a description of how to define the notion of torsor in terms of length 3-complexes of abelian sheaves.

4.1 Geometric case

As in Section 1, in the following definitions U will denote an object of the site \(\mathbf {S}\), and in the diagrams involving 2-arrows, we will put the symbol \(\cong \) in the cells which commute up to a modification of \(\mathbf {S}\)-2-stacks coming from the group-like structure.

Let \(\mathbb {G}=(\mathbb {G},\otimes ,\mathsf {a},\pi )\) be a gr-\(\mathbf {S}\)-2-stack. For simplicity instead of \(g_1 \otimes g_2 \), we will write just \(g_1g_2\) for all \( g_1,g_2 \in \mathbb {G}(U)\). The equivalences of \(\mathbf {S}\)-2-stacks \(g \otimes -: \mathbb {G}\rightarrow \mathbb {G}\) and \(-\otimes g : \mathbb {G}\rightarrow \mathbb {G}\) imply that any gr-\(\mathbf {S}\)-2-stack admits a global neutral object \(1_{\mathbb {G}}\) (denoted simply by 1) endowed with two natural 2-transformations of \(\mathbf {S}\)-2-stacks \(\mathfrak {l}: e \otimes - {{\mathrm{{\Rightarrow }}}}\mathrm {id}\) and \(\mathfrak {r}: -\otimes e {{\mathrm{{\Rightarrow }}}}\mathrm {id}\), which express the left and the right unit constraints, and which satisfy some higher compatibility conditions (see [16]).

Definition 2.1

A right \(\mathbb {G}\)-torsor is given by a collection \(\mathbb {P}=(\mathbb {P},m,\mu ,\Theta )\) where

  • \(\mathbb {P}\) is an \(\mathbf {S}\)-2-stack;

  • \(m: \mathbb {P}\times \mathbb {G}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) is a morphism of \(\mathbf {S}\)-2-stacks, called the action of \(\mathbb {G}\) on \(\mathbb {P}\). For simplicity instead of m(pg), we write just p.g for any \((p,g) \in \mathbb {P}\times \mathbb {G}(U)\);

  • \(\mu : m \circ (\mathrm {id}_\mathbb {P}\times \otimes ) {{\mathrm{{\Rightarrow }}}}m \circ (m \times \mathrm {id}_\mathbb {G})\) is a natural 2-transformation of \(\mathbf {S}\)-2-stacks whose component at \((p,g_1,g_2) \in \mathbb {P}\times \mathbb {G}^2(U)\) is the 1-arrow \(\mu _{(p,g_1,g_2)}:p.(g_1g_2) {{\mathrm{{\rightarrow }}}}(p.g_1).g_2\) of \(\mathbb {P}(U)\) and which expresses the compatibility between the group law \(\otimes \) of \(\mathbb {G}\) and the action m of \(\mathbb {G}\) on \(\mathbb {P}\);

  • \(\Theta \) is a modification of \(\mathbf {S}\)-2-stacks whose component at \((p,g_1,g_2,g_3) \in \mathbb {P}\times \mathbb {G}^3(U)\) is the 2-arrow

    and which expresses the obstruction to the compatibility between the natural 2-transformation \(\mu \) and the associativity \(\mathsf {a}\) underlying \(\mathbb {G}\) (i.e., the obstruction to the pentagonal axiom);

such that the following conditions are satisfied:

  • \(\mathbb {P}\) is locally equivalent to \(\mathbb {G}\), i.e., \((m,\mathrm {pr}_{\mathbb {P}}): \mathbb {P}\times \mathbb {G}{{\mathrm{{\rightarrow }}}}\mathbb {P}\times \mathbb {P}\) is an equivalence of \(\mathbf {S}\)-2-stacks (here \(\mathrm {pr}_{\mathbb {P}}:\mathbb {P}\times \mathbb {G}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) denotes the projection to \(\mathbb {P}\));

  • \(\mathbb {P}\) is locally not empty, i.e., it exists a covering sieve R of the site \(\mathbf {S}\) such that for any object V of R the 2-category \(\mathbb {P}(V)\) is not empty;

  • the modification \(\Theta \) is coherent, i.e., it satisfies the coherence axiom of Stasheff’s polytope (1.5);

  • the restriction of m to \(\mathbb {P}\times 1_\mathbb {G}\) is equivalent to the identity, i.e., there exists a natural 2-transformation of \(\mathbf {S}\)-2-stacks \(\mathfrak {d}: m_{|(\mathbb {P}\times 1_{\mathbb {G}})} {{\mathrm{{\Rightarrow }}}}\mathrm {id}_{\mathbb {P}}\) whose component at \((p,1_{\mathbb {G}}) \in \mathbb {P}\times 1_{\mathbb {G}}(U)\) is the 1-arrow \(\mathfrak {d}_{p}: p.1_{\mathbb {G}} {{\mathrm{{\rightarrow }}}}p\) of \(\mathbb {P}(U)\). We require also the existence of two modifications of \(\mathbf {S}\)-2-stacks \(\mathfrak {R}\) and \(\mathfrak {L}\), which express the obstruction to the compatibility between the restriction of m to \(\mathbb {P}\times 1_\mathbb {G}\) and the restrictions of \(\mu \) to \(\mathbb {P}\times \mathbb {G}\times 1_\mathbb {G}\) and \(\mathbb {P}\times 1_\mathbb {G}\times \mathbb {G}\), respectively, and which satisfy three compatibility conditions: the first one is between \(\mathfrak {L}\) and \(\mathfrak {R}\), the second one is between \(\Theta \) and \(\mathfrak {R}\), and the third one is between \(\Theta \) and \(\mathfrak {L}\). We left to the reader the explicit description of the modifications \(\mathfrak {R}\) and \(\mathfrak {L}\) with their compatibility conditions.

Definition 2.2

A morphism of right \(\mathbb {G}\)-torsors from \(\mathbb {P}=(\mathbb {P},m_\mathbb {P},\mu _\mathbb {P},\Theta _\mathbb {P})\) to \(\mathbb {Q}=(\mathbb {Q},m_\mathbb {Q},\mu _\mathbb {Q},\Theta _\mathbb {Q})\) is given by the triplet \((F,\gamma ,\Psi )\) where

  • \(F:\mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {Q}\) is a morphism of \(\mathbf {S}\)-2-stacks;

  • \(\gamma : m_\mathbb {Q}\circ (F \times \mathrm {id}_{\mathbb {G}}) {{\mathrm{{\Rightarrow }}}}F \circ m_\mathbb {P}\) is a natural 2-transformation of \(\mathbf {S}\)-2-stacks whose component at \((p,g) \in \mathbb {P}\times \mathbb {G}(U)\) is the 1-arrow \(\gamma _{(p,g)}:Fp.g {{\mathrm{{\rightarrow }}}}F(p.g)\) (for simplicity we use the notation . for both actions of \(\mathbb {G}\) on \(\mathbb {P}\) and on \(\mathbb {Q}\)) and which expresses the compatibility between the morphism of \(\mathbf {S}\)-2-stacks F and the two actions \(m_\mathbb {P}\) and \(m_\mathbb {Q}\) of \(\mathbb {G}\) on \(\mathbb {P}\) and on \(\mathbb {Q}\);

  • \(\Psi \) is a modification of \(\mathbf {S}\)-2-stacks whose component at \((p,g_1,g_2) \in \mathbb {P}\times \mathbb {G}^2(U)\) is the 2-arrow

and which expresses the obstruction to the compatibility between the natural 2-transformation \(\gamma \) and the natural 2-transformations \(\mu _\mathbb {P}\) and \(\mu _\mathbb {Q}\) underlying \(\mathbb {P}\) and \(\mathbb {Q}\). Moreover, we require that the modification \(\Psi \) is compatible with the modifications \(\Theta _\mathbb {P}\) and \(\Theta _\mathbb {Q}\), i.e., we have the following equation of 2-arrows

$$\begin{aligned}&F(\Theta _{\mathbb {P},(p,g_1,g_2,g_3)}) * \Psi _{(p.g_1,g_2,g_3)}* \mu ^{-1}_{(\gamma _{(p,g_1)},g_2,g_3)}* \Psi _{(p,g_1,g_2g_3)} * \gamma _{(p,\mathsf {a}_{(g_1,g_2,g_3)})} \\&\quad =\Psi _{(p,g_1g_2,g_3)} * \gamma _{(\mu _{(p,g_1,g_2)},g_3)} * \Psi _{(p,g_1,g_2)}.g_3 * \Theta _{\mathbb {Q}(Fp,g_1,g_2,g_3)} . \end{aligned}$$

Let \((F,\gamma _F,\Psi _F)\) and \((G,\gamma _G,\Psi _G)\) be two morphisms of right \(\mathbb {G}\)-torsors from \(\mathbb {P}\) to \(\mathbb {Q}\).

Definition 2.3

A 2-morphism of right \(\mathbb {G}\)-torsors from \((F,\gamma _F,\Psi _F)\) to \((G,\gamma _G,\Psi _G)\) is given by the pair \((\alpha ,\Phi )\) where

  • \(\alpha :F {{\mathrm{{\Rightarrow }}}}G\) is a natural 2-transformation of \(\mathbf {S}\)-2-stacks,

  • \(\Phi \) is a modification of \(\mathbf {S}\)-2-stacks whose components at \((p,g) \in \mathbb {P}\times \mathbb {G}(U)\) is the 2-arrow

and which expresses the obstruction to the compatibility between the natural 2-transformation \(\alpha \) and the natural 2-transformations \(\gamma _F\) and \(\gamma _G\) underlying F and G. We require that the modification \(\Phi \) is compatible with the modifications \(\Psi _F\) and \(\Psi _G\), i.e., we have the following equation of 2-arrows

$$\begin{aligned} \Phi _{(p,g_1g_2)}*\alpha _{\mu _{(p,g_1,g_2)}}*\Psi _{{F}_{(p,g_1,g_2)}}= \Psi _{G_{{(p,g_1,g_2)}}} * \Phi _{(p.g_1,g_2)}* \Phi _{(p,g_1)}.g_2 * \mu ^{-1}_{(\alpha _p,g_1,g_2)}. \end{aligned}$$

Let \((\alpha ,\Phi _\alpha )\) and \((\beta , \Phi _\beta )\) be two 2-morphisms of right \(\mathbb {G}\)-torsors from \((F,\gamma _F,\Psi _F): \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {Q}\) to \((G,\gamma _G,\Psi _G): \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {Q}\).

Definition 2.4

A 3-morphism of right \(\mathbb {G}\)-torsors from \((\alpha ,\Phi _\alpha )\) to \((\beta , \Phi _\beta )\) is given by a modification of \(\mathbf {S}\)-2-stacks \(\Delta :\alpha {{\mathrm{{\Rrightarrow }}}}\beta \) which is compatible with the modifications \(\Phi _\alpha \) and \(\Phi _\beta \), i.e., \(\Phi _{\beta (p,g)}*\Delta _{p.g}=\Delta _{p}.g*\Phi _{\alpha (p,g)}.\)

If the gr-\(\mathbf {S}\)-2-stack \(\mathbb {G}\) acts on the left side instead of the right side, we get the definitions of left \(\mathbb {G}\)-torsor, morphism of left \(\mathbb {G}\)-torsors, 2-morphism of left \(\mathbb {G}\)-torsors and 3-morphism of left \(\mathbb {G}\)-torsors.

Definition 2.5

A \(\mathbb {G}\)-torsor \(\mathbb {P}=(\mathbb {P},m^l,m^r,\mu ^l,\mu ^r,\Theta ^l,\Theta ^r, \kappa , \Omega ^r,\Omega ^l)\) consists of an \({\mathbf {S}}\)-2-stack \(\mathbb {P}\) endowed with a structure of left \(\mathbb {G}\)-torsor \((\mathbb {P},m^l,\mu ^l,\Theta ^l)\) and with a structure of right \(\mathbb {G}\)-torsor \((\mathbb {P},m^r,\mu ^r,\Theta ^r)\) which are compatible with each other. This compatibility is given by a natural 2-transformation of \(\mathbf {S}\)-2-stacks \(\kappa : m^l \circ (\mathrm {id}_{\mathbb {G}} \times m^r) {{\mathrm{{\Rightarrow }}}}m^r \circ (m^l \times \mathrm {id}_{\mathbb {G}})\) whose component at \((g_1,p,g_2) \in \mathbb {G}\times \mathbb {P}\times \mathbb {G}(U)\) is the 1-arrow \(\kappa _{(g_1,p,g_2)} : g_1.(p.g_2) {{\mathrm{{\rightarrow }}}}(g_1.p).g_2\). We require also the existence of two modifications of \(\mathbf {S}\)-2-stacks, \(\Omega ^l\) whose component at \((g_1,g_2,p,g_3) \in \mathbb {G}^2 \times \mathbb {P}\times \mathbb {G}(U)\) is the 2-arrow

and \(\Omega ^r\) whose component at \((g_1,p,g_2,g_3) \in \mathbb {G}\times \mathbb {P}\times \mathbb {G}^2(U)\) is the 2-arrow

which express the obstruction to the compatibility between the natural 2-transformation \(\kappa \) and the natural 2-transformations \(\mu ^l\) and \(\mu ^r\), respectively. Moreover, \(\Omega ^r\) and \(\Omega ^l\) satisfy three compatibility conditions: the first one is between \(\Omega ^r\) and \(\Theta ^r\), the second one is between \(\Omega ^l\) and \(\Theta ^l\), and the third one is between \(\Omega ^r\) and \(\Omega ^l\).

Any gr-\(\mathbf {S}\)-2-stack \(\mathbb {G}=(\mathbb {G},\otimes ,\mathsf {a},\pi )\) is a left \(\mathbb {G}\)-torsor and a right \(\mathbb {G}\)-torsor: the action of \(\mathbb {G}\) on \(\mathbb {G}\) is just the group law \(\otimes \) of \(\mathbb {G},\) the natural 2-transformation \(\mu \) is the associativity \(\mathsf {a}\) and the modification \(\Theta \) is \(\pi \). Any Picard \(\mathbf {S}\)-2-stack \(\mathbb {G}\) is a \(\mathbb {G}\)-torsor: In fact, the gr-structure underlying \(\mathbb {G}\) furnishes the structures of left and right \(\mathbb {G}\)-torsor and the braiding implies that these two structures are compatible.

Let \(\mathbb {P}=(\mathbb {P},m^l_\mathbb {P},m^r_\mathbb {P},\mu ^l_\mathbb {P},\mu ^r_\mathbb {P},\Theta ^l_\mathbb {P},\Theta ^r_\mathbb {P}, \kappa _\mathbb {P}, \Omega ^r_\mathbb {P},\Omega ^l_\mathbb {P})\) and \(\mathbb {Q}=(\mathbb {Q},m^l_\mathbb {Q},m^r_\mathbb {Q},\mu ^l_\mathbb {Q},\mu ^r_\mathbb {Q},\Theta ^l_\mathbb {Q},\Theta ^r_\mathbb {Q}, \kappa _\mathbb {Q}, \Omega ^r_\mathbb {Q},\Omega ^l_\mathbb {Q})\) be two \(\mathbb {G}\)-torsors.

Definition 2.6

A morphism of \(\mathbb {G}\)-torsors from \(\mathbb {P}\) to \(\mathbb {Q}\) consists of the collection \((F,\gamma ^l,\gamma ^r,\Psi ^l,\Psi ^r,\Sigma )\) where

  • \((F,\gamma ^l,\Psi ^l): (\mathbb {P},m^l_\mathbb {P},\mu ^l_\mathbb {P},\Theta ^l_\mathbb {P}) \rightarrow (\mathbb {Q},m^l_\mathbb {Q},\mu ^l_\mathbb {Q},\Theta ^l_\mathbb {Q})\) and \((F,\gamma ^r,\Psi ^r): (\mathbb {P},m^r_\mathbb {P},\mu ^r_\mathbb {P},\Theta ^r_\mathbb {P}) \rightarrow (\mathbb {Q},m^r_\mathbb {Q},\mu ^r_\mathbb {Q},\Theta ^r_\mathbb {Q}) \) are morphisms of left and right \(\mathbb {G}\)-torsors, respectively;

  • \(\Sigma \) is a modification of \(\mathbf {S}\)-2-stacks whose component at \((g_1,p,g_2) \in \mathbb {G}\times \mathbb {P}\times \mathbb {G}(U)\) is the 2-arrow

    $$\begin{aligned} \Sigma _{(g_1,p,g_2)}: F(\kappa _{\mathbb {P}(g_1,p,g_2)}) \circ \gamma ^l_{(p.g_2,g_1)} \circ g_1 . \gamma ^r_{(p,g_2)} {{\mathrm{{\Rightarrow }}}}\gamma ^r_{(g_1.p,g_2)} \circ \gamma ^l_{(p,g_1)}. g_2 \circ \kappa _{\mathbb {Q}(g_1,Fp,g_2)} \end{aligned}$$

    and which expresses the obstruction to the compatibility between the natural 2-transformations \(\gamma ^l, \gamma ^r, \kappa _\mathbb {P}\) and \(\kappa _\mathbb {Q}\). Moreover, we require that the modification \(\Sigma \) is compatible with the modifications \(\Psi ^l, \Psi ^r, \Omega ^l\) and \(\Omega ^r\). We leave the explicit description of these compatibilities to the reader.

Any morphism of \(\mathbb {G}\)-torsors \(F:\mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {Q}\) is an equivalence of \(\mathbf {S}\)-2-stacks. Therefore,

Definition 2.7

Two \(\mathbb {G}\)-torsors \(\mathbb {P}\) and \(\mathbb {Q}\) are equivalent as \(\mathbb {G}\)-torsors if there exists a morphism of \(\mathbb {G}\)-torsors from \(\mathbb {P}\) and \(\mathbb {Q}\).

Let \((F,\gamma ^l_F,\gamma ^r_F,\Psi ^l_F,\Psi ^r_F,\Sigma _F)\) and \((G,\gamma ^l_G,\gamma ^r_G,\Psi ^l_G,\Psi ^r_G,\Sigma _G)\) be two parallel morphisms of \(\mathbb {G}\)-torsors from \(\mathbb {P}\) to \(\mathbb {Q}\).

Definition 2.8

A 2-morphism of \(\mathbb {G}\)-torsors from \((F,\gamma ^l_F,\gamma ^r_F,\Psi ^l_F,\Psi ^r_F,\Sigma _F)\) to \((G,\gamma ^l_G,\gamma ^r_G,\Psi ^l_G,\Psi ^r_G,\Sigma _G)\) is given by the triplet \((\alpha ,\Phi ^l,\Phi ^r)\) where \((\alpha ,\Phi ^l):(F,\gamma ^l_F,\Psi ^l_F)\Rightarrow (G,\gamma ^l_G,\Psi ^l_G) \) and \((\alpha ,\Phi ^r):(F,\gamma ^r_F,\Psi ^r_F)\Rightarrow (G,\gamma ^r_G,\Psi ^r_G) \) are 2-morphisms of left and right \(\mathbb {G}\)-torsors, respectively. Moreover, we require that the modifications \(\Phi ^l\) and \(\Phi ^r\) are compatible with the modifications \(\Sigma _{F}\) and \(\Sigma _{G},\) i.e., we have the following equation of 2-arrows

$$\begin{aligned}&g_1.\Phi ^r_{(p,g_2)} * \Phi ^l_{(g_1,p.g_2)} * \alpha _{\kappa _{(g_1,p,g_2)}} * \Sigma _{F(g_1,p,g_2)}\\&\quad = \Sigma _{G(g_1,p,g_2)} * \Phi ^r_{(g_1.p,g_2)} * \Phi ^l_{(g_1,p)}.g_2 * \kappa ^{-1}_{(g_1,\alpha _p,g_2)} . \end{aligned}$$

Let \((\alpha ,\Phi ^l_\alpha ,\Phi ^r_\alpha )\) and \((\beta ,\Phi ^l_\beta ,\Phi ^r_\beta )\) be two 2-morphisms of \(\mathbb {G}\)-torsors from F to G.

Definition 2.9

A 3-morphism of \(\mathbb {G}\)-torsors from \((\alpha ,\Phi ^l_\alpha ,\Phi ^r_\alpha )\) to \((\beta ,\Phi ^l_\beta ,\Phi ^r_\beta )\) is given by a modification of \(\mathbf {S}\)-2-stacks \(\Delta : \alpha {{\mathrm{{\Rrightarrow }}}}\beta \) such that \(\Delta :(\alpha ,\Phi ^l_\alpha ) {{\mathrm{{\Rrightarrow }}}}(\beta ,\Phi ^l_\beta )\) and \(\Delta :(\alpha ,\Phi ^r_\alpha ) {{\mathrm{{\Rrightarrow }}}}(\beta ,\Phi ^r_\beta )\) are 3-morphisms of left and right \(\mathbb {G}\)-torsors, respectively.

Definition-Proposition 2.10

Let \(\mathbb {P}\) and \(\mathbb {Q}\) be \(\mathbb {G}\)-torsors. Then the 2-category \(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {Q})\) whose

  • objects are morphisms of \(\mathbb {G}\)-torsors from \(\mathbb {P}\) to \(\mathbb {Q}\) ,

  • 1-arrows are 2-morphisms of \(\mathbb {G}\)-torsors,

  • 2-arrows are 3-morphisms of \(\mathbb {G}\)-torsors,

is a 2-groupoid, called the 2-groupoid of morphisms of \(\mathbb {G}\)-torsors from \(\mathbb {P}\) to \(\mathbb {Q}\).

In Lemma 3.1, we show that \(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P})\) is a Picard \(\mathbf {S}\)-2-stack. In general, we expect to have at least an \(\mathbf {S}\)-2-stack structure on \(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {Q})\).

\(\mathbb {G}\)-torsors over \(\mathbf {S}\) form a 3-category \(\textsc {Tors}(\mathbb {G})\) where the objects are \(\mathbb {G}\)-torsors and the hom-2-groupoid of two \(\mathbb {G}\)-torsors \(\mathbb {P}\) and \(\mathbb {Q}\) is \(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {Q}).\)

We define the sum of two \(\mathbb {G}\)-torsors \(\mathbb {P}\) and \(\mathbb {Q}\) as the fibered sum (or the pushdown) of \(\mathbb {P}\) and \(\mathbb {Q}\) under \(\mathbb {G}\). In the context of torsors, the fibered sum is called the contracted product:

Definition 2.11

The contracted product \(\mathbb {P}\wedge ^{\mathbb {G}} \mathbb {Q}\) (or just \(\mathbb {P}\wedge \mathbb {Q}\)) of \(\mathbb {P}\) and \(\mathbb {Q}\) is the \(\mathbb {G}\)-torsor whose underlying \(\mathbf {S}\)-2-stack is obtained by 2-stackifying the following fibered 2-category in 2-groupoids \(\mathbb {D}\): for any object U of \(\mathbf {S}\),

  1. (1)

    the objects of \(\mathbb {D}(U)\) are the objects of the product \(\mathbb {P}\times \mathbb {Q}(U)\), i.e., pairs (pq) with p an object of \(\mathbb {P}(U)\) and q an object of \(\mathbb {Q}(U)\);

  2. (2)

    a 1-arrow \((p_1,q_1) {{\mathrm{{\rightarrow }}}}(p_2,q_2)\) between two objects of \(\mathbb {D}(U)\) is given by a triplet (mgn) where g is an object of \(\mathbb {G}(U)\), \(m: p_1.g {{\mathrm{{\rightarrow }}}}p_2\) is a 1-arrow in \(\mathbb {P}(U)\) and \(n: q_1 {{\mathrm{{\rightarrow }}}}g.q_2\) is a 1-arrow in \(\mathbb {Q}(U)\);

  3. (3)

    a 2-arrow between two parallel 1-arrows \((m,g,n), (m',g',n'):(p_1,q_1) {{\mathrm{{\rightarrow }}}}(p_2,q_2)\) of \( \mathbb {D}(U)\) is given by an equivalence class of triplets \((\phi ,l,\theta )\) with \(l:g{{\mathrm{{\rightarrow }}}}g'\) a 1-arrow of \(\mathbb {G}(U)\), \(\phi : m' \circ p_1.l \Rightarrow m\) a 2-arrow of \(\mathbb {P}(U)\) and \(\theta : l .q_2 \circ n \Rightarrow n'\) a 2-arrow of \(\mathbb {Q}(U)\). Two such triplets \((\phi ,l,\theta )\) and \((\tilde{\phi },\tilde{l},\tilde{\theta })\) are equivalent if there exists a 2-arrow \(\gamma : l {{\mathrm{{\Rightarrow }}}}\tilde{l}\) of \(\mathbb {G}(U)\) such that \(\tilde{\phi } * p_1.\gamma = \phi \) and \(\gamma . q_2 * \tilde{\theta } = \theta \).

The contracted product of \(\mathbb {G}\)-torsors is endowed with a universal property similar to the one stated explicitly in [3, Prop 10.1].

Proposition 2.12

Let \(\mathbb {G}\) be a Picard \(\mathbf {S}\)-2-stacks. The contracted product equips the set \(\textsc {Tors}^1(\mathbb {G})\) of equivalence classes of \(\mathbb {G}\)-torsors with an abelian group law, where the neutral element is the equivalence class of the \(\mathbb {G}\)-torsor \(\mathbb {G}\), and the inverse of the equivalence class of a \(\mathbb {G}\)-torsor \(\mathbb {P}\) is the equivalence class of the \(\mathrm {ad}(\mathbb {P})\)-torsor \(\mathbb {P}\), with \(\mathrm {ad}(\mathbb {P})=\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P})\) (recall that \(\mathbb {G}\) and \(\mathrm {ad}(\mathbb {P})\) are equivalent via \(g {{\mathrm{{\rightarrow }}}}(p \mapsto g . p)\)).

Definition 2.13

A \(\mathbb {G}\)-torsor \(\mathbb {P}\) is trivial if \(\mathbb {P}\) is globally equivalent as \(\mathbb {G}\)-torsor to \(\mathbb {G}\) (recall that \(\mathbb {G}\) is considered as a \(\mathbb {G}\)-torsor via its group law \(\otimes : \mathbb {G}\times \mathbb {G}\rightarrow \mathbb {G}\)).

In order to define the notion of \(\mathbb {G}\)-torsor over an \(\mathbf {S}\)-2-stack, we need the definition of fibered product (or pullback) for \(\mathbf {S}\)-2-stacks. Let \(\mathbb {P}, \mathbb {Q}\), and \(\mathbb {R}\) be three \(\mathbf {S}\)-2-stacks and consider two morphisms of \(\mathbf {S}\)-2-stacks \(F: \mathbb {P}\rightarrow \mathbb {R}\) and \(G: \mathbb {Q}\rightarrow \mathbb {R}\).

Definition 2.14

The fibered product of \(\mathbb {P}\) and \(\mathbb {Q}\) over \(\mathbb {R}\) is the \(\mathbf {S}\)-2-stack \(\mathbb {P}\times _{\mathbb {R}} \mathbb {Q}\) defined as follows: for any object U of \(\mathbf {S}\),

  • an object of the 2-groupoid \((\mathbb {P}\times _{\mathbb {R}} \mathbb {Q})(U)\) is a triple (plq) where p is an object of \( \mathbb {P}(U)\), q is an object of \( \mathbb {Q}(U)\) and \(l:F p {{\mathrm{{\rightarrow }}}}G q\) is a 1-arrow in \(\mathbb {R}(U)\);

  • a 1-arrow \((p_1,l_1,q_1) {{\mathrm{{\rightarrow }}}}(p_2,l_2,q_2)\) between two objects of \((\mathbb {P}\times _{\mathbb {R}} \mathbb {Q})(U)\) is given by the triplet \((m,\alpha ,n)\) where \(m:p_1 {{\mathrm{{\rightarrow }}}}p_2\) and \(n: q_1 {{\mathrm{{\rightarrow }}}}q_2\) are 1-arrows in \(\mathbb {P}(U)\) and \(\mathbb {Q}(U)\), respectively, and \(\alpha :l_2 \circ Fm {{\mathrm{{\Rightarrow }}}}G n \circ l_1\) is a 2-arrow in \(\mathbb {R}(U)\);

  • a 2-arrow between two parallel 1-arrows \((m,\alpha ,n), (m',\alpha ',n'):(p_1,l_1,q_1) {{\mathrm{{\rightarrow }}}}(p_2,l_2,q_2)\) of \((\mathbb {P}\times _{\mathbb {R}} \mathbb {Q})(U)\) is given by the pair \((\theta ,\phi )\) where \(\theta :m {{\mathrm{{\Rightarrow }}}}m'\) and \(\phi :n {{\mathrm{{\Rightarrow }}}}n'\) are 2-arrows in \(\mathbb {P}(U)\) and \(\mathbb {Q}(U)\), respectively, satisfying the equation \(\alpha ' \circ (l_2*F\theta ) = (G\phi * l_1) \circ \alpha \) of 2-arrows.

The fibered product \(\mathbb {P}\times _\mathbb {R}\mathbb {Q}\) is also called the pullback \(F^*\mathbb {Q}\) of \(\mathbb {Q}\) via \(F:\mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {R}\) or the pullback \(G^*\mathbb {P}\) of \(\mathbb {P}\) via \(G:\mathbb {Q}{{\mathrm{{\rightarrow }}}}\mathbb {R}\). It satisfies a universal property similar to the one stated explicitly in [3, §4].

If \(J: \mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) is a morphism of \(\mathbf {S}\)-2-stacks, the homotopy fiber \(\mathbb {E}_p\) of \(\mathbb {E}\) over an object \(p \in \mathbb {P}(U) \) (with U an object of \(\mathbf {S}\)) is the \(\mathbf {S}/U\)-2-stack obtained as fibered product of \(J:\mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) and of the inclusion \(p {{\mathrm{{\rightarrow }}}}\mathbb {P}\).

Let \(\mathbb {G}\) be a gr-\(\mathbf {S}\)-2-stack and let \(\mathbb {P}\) be an \(\mathbf {S}\)-2-stacks. Our next definition is inspired by the similar ones given in [12, Exposé VII 1.1.2.1] and [19, Def. 9.1].

Definition 2.15

A \(\mathbb {G}_\mathbb {P}\)-torsor over \(\mathbb {P}\) (or just \(\mathbb {G}\)-torsor over \(\mathbb {P}\)) is an \(\mathbf {S}\)-2-stack \(\mathbb {E}\) endowed with a morphism of \(\mathbf {S}\)-2-stacks \(J:\mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) so that for any object U of \( \mathbf {S}\) and for any \(p \in \mathbb {P}(U)\), the homotopy fiber \(\mathbb {E}_p\) over p is a \(\mathbb {G}(U)\)-torsor (see Definition 2.5).

\(\mathbb {G}_\mathbb {P}\)-torsors over \(\mathbb {P}\) form a 3-category, denoted \(\textsc {Tors}(\mathbb {G}_\mathbb {P})\).

Let \(\mathbb {P}\) and \(\mathbb {R}\) be two \(\mathbf {S}\)-2-stacks and consider a morphism of \(\mathbf {S}\)-2-stacks \(F: \mathbb {R}\rightarrow \mathbb {P}\). If \(\mathbb {Q}\) is a \(\mathbb {G}_\mathbb {P}\)-torsor over \(\mathbb {P}\), then the pullback \(F^*\mathbb {Q}\) of \(\mathbb {Q}\) via \(F: \mathbb {R}\rightarrow \mathbb {P}\) is a \(\mathbb {G}_\mathbb {R}\)-torsor over \(\mathbb {R}\). In other words, the pullback via \(F: \mathbb {R}\rightarrow \mathbb {P}\) defines a 3-functor \(F^*: \textsc {Tors}(\mathbb {G}_\mathbb {P}) \longrightarrow \textsc {Tors}(\mathbb {G}_\mathbb {R}).\)

4.2 Algebraic case

Let \(G=[G^{-2} {{\mathrm{{\rightarrow }}}}G^{-1} {{\mathrm{{\rightarrow }}}}G^{0}]\) be a length 3 complex of sheaves of groups over \(\mathbf {S}\). We denote by \(+: G \times G {{\mathrm{{\rightarrow }}}}G\) the morphism of complexes whose components are the operations on the groups \(G^i\) for \(i=-2,-1,0\).

Definition 2.16

A right G-torsor is given by a collection \(P=(P,(q,M,p),(r,N,s),t)\) where

  • \(P=[P^{-2} {{\mathrm{{\rightarrow }}}}P^{-1} {{\mathrm{{\rightarrow }}}}P^{0}]\) is a length 3 complex of sheaves of sets;

  • \((q,M,p): P \times G \mathop {{{\mathrm{{\leftarrow }}}}}\limits ^{q}M \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{p}P\) is a fraction, which we represent by \(m:P \times G {{\mathrm{{\rightarrow }}}}G\);

  • (rNs) is a 1-arrow from the composition of fractions \((q,M,p) {{\mathrm{{\diamond }}}}(\mathrm {id}_{P \times G \times G}, P \times G \times G, \mathrm {id}_{P} \times +)\) to the composition of the fractions \((q,M,p) {{\mathrm{{\diamond }}}}(q \times \mathrm {id}_G, M \times G, p \times \mathrm {id}_G)\) which can be depicted by the following commutative diagram

    A more legible presentation of the 1-arrow (rNs) would be the square

    where each arrow is a fraction.

  • t is a 2-arrow of fractions which is the morphism of complexes from the vertical composition of the 1-arrow of fractions

    to the vertical composition of the 1-arrow of fractions

    The 2-arrow t might be better understood if we represent it as a 3-morphism between the pasting of the 2-morphisms between the left and right diagrams below:

In order to define a right G-torsor using length 3 complexes, we have substituted, in Definition 2.1, additive 2-functors by fractions, morphisms of additive 2-functors by 1-arrows of fractions, and modifications of morphisms of additive 2-functors by 2-arrows of fractions. One can find out the compatibility conditions, that the data underlying a right G-torsor have to satisfy, by applying the same arguments. Moreover, these arguments allow us to define 1-,2-, and 3-morphisms of right G-torsors. Hence, right G-torsors over \(\mathbf {S}\) form a 3-category. In a similar way, we can define also left G-torsors.

If G is a length 3 complex of abelian sheaves, we can define the notion of G-torsor: It is a length 3 complex of sheaves of sets endowed with a structure of left G-torsor and with a structure of right G-torsor which are compatible with each other. G-torsors over \(\mathbf {S}\) form a 3-category that we denote by \(\textsc {Tors}(G)\).

Proposition 2.17

The tri-equivalence \(2\mathrm {st}\) (0.2) induces a tri-equivalence between \(\textsc {Tors}(\mathbb {G})\) and \(\textsc {Tors}(G)\).

5 Homological interpretation of \(\mathbb {G}\)-torsors

Let \(\mathbb {G}\) be a Picard \(\mathbf {S}\)-2-stack. As observed at the end of Section 1, \([\mathbf {0}]^{\flat \flat }\) is the complex \(\mathbf {E}=[\mathbf {e} \mathop {\rightarrow }\limits ^{id_\mathbf {e}} \mathbf {e} \mathop {\rightarrow }\limits ^{id_\mathbf {e}} \mathbf {e}]\) of \(\mathcal {D}^{[-2,0]}(\mathbf {S})\) where \(\mathbf {e}\) the final object of the category of abelian sheaves on \(\mathbf {S}\).

Lemma 3.1

For any \(\mathbb {G}\)-torsor \(\mathbb {P}\), the Picard \(\mathbf {S}\)-2-stack \(\mathbb {G}\) is equivalent to \(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P})\). In particular, \(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P})\) is endowed with a Picard \(\mathbf {S}\)-2-stack structure.

Proof

The additive 2-functor \( \mathbb {G}\rightarrow \mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P}), g \mapsto \big (p \mapsto g . p \big )\) furnishes the required equivalence. \(\square \)

By the above Lemma, the homotopy groups \(\pi _i(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P}))\) are abelian groups. Since by definition \(\textsc {Tors}^{-i}(\mathbb {G}) =\pi _{i}(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P}))\), we have

Corollary 3.2

The sets \(\textsc {Tors}^{i}(\mathbb {G})\), for \(i=0,-1,-2\), are abelian groups.

Proof of Theorem 0.1 for i=0,-1,-2

The Picard \(\mathbf {S}\)-2-stack \(\mathbb {G}\) is equivalent to the hom-2-groupoid \(\mathbb {H}\mathrm {om}_{\mathbf {S}-2-\mathrm {Stacks}}(\mathbf {0},\mathbb {G})\) of morphisms of \(\mathbf {S}\)-2-stacks from \(\mathbf {0}\) to \(\mathbb {G}\) via the additive 2-functor \(\mathbb {G}\rightarrow \mathbb {H}\mathrm {om}_{\mathbf {S}-2-\mathrm {Stacks}}(\mathbf {0},\mathbb {G}), g \mapsto \big (e \mapsto g \big )\). In particular, \(\mathbb {H}\mathrm {om}_{\mathbf {S}-2-\mathrm {Stacks}}(\mathbf {0},\mathbb {G})\) is endowed with a Picard \(\mathbf {S}\)-2-stack structure and \([\mathbb {H}\mathrm {om}_{\mathbf {S}-2-\mathrm {Stacks}}(\mathbf {0},\mathbb {G})]^{\flat \flat }= \tau _{\le 0}{\mathrm {R}}\mathrm {Hom}(\mathbf {E},[\mathbb {G}]^{\flat \flat })\). By Lemma 3.1, we have \(\textsc {Tors}^{i}(\mathbb {G}) = \pi _{-i}(\mathbb {H}\mathrm {om}_{\textsc {Tors}(\mathbb {G})}(\mathbb {P},\mathbb {P})) \cong \pi _{-i}(\mathbb {G}) \cong \pi _{-i}(\mathbb {H}\mathrm {om}_{\mathbf {S}-2-\mathrm {Stacks}}(\mathbf {0},\mathbb {G})) = {\mathrm {H}}^i \big (\tau _{\le 0}{\mathrm {R}}\mathrm {Hom}(\mathbf {E},[\mathbb {G}]^{\flat \flat })\big ) = {\mathrm {H}}^i \big (\tau _{\le 0}{\mathrm {R}}\Gamma ([\mathbb {G}]^{\flat \flat })\big )=\mathrm {H}^i([\mathbb {G}]^{\flat \flat })\).

Before the proof of Theorem 0.1 for \(i=1\), we record the following:

Lemma 3.3

Let \(\mathbb {P}\) be an \(\mathbf {S}\)-2-stack. Then there exists a Picard \(\mathbf {S}\)-2-stack \(\mathbb {Z}[\mathbb {P}]\) whose fibers over any object U of \( \mathbf {S}\) are the following 2-groupoids:

  • an object of \(\mathbb {Z}[\mathbb {P}](U)\) consists of a finite formal sum \(\sum _{i\in I} n_i [p_i]\) with \(n_i \in \mathbb {Z}\) and \(p_i\) an object of \(\mathbb {P}(U)\);

  • there exists a 1-morphism between any two objects \(\sum _{i\in I} n_i [p_i]\) and \(\sum _{j\in J} m_j [q_j]\) if \(I=J\), \(n_i=m_i\) for all \(i \in I\), and there exists a morphism \(f_i:p_i {{\mathrm{{\rightarrow }}}}q_i\) in \(\mathbb {P}(U)\) for all \(i \in I\). In this case, a 1-morphism \(\sum _{i\in I} n_i [p_i] {{\mathrm{{\rightarrow }}}}\sum _{i\in I} n_i [q_i]\) is the finite formal sum \(\sum _{i \in I}n_i[f_i]\);

  • a 2-morphism between any two parallel 1-morphisms \(\sum _{i \in I}n_i[f_i]\) and \(\sum _{i \in I}n_i[g_i]\) from \(\sum _{i\in I} n_i [p_i]\) to \(\sum _{i\in I} n_i [q_i]\) is the finite formal sum \(\sum _{i \in I}n_i[\alpha _i]\) where \(\alpha _i\) is a 2-morphism in \(\mathbb {P}(U)\) from \(f_i\) to \(g_i\) for all \(i\in I\).

Proof

To verify that \(\mathbb {Z}[\mathbb {P}]\) is a fibered 2-category in 2-groupoids over \(\mathbf {S}\) is straightforward. Let

$$\begin{aligned} \left( \sum _{i \in I}n_i[\varphi _i],\sum _{i \in I}n_i[\alpha _i]\right) \end{aligned}$$
(3.1)

be a 2-descent datum for the object \(\sum _{i\in I} n_i [p_i]\) of \(\mathbb {Z}[\mathbb {P}](V_0)\) relative to the hypercover \(\delta :V_{\bullet } {{\mathrm{{\rightarrow }}}}U\) where \(\varphi _i:d_0^*p_i {{\mathrm{{\rightarrow }}}}d_1^*p_i\) is a 1-morphism in \(\mathbb {P}(V_1)\) and \(\alpha _i: d_1^*\varphi _i {{\mathrm{{\Rightarrow }}}}d_2^*\varphi _i \circ d_0^*\varphi _i\) is a 2-morphism in \(\mathbb {P}(V_2)\). Since the collection (3.1) satisfies the 2-cocycle condition

$$\begin{aligned}&\left( (d_2d_3)^* \sum _{i \in I}n_i[\varphi _i] * d_0^* \sum _{i \in I}n_i[\alpha _i]\right) \circ d_2^* \sum _{i \in I}n_i[\alpha _i]=\left( d_3^* \sum _{i \in I}n_i[\alpha _i] * (d_0d_1)^*\right. \\&\quad \left. \sum _{i \in I}n_i[\varphi _i]\right) \circ d_1^* \sum _{i \in I}n_i[\alpha _i] \end{aligned}$$

so do the collections \((\varphi _i,\alpha _i)\) for all \(i \in I\). This shows that for all \(i \in I\), \((\varphi _i,\alpha _i)\) is a 2-descent datum for the object \(p_i\) of \(\mathbb {P}(V_0)\). Then for every \(i \in I\) the 2-descent datum is effective, i.e., for every \(i \in I\) it exists an object \(q_i \in \mathbb {P}(U)\), a 1-morphism \(\psi _i:\delta ^*(q_i) {{\mathrm{{\rightarrow }}}}p_i\) in \(\mathbb {P}(V_0)\), and a 2-morphism \(\beta _i:\varphi _i \circ d_0^*\psi _i {{\mathrm{{\Rightarrow }}}}d_1^*\psi _i\) in \(\mathbb {P}(V_1)\) so that the condition

$$\begin{aligned} (d_0^*\varphi _i * d_2^*\beta _i) \circ (d_0^*\beta _i * d_1^*\varphi _i) \circ (d_0^*d_0^*\psi _i * \alpha _i)=d_1^*\beta _i \end{aligned}$$

is satisfied. We observe that the formal sum of these effective data, i.e., the collection \((\sum _{i \in I}n_i[q_i],\sum _{i \in I}n_i[\psi _i],\sum _{i \in I}n_i[\beta _i])\), is the effective data for the 2-descent datum (3.1). We show using similar arguments that the finite formal sums of morphisms of \(\mathbb {P}\) form an \(\mathbf {S}\)-stack. Hence, \(\mathbb {Z}[\mathbb {P}]\) is an \(\mathbf {S}\)-2-stack. The Picard structure on \(\mathbb {Z}[\mathbb {P}]\) is defined by concatenation. \(\square \)

Definition 3.4

If \(\mathbb {P}\) is an \(\mathbf {S}\)-2-stack, the Picard \(\mathbf {S}\)-2-stack generated by \(\mathbb {P}\) is the Picard \(\mathbf {S}\)-2-stack \(\mathbb {Z}[\mathbb {P}]\) constructed in Lemma 3.3.

The Picard \(\mathbf {S}\)-2-stack \(\mathbb {Z}[\mathbb {P}]\) does not satisfy the universal property of a free object. Maybe the definition can be improved so that it works in the expected way, but this would be beyond the scope of the current paper.

Lemma 3.5

If \(\mathbb {P}=2\mathrm {st}\big ([P^{-2} {{\mathrm{{\rightarrow }}}}P^{-1} {{\mathrm{{\rightarrow }}}}P^0]\big )\), then \(\mathbb {Z}[\mathbb {P}]=2\mathrm {st}\big ([{\mathbb {Z}}[P^{-2}] {{\mathrm{{\rightarrow }}}}{\mathbb {Z}}[P^{-1}] {{\mathrm{{\rightarrow }}}} {\mathbb {Z}}[P^0]]\big )\), where \({\mathbb {Z}}[P^i]\) is the abelian sheaf generated by \(P^i\) according to [13, Exposé IV 11].

Proof

An object of \(\mathbb {P}(U)\) (with U an object of \(\mathbf {S}\)) is a collection \((V_{\bullet } {{\mathrm{{\rightarrow }}}}U, X, \varphi , \alpha )\) where \((X, \varphi , \alpha )\) is an effective 2-descent datum relative to the hypercover \(V_{\bullet } {{\mathrm{{\rightarrow }}}}U\). Then an object of \(\mathbb {Z}[\mathbb {P}](U)\) is the formal sum \(\sum _{i \in I}n_i[(V_{\bullet }^i {{\mathrm{{\rightarrow }}}}U,X_i,\varphi _i,\alpha _i)]\). The claim follows from the equality

$$\begin{aligned} \sum _{i \in I}n_i[(V_{\bullet }^i {{\mathrm{{\rightarrow }}}}U,X_i,\varphi _i,\alpha _i)]=(V_{\bullet } {{\mathrm{{\rightarrow }}}}U,\sum _{i \in I}n_i[X_i],\sum _{i \in I}n_i[\varphi _i],\sum _{i \in I}n_i[\alpha _i]), \end{aligned}$$

where \(V_{\bullet } {{\mathrm{{\rightarrow }}}}U\) is the refinement of the hypercovers \(V_{\bullet }^i {{\mathrm{{\rightarrow }}}}U\).\(\square \)

Proof of Theorem 0.1 for i=1

The idea of the proof is to construct two morphisms

$$\begin{aligned} \Theta&:\textsc {Tors}^1(\mathbb {G}) \longrightarrow \mathrm {H}^1([\mathbb {G}]^{\flat \flat }),\\ \Psi&:\mathrm {H}^1([\mathbb {G}]^{\flat \flat }) \longrightarrow \textsc {Tors}^1(\mathbb {G}), \end{aligned}$$

and to check that \(\Theta \circ \Psi = \mathrm {id}= \Psi \circ \Theta \) and that \(\Theta \) is an homomorphism of groups. We will just construct \(\Theta \) and \(\Psi \), since the remains of the proof are very similar to [3, Thm 1.1 \(proof\; i=1\)].

We fix the following notation: if A is a complex of \(\mathcal {D}^{[-2,0]}(\mathbf {S})\), we set \(\mathbb {A}=2\mathrm {st}^{\flat \flat }(A)\), and if \(f:A {{\mathrm{{\rightarrow }}}}B\) is a morphism in \(\mathcal {D}^{[-2,0]}(\mathbf {S})\), we denote by \(F: \mathbb {A}{{\mathrm{{\rightarrow }}}}\mathbb {B}\) a representative of the equivalence class of additive 2-functors \(2\mathrm {st}^{\flat \flat }(f)\).

Construction of \(\Theta \): Let \(\mathbb {P}\) be a \(\mathbb {G}\)-torsor and let \(\mathbb {Z}[\mathbb {P}]\) be the Picard \(\mathbf {S}\)-2-stack generated by \(\mathbb {P}\). Consider the additive 2-functor

$$\begin{aligned} H: \mathbb {Z}[\mathbb {P}] \longrightarrow \mathbb {Z}[\mathbf {0}] \end{aligned}$$

which associates with an object \(\sum _i n_i [p_i] \) of \(\mathbb {Z}[\mathbb {P}](U)\) the object \(\sum _i n_i \) of \( \mathbb {Z}[\mathbf {0}](U)\), for U an object of \(\mathbf {S}\). The homotopy kernel \(\mathbb {K}{\mathrm {er}}(H)\) of H is the Picard \(\mathbf {S}\)-2-stack whose objects are sums of the form \([p]-[p']\), with \(p,p'\) objects of \(\mathbb {P}(U)\). Clearly, \(\mathbb {Z}[\mathbb {P}]\) is an extension of Picard \(\mathbf {S}\)-2-stacks of \(\mathbb {Z}[\mathbf {0}] \) by \(\mathbb {K}{\mathrm {er}}(H)\). Consider now the additive 2-functor \(L: \mathbb {K}{\mathrm {er}}(H) {{\mathrm{{\rightarrow }}}}\mathbb {G}\) which associates with an object \([p]-[p']\) of \(\mathbb {K}{\mathrm {er}}(H)(U)\) the object g of \( \mathbb {G}(U)\) such that \(g . p=p'\). According to [3, Def 7.3], the pushdown of the extension \(\mathbb {Z}[\mathbb {P}]\) via \(L: \mathbb {K}{\mathrm {er}}(H) {{\mathrm{{\rightarrow }}}}\mathbb {G}\) is an extension \(L_*\mathbb {Z}[\mathbb {P}]\) of \( \mathbb {Z}[\mathbf {0}] \) by \(\mathbb {G}\). By [3, Prop 6.7, Rem 6.6], to this extension \(L_*\mathbb {Z}[\mathbb {P}]\) of Picard \(\mathbf {S}\)-2-stacks is associated with the distinguished triangle \([\mathbb {G}]^{\flat \flat } {{\mathrm{{\rightarrow }}}}[L_*\mathbb {Z}[\mathbb {P}]]^{\flat \flat } {{\mathrm{{\rightarrow }}}}\mathbf {E} {{\mathrm{{\rightarrow }}}}+\) in \(\mathcal {D}(\mathbf {S})\) which furnishes the long exact sequence

We set \(\Theta (\mathbb {P})= \partial (1),\) where the element 1 of \( \mathrm {H}^0(\mathbf {E})\) corresponds to the global neutral object \( e \in \Gamma (\mathbf {0})\) of the Picard \(\mathbf {S}\)-2-stack \(\mathbf {0}\).

Construction of \(\Psi \): Let G be the complex \([\mathbb {G}]^{\flat \flat }\) of \(\mathcal {D}^{[-2,0]}(\mathbf {S})\) corresponding to the Picard \(\mathbf {S}\)-2-stack \(\mathbb {G}\). Choose a complex \(I=[I^{-2} \rightarrow I^{-1} \rightarrow I^0]\) of \(\mathcal {D}^{[-2,0]}(\mathbf {S})\) such that \(I^{-2}\), \(I^{-1},I^0\) are injective and such that there exists an injective morphism of complexes \(s :G {{\mathrm{{\rightarrow }}}}I\). We complete s into a distinguished triangle \(G \mathop {\rightarrow }\limits ^{s} I \mathop {\rightarrow }\limits ^{t} \mathrm {MC}(s)\rightarrow +\) in \(\mathcal {D}(\mathbf {S})\). Setting \(K= \tau _{\ge -2} \mathrm {MC}(s)\), the above distinguished triangle furnishes an extension of Picard \(\mathbf {S}\)-2-stacks \(\mathbb {G}\mathop {\rightarrow }\limits ^{S} \mathbb {I}\mathop {\rightarrow }\limits ^{T} \mathbb {K}\) and the long exact sequence

Given an element x of \(\mathrm {H}^1(G)\), choose an element u of \(\mathrm {H}^0(K)\) such that \(\partial (u) =x\). Remark that via the equivalence of categories \(2\mathrm {st}^{\flat \flat }\) (0.1), the element \(u \in \mathrm {H}^0(K)\) corresponds to a global section \(U \in \Gamma (\mathbb {K})\) of \(\mathbb {K}\), i.e., to a morphism of \(\mathbf {S}\)-2-stacks \(U:\mathbf {0} \rightarrow \mathbb {K}\). Using the notion of pullback (or fibered product) of \(\mathbf {S}\)-2-stacks in 2-groupoids given in Definition 2.14, consider the pullback \(U^*\mathbb {I}\) of \(\mathbb {I}\) via \(U :\mathbf {0} {{\mathrm{{\rightarrow }}}}\mathbb {K}\). This pullback \(U^*\mathbb {I}\), which is an \(\mathbf {S}\)-2-stack in 2-groupoids not necessarily endowed with a Picard \(\mathbf {S}\)-2-stack structure, is a \(\mathbb {G}\)-torsor: In fact, the action \(\mathbb {G}\times U^*\mathbb {I}\rightarrow U^*\mathbb {I}\) of \(\mathbb {G}\) on \(U^*\mathbb {I}\) is given by \((g, i) \mapsto S(g).i\), where g is an object of \(\mathbb {G}\), i is an object of \(\mathbb {I}\) such that \(T(i)=U(e)\), and \(''.''\) is the group law of the Picard \(\mathbf {S}\)-2-stack \(\mathbb {I}\). We set \(\Psi (x) = U^*\mathbb {I}\), i.e., to be precise \(\Psi (x)\) is the equivalence class of the \(\mathbb {G}\)-torsor \(U^*\mathbb {I}\). \(\square \)

Proof of Corollary 0.2

Let \(G=[\mathbb {G}]^{\flat \flat }\) and \(P=[\mathbb {P}]^{\flat \flat }\). From Lemma 3.5, \([\mathbb {Z}[\mathbb {P}]]^{\flat \flat }={\mathbb {Z}}[P]\). By definition of \({\mathbb {Z}}[P]\), the functor \( G \rightarrow {\mathrm {Hom}}_{{\mathbb {Z}}}({\mathbb {Z}}[P],G)\) is isomorphic to the functor \( G \rightarrow G(P)=\mathrm {H}^0(P,G_P),\) with \(G_P=[\mathbb {G}_\mathbb {P}]^{\flat \flat }\). Taking the derived functors and using the homological interpretation of torsors (Thm 0.1) and of extensions of Picard \(\mathbf {S}\)-2-stacks [3, Thm 1.1], we can conclude.

6 Description of extensions of Picard 2-stacks in terms of torsors

Let \(\mathbb {P}\) and \(\mathbb {G}\) be two Picard \(\mathbf {S}\)-2-stacks. If K is a subset of a finite set E, \(p_K: \mathbb {P}^E {{\mathrm{{\rightarrow }}}}\mathbb {P}^K\) is the projection to the factors belonging to K, and \( \otimes _K: \mathbb {P}^E {{\mathrm{{\rightarrow }}}}\mathbb {P}^{E-K+1} \) is the group law \(\otimes : \mathbb {P}\times \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) on the factors belonging to K. If \(\iota \) is a permutation of the set E, \({\mathrm {Perm}}(\iota ): \mathbb {P}^E {{\mathrm{{\rightarrow }}}}\mathbb {P}^{\iota (E)}\) is the permutation of the factors according to \(\iota \). Moreover, let \(\mathsf {s}: \mathbb {P}\times \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {P}\times \mathbb {P}\) be the morphism of \(\mathbf {S}\)-2-stacks that exchanges the factors and let \(D: \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {P}\times \mathbb {P}\) be the diagonal morphism of \(\mathbf {S}\)-2-stacks.

Proposition 4.1

To have an extension \(\mathbb {E}=(\mathbb {E},I,J)\) of \(\mathbb {P}\) by \(\mathbb {G}\) is equivalent to have

  1. (1)

    a \(\mathbb {G}_\mathbb {P}\)-torsor \(\mathbb {E}\) over \(\mathbb {P}\);

  2. (2)

    a morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(M : p_1^* \; \mathbb {E}\wedge p_2^* \; \mathbb {E}{{\mathrm{{\longrightarrow }}}}\otimes ^* \; \mathbb {E}.\) Here \(\otimes ^* \; \mathbb {E}\) is the pullback of \(\mathbb {E}\) via the group law \(\otimes : \mathbb {P}\times \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) of \(\mathbb {P}\) and for \(i=1,2\), \(p_i^* \; \mathbb {E}\) is the pullback of \(\mathbb {E}\) via the i-th projection \(p_i: \mathbb {P}\times \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) (these pullbacks are pullbacks of \(\mathbf {S}\)-2-stacks in 2-groupoids according to Definition 2.14);

  3. (3)

    a 2-morphism of \(\mathbb {G}_{\mathbb {P}^3}\)-torsors \(\alpha : M \circ (M \wedge \mathrm {id}) {{\mathrm{{\Rightarrow }}}}M \circ (\mathrm {id}\wedge M);\)

  4. (4)

    a 3-morphism of \(\mathbb {G}_{\mathbb {P}^4}\)-torsors \(\mathfrak {a}: p^*_{234} \; \alpha \circ \otimes ^*_{23} \; \alpha \circ p^*_{123}\; \alpha \Rrightarrow \otimes ^*_{34}\; \alpha \circ \otimes ^*_{12} \; \alpha \) whose pullback over \(\mathbb {P}^5\) satisfies the equality

    $$\begin{aligned} \otimes _{45}^* \mathfrak {a}\circ \otimes _{23}^* \;\mathfrak {a}\circ p_{2345}^* \;\mathfrak {a}= \otimes _{12}^* \;\mathfrak {a}\circ p_{1234}^* \;\mathfrak {a}\circ \otimes _{34}^* \;\mathfrak {a}. \end{aligned}$$
    (4.1)
  5. (5)

    a 2-morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(\chi : M {{\mathrm{{\Rightarrow }}}}M \circ \mathsf {s} ;\)

  6. (6)

    a 3-morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(\mathfrak {s}: \chi \circ \chi \Rrightarrow \mathrm {id}\) satisfying the equation of 2-arrows obtained from (1.6) by replacing \(\mathsf {c}\) with \(\chi \) and \(\zeta \) with \(\mathfrak {s}\);

  7. (7)

    two 3-morphisms of \(\mathbb {G}_{\mathbb {P}^3}\)-torsors

    $$\begin{aligned} \mathfrak {c}_1&: Perm(132)^* \alpha \circ \otimes ^*_{23} \; \chi \circ \alpha \Rrightarrow p^*_{13} \; \chi \circ Perm(12)^* \alpha \circ p^*_{12} \; \chi \\ \mathfrak {c}_2&: Perm(123)^* \alpha ^{-1} \circ \otimes ^*_{12}\mathsf {s}^* \; \chi ^{-1} \circ \alpha ^{-1} \Rrightarrow p^*_{13}\mathsf {s}^* \; \chi ^{-1} \circ Perm(23)^* \alpha ^{-1} \circ p^*_{23}\mathsf {s}^* \; \chi ^{-1} \end{aligned}$$

    which satisfy the compatibility conditions obtained from (1.9), (1.10), (1.11), (1.12), (1.13) by replacing \(\zeta \) with \(\mathfrak {s}\), \(\mathfrak {h}_i\) with \(\mathfrak {c}_i\) for \(i=1,2\), and whose pullbacks over \(\mathbb {P}^4\) satisfy

    $$\begin{aligned}&Perm(12)^* \mathfrak {a}\circ p^*_{134} \; \mathfrak {c}_1 \circ \otimes _{34}^* \; \mathfrak {c}_1 \circ \mathfrak {a}\nonumber \\&\quad = p^*_{123} \; \mathfrak {c}_1 \circ Perm(132)^* \mathfrak {a}\circ Perm(1432)^* \mathfrak {a}\circ \otimes _{23}^* \; \mathfrak {c}_1. \end{aligned}$$
    (4.2)
    $$\begin{aligned}&Perm(34)^* \mathfrak {a}\circ p^*_{124} \; \mathfrak {c}_2 \circ \otimes _{12}^* \; \mathfrak {c}_2 \circ \mathfrak {a}\nonumber \\&\quad = p^*_{234} \; \mathfrak {c}_2 \circ Perm(234)^* \mathfrak {a}\circ Perm(1234)^* \mathfrak {a}\circ \otimes _{23}^* \; \mathfrak {c}_2. \end{aligned}$$
    (4.3)
  8. (8)

    a 3-morphism of \(\mathbb {G}_{\mathbb {P}}\)-torsors \(\mathfrak {p}: D^* \; \chi \Rrightarrow \mathrm {id}\) satisfying \(\mathfrak {p}*\mathfrak {p}=\mathfrak {s}\) and the compatibility condition obtained from (1.14) by replacing \(\pi \) with \(\mathfrak {a}\), \(\zeta \) with \(\mathfrak {s}\), \(\mathfrak {h}_i\) with \(\mathfrak {c}_i\) for \(i=1,2\), \(\eta \) with \(\mathfrak {p}\).

Proof

(I) Let \(\mathbb {E}=(\mathbb {E},I,J)\) be an extension of \(\mathbb {P}\) by \(\mathbb {G}\). Via the additive 2-functor \(I: \mathbb {G}{{\mathrm{{\rightarrow }}}}\mathbb {E}\), the Picard \(\mathbf {S}\)-2-stack \(\mathbb {G}\) acts on the left side and on the right side of \(\mathbb {E}\) inducing an action on the homotopy fiber \(\mathbb {E}_p\) for any object \(p \in \mathbb {P}\). Since the additive 2-functor \(J: \mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) induces a surjection \(\pi _0(J): \pi _0(\mathbb {E}) {{\mathrm{{\rightarrow }}}}\pi _0(\mathbb {P})\) on the \(\pi _0\), \(\mathbb {E}_p\) and \(\mathbb {E}_{-p}\) are non empty. Choose an object y in \(\mathbb {E}_{-p}\). Then \(y\otimes -:\mathbb {E}_p {{\mathrm{{\rightarrow }}}}\mathbb {K}{\mathrm {er}}(J)(U)\) is a biequivalence. Hence, \(\mathbb {E}\) is a \(\mathbb {G}_\mathbb {P}\)-torsor over \(\mathbb {P}\) (1). The group law \(\otimes : \mathbb {E}\times \mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {E}\) of \(\mathbb {E}\) furnishes a morphism of \(\mathbf {S}\)-2-stacks \(p_1^* \; \mathbb {E}\times p_2^* \; \mathbb {E}{{\mathrm{{\rightarrow }}}}\otimes ^* \; \mathbb {E}\) over \(\mathbb {P}\times \mathbb {P}\). The existence for any \(g \in \mathbb {G}\) and \(a,b \in \mathbb {E}\) of the associativity constraint \(\mathsf {a}_{(a,g,b)}: (ag) b \rightarrow a(g b)\) implies that this morphism of \(\mathbf {S}\)-2-stacks \(p_1^* \; \mathbb {E}\times p_2^* \; \mathbb {E}{{\mathrm{{\rightarrow }}}}\otimes ^* \; \mathbb {E}\) factorizes via the contracted product \(M : p_1^* \; \mathbb {E}\wedge p_2^* \; \mathbb {E}{{\mathrm{{\rightarrow }}}}\otimes ^* \; \mathbb {E}\). The existence for any \(g \in \mathbb {G}\) and \(a,b \in \mathbb {E}\) of the associativity constraints \(\mathsf {a}_{(g,a,b)}: (ga) b \rightarrow g(a b)\) and \(\mathsf {a}_{(a,b,g)}: (ab) g \rightarrow a(b g)\) implies that the morphism of \(\mathbf {S}\)-2-stacks \(M : p_1^* \; \mathbb {E}\wedge p_2^* \; \mathbb {E}{{\mathrm{{\rightarrow }}}}\otimes ^* \; \mathbb {E}\) is in fact a morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors once we consider on \(p_1^* \; \mathbb {E}\wedge p_2^* \; \mathbb {E}\) the following structure of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors: the left (resp. right) action of \(\mathbb {G}_{\mathbb {P}^2}\) on \(p_1^* \; \mathbb {E}\wedge p_2^* \; \mathbb {E}\) comes from the left (resp. right) action of \(\mathbb {G}_{\mathbb {P}^2}\) on \(p_1^* \; \mathbb {E}\) (resp. \( p_2^* \; \mathbb {E}\)) (2). Now the associativity \(\mathsf {a}:\otimes \circ (\otimes \times \mathrm {id}_\mathbb {E}) {{\mathrm{{\Rightarrow }}}}\otimes \circ (\mathrm {id}_\mathbb {E}\times \otimes )\) implies the 2-morphism of \(\mathbb {G}_{\mathbb {P}^3}\)-torsors \(\alpha : M \circ (M \wedge \mathrm {id}) {{\mathrm{{\Rightarrow }}}}M \circ (\mathrm {id}\wedge M)\) over \(\mathbb {P}\times \mathbb {P}\times \mathbb {P}\) (3). The modification \(\pi \) (1.1), satisfying the coherence axiom of Stasheff’s polytope (1.5), is equivalent to the 3-morphism of \(\mathbb {G}_{\mathbb {P}^4}\)-torsors \(\mathfrak {a}\) satisfying the equality (4.1) (4). The braiding \(\mathsf {c}: \otimes \circ \mathsf {s} {{\mathrm{{\Rightarrow }}}}\otimes \) furnishes the 2-morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(\chi : M {{\mathrm{{\Rightarrow }}}}M \circ \mathsf {s} \) over \(\mathbb {P}\times \mathbb {P}\) (5). The modification \(\zeta \) (1.2), satisfying the coherence condition (1.6), is equivalent to the 3-morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(\mathfrak {s}\) with its coherence condition (6). The modifications \(\mathfrak {h}_1\) and \(\mathfrak {h}_2\) (1.3), satisfying the compatibility conditions (1.7), (1.8), (1.9), (1.10), (1.11), (1.12), (1.13), are equivalent to the 3-morphisms of \(\mathbb {G}_{\mathbb {P}^3}\)-torsors \(\mathfrak {c}_1\) and \(\mathfrak {c}_2\) with their compatibility conditions (7) (remark that condition (1.7) corresponds to (4.2) and condition (1.8) corresponds to (4.3)). Finally, the modification \(\eta \) (1.4), satisfying \(\eta *\eta =\zeta \) and the compatibility condition (1.14), is equivalent to the 3-morphism of \(\mathbb {G}_{\mathbb {P}}\)-torsors \(\mathfrak {p}\) with its compatibility conditions (8).

(II) Now suppose we have the data \((\mathbb {E},M,\alpha ,\mathfrak {a},\chi ,\mathfrak {s},\mathfrak {c}_1,\mathfrak {c}_2)\) given in (1)–(8). The morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(M : p_1^* \; \mathbb {E}\wedge p_2^* \; \mathbb {E}{{\mathrm{{\longrightarrow }}}}\otimes ^* \; \mathbb {E}\) over \(\mathbb {P}\times \mathbb {P}\) defines a group law \(\otimes : \mathbb {E}\times \mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {E}\) on the \(\mathbf {S}\)-2-stack of 2-groupoids \(\mathbb {E}\). The data \(\alpha \) and \(\chi \) furnish the associativity \(\mathsf {a}:\otimes \circ (\otimes \times \mathrm {id}_\mathbb {E}) {{\mathrm{{\Rightarrow }}}}\otimes \circ (\mathrm {id}_\mathbb {E}\times \otimes )\) and the braiding \(\mathsf {c}: \otimes \circ \mathsf {s} {{\mathrm{{\Rightarrow }}}}\otimes \) which express, respectively, the associativity and the commutativity constraints of the group law \(\otimes \) of \(\mathbb {E}\). As already observed in (I), the data \(\mathfrak {a},\mathfrak {s},\mathfrak {c}_1,\mathfrak {c}_2,\mathfrak {p}\) give, respectively, the modifications of \(\mathbf {S}\)-2-stacks \(\pi \) (1.1), \(\zeta \) (1.2), \(\mathfrak {h}_1\), \(\mathfrak {h}_2\) (1.3), \(\eta \) (1.4), with their coherence and compatibility conditions. Since any morphism of \(\mathbb {G}\)-torsors is an equivalence of \(\mathbf {S}\)-2-stacks, the morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(M: p_1^* \; \mathbb {E}\wedge p_2^* \; \mathbb {E}{{\mathrm{{\longrightarrow }}}}\otimes ^* \; \mathbb {E}\) implies that for any object \(a \in \mathbb {E}\), the left multiplication by a, \(a \otimes -:\mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {E},\) is an equivalence of \(\mathbf {S}\)-2-stacks. By [16] this property of the left multiplication to be an equivalence implies that \(\mathbb {E}\) admits a global neutral object e and that any object of \(\mathbb {E}\) admits an inverse.

If \(J: \mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) denotes the morphism of \(\mathbf {S}\)-2-stacks underlying the structure of \(\mathbb {G}_\mathbb {P}\)-torsor over \(\mathbb {P}\), J must be a surjection on the equivalence classes of objects, i.e., \(\pi _0(J): \pi _0(\mathbb {E}) \rightarrow \pi _0(\mathbb {P})\) is surjective. Moreover, the compatibility of J with the morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(M : p_1^* \; \mathbb {E}\wedge p_2^* \; \mathbb {E}{{\mathrm{{\longrightarrow }}}}\otimes ^* \; \mathbb {E}\) over \(\mathbb {P}\times \mathbb {P}\) implies that J is an additive 2-functor. There is a global equivalence of \(\mathbb {G}\)-torsors between \(\mathbb {G}\) and the pullback \( \mathbf {0}^*\mathbb {E}\) of \(\mathbb {E}\) via \(\mathbf {0}: \mathbf {0} \rightarrow \mathbb {P}\) which is given by sending the global neutral object \(0_{\mathbb {G}}\) of \(\mathbb {G}\) to the global neutral object \((0_{\mathbb {P}},\ell ,0_{\mathbb {E}})\) of \(\mathbf {0}^*\mathbb {E}\), where \(\ell \) is the 1-arrow \(0_{\mathbb {P}} {{\mathrm{{\rightarrow }}}}J(0_{\mathbb {E}}) \) in \(\mathbb {P}\). Let I be the composite \(\mathbb {G}\cong \mathbf {0}^*\mathbb {E}= \mathbb {K}{\mathrm {er}}(J) {{\mathrm{{\rightarrow }}}}\mathbb {E}\). Clearly I is an additive 2-functor. We can conclude that \((\mathbb {E}, I,J)\) is an extension of \(\mathbb {P}\) by \(\mathbb {G}\). \(\square \)

As a consequence of this Proposition, we get Theorem 0.3.

7 Right resolution of \(\mathcal {E}\mathrm {xt}(\mathbb {P},\mathbb {G})\)

A cochain complex of Picard \(\mathbf {S}\)-2-stacks \( \ldots \rightarrow \mathbb {L}^{i-1} \mathop {\rightarrow }\limits ^{D^{i-1}} \mathbb {L}^{i} \mathop {\rightarrow }\limits ^{D^{i}} \mathbb {L}^{i+1} \mathop {\rightarrow }\limits ^{D^{i+1}} \ldots ,\) consists of Picard \(\mathbf {S}\)-2-stacks \(\mathbb {L}^i\) for \(i \in \mathbb {Z}\), additive 2-functors \(D^i: \mathbb {L}^i {{\mathrm{{\rightarrow }}}}\mathbb {L}^{i+1}\), morphisms of additive 2-functors \(\partial ^i: D^{i+1} \circ D^i {{\mathrm{{\Rightarrow }}}}0\), and modifications of morphisms of additive 2-functors

(5.1)

which satisfy the following equation of modifications: the pasting of the modifications

is equal to the pasting of the modifications in the diagram below

Let \(\mathbb {G}\) be a Picard \(\mathbf {S}\)-2-stack and let \( \mathbb {L}^{.}: 0 \rightarrow \mathbb {T}\mathop {\rightarrow }\limits ^{D^{\mathbb {T}}} \mathbb {S}\mathop {\rightarrow }\limits ^{D^{\mathbb {S}}} \mathbb {R}\mathop {\rightarrow }\limits ^{D^{\mathbb {R}}} \mathbb {Q}\mathop {\rightarrow }\limits ^{D^{\mathbb {Q}}} \mathbb {P}\rightarrow 0\) be a complex of Picard \(\mathbf {S}\)-2-stacks with \(\mathbb {P}\), \(\mathbb {Q}\), \(\mathbb {R}\), \(\mathbb {S}\), and \(\mathbb {T}\) in degrees 0,-1, -2, -3, and -4, respectively. To the complex \(\mathbb {L}^{.}\) and to \(\mathbb {G}\), we associate a 3-category \(\Psi _{\mathbb {L}^{.}}(\mathbb {G})\) which we can see as the 3-category of extensions of complexes of Picard \(\mathbf {S}\)-2-stacks of \(\mathbb {L}^{.}\) by \(\mathbb {G}\), considering \(\mathbb {G}\) as a complex concentrated in degree 0. This 3-category is a generalization to Picard \(\mathbf {S}\)-2-stacks of the one introduced by Grothendieck in [12] for abelian sheaves.

Definition 5.1

Let \(\Psi _{\mathbb {L}^{.}}(\mathbb {G})\) be the 3-category

  • whose objects are pairs \((\mathbb {E},T)\) where \(\mathbb {E}=(I:\mathbb {G}{{\mathrm{{\rightarrow }}}}\mathbb {E},\mathbb {E},J:\mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {P},\varepsilon )\) is an extension of \(\mathbb {P}\) by \(\mathbb {G}\) and \(T=(T,\mu ,\Upsilon )\) is a trivialization of the extension \((D^{\mathbb {Q}})^*\mathbb {E}\) of \(\mathbb {Q}\) by \(\mathbb {G}\) obtained as pullback of \(\mathbb {E}\) via \(D^{\mathbb {Q}}: \mathbb {Q}\rightarrow \mathbb {P}\). We require that the trivialization T is compatible with the complex \(\mathbb {L}^{.}\), i.e., it satisfies the following conditions:

    1. (1)

      the trivialization \((D^{\mathbb {R}})^*T\) of \((D^{\mathbb {R}})^* (D^{\mathbb {Q}})^*\mathbb {E}\) is the trivialization arising from the equivalence of transitivity \( (D^\mathbb {R})^* (D^\mathbb {Q})^* \mathbb {E}\cong (D^\mathbb {Q}\circ D^\mathbb {R})^*\mathbb {E}\) and from the morphism of additive 2-functors \(\partial ^\mathbb {R}: D^\mathbb {Q}\circ D^\mathbb {R}\Rightarrow 0\);

    2. (2)

      the morphism of additive 2-functor \((D^\mathbb {S})^* (D^\mathbb {R})^* T \Rightarrow 0\) arises from the 2-isomorphism of transitivity \( (D^\mathbb {S})^* (D^\mathbb {R})^* T \cong (D^\mathbb {R}\circ D^\mathbb {S})^*T\) and from the morphism of additive 2-functors \(\partial ^\mathbb {S}: D^\mathbb {R}\circ D^\mathbb {S}\Rightarrow 0\);

    3. (3)

      the morphism of additive 2-functor \((D^\mathbb {T})^* (D^\mathbb {S})^* (D^\mathbb {R})^* T \Rightarrow 0\) is compatible with the modification of morphisms of additive 2-functors \(\Delta _{(\mathbb {T},\mathbb {S},\mathbb {R})}\) (5.1) underlying the complex \( \mathbb {L}^{.}\).

  • whose 1-arrows are given by triplets \((F,\sigma , \Sigma ): (\mathbb {E},T) {{\mathrm{{\rightarrow }}}}(\mathbb {E}',T')\) where \(F:\mathbb {E}{{\mathrm{{\rightarrow }}}}\mathbb {E}'\) is a morphism of extensions of Picard \(\mathbf {S}\)-2-stacks (inducing the identity on \(\mathbb {G}\) and \(\mathbb {P}\)), \(\sigma : F \circ T \Rightarrow T'\) is a morphism of additive 2-functors, and \(\Sigma \) is a modification of morphisms of additive 2-functors

  • whose 2-arrows are pairs \((\alpha , \Omega ): (F,\sigma , \Sigma ) \Rightarrow (F',\sigma ', \Sigma ')\) where \(\alpha : F {{\mathrm{{\Rightarrow }}}}F'\) is a 2-morphism of extensions of Picard \(\mathbf {S}\)-2-stacks, \(\Omega : \sigma ' \circ \alpha {{\mathrm{{\Rrightarrow }}}}\sigma \) is a modification of morphisms of additive 2-functors which is compatible with the modifications \(\Sigma \) and \(\Sigma '\).

  • whose 3-arrows \(\Delta : (\alpha , \Omega ) {{\mathrm{{\Rrightarrow }}}}(\alpha ', \Omega ') \) are 3-morphisms of extensions of Picard \(\mathbf {S}\)-2-stacks \(\Delta : \alpha {{\mathrm{{\Rrightarrow }}}}\alpha '\) which are compatible with the modifications \(\Omega \) and \(\Omega '\).

For the notion of i-morphism of extensions of Picard \(\mathbf {S}\)-2-stacks (\(i=1,2,3\)), we refer to [3, §5].

Let \(\Psi _{\mathbb {L}^{.}}^1(\mathbb {G})\) be the abelian group of equivalence classes of objects of \(\Psi _{\mathbb {L}^{.}}(\mathbb {G})\) (its abelian group law is furnished by the sum of extensions of Picard \(\mathbf {S}\)-2-stack [3, Def 7.4]). For \(i=0,-1,-2\) let \(\Psi _{\mathbb {L}^{.}}^i(\mathbb {G})\) be the abelian homotopy group \(\pi _{-i}(\mathbb {H}\mathrm {om}_{\Psi _{\mathbb {L}^{.}}(\mathbb {G})}((\mathbb {E},T),(\mathbb {E},T)))\) of the hom-2-groupoid \(\mathbb {H}\mathrm {om}_{\Psi _{\mathbb {L}^{.}}(\mathbb {G})}((\mathbb {E},T),(\mathbb {E},T))\) of morphisms of an object \((\mathbb {E},T)\) of \(\Psi _{\mathbb {L}^{.}}(\mathbb {G})\) to itself (since \(\mathbb {H}\mathrm {om}_{\Psi _{\mathbb {L}^{.}}(\mathbb {G})}((\mathbb {E},T),(\mathbb {E},T))\) is equivalent to the homotopy kernel \(\mathbb {K}{\mathrm {er}}\big (D^\mathbb {Q}:{\mathbb {H}\mathrm {om}}(\mathbb {P},\mathbb {G}) \rightarrow {\mathrm {Hom}}(\mathbb {Q},\mathbb {G})\big )\), it is endowed with a Picard \(\mathbf {S}\)-2-stack structure and its homotopy groups are abelian groups). Generalizing [1, Thm 8.2] to Picard \(\mathbf {S}\)-2-stacks, we have the following homological description of \(\Psi _{\mathbb {L}^{.}}^i(\mathbb {G})\):

$$\begin{aligned} \Psi _{\mathbb {L}^.}^i(\mathbb {G}) \cong {\mathrm {Ext}}^i\big ({{\mathrm {Tot}}}([\mathbb {L}^.]),[\mathbb {G}]\big )= {\mathrm {Hom}}_{\mathcal {D}(\mathbf {S})}\big ({{\mathrm {Tot}}}([\mathbb {L}^.]),[\mathbb {G}][i]\big ) \qquad i=-2,-1,0,1. \end{aligned}$$
(5.2)

In general, additive 2-functors do not correspond to morphisms of complexes. To simplify the computation of the isomorphisms (5.2), we assume that the additive 2-functors of the complex \( \mathbb {L}^.\) arise from morphisms of length 3 complexes (we have proceeded in this way also in [1]). This is not restrictive since if \(\mathbb {P}\) is a Picard \(\mathbf {S}\)-2-stack, Lemma 3.5 furnishes an explicit description of the length 3 complex associated with \({\mathbb {Z}}[\mathbb {P}]\), and this allows us to define degree-wise the differentials \(D_i\) underlying the complex \(\mathbb {L}.(\mathbb {P})\) of Corollary 0.4, i.e., the differentials \(D_i\) (0.3) are in fact morphisms of complexes.

Let \( \mathbb {L}^{.}: 0 \rightarrow \mathbb {T}\mathop {\rightarrow }\limits ^{D^{\mathbb {T}}} \mathbb {S}\mathop {\rightarrow }\limits ^{D^{\mathbb {S}}} \mathbb {R}\mathop {\rightarrow }\limits ^{D^{\mathbb {R}}} \mathbb {Q}\mathop {\rightarrow }\limits ^{D^{\mathbb {Q}}} \mathbb {P}\rightarrow 0\) and \( \mathbb {L}^{'.}: 0 \rightarrow \mathbb {T}' \mathop {\rightarrow }\limits ^{D^{\mathbb {T}'}} \mathbb {S}' \mathop {\rightarrow }\limits ^{D^{\mathbb {S}'}} \mathbb {R}' \mathop {\rightarrow }\limits ^{D^{\mathbb {R}'}} \mathbb {Q}' \mathop {\rightarrow }\limits ^{D^{\mathbb {Q}'}} \mathbb {P}' \rightarrow 0\) be two complexes of Picard \(\mathbf {S}\)-2-stacks with \(\mathbb {P}, \mathbb {P}'\) in degree 0, \(\mathbb {Q}, \mathbb {Q}'\) in degree -1, \(\mathbb {R}, \mathbb {R}'\) in degree -2, \(\mathbb {S}, \mathbb {S}'\) in degree -3, and \(\mathbb {T}, \mathbb {T}'\) in degree -4. For any Picard \(\mathbf {S}\)-2-stack \(\mathbb {G}\), a morphism \(F^{.}=(F^{-4},F^{-3},F^{-2},F^{-1},F^0): \mathbb {L}^{'.} \rightarrow \mathbb {L}^{.} \) of complexes of Picard \(\mathbf {S}\)-2-stacks induces a canonical 3-functor \((F^{.})^*: \Psi _{\mathbb {L}^{.}} (\mathbb {G})\rightarrow \Psi _{ \mathbb {L}^{'.}}(\mathbb {G}):\) if \((\mathbb {E},T)\) is object of \(\Psi _{\mathbb {L}^{.}}(\mathbb {G})\), we set \((F^.)^*(\mathbb {E},T)=((F^0)^*\mathbb {E},(F^{-1})^*T)\) with \((F^0)^*\mathbb {E}\) the extension of \(\mathbb {P}'\) by \(\mathbb {G}\) obtained as pullback of \(\mathbb {E}\) via \(F^0: \mathbb {P}' \rightarrow \mathbb {P}\), and \((F^{-1})^*T \) the trivialization of \((D^{\mathbb {Q}'})^*(F^0)^*\mathbb {E}\) induced by the trivialization T of \((D^{\mathbb {Q}})^*\mathbb {E}\).

Lemma 5.2

The 3-functor \((F^{.})^* :\Psi _{\mathbb {L}^{.}} (\mathbb {G})\rightarrow \Psi _{ \mathbb {L}^{'.}}(\mathbb {G})\) is a tri-equivalence if and only if \(\mathrm {H}^i({\mathrm {Tot}}(F^{.})) : \mathrm {H}^i({\mathrm {Tot}}([\mathbb {L}^{'.}]^{\flat \flat })) \rightarrow \mathrm {H}^i({\mathrm {Tot}}([\mathbb {L}^{.}]^{\flat \flat }))\) is an isomorphism for any i.

Proof

For \(i=-2,-1,0,1\), we have the following commutative diagram

$$\begin{aligned} \begin{array}{ccc} \Psi _{\mathbb {L}^.}^i(\mathbb {G})&{}\rightarrow &{}{\mathrm {Ext}}^i\big ({{\mathrm {Tot}}}([\mathbb {L}^.]),[\mathbb {G}]\big )\\ \downarrow &{} &{} \downarrow \\ \Psi _{\mathbb {L}'^.}^i(\mathbb {G})&{} \rightarrow &{} {\mathrm {Ext}}^i\big ({{\mathrm {Tot}}}([\mathbb {L}'^.]),[\mathbb {G}]\big ), \end{array} \end{aligned}$$

where the vertical arrow on the left side is induced by the 3-functor \((F^.)^*: \Psi _{\mathbb {L}^.}(\mathbb {G}) \rightarrow \Psi _{\mathbb {L}'^.}(\mathbb {G})\), the vertical arrow on the right side is induced by the morphism of complexes \(F^.: \mathbb {L}'^. \rightarrow \mathbb {L}^.\), and the horizontal arrows are isomorphisms (5.2). The 3-functor \((F^.)^*: \Psi _{\mathbb {L}^.}(\mathbb {G}) \rightarrow \Psi _{\mathbb {L}'^.}(\mathbb {G})\) is a tri-equivalence if and only if the vertical arrow on the left side is an isomorphism for \(i=-2,-1,0,1\). Hence we are reduced to prove that the vertical arrow on the right side is an isomorphism for \(i=-2,-1,0,1\) if and only if \({\mathrm {H}}^i\big ({{\mathrm {Tot}}}(F^.)\big ):{\mathrm {H}}^i\big ({{\mathrm {Tot}}}([\mathbb {L}'^.])\big ) \rightarrow {\mathrm {H}}^i\big ({{\mathrm {Tot}}}([\mathbb {L}^.])\big )\) are isomorphisms for each i. This last assertion is clearly true. \(\square \)

Now we switch from cohomological to homological notation. To any Picard \(\mathbf {S}\)-2-stack \(\mathbb {P}\), we associate the complex \(\mathbb {L}.(\mathbb {P})\) of Picard \(\mathbf {S}\)-2-stacks which is defined in Corollary 0.4. Let \(\mathbb {G}\) be a Picard \(\mathbf {S}\)-2-stack. We have the following geometrical description of the 3-category \(\Psi _{\mathbb {L}.(\mathbb {P})}(\mathbb {G})\):

Proposition 5.3

The 3-category \({\mathcal {E}\mathrm {xt}}(\mathbb {P},\mathbb {G})\) of extensions of \(\mathbb {P}\) by \(\mathbb {G}\) is tri-equivalent to the 3-category \(\Psi _{\mathbb {L}.(\mathbb {P})}(\mathbb {G})\).

Proof

By Corollary 0.2, an object \((\mathbb {E},T)\) of \(\Psi _{\mathbb {L}.(\mathbb {P})}(\mathbb {G})\) consists of a \(\mathbb {G}_\mathbb {P}\)-torsor \(\mathbb {E}\) and a trivialization T of the \(\mathbb {G}_{\mathbb {P}^2}\)-torsor \(D_2^*\mathbb {E}\) obtained as pullback of \(\mathbb {E}\) via \(D_2\). This trivialization can be interpreted as a morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(M: p_1^* \; \mathbb {E}\wedge p_2^* \; \mathbb {E}{{\mathrm{{\rightarrow }}}}\otimes ^* \; \mathbb {E}\), where \(p_i: \mathbb {P}\times \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) is the i-th projection of \(\mathbb {P}\times \mathbb {P}\) on \( \mathbb {P}\) and \( \otimes : \mathbb {P}\times \mathbb {P}{{\mathrm{{\rightarrow }}}}\mathbb {P}\) is the group law of \( \mathbb {P}\).

Concerning the compatibility between the trivialization T and the complex \(\mathbb {L}.(\mathbb {P})\), we have:

  1. (1)

    through the two torsors over \(\mathbb {P}^3\) and \(\mathbb {P}^2\), the compatibility of T with \(\partial _1: D_2 \circ D_3 {{\mathrm{{\Rightarrow }}}}0 \) imposes on the data \(\mathbb {E}\) and M the 2-morphism of \(\mathbb {G}_{\mathbb {P}^3}\)-torsors \(\alpha \) described in Proposition 4.1 (3) and the 2-morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(\chi \) described in Proposition 4.1 (5);

  2. (2)

    through the five torsors over \(\mathbb {P}^4,\mathbb {P}^3,\mathbb {P}^3,\mathbb {P}^2\) and \(\mathbb {P}\), the compatibility between \(D_4^* D_3^* T {{\mathrm{{\Rightarrow }}}}0 \) and \(\partial _2: D_3 \circ D_4 {{\mathrm{{\Rightarrow }}}}0 \) imposes on the data \(\alpha \) and \(\chi \) the 3-morphism of \(\mathbb {G}_{\mathbb {P}^4}\)-torsors \(\mathfrak {a}\), the two 3-morphisms of \(\mathbb {G}_{\mathbb {P}^3}\)-torsors \(\mathfrak {c}_1\) and \(\mathfrak {c}_2\) and the 3-morphism of \(\mathbb {G}_{\mathbb {P}^2}\)-torsors \(\mathfrak {s}\) and the 3-morphism of \(\mathbb {G}_{\mathbb {P}}\)-torsors \(\mathfrak {p}\), which are described, respectively, in Proposition 4.1 (4), (7), (6) and (8);

  3. (3)

    through the ten torsors over \(\mathbb {P}^5, \mathbb {P}^4, \mathbb {P}^4, \mathbb {P}^4, \mathbb {P}^3, \mathbb {P}^3, \mathbb {P}^3, \mathbb {P}^2, \mathbb {P}\), and \(\mathbb {P}^2\), the compatibility between \(D_5^*D_4^* D_3^* T {{\mathrm{{\Rightarrow }}}}0 \) and \(\Delta _{(D_3, D_4,D_5)} \) imposes on the datum \(\mathfrak {a}\) equality (4.1), on the data \(\mathfrak {c}_1, \mathfrak {c}_2\) the equalities (4.2), (4.3) and the compatibility condition obtained from (1.13) by replacing \(\zeta \) with \(\mathfrak {s}\), \(\mathfrak {h}_i\) with \(\mathfrak {c}_i\) (for \(i=1,2\)), on the datum \(\mathfrak {s}\) the equation of 2-arrows obtained from (1.6) by replacing \(\mathsf {c}\) with \(\chi \) and \(\zeta \) with \(\mathfrak {s}\), and finally on the datum \(\mathfrak {p}\) the equality \(\mathfrak {p}*\mathfrak {p}=\mathfrak {s}\) and the compatibility condition obtained from (1.14) by replacing \(\pi \) with \(\mathfrak {a}\), \(\zeta \) with \(\mathfrak {s}\), \(\mathfrak {h}_i\) with \(\mathfrak {c}_i\) (for \(i=1,2\)), \(\eta \) with \(\mathfrak {p}\).

Hence by Proposition 4.1 the object \((\mathbb {E},M,\alpha ,\mathfrak {a},\chi ,\mathfrak {s},\mathfrak {c}_1,\mathfrak {c}_2)\) of \(\Psi _{\mathbb {L}.(\mathbb {P})}(\mathbb {G})\) is an extension of \(\mathbb {P}\) by \(\mathbb {G}\). The remaining details are left to the reader. \(\square \)

Proof of Corollary 0.4

Consider the morphism of complexes \(\epsilon . : \mathbb {L}.(\mathbb {P}) {{\mathrm{{\rightarrow }}}}\mathbb {P}\) defined by the additive 2-functor \(\epsilon : {\mathbb {Z}}[\mathbb {P}] {{\mathrm{{\rightarrow }}}}\mathbb {P}, \epsilon ([p])=p\) for any \(p \in \mathbb {P}\) (here we consider \(\mathbb {P}\) as a complex concentrated in degree 0). Since by definition \(\Psi _{\mathbb {P}} (\mathbb {G})\) is tri-equivalent to \({\mathcal {E}\mathrm {xt}}(\mathbb {P},\mathbb {G})\), Proposition 5.3 implies that the 3-functor \((\epsilon .)^*: \Psi _{\mathbb {P}} (\mathbb {G}) \rightarrow \Psi _{\mathbb {L}.(\mathbb {P})} (\mathbb {G})\) is a tri-equivalence. Hence by Lemma 5.2, \(\mathrm {H}_i({\mathrm {Tot}}(\epsilon .)):\mathrm {H}_i({\mathrm {Tot}}([\mathbb {L}.(\mathbb {P})]^{\flat \flat })) \rightarrow \mathrm {H}_i({\mathrm {Tot}}([\mathbb {P}]^{\flat \flat }))\) is an isomorphism for any i.

Before to prove Corollary 0.5, let’s first state the exactness in \(2\mathcal {P}{\textsc {icard}}(\mathbf {S})\). A 2-functor \(F:\mathbb {A}{{\mathrm{{\rightarrow }}}}\mathbb {B}\) is

  • essentially surjective if for any object x of \(\mathbb {B}\), there exists an object a of \(\mathbb {A}\) so that F(a) is equivalent to x;

  • full if for any two objects ab of \(\mathbb {A}\), the functor \(F_{(a,b)}:H_{\mathbb {A}}(a,b) {{\mathrm{{\rightarrow }}}}H_{\mathbb {B}}(Fa,Fb)\) is essentially surjective and full.

Thus we say that a cochain complex of Picard Picard \(\mathbf {S}\)-2-stacks \(\ldots \rightarrow \mathbb {L}^{i-1} \mathop {\rightarrow }\limits ^{D^{i-1}} \mathbb {L}^{i} \mathop {\rightarrow }\limits ^{D^{i}} \mathbb {L}^{i+1} \mathop {\rightarrow }\limits ^{D^{i+1}} \ldots \) is exact at \(\mathbb {L}^i\) if the additive 2-functor \(\tilde{D}^{i-1}: \mathbb {L}^{i-1} {{\mathrm{{\rightarrow }}}}\mathbb {K}{\mathrm {er}}(D^i)\) is full and essentially surjective. We notice that we will work in \(2\mathcal {P}{\textsc {icard}}^{\flat \flat }(\mathbf {S})\), so the notion of essentially surjective and full will be more strict. Upon defining correct notions of full and essentially surjective, one can generalize this definition to definition of exactness in \(3{\mathcal {P}\textsc {icard}^{\flat \flat \flat }(\mathbf {S})}\).

Sketch of the proof of Corollary 0.5

We have to show that the long sequence

$$\begin{aligned} 0&{{\mathrm{{\rightarrow }}}}\mathcal {E}\mathrm {xt}(\mathbb {G},\mathbb {P}) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{U} \textsc {Tors}(\mathbb {G}_\mathbb {P}) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_2^*} \textsc {Tors}(\mathbb {G}_{\mathbb {P}^2}) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_3^*} \textsc {Tors}(\mathbb {G}_{\mathbb {P}^3}) \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^2}) \mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_4^* }...\\ ...&\mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_4^* } \textsc {Tors}(\mathbb {G}_{\mathbb {P}^4}) \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^3})^2 \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^2}) \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}})\mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_5^* } ... \\ ...&\mathop {{{\mathrm{{\rightarrow }}}}}\limits ^{D_5^* } \textsc {Tors}(\mathbb {G}_{\mathbb {P}^5}) \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^4})^3 \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^3})^3 \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^2}) \times \\&\textsc {Tors}(\mathbb {G}_{\mathbb {P}}) \times \textsc {Tors}(\mathbb {G}_{\mathbb {P}^2}) {{\mathrm{{\rightarrow }}}}0, \end{aligned}$$

where U is the forgetful functor and \(D_i^* \) denotes the pullback via the differential operator \(D_i\), is exact:

  • Exactness in \({\mathcal {E}\mathrm {xt}}(\mathbb {P},\mathbb {G})\): By Theorem 0.3, an object in \(\mathcal {E}\mathrm {xt}(\mathbb {G},\mathbb {P})\) is an object in \(\mathcal {E}\mathrm {xt}(\mathbb {Z}[\mathbb {G}],\mathbb {P})\) with some extra structure. Therefore, we can define U as the 2-functor that sends an extension to itself and forgets the extra structure. Then the 2-functor \(0 {{\mathrm{{\rightarrow }}}}\mathbb {K}{\mathrm {er}}(U)\) is clearly essentially surjective and full.

  • Exactness in \(\textsc {Tors}(\mathbb {G}_\mathbb {P})\): We need to show that \( \tilde{U} :\mathcal {E}\mathrm {xt}(\mathbb {G},\mathbb {P}) {{\mathrm{{\rightarrow }}}}\mathbb {K}{\mathrm {er}}(D_0^* )\) is essentially surjective and full. Let \(\mathbb {E}\) be an object in \(\mathcal {E}\mathrm {xt}(\mathbb {Z}[\mathbb {G}],\mathbb {P})\) whose pullback via \(D_2\) becomes trivial, i.e., \(D_2^*\mathbb {E}\) is endowed with a trivialization T. Then \((\mathbb {E}, T)\) is an object in \(\Psi _{\mathbb {L}.(\mathbb {P})}(\mathbb {G})\). By Proposition 5.3, there exists an object \(\mathbb {E}'\) in \(\mathcal {E}\mathrm {xt}(\mathbb {G},\mathbb {P})\) so that \(\tilde{U}(\mathbb {E}')=\mathbb {E}\). This shows that \( \tilde{U}\) is essentially surjective.

  • Exactness at the other terms follows from the free resolution of the Picard 2-stack computed in Corollary 0.4.

8 Example: higher extensions of abelian sheaves

8.1 The canonical free resolution \(\mathbb {L}.(-)\) in the case of an abelian sheaf

Here we take a closer look at the resolution \(\mathbb {L}.(\mathbb {P})\) given in Corollary 0.4 when the Picard \(\mathbf {S}\)-2-stack \(\mathbb {P}\) is an abelian sheaf P. In this case, we denote \(\mathbb {L}.(\mathbb {P})\) by L.(P).

In [10], Eilenberg and MacLane attach to any abelian group G a complex of free abelian groups A(G). As explained in [8], Eilenberg and MacLane’s construction extends by functoriality to abelian sheaves. If P is an abelian sheaf, the entries of the Eilenberg and MacLane’s complex A(P) in lower degrees are

$$\begin{aligned} A(P)_i&=0, \mathrm {~for~}i \le 0;\\ A(P)_1&=\mathbb {Z}[P];\\ A(P)_2&=\mathbb {Z}[P^2];\\ A(P)_3&=\mathbb {Z}[P^3]\oplus \mathbb {Z}[P^2];\\ A(P)_4&=\mathbb {Z}[P^4]\oplus \mathbb {Z}[P^3]\oplus \mathbb {Z}[P^3] \oplus \mathbb {Z}[P^2];\\ A(P)_5&=\mathbb {Z}[P^5]\oplus \mathbb {Z}[P^4]\oplus \mathbb {Z}[P^4] \oplus \mathbb {Z}[P^4]\oplus \mathbb {Z}[P^3]\oplus \mathbb {Z}[P^3] \oplus \mathbb {Z}[P^3]\oplus \mathbb {Z}[P^2] \end{aligned}$$

where the differentials \(\partial _i: A(P)_i {{\mathrm{{\rightarrow }}}}A(P)_{i-1}\) defined on the generators are

$$\begin{aligned} \partial _1&=0;\\ \partial _2[p |_1 q]&= [p+q] -[p]-[q];\nonumber \\ \partial _3[p |_2 q]&= [p |_1 q] -[q |_1 p];\nonumber \\ \partial _3[p |_1 q |_1r]&= [p+q |_1 r] -[p |_1 q+r]+[p |_1 q]-[q |_1 r];\nonumber \\ \partial _4[p |_1 q |_1 r |_1 s]&= [p |_1 q |_1 r] +[p |_1 q+r |_1 s]+[q |_1 r |_1 s] -[p+q |_1 r |_1 s] -[p |_1 q |_1 r+s ];\nonumber \\ \partial _4[p |_2 q |_1 r]&= [q |_1 r |_1 p] +[p |_2 q+r]+[p |_1 q |_1 r]-[q |_1 p |_1 r]-[p |_2 q]-[p |_2 r];\nonumber \\ \partial _4[p |_1 q |_2 r]&= [p |_1 r |_1 q] +[p+q |_2 r]-[p |_1 q |_1 r]-[r |_1 p |_1 q]-[p |_2 r]-[q |_2 r];\nonumber \\ \partial _4[p |_3 q]&=-[p |_2 q]-[q |_2 p];\nonumber \\ \partial _5[p |_1 q |_1 r |_1 s |_1 t]&=[q |_1 r |_1 s |_1 t]+[p |_1 q+r |_1 s |_1 t]+[p |_1 q |_1 r |_1 s+t] -[p |_1 q |_1 r+s |_1 t] \nonumber \\&\quad -[p |_1 q |_1 r |_1 s]-[p+q |_1 r |_1 s |_1 t];\nonumber \\ \partial _5[p |_2 q |_1 r |_1 s]&=[p |_1 q |_1 r |_1 s]+[p |_2 q |_1 r+s]+[p |_2 r |_1 s] -[q |_1 p |_1 r |_1 s]- [p |_2 q+r |_1 s] \nonumber \\&\quad -[q |_1 r |_1 s |_1 p]+[q |_1 r |_1 p |_1 s]-[p |_2 q |_1 r];\nonumber \\ \partial _5[p |_1 q |_1 r |_2 s ]&= -[p |_1 q |_1 r |_1 s]+[p+q |_1 r |_2 s]+[p |_1 q |_1 s |_1 r]+[p |_1 q |_2 s]+[s |_1 p |_1 q |_1 r]\nonumber \\&\quad -[p |_1 q+r |_2 s]-[p |_1 s |_1 q |_1 r]-[q |_1 r |_2 s];\nonumber \\ \partial _5[p |_1 q |_2 r |_1 s ]&= [p+q |_2 r |_1 s]-[p |_2 r |_1 s]-[q |_2 r |_1 s]-[p |_1 q |_2 r+s]+[p |_1 q |_2 r]+[p |_1 q |_2 s]\nonumber \\&\quad +[p |_1 q |_1 r |_1 s]+[p |_1 r |_1 s |_1 q]+[r |_1 s |_1 p |_1 q]+[r |_1 p |_1 q |_1 s]-[p |_1 r |_1 q |_1 s]\nonumber \\&\quad -[r |_1 p |_1 s |_1 q];\nonumber \\ \partial _5[p |_3 q |_1 r]&=[p |_3 q+r]+[p |_2 q |_1 r]+[q |_1 r |_2 p]-[p |_3 r]-[p |_3 q];\nonumber \\ \partial _5[p |_1 q |_3 r]&=[p+q |_3 r]+[p |_1 q |_2 r]+[r |_2 p |_1 q]-[p |_3 r]-[q |_3 r];\nonumber \\ \partial _5[p |_2 q |_2 r]&=[p |_2 q |_1 r]-[p |_2 r |_1 q]+[p |_1 q |_2 r]-[q |_1 p |_2 r];\nonumber \\ \partial _5[p |_4 q]&=[p |_3 q]-[q |_3 p];\nonumber \end{aligned}$$
(6.1)

While they are not exactly the same, the complex L.(P) and the complex A(P) posses similarities. In fact, we observe that the entries of the complex L.(P) and the entries of the complex A(P) are the same in degrees 1, 2, and 3, as well as the differentials \(D_2\), \(D_3\) and \(\partial _2\), \(\partial _3\), respectively. However, the entries in degrees 4 and 5 of the complex L.(P) contain some extra terms in addition to the terms of A(P)’s entries in degrees 4 and 5. To be more precise, there is one extra generator [p] in degree 4 and a differential \(D_4[p]\) associated with it and in degree 5 there are two extra generators [p] and \([p|^4q]\) and two differential operators, \(D_5[p]\) and \(D_5[p|^4q]\). These extra generators and differentials arise from the strictness of the Picard condition.

8.2 Computation of \(\mathrm {Ext}^3(P,G)\) using the canonical free resolution L.(P) of P

To understand better the complex L.(P), we examine \(\mathrm {Ext}^3(P,G)\) with P and G abelian sheaves. From [14], it is known that \(\mathrm {Ext}^3(P,G)\) classifies Yoneda extensions of the form

(6.2)

Moreover, from [3, Theorem 0.1], it is also known that \(\mathcal {E}\mathrm {xt}^i(\mathbb {P},\mathbb {G}) \cong \mathrm {Ext}^i([\mathbb {P}]^{\flat \flat } ,[\mathbb {G}]^{\flat \flat }[1]) \cong \mathrm {H}^{i+1}(\mathrm {R}\mathrm {Hom}([\mathbb {P}]^{\flat \flat } ,[\mathbb {G}]^{\flat \flat }))\). In case, \(\mathbb {P}\) is the abelian sheaf P and \(\mathbb {G}\) is the shifted abelian sheaf G[2],

$$\begin{aligned} \mathrm {Ext}^3(P,G) \cong \mathrm {H}^4(\mathrm {R}\mathrm {Hom}(P,G)). \end{aligned}$$
(6.3)

To calculate the element of \(\mathrm {H}^4(\mathrm {R}\mathrm {Hom}(P,G))\) which corresponds to extension (6.2) via isomorphism (6.3), we choose a hypercover V. of the complex L.(P) as follows: let \(U.. {{\mathrm{{\rightarrow }}}}L.(P)\) be a cover of L.(P) given by the simplicial object U.. in the topos of sheaves on \(\mathbf {S}\) (see [11]). The pullback along \(U.. {{\mathrm{{\rightarrow }}}}L.(P)\) is performed by refining the cover as we move along the complex L.(P). Moving to the next degree on L.(P) corresponds to a horizontal movement on U.. and therefore increases the first index of U.. by 1, whereas refining the cover corresponds to a vertical movement on U.. and therefore increases the second index of U.. by 1. That is, the pullback along \(U.. {{\mathrm{{\rightarrow }}}}L.(P)\) follows the diagonal of U.. which is also a simplicial object in the topos of sheaves on \(\mathbf {S}\). Thus, we let V. to be the diagonal of U... We denote by \(p_i\) the pullback of p along the face map \(d_i\) of V., i.e., \(d_i^*p:=p_i\), by \(p_{ij}\) the pullback of p first along \(d_j\) then along \(d_i\), i.e., \(d_i^*d_j^*p:=p_{ij}\), and so on for the further pullbacks.

We choose a set-theoretic cross section \(s: P {{\mathrm{{\rightarrow }}}}C\) of the surjective sheaf morphism \(j:C {{\mathrm{{\rightarrow }}}}P\), i.e., \(j \circ s =\mathrm {id}_P\). For any \(p \in P(V_0)\), \(s(p_0+ p_1)\) and \(s(p_0)+s(p_1)\) are not necessarily equal in \(C(V_1)\) as the sheaf map s is not a homomorphism. The obstruction to s being a sheaf homomorphism is measured by a sheaf map \(f^{-1}:P \times P {{\mathrm{{\rightarrow }}}}B\) so that the relation

$$\begin{aligned} s(p_0+p_1)=s(p_0)+s(p_1)+\lambda (f^{-1}(p_0,p_1)), \end{aligned}$$

is satisfied in \(P(V_1)\).

The pullback of the elements \(p_0\) and \(p_1\) in \(P(V_1)\) to \(V_2\) are the elements \(p_{00}\), \(p_{01}\), and \(p_{11}\). Using the associativity of the addition of \(P(V_2)\) and \(s((p_{00}+p_{01})+p_{11})=s(p_{00}+(p_{01}+p_{11}))\), we find that

$$\begin{aligned} f^{-1}(p_{01},p_{11})-f^{-1}(p_{00}+p_{01},p_{11})+f^{-1}(p_{00},p_{01} +p_{11})-f^{-1}(p_{00},p_{01}), \end{aligned}$$

is in \(\ker (\lambda )(V_2)\), which implies the existence of a sheaf map \(f^{-2}:P^3 {{\mathrm{{\rightarrow }}}}A\) satisfying the relation

$$\begin{aligned} \delta (f^{-2}(p_{00},p_{01},p_{11}))= & {} f^{-1}(p_{01},p_{11})-f^{-1}(p_{00}+p_{01}, p_{11})+f^{-1}(p_{00},p_{01}+p_{11})\\&-f^{-1}(p_{00},p_{01}), \end{aligned}$$

in \(B(V_2)\). As a consequence, \(f^{-2}\) should be interpreted as an obstruction to the associativity. To find a coherence on \(f^{-2}\), we pull \(f^{-2}\) back to \(V_3\) and observe that the expression

$$\begin{aligned} \begin{aligned}&f^{-2}(p_{001},p_{011},p_{111})-f^{-2}(p_{000}+p_{001},p_{011},p_{111})+f^{-2} (p_{000},p_{001}+p_{011},p_{111})\\&\quad -f^{-2}(p_{000},p_{001},p_{011}+p_{111})+f^{-2}(p_{000},p_{001},p_{011}), \end{aligned} \end{aligned}$$

is in \(\ker (\delta )(V_3)\), hence it exists a sheaf map \(c:P^4 {{\mathrm{{\rightarrow }}}}G\) satisfying the relation

$$\begin{aligned} \begin{aligned}&i(c(p_{000},p_{001},p_{011},p_{111}))=f^{-2}(p_{000},p_{001},p_{011})+f^{-2} (p_{000},p_{001}+p_{011},p_{111})\\&\quad +f^{-2}(p_{001},p_{011},p_{111})-f^{-2}(p_{000}+p_{001},p_{011},p_{111})\\&\quad -f^{-2}(p_{000},p_{001},p_{011}+p_{111}) \end{aligned} \end{aligned}$$

over \(V_3\). When pulled back to \(V_4\), the map c, seen as an obstruction to the coherence of the associativity, satisfies the relation

$$\begin{aligned} \begin{aligned}&c(p_{0001},p_{0011},p_{0111},p_{1111})-c(p_{0000}+p_{0001},p_{0011},p_{0111},p_{1111})\\&\quad +c(p_{0000},p_{0001}+p_{0011},p_{0111},p_{1111})- c(p_{0000},p_{0001},p_{0011}+p_{0111},p_{1111})\\&\quad +c(p_{0000},p_{0001},p_{0011},p_{0111}+p_{1111})-c(p_{0000},p_{0001},p_{0011},p_{0111})=0.\qquad \qquad \end{aligned} \end{aligned}$$
(6.4)

After the associativity constraint, we involve the commutativity constraint in the discussion. The equality \(s(p_0+p_1)=s(p_1+p_0)\) in \(C(V_1)\) requires \(f^{-1}(p_0,p_1)-f^{-1}(p_1,p_0)\) to be in \(\ker (\lambda )(V_1)\) which implies the existence of a sheaf map \(g^{-2}:P \times P {{\mathrm{{\rightarrow }}}}A\) satisfying the relation

$$\begin{aligned} \delta (g^{-2}(p_0,p_1))=f^{-1}(p_0,p_1)-f^{-1}(p_1,p_0), \end{aligned}$$
(6.5)

in \(B(V_1)\) from which it follows that \(g^{-2}(p_0,p_1)+g^{-2}(p_1,p_0)\) is in \(\ker (\delta )(V_1)\). Then there is a sheaf map \(c':P \times P {{\mathrm{{\rightarrow }}}}G\) satisfying

$$\begin{aligned} i(c'(p_0,p_1))=-(g^{-2}(p_0,p_1)+g^{-2}(p_1,p_0)). \end{aligned}$$
(6.6)

The injectivity of i gives the relation

$$\begin{aligned} c'(p_0,p_1)-c'(p_1,p_0)=0. \end{aligned}$$
(6.7)

In case \(p_0=p_1\) over \(V_1\), from (6.5) we find \(\delta (g^{-2}(p_0,p_0))=0\). Hence, there exists \(c'':P {{\mathrm{{\rightarrow }}}}G\) so that \(i(c''(p_0))=-g^{-2}(p_0,p_0)\) in \(A(V_1)\) which implies with (6.6) the relation

$$\begin{aligned} 2c''(p_0)=c'(p_0,p_0). \end{aligned}$$
(6.8)

Next, we explore the compatibility between the associativity and the commutativity constraints. As the pullbacks \(p_{00}\), \(p_{01}\), \(p_{11}\) of the elements \(p_0\) and \(p_1\) in \(P(V_1)\) to \(P(V_2)\) satisfy \(s((p_{00}+p_{01})+p_{11})=s(p_{00}+(p_{01}+p_{11}))=s((p_{01}+p_{11})+p_{00}) =s(p_{01}+(p_{11}+p_{00}))=s(p_{01}+(p_{00}+p_{11}))=s((p_{01}+p_{00})+p_{11})\), we find that the expressions

$$\begin{aligned}&\delta (g^{-2}(p_{00},p_{01})-g^{-2}(p_{00},p_{01}+p_{11})+g^{-2}(p_{00},p_{11})),\\&\delta (f^{-2}(p_{00},p_{01},p_{11})-f^{-2}(p_{01},p_{00}, p_{11})+f^{-2}(p_{01},p_{11},p_{00})), \end{aligned}$$

are equal over \(V_2\). Hence, there exists \(c''':P^3 {{\mathrm{{\rightarrow }}}}G\) so that

$$\begin{aligned} \begin{aligned} i(c'''(p_{00},p_{01},p_{11}))&=f^{-2}(p_{01},p_{11},p_{00})+g^{-2}(p_{00},p_{01}+p_{11})+f^{-2}(p_{00},p_{01},p_{11})\\&\quad -f^{-2}(p_{01},p_{00},p_{11})-g^{-2}(p_{00},p_{01})-g^{-2}(p_{00},p_{11}). \end{aligned}\nonumber \\ \end{aligned}$$
(6.9)

\(c'''\) can be interpreted as an obstruction to the compatibility between the associativity and the commutativity constraints. The map \(c'''\) can also be seen as the difference between the two moves that send the element \(p_{00}\) to the end of the ordered list of elements \((p_{00},p_{01},p_{11})\) in \(P(V_2)\). One of the moves sends \(p_{00}\) to the end of the list by moving it over \(p_{01}+p_{11}\), whereas the other sends \(p_{00}\) to the end of the list by moving it first over \(p_{01}\), then over \(p_{11}\). To find a coherence condition to this obstruction, we pull (6.9) back to \(V_3\) and observe that \(c'''\) satisfies the relation

$$\begin{aligned} \begin{aligned}&c(p_{000},p_{001},p_{011},p_{111})+c'''(p_{000},p_{001},p_{011}+p_{111})+c''' (p_{000},p_{011},p_{111})\\&\quad -c(p_{001},p_{000},p_{011},p_{111})-c'''(p_{000},p_{001}+p_{011},p_{111}) -c(p_{001},p_{011},p_{111},p_{000})\\&\quad +c(p_{001},p_{011},p_{000},p_{111})-c'''(p_{000},p_{001},p_{011})=0. \end{aligned}\nonumber \\ \end{aligned}$$
(6.10)

We can also describe how to move the element \(p_{11}\) to the beginning of the ordered list \((p_{00},p_{01},p_{11})\). Using \(s(p_{00}+(p_{01}+p_{11}))=s((p_{00}+p_{01})+p_{11})=s(p_{11}+(p_{00}+p_{01}))=s((p_{11}+p_{00})+p_{01})=s((p_{00}+p_{11})+p_{01})=s(p_{00}+(p_{11}+p_{01}))\), we find that the expressions

$$\begin{aligned}&\delta (-g^{-2}(p_{01},p_{11})+g^{-2}(p_{00}+p_{01},p_{11})-g^{-2}(p_{00},p_{11})),\\&\delta (f^{-2}(p_{00},p_{01},p_{11})-f^{-2}(p_{00},p_{11},p_{01})+f^{-2}(p_{11},p_{00},p_{01})), \end{aligned}$$

are equal over \(V_2\). Hence, there exists \(c'''':P^3 {{\mathrm{{\rightarrow }}}}G\) so that

$$\begin{aligned} \begin{aligned} i(c''''(p_{00},p_{01},p_{11}))&=f^{-2}(p_{00},p_{11},p_{01})+g^{-2}(p_{00}+p_{01},p_{11})-f^{-2}(p_{00},p_{01},p_{11})\\&\quad -f^{-2}(p_{11},p_{00},p_{01})-g^{-2}(p_{00},p_{11})-g^{-2}(p_{01},p_{11}). \end{aligned}\nonumber \\ \end{aligned}$$
(6.11)

We interpret \(c''''\) as an another obstruction to the compatibility between the associativity and the commutativity constraints. It can also be seen as the difference between the moves that send \(p_{11}\) to the beginning of the list. Upon pulling (6.11) back to \(V_3\), we observe that \(c''''\) satisfies the coherence condition

$$\begin{aligned} \begin{aligned}&-c(p_{000},p_{001},p_{011},p_{111})+c'''(p_{000}+p_{001},p_{011},p_{111}) +c(p_{000},p_{001},p_{111},p_{011})\\&+c'''(p_{000},p_{001},p_{111})+c(p_{111}, p_{000},p_{001},p_{011})-c'''(p_{000},p_{001}+p_{011},p_{111})\\&-c(p_{000},p_{111},p_{001},p_{011})-c'''(p_{001},p_{011},p_{111})=0. \end{aligned}\nonumber \\ \end{aligned}$$
(6.12)

As both \(c'''\) and \(c''''\) are obstructions to the compatibility between the associativity and the commutativity constraints, it is expected to have compatibility between them. First of all, on an ordered list of four elements \((p_{000},p_{001},p_{011},p_{111})\) in \(P(V_3)\) obtained by pulling the elements \(p_{00}\), \(p_{01}\), and \(p_{11}\) in \(P(V_2)\) back to \(V_3\), to obtain the order \((p_{011},p_{111},p_{000},p_{001})\), we can either move \(p_{000}\) and \(p_{001}\) to the end of the list or move \(p_{011}\) and \(p_{111}\) to the beginning of the list. The first compatibility condition between \(c'''\) and \(c''''\) says that both of these ways are the same. That is, using \(s(p_{000}+p_{001}+p_{011}+p_{111})=s(p_{011}+p_{111}+p_{000}+p_{001})=s(p_{011}+p_{000}+p_{001}+p_{111})=s(p_{000}+p_{011}+p_{111}+p_{001})\) with all possible groupings we find the coherence condition

$$\begin{aligned} \begin{aligned}&c'''(p_{000}+p_{001},p_{011},p_{111})-c'''(p_{000},p_{011},p_{111})-c'''(p_{001},p_{011},p_{111})\\&\quad -c''''(p_{000},p_{001},p_{011}+p_{111})+c''''(p_{000},p_{001},p_{011})+c''''(p_{000},p_{001},p_{111})\\&\quad +c(p_{000},p_{001},p_{011},p_{111})+c(p_{000},p_{011},p_{111},p_{001})+c(p_{011},p_{111},p_{000},p_{001})\\&\quad +c(p_{011},p_{000},p_{001},p_{111})-c(p_{000},p_{011},p_{001},p_{111})-c(p_{011},p_{000},p_{111},p_{001})=0. \end{aligned}\nonumber \\ \end{aligned}$$
(6.13)

Secondly, in an ordered list of three elements \((p_{00},p_{01},p_{11})\) in \(P(V_2)\), moving \(p_{00}\) first to the end of the list and then back to the beginning of the list should be compatible with not moving \(p_{00}\) at all. Therefore the difference between various ways of moving \(p_{00}\) to the end of the list (i.e., \(c'''(p_{00},p_{01},p_{11})\)) and the difference between various ways of moving \(p_{00}\) to the beginning of the list (i.e., \(c''''(p_{01},p_{11},p_{00})\)) should add up to zero. This translates into the coherence condition

$$\begin{aligned} \begin{aligned}&c'(p_{00},p_{01}+p_{11})+c'''(p_{00},p_{01},p_{11})+c''''(p_{01},p_{11},p_{00})\\&\quad -c'(p_{00},p_{01})-c'(p_{00},p_{11})=0. \end{aligned} \end{aligned}$$
(6.14)

Moreover, the compatibility between moving \(p_{11}\) first to the beginning of the list (i.e., \(c''''(p_{00},p_{01},p_{11})\)) and then to the end of the list (i.e., \(c'''(p_{11},p_{00},p_{01})\)) and not moving \(p_{11}\) at all, translates into the coherence relation

$$\begin{aligned} \begin{aligned}&c'(p_{00}+p_{01},p_{11})+c''''(p_{00},p_{01},p_{11})+c'''(p_{11},p_{00},p_{01})\\&\quad -c'(p_{00},p_{11})-c'(p_{01},p_{11})=0. \end{aligned} \end{aligned}$$
(6.15)

The final coherence condition between \(c'''\) and \(c''''\) is given by the relation

$$\begin{aligned} \begin{aligned} c'''(p_{00},p_{01},p_{11})-c'''(p_{00},p_{11},p_{01})+c''''(p_{00},p_{01},p_{11}) -c''''(p_{01},p_{00},p_{11})=0, \end{aligned}\nonumber \\ \end{aligned}$$
(6.16)

and it describes how to interchange \(p_{00}\) and \(p_{11}\) in an ordered list of three elements \((p_{00},p_{01},p_{11})\).

There is one last coherence condition enjoyed by all the obstructions found so far. From the observation that for any p, q in \(P(V_0)\), \(2(c''(p+q)-c''(p)-c''(q))\) is equal to \(2(c(p,q,p,q)-c''''(p,q,p+q)-c'''(p,p,q)-c'''(q,p,q)+c'(q,p))\), we find the relation

$$\begin{aligned}&-c(p,q,p,q)+c''''(p,q,p+q)+c'''(p,p,q)+c'''(q,p,q)-c'(q,p)\nonumber \\&\quad +\, c''(p+q)-c''(p)-c''(q)=0. \end{aligned}$$
(6.17)

We can summarize the above calculations as follows: The collection of maps \((c,c',c'',c''',c'''')\) is in \(\mathrm {Hom}(L^4[P],G)\). Since the maps \((c,c',c'',c''',c'''')\) satisfy relations (6.4), (6.7), (6.8), (6.10), (6.12), (6.13), (6.14), (6.15), (6.16), and (6.17), they are in the kernel of \((D_5)^*:\mathrm {Hom}(L^4[P],G) {{\mathrm{{\rightarrow }}}}\mathrm {Hom}(L^5[P],G)\) induced by the differential \(D_5:L^5[P]{{\mathrm{{\rightarrow }}}}L^4[P]\) of the complex L.(P). This is why the collection \((c,c',c'',c''',c'''')\) can be called as a 4-cocycle of P with values in G. Upon choosing another set-theoretic cross section \(t:P {{\mathrm{{\rightarrow }}}}C\), we find another collection of maps \((d,d',d'',d''',d'''')\) satisfying the same relations as the collection \((c,c',c'',c''',c'''')\). We leave it to the reader to show that these two collections are cohomologous. In summary, these calculations show that we can use the complex L.(P) to compute \(\mathrm {H}^4(\mathrm {R}\mathrm {Hom}(P,G))\), that is \(\mathrm {H}^4(\mathrm {R}\mathrm {Hom}(P,G))=\mathrm {H}^4(\mathrm {Hom}(L.(P),G))\).

In the calculations, we find a map \(c'':P {{\mathrm{{\rightarrow }}}}G\) satisfying relation (6.8) that does not appear in the complex A(P). Therefore, we add the differentials \(D_4[p]=-[p|_2p]\) and \(D_5[p]=2[p]-[p|_3p]\) to the fourth and the fifth entries of A(P). The calculations also show that the collection \((c,c',c'',c''',c'''')\) shall satisfy relation (6.17). This corresponds to adding another generator \([p|^4q]\) to the fifth entry of A(P) to kill the class \(-[p |_1 q |_1 p |_1 q]+[p |_1 q |_2 p+q] + [p |_2 p |_1 q]+[q |_2 p |_1 q] - [q |_3 p] + [p + q]-[p]-[q]\), that is we shall add another differential \(D_5[p|^4q]=-[p |_1 q |_1 p |_1 q]+[p |_1 q |_2 p+q] + [p |_2 p |_1 q]+[q |_2 p |_1 q] - [q |_3 p] + [p + q]-[p]-[q]\). The addition of these differentials turns the complex A(P) in to the complex L.(P). Hence, we can use L.(P) as a free resolution of P to compute \(\mathrm {Ext}^3(P,G)\).

We finish this calculation section by pointing out that the above discussion has another half which is not mentioned here. It is the reconstruction of extension (6.2) from the cocyclic description of the G[2]-torsor over P which would have required a descent type argument over the complex L.(P). The details of such a reconstruction will be the subject of a forthcoming paper where the \(\mathbb {G}_{\mathbb {P}}\)-torsors over \(\mathbb {P}\) and the extensions of \(\mathbb {P}\) by \(\mathbb {G}\) will be studied in terms of cocycles.

8.3 An algebraic point of view concerning the strict Picard condition

Algebraically, adding the differentials \(D_4[p]\), \(D_5[p]\), and \(D_5[p|^4q]\) arising from the strict Picard condition to the complex A(P) can be described as follows: consider \(\alpha :\mathbb {Z}[P] \oplus \mathbb {Z}[P^2] {{\mathrm{{\rightarrow }}}}\mathbb {Z}[P]\), defined by \(\alpha [p]=-2[p]\) and \(\alpha [p|^4 q]=[p]+[q]-[p+q]\), as the chain complex whose entries at degrees 3 and 4 are \(\mathbb {Z}[P]\) and \(\mathbb {Z}[P] \oplus \mathbb {Z}[P^2]\), respectively, and all other entries are 0. We define the morphism f

(6.18)

where \(f_i=0\) for \(i \ne 3,4\) and \(f_3[p]=[p|_2p]\), \(f_4[p]=[p|_3p]\), and \(f_4[p|^4q]=[p |_1 q |_1 p |_1 q]-[p |_1 q |_2 p+q] - [p |_2 p |_1 q] - [q |_2 p |_1 q] + [q |_3 p]\). It is straightforward to observe that the cone of (6.18) is the complex L.(P).