---
abstract: 'We prove that any classical affine $W$-algebra ${\mathcal{W}}({\mathfrak{g}},f)$, where ${\mathfrak{g}}$ is a classical Lie algebra and $f$ is an arbitrary nilpotent element of ${\mathfrak{g}}$, carries an integrable Hamiltonian hierarchy of Lax type equations. This is based on the theories of generalized Adler type operators and of generalized quasideterminants, which we develop in the paper. Moreover, we show that under certain conditions, the product of two generalized Adler type operators is a Lax type operator. We use this fact to construct a large number of integrable Hamiltonian systems, recovering, as a special case, all KdV type hierarchies constructed by Drinfeld and Sokolov.'
address:
- 'Dipartimento di Matematica, Sapienza Università di Roma, P.le Aldo Moro 2, 00185 Rome, Italy'
- 'Dept of Mathematics, MIT, 77 Massachusetts Avenue, Cambridge, MA 02139, USA'
- 'Yau Mathematical Sciences Center, Tsinghua University, 100084 Beijing, China'
author:
- Alberto De Sole
- 'Victor G. Kac'
- Daniele Valeri
title: 'Classical affine W-algebras and the associated integrable Hamiltonian hierarchies for classical Lie algebras'
---

Introduction {#sec:0}
============

In our paper [@DSKVnew] we proposed a new method of constructing integrable (bi)Hamiltonian hierarchies of PDE’s of Lax type. It combined two well-known approaches. The first one is the Gelfand-Dickey fractional powers of pseudodifferential operators technique, based on the Lax pair method [@GD76; @Dic03]. The second one is the classical Hamiltonian reduction technique, combined with the Zakharov-Shabat dressing method, as developed by Drinfeld and Sokolov [@DS85].

The central notion of the paper [@DSKVnew] is that of a matrix pseudodifferential operator of Adler type over a Poisson vertex algebra (PVA) ${\mathcal{V}}$, introduced in [@AGD]. It was derived there starting from Adler’s formula [@Adl79] for the second Poisson structure for the $M$-th KdV hierarchy.

One of the important properties of an Adler type operator $L(\partial)$ over a PVA ${\mathcal{V}}$ is that it provides a hierarchy of compatible equations of Lax type in terms of its fractional powers: $$\label{eq:intro1}
\frac{dL(\partial)}{dt_{n,k}}
=
[L(\partial)^{\frac nk}_+,L(\partial)]
\,\,,\,\,\,\,
n,k\in{\mathbb{Z}}_{\geq1}
\,,$$ where the subscript $+$ stands, as usual, for the differential part of the pseudodifferential operator $L(\partial)^{\frac nk}$. Furthermore, $L(\partial)$ provides an infinite set of conserved densities $h_{n,k}$ for the hierarchy , defined by $$\label{eq:intro2}
h_{n,k}
=
-\frac{k}{n}\operatorname{Res}_{\partial}\operatorname{tr}L(\partial)^{\frac nk}
\,,\,\,
n,k\in{\mathbb{Z}}_{\geq1}
\,,$$ so that is a hierarchy of Hamiltonian equations with the corresponding Hamiltonian functionals ${{\textstyle\int}}h_{n,k}$ in involution. Moreover, if $L(\partial)+\epsilon{\mathbbm{1}}$ is of Adler type for every $\epsilon\in{\mathbb{F}}$ (the base field), then these conserved densities satisfy the generalized Lenard-Magri scheme [@Mag78] and is a bi-Hamiltonian hierarchy. See [@AGD] and [@DSKVnew] for details.

The ancestors of all Adler type operators constructed in [@DSKVnew] are given by the following family of first order $N\times N$ matrix differential operators: $$\label{eq:intro3}
A_S(\partial)
=
{\mathbbm{1}}_N\partial+\sum_{i,j=1}^N e_{ji}E_{ij} +S
\,\in\operatorname{Mat}_{N\times N}{\mathcal{V}}[\partial]
\,,$$ where ${\mathcal{V}}$ is the algebra of differential polynomials in the generators $e_{ij}$, $i,j=1,\dots,N$, and $S\in\operatorname{Mat}_{N\times N}{\mathbb{F}}$. It is easy to see that the operator is of Adler type over the affine PVA ${\mathcal{V}}({\mathfrak{gl}}_N)=S({\mathbb{F}}[\partial]{\mathfrak{gl}}_N)$ with the $\lambda$-bracket $$\label{eq:intro4}
\{a_\lambda b\}
=
[a,b]+\operatorname{tr}(ab)\lambda+\operatorname{tr}(S[a,b])
\,,\,\,
a,b\in{\mathfrak{gl}}_N
\,.$$

The key observation in [@DSKVnew] is that any generalized quasideterminant of an Adler type operator over a PVA ${\mathcal{V}}$ is again of Adler type. In particular, the “ancestors” $A_S(\partial)$ produce a large number of “descendent” Adler type operators by taking generalized quasideterminants (for the theory of quasideterminants see [@GGRW05], and for the definition of generalized quasideterminant see [@DSKVnew]).

Recall that to a reductive Lie algebra ${\mathfrak{g}}$ and its nilpotent element $f$, one associates a PVA ${\mathcal{W}}({\mathfrak{g}},f)$, which is a subquotient of the affine PVA ${\mathcal{V}}({\mathfrak{g}})$ (see e.g. Section \[sec:2\] of the present paper). The key observation of our paper [@DSKV16b] is that for any nilpotent element $f$ of ${\mathfrak{gl}}_N$ a certain generalized quasideterminant of the differential operator $A_S(\partial)$ produces a pseudodifferential operator $L(\partial)$ whose coefficients are elements of ${\mathcal{W}}({\mathfrak{gl}}_N,f)$. Since $L(\partial)$ is an operator of Adler type, we thus obtain an integrable hierarchy of (bi)Hamiltonian Lax type equations over the PVA ${\mathcal{W}}({\mathfrak{gl}}_N,f)$, with the infinitely many conserved densities .

This gave, for ${\mathfrak{g}}={\mathfrak{gl}}_N$, an affirmative answer to the longstanding problem whether any ${\mathcal{W}}$-algebra ${\mathcal{W}}({\mathfrak{g}},f)$ carries an integrable Hamiltonian hierarchy.

In the present paper we solve the same problem for all classical Lie algebras ${\mathfrak{g}}$ and all their nilpotent elements $f$. Drinfeld and Sokolov solved this problem in their seminal paper [@DS85] for an arbitrary reductive ${\mathfrak{g}}$ and its principal nilpotent element $f$ and, extending a series of previous papers [@BdGHM93; @dGHM92; @DF95; @FHM93; @FGMS95; @FGMS96] etc., we solved this problem in [@DSKV13] for arbitrary reductive ${\mathfrak{g}}$ and its nilpotent element $f$ of “semisimple type”.

The method used in the present paper is a development of our previous papers [@DSKVnew] and [@DSKV16b]. First, we construct a generalization of the “ancestor” operator $A_S(\partial)$ as follows. Given a reductive Lie algebra ${\mathfrak{g}}$ and its faithful representation $\varphi$ in a finite-dimensional vector space $V$, we chose a basis $\{u_i\}_{i\in I}$ of ${\mathfrak{g}}$ and let $U^i=\varphi(u^i)$, where $\{u^i\}_{i\in I}$ is the dual basis of ${\mathfrak{g}}$ with respect to the trace form of $V$. We then define the generalized “ancestor” operator by $$\label{eq:intro5}
A_{S,V}(\partial)
=
\partial{\mathbbm{1}}_V+\sum_{i\in I} u_iU^i +S
\,\in{\mathcal{V}}({\mathfrak{g}})[\partial]\otimes\operatorname{End}V
\,,$$ where $S=\varphi(s)$, $s\in{\mathfrak{g}}$. Our first main result is Theorem \[thm:main\] which states that a certain generalized quasideterminant of the matrix $A_{S,V}(\partial)$ produces a pseudodifferential operator $L(\partial)$ with coefficients in ${\mathcal{W}}({\mathfrak{g}},f)$. Also, from formula in this theorem, one can read off the generators of the differential algebra ${\mathcal{W}}({\mathfrak{g}},f)$.

In order to apply the ideas of [@DSKVnew] to arbitrary ${\mathcal{W}}$-algebras we need to introduce the notion of a generalized Adler type operator for an arbitrary pair $({\mathfrak{g}},V)$. It seems, however, that this is possible only for classical reductive Lie algebras ${\mathfrak{g}}$ and their standard representations $V$, i.e. for the linear Lie algebras ${\mathfrak{g}}={\mathfrak{gl}}_N,{\mathfrak{sl}}_N,{\mathfrak{so}}_N,{\mathfrak{sp}}_N$.

We define a *generalized Adler type* operator as an element $L(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$, where ${\mathcal{V}}$ is a PVA and $V$ is an $N$-dimensional vector space, satisfying the following identity for some constants $\alpha,\beta,\gamma\in{\mathbb{F}}$: $$\label{eq:intro6}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{L(z)_\lambda L(w)\}
=
\alpha
({\mathbbm{1}}\otimes L(w+\lambda+\partial))(z-w-\lambda-\partial)^{-1}
(L^*(\lambda-z)\otimes{\mathbbm{1}})\Omega
} \\
\displaystyle{
\vphantom{\Big(}
-\alpha
\Omega\,\big(L(z)\otimes(z-w-\lambda-\partial)^{-1}L(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
-\beta
({\mathbbm{1}}\otimes L(w+\lambda+\partial))
\Omega^\dagger(z+w+\partial)^{-1}(L(z)\otimes{\mathbbm{1}})
} \\
\displaystyle{
\vphantom{\Big(}
+\beta
(L^*(\lambda-z)\otimes{\mathbbm{1}})\Omega^\dagger(z+w+\partial)^{-1}({\mathbbm{1}}\otimes L(w))
} \\
\displaystyle{
\vphantom{\Big(}
+\gamma\big({\mathbbm{1}}\otimes \big(L(w+\lambda+\partial)-L(w)\big)\big)
(\lambda+\partial)^{-1}
\big(\big(L^*(\lambda-z)-L(z)\big)\otimes{\mathbbm{1}}\big)
\,.}
\end{array}$$ Here $\Omega=\sum_{i,j=1}^NE_{ij}\otimes E_{ji}$, $\Omega^\dagger=\sum_{i,j=1}^NE_{ij}^\dagger\otimes E_{ji}$, and we assume, if $\beta\neq0$, that $V$ carries a non-degenerate symmetric or skewsymmetric bilinear form, and denote by $A^\dagger$ the adjoint of $A\in\operatorname{End}V$ with respect to this form. Also, $*:\,{\mathcal{V}}((\partial^{-1}))\to {\mathcal{V}}((\partial^{-1}))$ denotes the formal adjoint of a scalar pseudodifferential operator, and it is extended to ${\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ by acting only on the first factor. The examples when $A_{S,V}(\partial)$ is a generalized Adler type operator that we know of correspond to $({\mathfrak{g}},V)={\mathfrak{gl}}_N,{\mathfrak{sl}}_N,{\mathfrak{so}}_N,{\mathfrak{sp}}_N$, for the values of $\alpha,\beta,\gamma$ given in Table . In the case of ${\mathfrak{gl}}_N$ we recover the notion of an Adler type operator studied in [@AGD; @DSKVnew].

In the present paper we develop a theory of generalized Adler type operators and their applications to the theory of integrable Hamiltonian systems along the lines described above. First, we prove Theorem \[thm:main2\] which states, in particular, that the generalized quasideterminant of an operator of generalized Adler type with parameters $\alpha,\beta,\gamma$ is again of generalized Adler type with the same parameters. Second, we prove Theorem \[thm:hn\], which states that if $L(\partial)$ is an operator of generalized Adler type, then the $h_{n,k}\in{\mathcal{V}}$ defined by are densities of Hamiltonian functionals in involution, defining a compatible hierarchy of Lax type Hamiltonian equations $$\label{eq:intro7}
\frac{dL(\partial)}{dt_{n,k}}
=
\big[\alpha L(\partial)^{\frac nk}_+
-\beta \big(L(\partial)^{\frac nk}\big)^{\star\dagger}_+
,L(\partial)\big]
\,.$$ We also prove Theorem \[thm:main-bi\] which states that, if $L(\partial)+\epsilon{\mathbbm{1}}$ is of generalized Adler type for every constant $\epsilon\in{\mathbb{F}}$, then the densities $h_{n,k}$ satisfy the generalized Lenard-Magri scheme, and is a bi-Hamiltonian hierarchy.

In the present paper we discover some new ways of constructing integrable Hamiltonian hierarchies using generalized Adler type operators. First, in Section \[sec:5.4\] we classify all scalar constant coefficients pseudodifferential operators of generalized Adler type. But, what is most remarkable, it turns out that, under some conditions, products of generalized Adler type operators produce compatible hierarchies of Lax type Hamiltonian equations, similar to , see Theorem \[thm:hn-product\].

In Section \[sec:8\] we list the resulting integrable hierarchies of Hamiltonian equations associated to all ${\mathcal{W}}$-algebras for classical Lie algebras and their pairwise tensor products. In particular, we recover all Drinfeld-Sokolov integrable KdV type hierarchies that they attach to a classical affine Lie algebra (including the twisted ones) and a node on its Dynkin diagram [@DS85].

In Section \[sec:9\] we describe a number of explicit examples of Lax operators. First, we compute them in the case of a principal nilpotent of all classical Lie algebras recovering thereby the operators $P$, $Q$ and $R$ of Drinfeld and Sokolov [@DS85]. Second, we compute the Lax operators in the case of a minimal nilpotent of all classical Lie algebras, recovering thereby our results from [@DSKV16b] in the case of ${\mathfrak{gl}}_N$. The next most interesting case is the distinguished nilpotent element in ${\mathfrak{so}}_{4n}$ corresponding to the partition $(2n+1,2n-1)$. The Lax operator in this case is given by formula .

Finally, in Section \[sec:10\] we write down explicitly in many cases the first non-trivial equations of the constructed integrable hierarchies. First, we consider all cases with one unknown function. All possibilities for the Lax operator are the Lax operator $L({\mathfrak{g}})$ for ${\mathfrak{g}}={\mathfrak{sp}}_2$ or ${\mathfrak{g}}={\mathfrak{so_3}}$ multiplied by $1$ or by $\partial^{\pm1}$. All these Lax operators produce the KdV equation, with the following two exceptions: $L=L({\mathfrak{sp}}_2)\partial$, which produces the Sawada-Kotera equation, and $L=L({\mathfrak{so}}_3)$, which produces the Kaup-Kupershmidt equation. In conclusion of the section we treat the case of ${\mathfrak{g}}={\mathfrak{sl}}_N$ and ${\mathfrak{sp}}_N$ and the minimal nilpotent $f$. For ${\mathfrak{g}}={\mathfrak{sl}}_N$ we recover the equations obtained in [@DSKV14a; @DSKV15-cor], which, after Dirac reduction, produce the $N$-component Yajima-Oikawa equation, of which $N=3$ corresponds to the classical Y-O equation discovered in [@YO76]. For ${\mathfrak{g}}={\mathfrak{sp}}_N$ there are three choices for the Lax operator: $L({\mathfrak{sp}}_N,f_{\text{min}})$, $L({\mathfrak{sp}}_N,f_{\text{min}})\partial$ and $L({\mathfrak{sp}}_N,f_{\text{min}})\partial^{-1}$. The corresponding first non-trivial equation for the first Lax operator was studied in [@DSKV14a], while for the last two Lax operators we find, after Dirac reduction, some apparently new integrable system in $N-1$ unknown functions. In the case $N=4$ these equations are: $$\frac{du}{dt}
=
\frac34(-v_1v_2^{\prime\prime}+v_2v_1^{\prime\prime})
\,\,,\,\,\,\,
\frac{d}{dt}
\Big(\begin{array}{l} v_1 \\ v_2 \end{array}\Big)
=
\Big(\begin{array}{l} 
v_1^{\prime\prime\prime}-uv_1^\prime \\ 
v_2^{\prime\prime\prime}-uv_2^\prime 
\end{array}\Big)$$ for $L=L({\mathfrak{sp}}_4,f_{\text{min}})\partial$, and $$\frac{du}{dt}
=
u^{\prime\prime\prime}-6uu^\prime
+\frac34(-v_1v_2^{\prime\prime}+v_2v_1^{\prime\prime})
\,\,,\,\,\,\,
\frac{d}{dt}
\Big(\begin{array}{l} v_1 \\ v_2 \end{array}\Big)
=
\Big(\begin{array}{l} 
v_1^{\prime\prime\prime}-3(uv_1)^\prime \\ 
v_2^{\prime\prime\prime}-3(uv_2)^\prime 
\end{array}\Big)$$ for $L=L({\mathfrak{sp}}_4,f_{\text{min}})\partial^{-1}$.

The quantum finite analogue of an operator of Adler type is an operator of Yangian type, introduced in [@DSKV17]. The defining identity for such operators is the same as the identity defining the Yangian of ${\mathfrak{gl}}_N$, [@Mol07]. Such operators were used in [@DSKV17] to describe the quantum finite $W$-algebras associated to ${\mathfrak{gl}}_N$, in a way similar to the description of the classical affine $W$-algebras for ${\mathfrak{gl}}_N$ using Adler type operators. In our subsequent paper [@DSKV18] we shall use the twisted Yangian identity, similar to the generalized Adler identity, and related to the theory of twisted Yangians [@Mol07], to describe the quantum finite $W$-algebras associated to all classical Lie algebras.

Throughout the paper the base field ${\mathbb{F}}$ is a a field of characteristic $0$.

### Acknowledgments {#acknowledgments .unnumbered}

We would like to thank László Fehér for posing the problem of constructing the Lax operator for the classical affine ${\mathcal{W}}$-algebra ${\mathcal{W}}({\mathfrak{so}}_{4N},f)$, where $f$ is a nilpotent element associated to the partition $(2n+1,2n-1)$. The first author would like to acknowledge the hospitality of MIT, where he was hosted during the spring semester of 2017. The second author would like to acknowledge the hospitality of the University of Rome La Sapienza during his visit in Rome in January 2017 and 2018. The third author is grateful to the University of Rome La Sapienza for its hospitality during his several visits in 2016, 2017 and 2018. All three authors are grateful to SISSA, where this work has started, and IHES, where the paper has been completed, for their kind hospitality during the summers of 2016 and 2017 respectively. The first author is supported by National FIRB grant RBFR12RA9W, National PRIN grant 2015ZWST2C, and University grant C26A158K8A, the second author is supported by an NSF grant and the Italian grant C26V1735TJ, and the third author is supported by an NSFC “Research Fund for International Young Scientists” grant and Tsinghua University startup grant.

Preliminaries on pseudodifferential operators and Poisson vertex algebras {#sec:1}
=========================================================================

Let ${\mathcal{V}}$ be a differential algebra, i.e. a unital commutative associative algebra with a derivation $\partial$. As usual, we denote by ${{\textstyle\int}}:\,{\mathcal{V}}\to{\mathcal{V}}/\partial{\mathcal{V}}$ the canonical quotient map of vector spaces.

We denote by ${\mathcal{V}}((\partial^{-1}))$ the algebra of scalar pseudodifferential operators with coefficients in ${\mathcal{V}}$. Given $a(\partial)=\sum_{n=-\infty}^Na_n\partial^n$, $a_n\in{\mathcal{V}}$, we denote by $a^*(\partial)=\sum_n(-\partial)^n\circ a_n\in{\mathcal{V}}((\partial^{-1}))$ its formal adjoint, by $a(\partial)_+=\sum_{n=0}^Na_n\partial^n\in{\mathcal{V}}[\partial]$ its differential part, by $a(\partial)_-=\sum_{n=-\infty}^{-1}a_n\partial^n\in{\mathcal{V}}[[\partial^{-1}]]$ its singular part, and by $a(z)=\sum_na_nz^{n}\in{\mathcal{V}}((z^{-1}))$ its symbol.

The following notation will be used throughout the paper: given $a(\partial)\in{\mathcal{V}}((\partial^{-1}))$ as above and $b,c\in {\mathcal{V}}$, we let: $$\label{eq:notation}
a(z+x)\big(\big|_{x=\partial}b)c
=\sum_{n=-\infty}^Na_n((z+\partial)^nb)c\,\in{\mathcal{V}}
\,,$$ where in the RHS we expand, for negative $n$, in the domain of large $z$. For example, with this notation, we have $a^*(z)=\big(\big|_{x=\partial}a(-z-x)\big)$. Furthermore, for $a(z)\in{\mathcal{V}}((z^{-1}))$, we call the coefficient of $z^{-1}$ its residue, and we denote it by $\operatorname{Res}_za(z)$.

Let $M$ be a unital associative algebra. By an $M$-valued pseudodifferential operator over ${\mathcal{V}}$ we mean an element $A(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes M$. We shall omit the tensor product sign for such operators: for $a(\partial)\in{\mathcal{V}}((\partial^{-1}))$ and $A\in M$, we let $a(\partial)A$ be the corresponding monomial in ${\mathcal{V}}((\partial^{-1}))\otimes M$. The symbol $A(z)$ of an $M$-valued pseudodifferential operator over ${\mathcal{V}}$ is defined as above, and its formal adjoint is defined by taking formal adjoint of the first factor: if $A(\partial)=a(\partial) A$, then $A^*(\partial)=a^*(\partial)A$. Its symbol, with the notation , is $$\label{20170406:eq1}
A^*(z)=\big(\big|_{x=\partial}A(-z-x)\big)
\,.$$

\[20170404:lem1\] Given $A(\partial),B(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes M$, we have:

(a) $(AB)(z)=A(z+\partial)B(z)$ (in the RHS $\partial$ is applied to the coefficients of $B(z)$);

(b) $(AB)^*(z)=\big(\big|_{x=\partial}A^*(z)\big)B^*(z+x)$.

Part (a) follows from the definition of the product of pseudodifferential operators. For part (b), we have $$\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
(AB)^*(z)
=
\big(\big|_{x=\partial} (AB)(-z-x)\big)
=
\big(\big|_{x=\partial} A(-z-x+\partial)B(-z-x)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\big(\big|_{x_1=\partial} A(-z-x_1)\big)\big(\big|_{x_2=\partial}B(-z-x_1-x_2)\big)
=
\big(\big|_{x_1=\partial} A^*(z)\big)B^*(z+x_1)
\,.}
\end{array}$$

A Laurent series involving negative powers of $z\pm\partial$ or $z\pm\lambda$ is always considered to be expanded using geometric series expansion in the domain of large $z$, and similarly for $w$. On the other hand, for a series involving negative powers of $z\pm w$ we shall use the notation $\iota_z$ or $\iota_w$ to denote geometric series expansion in the domain of large $z$ or of large $w$ respectively. For example, $\iota_z(z-w)^{-1}=\sum_{n\in{\mathbb{Z}}_+}z^{-n-1}w^n$. For $a(z)\in{\mathcal{V}}((z^{-1}))$ as above, we have $$\label{eq:positive}
\operatorname{Res}_z a(z)\iota_z(z-w)^{-1}
=
a(w)_+
\,\,,\quad
\operatorname{Res}_z a(z)\iota_w(z-w)^{-1}
=
-a(w)_-
\,.$$

\[20170411:lem1\] Let $\dagger:\,M\to M$, $A\mapsto A^\dagger$ be an anti-involution of the associative algebra $M$, i.e. $(AB)^\dagger=B^\dagger A^\dagger$. Then, for $A(\partial),B(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes M$, we have $(A^*(\partial))^\dagger(B^*(\partial))^\dagger=((BA)^*(\partial))^\dagger$.

Since $*$ is an anti-involution of ${\mathcal{V}}((\partial^{-1}))$ and $\dagger$ is an anti-involution of $M$, the claim follows.

Note that in the present paper $M$ will be usually $\operatorname{End}V$, where $V$ is a vector space. In this case $A^*(\partial)$ is NOT the formal adjoint of the matrix pseudodifferential operator $A(\partial)$, which is, in fact, $A^*(\partial)^\dagger$.

Recall from [@BDSK09] that a $\lambda$-*bracket* on the differential algebra ${\mathcal{V}}$ is a bilinear (over ${\mathbb{F}}$) map $\{\cdot\,_\lambda\,\cdot\}:\,{\mathcal{V}}\times{\mathcal{V}}\to{\mathcal{V}}[\lambda]$, satisfying the following axioms ($a,b,c\in{\mathcal{V}}$):

(i) sesquilinearity: $\{\partial a_\lambda b\}=-\lambda\{a_\lambda b\}$, $\{a_\lambda\partial b\}=(\lambda+\partial)\{a_\lambda b\}$;

(ii) Leibniz rules (see notation ): $$\{a_\lambda bc\}=\{a_\lambda b\}c+\{a_\lambda c\}b
    \,\,,\,\,\,\,
    \{ab_\lambda c\}=\{a_{\lambda+x} c\} \big(\big|_{x=\partial}b\big)
    +\{b_{\lambda+x} c\} \big(\big|_{x=\partial}a\big)
    \,.$$

A *Poisson vertex algebra* (PVA) $\lambda$-bracket on ${\mathcal{V}}$ satisfies the following additional axioms ($a,b,c\in{\mathcal{V}}$)

(iii) skewsymmetry: $\{b_\lambda a\}=-\big(\big|_{x=\partial}\{a_{-\lambda-x} b\}\big)$;

(iv) Jacobi identity: $\{a_\lambda \{b_\mu c\}\}-\{b_\mu\{a_\lambda c\}\}
    =\{\{a_\lambda b\}_{\lambda+\mu}c\}$.

Recall that, if ${\mathcal{V}}$ is a Poisson vertex algebra, then ${\mathcal{V}}/\partial{\mathcal{V}}$ carries a well defined Lie algebra structure given by $\{{{\textstyle\int}}f,{{\textstyle\int}}g\}={{\textstyle\int}}\{f_\lambda g\}|_{\lambda=0}$, and we have a representation of the Lie algebra ${\mathcal{V}}/\partial{\mathcal{V}}$ on ${\mathcal{V}}$ given by $\{{{\textstyle\int}}f,g\}=\{f_\lambda g\}|_{\lambda=0}$. A *Hamiltonian equation* on ${\mathcal{V}}$ associated to a *Hamiltonian functional* ${{\textstyle\int}}h\in{\mathcal{V}}/\partial{\mathcal{V}}$ is the evolution equation $$\label{ham-eq}
\frac{du}{dt}=\{{{\textstyle\int}}h,u\}\,\,, \,\,\,\, u\in{\mathcal{V}}\,.$$ An *integral of motion* for the Hamiltonian equation is a local functional ${{\textstyle\int}}f\in{\mathcal{V}}/\partial{\mathcal{V}}$ such that $\{{{\textstyle\int}}h,{{\textstyle\int}}f\}=0$, and two integrals of motion ${{\textstyle\int}}f,{{\textstyle\int}}g$ are *in involution* if $\{{{\textstyle\int}}f,{{\textstyle\int}}g\}=0$.

Let ${\mathcal{V}}$ be a unital differential algebra with a $\lambda$-bracket $\{\cdot\,_\lambda\,\cdot\}$ and let $M$ be a unital associative algebra. Given the $M$-valued pseudodifferential operators over ${\mathcal{V}}$ $A(\partial),B(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes M$, we define the $\lambda$-bracket of their symbols $\{A(z)_\lambda B(w)\}$ as the element of ${\mathcal{V}}((z^{-1},w^{-1}))\otimes M\otimes M$ obtained by taking the $\lambda$-bracket of the first factors. In other words, if $A(\partial)=a(\partial)A$ and $B(\partial)=b(\partial)B$, with $a(\partial),b(\partial)\in{\mathcal{V}}((\partial^{-1}))$ and $A,B\in M$, we have $$\label{20170404:eq2}
\{A(z)_\lambda B(w)\}=\{a(z)_\lambda b(w)\}\,A\otimes B
\,.$$ (As usual, we omit the tensor product sign after the first factor.) In the sequel we shall use the following properties of such $\lambda$-brackets (which, in matrix element form, appeared in [@DSKVnew Eq.(2.12)–(2.15)]):

\[20170404:lem2\] Let $A(\partial),B(\partial),C(\partial),A_\ell(\partial),B_\ell(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes M$, $\ell=1,\dots,s$.

(a) We have $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{A(z)_\lambda (BC)(w)\}
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =
    \{A(z)_\lambda B(w+x)\}\big(1\otimes\big|_{x=\partial}C(w)\big)
    +\big(1\otimes B(w+\lambda+\partial)\big)\{A(z)_\lambda C(w)\}
    \,.}
    \end{array}$$

(b) We have $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{(AB)(z)_\lambda C(w)\}
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =
    \{A(z+x)_{\lambda+x}C(w)\}\big(\big|_{x=\partial}B(z)\otimes1\big)
    +\big(\big|_{y=\partial}A^*(\lambda-z)\otimes1\big)\{B(z)_{\lambda+y}C(w)\}
    \,.}
    \end{array}$$

(c) We have $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{A(z)_\lambda (B_1\dots B_s)(w)\}
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =
    \sum_{\ell=1}^{s}
    \big(1\otimes (B_1\!\dots\! B_{\ell-1})(w\!+\!\lambda\!+\!\partial)\big)
    \{A(z)_\lambda B_\ell(w\!+\!x)\}\big(1\otimes\big|_{x=\partial}(B_{\ell+1}\!\dots\! B_s)(w)\big)
    \,.}
    \end{array}$$

(d) We have $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{(A_1\dots A_s)(z)_\lambda B(w)\}
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =\!
    \sum_{\ell=1}^{s}
    \!
    \big(\big|_{y=\partial}\!(A_1\!\dots\! A_{\ell\!-\!1})^*(\lambda\!-\!z)\!\otimes\!1\big)
    \{A_\ell(z\!+\!x)_{\lambda\!+\!x\!+\!y}B(w)\}
    \big(\big|_{x=\partial}\!(A_{\ell\!+\!1}\!\dots\! A_s)(z)\!\otimes\!1\big)
    \,.}
    \end{array}$$

(e) For every $n\in{\mathbb{Z}}_{\geq1}$, we have $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{A(z)_\lambda B^n(w)\}
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =
    \sum_{\ell=0}^{n-1}
    \big(1\otimes B^{n-\ell-1}(w+\lambda+\partial)\big)
    \{A(z)_\lambda B(w+x)\}\big(1\otimes\big|_{x=\partial}B^\ell(w)\big)
    \,.}
    \end{array}$$

(f) For every $n\in{\mathbb{Z}}_{\geq1}$, we have $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{A^n(z)_\lambda B(w)\}
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =
    \sum_{\ell=0}^{n-1}
    \big(\big|_{y=\partial}(A^\ell)^*(\lambda-z)\otimes1\big)
    \{A(z+x)_{\lambda+x+y}B(w)\}
    \big(\big|_{x=\partial}A^{n-1-\ell}(z)\otimes1\big)
    \,.}
    \end{array}$$

(g) If $B(\partial)$ is invertible in ${\mathcal{V}}((\partial^{-1}))\otimes M$, then $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{A(z)_\lambda B^{-1}(w)\}
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =-\big(1\otimes B^{-1}(w+\lambda+\partial)\big)
    \{A(z)_{\lambda}B(w+x)\}\big(1\otimes \big|_{x=\partial}B^{-1}(w)\big)
    \,.}
    \end{array}$$

(h) If $A(\partial)$ is invertible in ${\mathcal{V}}((\partial^{-1}))\otimes M$, then $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{A^{-1}(z)_\lambda B(w)\}
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =
    -\big(\big|_{y=\partial}(A^{-1})^*(\lambda-z)\otimes1\big)
    \{A(z+x)_{\lambda+x+y}B(w)\}\big(\big|_{x=\partial}A^{-1}(z)\otimes1\big)
    \,.}
    \end{array}$$

(i) If $B(\partial)$ is invertible in ${\mathcal{V}}((\partial^{-1}))\otimes M$ and $n\in{\mathbb{Z}}_{\leq-1}$, then $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{A(z)_\lambda B^n(w)\}
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =-\sum_{\ell=n}^{-1}
    \big(1\otimes B^{n-1-\ell}(w+\lambda+\partial)\big)
    \{A(z)_{\lambda}B(w+x)\}\big(1\otimes \big|_{x=\partial}B^\ell(w)\big)
    \,.}
    \end{array}$$

(j) If $A(\partial)$ is invertible in ${\mathcal{V}}((\partial^{-1}))\otimes M$ and $n\in{\mathbb{Z}}_{\leq-1}$, then $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{A^n(z)_\lambda B(w)\}
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =
    -\sum_{\ell=n}^{-1}
    \big(\big|_{y=\partial}(A^\ell)^*(\lambda-z)\otimes1\big)
    \{A(z+x)_{\lambda+x+y}B(w)\}
    \big(\big|_{x=\partial}A^{n-1-\ell}(z)\otimes1\big)
    \,.}
    \end{array}$$

Formulas (a) and (b) are just the Leibniz rules (ii) above in the notation . Formulas (c) and (d) follow from (a) and (b) respectively, by induction and Lemma \[20170404:lem1\]. Formulas (e) and (f) are a special case of (c) and (d). Formulas (g) and (h) follow from (a) and (b) respectively, using the identity $AA^{-1}=A^{-1}A=1$. Finally, formulas (i) and (j) are obtained by (e)-(g) and (f)-(h) respectively.

Classical affine W-algebras {#sec:2}
===========================

Construction of the classical affine ${\mathcal{W}}$-algebras {#sec:def}
-------------------------------------------------------------

We review here the construction of the classical affine ${\mathcal{W}}$-algebra following [@DSKV13]. Let ${\mathfrak{g}}$ be a reductive Lie algebra with a non-degenerate symmetric invariant bilinear form $(\cdot\,|\,\cdot)$, and let $\{f,2x,e\}\subset{\mathfrak{g}}$ be an ${\mathfrak{sl}}_2$-triple in ${\mathfrak{g}}$. We have the corresponding $\operatorname{ad}x$-eigenspace decomposition $$\label{eq:grading}
{\mathfrak{g}}=\bigoplus_{k\in\frac{1}{2}{\mathbb{Z}}}{\mathfrak{g}}_{k}
\,\,\text{ where }\,\,
{\mathfrak{g}}_k=\big\{a\in{\mathfrak{g}}\,\big|\,[x,a]=ka\big\}
\,,$$ so that $f\in{\mathfrak{g}}_{-1}$, $x\in{\mathfrak{g}}_{0}$ and $e\in{\mathfrak{g}}_{1}$. We let $d$ be the *depth* of the grading, i.e. the maximal eigenvalue of $\operatorname{ad}x$. For a subspace ${\mathfrak{a}}\subset{\mathfrak{g}}$ we denote by ${\mathcal{V}}({\mathfrak{a}})$ the algebra of differential polynomials over ${\mathfrak{a}}$, i.e. ${\mathcal{V}}({\mathfrak{a}})=S({\mathbb{F}}[\partial]{\mathfrak{a}})$.

Consider the pencil of affine Poisson vertex algebras ${\mathcal{V}}_\epsilon({\mathfrak{g}},s)$, where $\epsilon\in{\mathbb{F}}$ and $s\in{\mathfrak{g}}_d$, defined as follows. The underlying differential algebra is the algebra ${\mathcal{V}}({\mathfrak{g}})$ of differential polynomials over ${\mathfrak{g}}$, and the PVA $\lambda$-bracket is given by $$\label{lambda}
\{a_\lambda b\}_\epsilon=[a,b]+(a| b)\lambda+\epsilon(s|[a,b])
\quad \text{ for }\quad a,b\in{\mathfrak{g}}\,,$$ and extended to ${\mathcal{V}}({\mathfrak{g}})$ by the sesquilinearity axioms and the Leibniz rules.

The ${\mathbb{F}}[\partial]$-submodule ${\mathbb{F}}[\partial]{\mathfrak{g}}_{\geq\frac12}\subset{\mathcal{V}}({\mathfrak{g}})$ is a Lie conformal subalgebra of ${\mathcal{V}}_\epsilon({\mathfrak{g}},s)$ with the $\lambda$-bracket $\{a_\lambda b\}_\epsilon=[a,b]$, $a,b\in{\mathfrak{g}}_{\geq\frac12}$ (it is independent of $\epsilon$). Consider the differential subalgebra ${\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})$ of ${\mathcal{V}}({\mathfrak{g}})$, and denote by $\rho:\,{\mathcal{V}}({\mathfrak{g}})\twoheadrightarrow{\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})$, the differential algebra homomorphism defined on generators by $$\label{rho}
\rho(a)=\pi_{\leq\frac12}(a)+(f| a),
\qquad a\in{\mathfrak{g}}\,,$$ where $\pi_{\leq\frac12}:\,{\mathfrak{g}}\to{\mathfrak{g}}_{\leq\frac12}$ denotes the projection with kernel ${\mathfrak{g}}_{\geq1}$. We have a representation of the Lie conformal algebra ${\mathbb{F}}[\partial]{\mathfrak{g}}_{\geq\frac12}$ on the differential subalgebra ${\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})\subset{\mathcal{V}}({\mathfrak{g}})$, defined by $$a_\lambda(g)=\rho\{a_\lambda g\}_\epsilon
\quad\text{ for }\quad a\in{\mathfrak{g}}_{\geq\frac12}\,,\,\,g\in{\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})$$ (note that the RHS is independent of $\epsilon$ since, by assumption, $s\in{\mathfrak{g}}_d$).

The *classical* ${\mathcal{W}}$-*algebra* ${\mathcal{W}}_\epsilon({\mathfrak{g}},f,s)$ is, by definition, the differential algebra $$\label{20120511:eq2}
{\mathcal{W}}={\mathcal{W}}({\mathfrak{g}},f)
=\big\{w\in{\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})\,\big|\,\rho\{a_\lambda w\}_\epsilon=0\,
\text{ for all }a\in{\mathfrak{g}}_{\geq\frac12}\}\,,$$ endowed with the following pencil of PVA $\lambda$-brackets [@DSKV13 Lemma 3.2] $$\label{20120511:eq3}
\{v_\lambda w\}^{{\mathcal{W}}}_{\epsilon}=\rho\{v_\lambda w\}_\epsilon,
\qquad v,w\in{\mathcal{W}}\,.$$ With a slight abuse of notation, we shall denote by ${\mathcal{W}}({\mathfrak{g}},f)$ also the ${\mathcal{W}}$-algebra ${\mathcal{W}}_\epsilon({\mathfrak{g}},f,s)$ for $\epsilon=0$ (or, equivalently, $s=0$).

Structure Theorem for classical affine ${\mathcal{W}}$-algebras {#sec:3.2}
---------------------------------------------------------------

Fix a subspace $U\subset{\mathfrak{g}}$ complementary to $[f,{\mathfrak{g}}]$, which is compatible with the grading . For example, we could take $U={\mathfrak{g}}^e$, as we did in [@DSKV13] and [@DSKV16a], or a different, more convenient, choice for $U$ as we did for ${\mathfrak{g}}={\mathfrak{gl}}_N$ in [@DSKV16b]. Since $\operatorname{ad}f:\,{\mathfrak{g}}_{j}\to{\mathfrak{g}}_{j-1}$ is surjective for $j\leq\frac12$, we have ${\mathfrak{g}}_{\leq-\frac12}\subset[f,{\mathfrak{g}}]$. In particular, we have the direct sum decomposition $$\label{eq:U}
{\mathfrak{g}}_{\geq-\frac12}=[f,{\mathfrak{g}}_{\geq\frac12}]\oplus U\,.$$ Note that, by the non-degeneracy of $(\cdot\,|\,\cdot)$, the orthocomplement to $[f,{\mathfrak{g}}]$ is ${\mathfrak{g}}^f$, the centralizer of $f$ in ${\mathfrak{g}}$. Hence, the direct sum decomposition dual to is $$\label{eq:Uperp}
{\mathfrak{g}}_{\leq\frac12}=U^\perp\oplus{\mathfrak{g}}^f\,.$$ As a consequence of we have the decomposition in a direct sum of subspaces $$\label{eq:decomp}
{\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})={\mathcal{V}}({\mathfrak{g}}^f)\oplus\langle U^\perp\rangle\,,$$ where $\langle U^\perp\rangle$ is the differential algebra ideal of ${\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})$ generated by $U^\perp$. Let $\pi_{{\mathfrak{g}}^f}:\,{\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})\twoheadrightarrow{\mathcal{V}}({\mathfrak{g}}^f)$ be the canonical quotient map, with kernel $\langle U^\perp\rangle$.

\[thm:structure-W\] The map $\pi_{{\mathfrak{g}}^f}$ restricts to a differential algebra isomorphism $$\pi:=\pi_{{\mathfrak{g}}^f}|_{{\mathcal{W}}}:\,{\mathcal{W}}\,\stackrel{\sim}{\longrightarrow}\,{\mathcal{V}}({\mathfrak{g}}^f)
\,,$$ hence we have the inverse differential algebra isomorphism $$w:\,{\mathcal{V}}({\mathfrak{g}}^f)\,\stackrel{\sim}{\longrightarrow}\,{\mathcal{W}}
\,,$$ which associates to every element $q\in{\mathfrak{g}}^f$ the (unique) element $w(q)\in{\mathcal{W}}$ of the form $w(q)=q+r$, with $r\in\langle U^\perp\rangle$.

The pseudodifferential operator L\_eps(d) for the W-algebra W\_eps(g,f,s) associated to a g-module V {#sec:3}
====================================================================================================

Let $\varphi:{\mathfrak{g}}\to\operatorname{End}V$ be a faithful representation of ${\mathfrak{g}}$ on an $N$-dimensional vector space $V$. Throughout the paper we shall often use the following convention: we denote by lowercase Latin letters elements of the Lie algebra ${\mathfrak{g}}$, and by uppercase letters the corresponding elements of $\operatorname{End}V$. For example, $F=\varphi(f)$ is a nilpotent endomorphism of $V$ and we denote by $p=(p_1\geq p_2\geq\dots\geq p_r>0)$ the corresponding partition of $N$. Moreover, $X=\varphi(x)$ is a semisimple endomorphism of $V$ with half-integer eigenvalues. The corresponding $X$-eigenspace decomposition of $V$ is $$\label{eq:grading_V}
V=\bigoplus_{k\in\frac12{\mathbb{Z}}}V[k]
\,,$$ with largest eigenvalue $\frac D2$, where $D=p_1-1$. The eigenspace associated to the largest eigenvalue has dimension $\dim V[\frac D2]=r_1$, the multiplicity of $p_1$ in the partition $p$. We also have the corresponding $\operatorname{ad}X$-eigenspace decomposition of $\operatorname{End}V$: $$\label{eq:grading_EndV}
\operatorname{End}V=\bigoplus_{k\in\frac12{\mathbb{Z}}}(\operatorname{End}V)[k]
\,,$$ which has largest eigenvalue $D$.

\[20170317:lem1\]

(a) For every $k\in\frac12{\mathbb{Z}}$ s.t. $- D\leq k\leq D$, we have a canonical isomorphism $$(\operatorname{End}V)[k]
    \simeq
    \bigoplus_{j\in\frac12{\mathbb{Z}}}\operatorname{Hom}(V[j],V[j+k])
    \,,$$ where the direct sum is over $j$ such that $-\frac D2\leq j,j+k\leq\frac D2$.

(b) In particular, we have a canonical isomorphism $$(\operatorname{End}V)[D]
    \simeq
    \operatorname{Hom}(V[-\frac D2],V[\frac D2])
    \,.$$

(c) Identifying $V[-\frac D2]$ with $V[\frac D2]$ via the isomorphism $F^D:\,V[\frac D2]\stackrel{\sim}{\rightarrow}V[-\frac D2]$, we get the corresponding isomorphisms $$(\operatorname{End}V)[D]
    \simeq\operatorname{End}(V[\frac D2])
    \,\,,\,\,\,
    A\mapsto A F^D\,\big|_{V[\frac D2]}
    \,,$$ and $$(\operatorname{End}V)[D]
    \simeq\operatorname{End}(V[-\frac D2])
    \,\,,\,\,\,
    A\mapsto F^D A\,\big|_{V[-\frac D2]}
    \,.$$

Denote by $r^k_j:\,(\operatorname{End}V)[k]\to\operatorname{Hom}(V[j],V[j+k])$ the restriction map. Clearly, $r^k:=\oplus_j r^k_j:\,(\operatorname{End}V)[k]\to\bigoplus_j\operatorname{Hom}(V[j],V[j+k])$ is injective for every $k$, and by dimension counting it is easy to see that it is surjective too. This proves part (a). Part (b) is the special case $k=D$ of (a), and part (c) is an obvious consequence of (b).

Recall that the trace form of the representation $V$ is, by definition, $$\label{20170317:eq1}
(a|b)=\operatorname{tr}_V(\varphi(a)\varphi(b))\,,
\qquad
a,b\in{\mathfrak{g}}
\,,$$ and we assume that it is non-degenerate. Let $\{u_i\}_{i\in I}$ be a basis of ${\mathfrak{g}}$ compatible with the $\operatorname{ad}x$-eigenspace decomposition , i.e. $I=\sqcup_k I_k$ where $\{u_i\}_{i\in I_k}$ is a basis of ${\mathfrak{g}}_k$. We also denote $I_{\leq\frac12}=\sqcup_{k\leq\frac12}I_k$, and similarly for $I_{\leq0}$, $I_{\geq\frac12}$, etc. Moreover, we assume that $\{u_i\}_{i\in I}$ contains a basis $\{u_i\}_{i\in I_f}$ of ${\mathfrak{g}}^f$. Let $\{u^i\}_{i\in I}$ be the basis of ${\mathfrak{g}}$ dual to $\{u_i\}_{i\in I}$ with respect to the form , i.e. $(u_i|u^j)=\delta_{i,j}$. According to our convention, we denote by $U_i$ and $U^i$, $i\in I$, the corresponding endomorphisms of $V$.

Associated to the element $s\in{\mathfrak{g}}_d$ we have the element $S=\varphi(s)\in(\operatorname{End}V)[d]$. Let $T\in(\operatorname{End}V)[D]$. If $D=d$, we can take $T=S$, but in general $d\leq D$, so it is not always possible to let $T$ and $S$ be the same endomorphism. Consider the canonical decomposition $T=I J$, where $$\label{IJ}
J=T:V\twoheadrightarrow\operatorname{Im}T
\,\,\text{ and }\,\,
I:\operatorname{Im}T\hookrightarrow V
\,\,\text{ is the inclusion map}.$$ Clearly, $\operatorname{Im}T\subset V[\frac{D}{2}]$ and $\bigoplus_{k>-\frac D2} V[k]\subset{\operatorname{Ker}}T$. If $T$ is of maximal rank ($=r_1$), then both inclusions become equalities: $\operatorname{Im}T=V[\frac{D}{2}]$, ${\operatorname{Ker}}T=\bigoplus_{k>-\frac D2} V[k]$. We shall assume that $T$ satisfies the following condition: $$\label{20170317:eq2}
V={\operatorname{Ker}}T\oplus F^D(\operatorname{Im}T)
\,.$$ This is equivalent to say that the endomorphisms $T_+=T F^D\big|_{V[\frac D2]}\,\in\operatorname{End}(V[\frac D2])$ and/or $T_-=F^D T \big|_{V[-\frac D2]}\,\in\operatorname{End}(V[-\frac D2])$ (cf. Lemma \[20170317:lem1\](c)) are such that ${\operatorname{Ker}}T_{\pm}\cap\operatorname{Im}T_{\pm}=0$. Of course, if $\operatorname{rk}(T)=r_1$, then $T_\pm$ are invertible and condition automatically holds.

Consider the following $\operatorname{End}V$-valued differential operator with coefficients in ${\mathcal{V}}({\mathfrak{g}})$ (depending on the parameter $\epsilon\in{\mathbb{F}}$): $$\label{eq:A}
A_\epsilon(\partial)=\partial{\mathbbm{1}}_V+\sum_{i\in I}u_i U^i+\epsilon S
\,\,
\in{\mathcal{V}}({\mathfrak{g}})[\partial]\otimes\operatorname{End}(V)
\,.$$ Here and further, we drop the tensor product sign when writing an element of ${\mathcal{V}}\otimes\operatorname{End}V$. If we apply the map $\rho$ ($=\rho\otimes 1$), defined by , to $A(\partial)$, we get $$\rho(A_\epsilon(\partial))=\partial{\mathbbm{1}}_V+F+\sum_{i\in I_{\leq\frac12}}u_i U^i+\epsilon S
\,\,\in{\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})[\partial]\otimes\operatorname{End}V
\,.$$ We shall consider its $(I,J)$-quasideterminant [@DSKVnew], namely $$\label{eq:L}
L_\epsilon(\partial)=L_\epsilon({\mathfrak{g}},f,s,V,T)(\partial)
:=
\Big(J\big(\partial{\mathbbm{1}}_V+F+\sum_{i\in I_{\leq\frac12}}u_iU^i+\epsilon S\big)^{-1} I\Big)^{-1}
\,.$$

Associated to the basis $\{u_i\}_{i\in I}$ we have the subspace $$U
=\operatorname{Span}\{u^i\mid i\in I_{f}\}
\,\subset{\mathfrak{g}}_{\geq-\frac12}
\,,$$ which is complementary to $[f,{\mathfrak{g}}]$ in ${\mathfrak{g}}$, and to $[f,{\mathfrak{g}}_{\geq\frac12}]$ in ${\mathfrak{g}}_{\geq-\frac12}$, and its orthocomplement in ${\mathfrak{g}}_{\leq\frac12}$, $$U^\perp=\operatorname{Span}\{u_i\mid i\in I_{\leq\frac12}\setminus I_f\}\,\subset{\mathfrak{g}}_{\leq\frac12}
\,,$$ which is complementary to ${\mathfrak{g}}^f$ in ${\mathfrak{g}}_{\leq\frac12}$. Recall that, by Theorem \[thm:structure-W\], we have the corresponding differential algebra isomorphism $w:\,{\mathcal{V}}({\mathfrak{g}}^f)\stackrel{\sim}{\rightarrow}{\mathcal{W}}({\mathfrak{g}},f)$, and let us denote by $w_i:=w(u_i),\,i\in I_f$, the corresponding free generators of the the ${\mathcal{W}}$-algebra (as a differential algebra).

\[thm:main\] $L_\epsilon(\partial)$ is well defined and $$\label{eq:Lw}
L_\epsilon(\partial)
=
\Big(J\big(\partial{\mathbbm{1}}_V+F+\sum_{i\in I_{f}}w_i U^i+\epsilon S\big)^{-1}I\Big)^{-1}
\,\in{\mathcal{W}}({\mathfrak{g}},f)((\partial^{-1}))\otimes\operatorname{End}(\operatorname{Im}T)
\,.$$

The above theorem consists of three statements. First, it claims that $L_\epsilon(\partial)$ is well defined, i.e. both inverses in formula can be carried out in the algebra of pseudodifferential operators with coefficients in ${\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})$. This is the content of Lemma \[20170303:prop1\] below. Next, it claims that, in fact, the coefficients of $L_\epsilon(\partial)$ lie in the ${\mathcal{W}}$-algebra ${\mathcal{W}}({\mathfrak{g}},f)$, which is proved in Lemma \[prop:L2\_general\] below. Finally, it gives a formula, equation , for $L_\epsilon(\partial)$ in terms of the generators $w_i,\,i\in I_f$, of the ${\mathcal{W}}$-algebra ${\mathcal{W}}({\mathfrak{g}},f)$. This formula is proved in Lemma \[lemma:last\].

\[20170317:rem\] Note that $U^\perp$, and hence $U$, depend on the choice of the basis elements $u_i$, for $i\in I_{\leq\frac12}\backslash I_f$. As a consequence, the map $w:\,{\mathcal{V}}({\mathfrak{g}}^f)\to{\mathcal{W}}({\mathfrak{g}},f)$, as well as the generators $w_i$, $i\in I_f$, change when we change the basis elements $u_i$, $i\in I_{\leq\frac12}\backslash I_f$. However, as a consequence of Theorem \[thm:main\], the RHS of formula is independent of the choice of the basis of ${\mathfrak{g}}$.

\[20170303:prop1\]

(a) $\rho(A_\epsilon(\partial))$ is invertible in ${\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})((\partial^{-1}))\otimes\operatorname{End}(V)$.

(b) $J(\rho(A_\epsilon(\partial)))^{-1} I$ is invertible in ${\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})((\partial^{-1}))\otimes\operatorname{End}(\operatorname{Im}T)$.

The differential operator $\rho(A_\epsilon(\partial))$ is of order one with leading coefficient ${\mathbbm{1}}_V$. Hence it is invertible in the algebra $V({\mathfrak{g}}_{\leq\frac12})((\partial^{-1}))\otimes\operatorname{End}(V)$, and its inverse can be computed by geometric series expansion: $$\label{eq:thm1-pr1}
\rho(A_\epsilon(\partial))^{-1}
=
\sum_{\ell=0}^\infty (-1)^\ell \partial^{-1}
\Big(\big(F+\sum_{i\in I_{\leq\frac12}}u_iU^i+\epsilon S\big)\partial^{-1}\Big)^\ell
\,.$$ This proves part (a). Recall that $F\in(\operatorname{End}V)[-1]$, $U^i\in(\operatorname{End}V)[\geq-\frac12]$ for $i\in I_{\leq\frac12}$ and $S\in(\operatorname{End}V)[d]\subset(\operatorname{End}V)[\geq-\frac12]$. Recall also that $\operatorname{Im}I=\operatorname{Im}T\subset V[\frac{D}{2}]$ and ${\operatorname{Ker}}J={\operatorname{Ker}}T\supset V[>-\frac D2]$. Hence, by keeping track of the $X$-eigenvalues, we immediately get that $$J\partial^{-1}\Big(\big(F+\sum_{i\in I_{\leq\frac12}}u_iU^i+\epsilon S\big)\partial^{-1}\Big)^\ell I
\left\{\begin{array}{l}
\vphantom{\Big(}
=0\,\,\text{ if }\,\, \ell<D\,, \\
\vphantom{\Big(}
=JF^DI\,\partial^{-p_1}\,\,\text{ if }\,\, \ell=D\,, \\
\vphantom{\Big(}
\!\!\in\!\!{\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})[[\partial^{-1}]]\partial^{\!\!-\!p_1\!-\!1}\!\!\otimes\operatorname{End}(\operatorname{Im}T)
\text{ if } \ell>D.
\end{array}\right.$$ It follows from that $$\label{eq1:20170303}
J\rho(A_\epsilon(\partial))^{-1} I=(-1)^{D}J F^{D} I\,\partial^{-p_1}\,+\,\text{ lower order terms}\,.$$ By the assumption on $T$, we have that $JF^DI=TF^D|_{\operatorname{Im}T}$ is an invertible endomorphism of $\operatorname{Im}T$. Hence, can be inverted by geometric series expansion, proving (b).

\[lem:app2\] Consider the pencil of affine Poisson vertex algebras ${\mathcal{V}}={\mathcal{V}}_\epsilon({\mathfrak{g}},s)$ with $s\in{\mathfrak{g}}_d$. For $a\in{\mathfrak{g}}_{\geq\frac12}$ and $g\in{\mathcal{V}}({\mathfrak{g}})$, we have $\rho\{a_\lambda \rho(g)\}_\epsilon=\rho\{a_\lambda g\}_\epsilon$.

\[lem:app1a\] For $a\in{\mathfrak{g}}$, we have $\displaystyle{\sum_{i\in I}[a,u_i] U^i=\sum_{i\in I}u_i [U^i,\varphi(a)]
\in{\mathcal{V}}({\mathfrak{g}})\!\otimes\!\operatorname{End}V}$.

By the completeness relation for ${\mathfrak{g}}$ and the invariance of the trace form $(\cdot\,|\,\cdot)$, we have $$\sum_{i\in I}[a,u_i] U^i
=
\sum_{i,j\in I}([a,u_i]|u^j)u_j\varphi(u^i)
=
\sum_{i,j\in I}([u^j,a]|u_i)u_j\varphi(u^i)
=
\sum_{j\in I}u_j[U^j,\varphi(a)]
\,.$$

\[lem:app1b\] For $a\in{\mathfrak{g}}$, we have $$\{a_\lambda A_\epsilon(z)\}_\epsilon=A_\epsilon(z+\lambda)\varphi(a)-\varphi(a)A_\epsilon(z)
\,,$$ where $A_\epsilon(z)$ is the symbol of the pseudodifferential operator $A_\epsilon(\partial)\in{\mathcal{V}}({\mathfrak{g}})[\lambda]\otimes\operatorname{End}(V)$ defined in .

By definition of the $\lambda$-bracket in ${\mathcal{V}}({\mathfrak{g}})$, we have $$\{a_\lambda A_\epsilon(z)\}_\epsilon
=
\sum_{i\in I}\{a_\lambda u_i\}_\epsilon U^i
=
\sum_{i\in I}[a,u_i]U^i+\lambda\varphi(a)+\epsilon\varphi([s,a])
\,.$$ On the other hand, by we have $$A_\epsilon(z+\lambda)\varphi(a)-\varphi(a)A_\epsilon(z)
=
\lambda\varphi(a)+\sum_{i\in I}u_i[U^i,\varphi(a)]+\epsilon[S,\varphi(a)]
\,.$$ The claim follows by Lemma \[lem:app1a\] (recalling that $S=\varphi(s)$).

\[prop:L2\_general\] We have $\rho\{a_\lambda L_\epsilon^{-1}(z)\}_\epsilon=0$ for every $a\in{\mathfrak{g}}_{\geq\frac12}$, where $L_\epsilon^{-1}(z)$ is the symbol of the pseudodifferential operator $L_\epsilon^{-1}(\partial)=J\circ(\rho(A_\epsilon(\partial)))^{-1}\circ I$. Equivalently, $L_\epsilon^{-1}(\partial)$, and hence $L_\epsilon(\partial)$, has coefficients in the ${\mathcal{W}}$-algebra ${\mathcal{W}}({\mathfrak{g}},f)$.

By the definition of $L_\epsilon(\partial)$ and recalling that the map $\rho$ is a differential algebra homomorphism, we have $$\label{eq:app3_general}
\rho\{a_\lambda L_\epsilon^{-1}(z)\}_\epsilon
=
\rho\{a_\lambda J(\rho A_\epsilon)^{-1}(z)I\}_\epsilon
=
\rho J\{a_\lambda \rho(A_\epsilon^{-1}(z))\}_\epsilon I
\,.$$ We then apply Lemma \[lem:app2\] to rewrite the RHS of as $$\rho J\{a_\lambda (A_\epsilon^{-1}(z))\}_\epsilon I
\,,$$ we use Lemma \[20170404:lem2\](g) to rewrite it as $$-\rho J A_\epsilon^{-1}(z+\lambda+\partial)\{a_\lambda A_\epsilon(z+x)\}_\epsilon
\big(\big|_{x=\partial}A_\epsilon^{-1}(z)\big) I
\,,$$ and finally we use Lemma \[lem:app1b\] to equal it to $$-\rho( J \varphi(a) A_\epsilon^{-1}(z) I )
+\rho( J A_\epsilon^{-1}(z+\lambda)\varphi(a) I )
\,.$$ To conclude we observe that, since $\varphi(a)\in(\operatorname{End}V)[\geq\frac12]$, both $J\varphi(a)$ and $\varphi(a) I$ vanish.

\[lemma:last\] Equation holds.

By Lemma \[prop:L2\_general\] we have $L_\epsilon(\partial)\in{\mathcal{W}}({\mathfrak{g}},f)((\partial^{-1}))\otimes\operatorname{Im}T$. Hence, by Theorem \[thm:structure-W\] we have $L_\epsilon(\partial)=(w\circ\pi_{{\mathfrak{g}}^f})L_\epsilon(\partial)$. The claim follows by the definition of $U$ and the fact that $w$ and $\pi_{{\mathfrak{g}}^f}$ are differential algebra homomorphisms.

Generalized Adler identity {#sec:4}
==========================

Some facts from linear algebra {#sec:4.1}
------------------------------

Given a vector space $V$ of dimension $N$, we denote by $\Omega_V\in\operatorname{End}V\otimes\operatorname{End}V$ the permutation map: $$\label{Omega}
\Omega_V(v_1\otimes v_2)=v_2\otimes v_1
\,\,\text{ for all }\,\,v_1,v_2\in V
\,.$$ Often, if confusion may not arise, we shall drop the index $V$ and we shall denote $\Omega=\Omega_V$. We shall also sometimes write $\Omega=\Omega^\prime\otimes\Omega^{\prime\prime}$ to denote, as usual, a sum of monomials in $\operatorname{End}V\otimes\operatorname{End}V$. In fact, we can write an explicit formula: $\Omega=\sum_{i,j=1}^NE_{ij}\otimes E_{ji}$, where $E_{ij}$ is the “standard” basis of $\operatorname{End}V$ consisting of elementary matrices w.r.t. any basis of $V$ (obviously, $\Omega$ does not depend on the choice of this basis). By the completeness relation, we have $$\label{20170404:eq1}
\operatorname{tr}(\Omega^\prime A)\Omega^{\prime\prime}=A\,.$$ As an immediate consequence of we have:

\[20170322:lem1\] Let $U$ and $V$ be vector spaces, and let $A,B\in U\to V$ be linear maps. We have $$\label{eq:permut}
\Omega_V(A\otimes B)=(B\otimes A)\Omega_U$$

It is an obvious consequence of .

Let $\langle\cdot\,|\,\cdot\rangle$ be a non-degenerate symmetric or skewsymmetric bilinear form on $V$: $$\label{eq:epsilon}
\langle u|v\rangle=\epsilon\langle v|u\rangle
\,\,,\,\,\,\,u,v\in V
\,\,,\,\,\text{ where }\epsilon\in\{\pm1\}
\,.$$ Let $\{v_k\}_{k=1}^N$ be a basis of $V$ and let $\{v^k\}_{k=1}^N$ be the dual basis with respect to $\langle\cdot\,|\,\cdot\rangle$: $$\langle v^k|v_h\rangle=\epsilon\langle v_k|v^h\rangle=\delta_{h,k}
\,\,\text{ for all }h,k=1,\dots,N
\,.$$ By the symmetry of the inner product, we have $$\label{eq:epsbasis}
\sum_{k=1}^Nv^k\otimes v_k=\epsilon\sum_{k=1}^Nv_k\otimes v^k
\,.$$ Recall also that we have the following completeness relations: $$\label{eq:completeness}
\sum_{k=1}^N \langle v^k|v\rangle v_k
=
\sum_{k=1}^N \langle v|v_k\rangle v^k
=v
\,\,\text{ for all } v\in V
\,.$$

For $A\in\operatorname{End}V$ we denote by $A^\dagger$ its adjoint with respect to $\langle\cdot\,|\,\cdot\rangle$: $$\langle u|A^\dagger(v)\rangle
=
\langle A(u)|v\rangle
\,\,\text{ for all }\,\, u,v\in V
\,.$$ It immediately follows from the completeness relation and the definition of adjoint that, for every $A\in\operatorname{End}V$, we have $$\label{eq:abasis}
\sum_{k=1}^NA(v^k)\otimes v_k=\sum_{k=1}^Nv^k\otimes A^\dagger(v_k)
\,.$$

We shall denote by $\Omega_V^\dagger$ (or simply $\Omega^\dagger$) the element of $\operatorname{End}V\otimes\operatorname{End}V$ obtained taking the adjoint on the first factor of $\Omega$: $$\label{Omega-tau}
\Omega^\dagger
=
(\Omega^\prime)^\dagger\otimes\Omega^{\prime\prime}
\,\in\operatorname{End}V\otimes\operatorname{End}V
\,.$$ The following Lemma gives an explicit formula for the action of $\Omega^\dagger$ on $V\otimes V$:

\[20170322:lem2\] For every $v_1,v_2\in V$, we have $$\label{eq:omega+}
\Omega^\dagger(v_1\otimes v_2)=\langle v_1|v_2\rangle\sum_{k=1}^N v^k\otimes v_k
\,.$$

It suffices to take inner product of both sides of with $v_3\otimes v_4$. For the LHS we have $$\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\langle v_3\otimes v_4|\Omega^\dagger(v_1\otimes v_2)\rangle
=
\langle v_3|(\Omega^\prime)^\dagger(v_1)\rangle\langle v_4|\Omega^{\prime\prime}(v_2)\rangle
=
\langle \Omega^\prime(v_3)|v_1\rangle\langle v_4|\Omega^{\prime\prime}(v_2)\rangle
} \\
\displaystyle{
\vphantom{\Big(}
=
\langle v_2|v_1\rangle\langle v_4|v_3\rangle
=
\langle v_1|v_2\rangle\langle v_3|v_4\rangle
\,.}
\end{array}$$ For the third equality we used and for the last equality we used (and the fact that $\epsilon^2=1$). Doing the same computation with the RHS of we get, by , $$\langle v_1|v_2\rangle
\sum_{k=1}^N\langle v_3\otimes v_4|v^k\otimes v_k\rangle
=
\langle v_1|v_2\rangle
\sum_{k=1}^N\langle v_3|v^k\rangle\langle v_4|v_k\rangle
=
\langle v_1|v_2\rangle
\langle v_3|v_4\rangle
\,.$$

\[20170322:lem3\] For every $A\in\operatorname{End}V$, we have $$\label{eq:permut-tau}
(A\otimes{\mathbbm{1}})\Omega^\dagger=({\mathbbm{1}}\otimes A^\dagger)\Omega^\dagger
\,\,,\,\,\,\,
\Omega^\dagger(A\otimes{\mathbbm{1}})=\Omega^\dagger({\mathbbm{1}}\otimes A^\dagger)
\,.$$

We can combine both identities in in $$\label{eq:permut-tau2}
(A\otimes{\mathbbm{1}})\Omega^\dagger(B\otimes{\mathbbm{1}})=({\mathbbm{1}}\otimes A^\dagger)\Omega^\dagger({\mathbbm{1}}\otimes B^\dagger)
\,\,\text{ for }\,A,B\in\operatorname{End}V\,.$$ If we apply the LHS of to $v_1\otimes v_2$ we get $$\langle B(v_1)|v_2\rangle\sum_{k=1}^NA(v^k)\otimes v_k
\,,$$ while if we apply the RHS of to $v_1\otimes v_2$ we get $$\langle v_1|B^\dagger(v_2)\rangle\sum_{k=1}^Nv^k\otimes A^\dagger(v_k)
\,.$$ Hence, follows from the definition of adjoint operator and from equation .

Fix an endomorphism $T\in\operatorname{End}V$ and let $T=IJ$, with $I:\,\operatorname{Im}T\hookrightarrow V$ and $J:\,V\twoheadrightarrow\operatorname{Im}T$, be its canonical decomposition given by . We shall assume that $T$ is either selfadjoint or skewadjoint with respect to the inner product $\langle\cdot\,|\,\cdot\rangle$: $$\label{eq:delta}
T^\dagger=\delta T
\,\,\text{ where }\,\,\delta\in\{\pm1\}
\,.$$

\[20170322:lem4\] We have a well defined non-degenerate bilinear form $\langle\cdot\,|\,\cdot\rangle^T$ on $\operatorname{Im}T$, depending on the endomorphism $T$, given by the following formula $$\label{eq:productU}
\langle u_1|u_2\rangle^T
=
\langle J^{-1}(u_1)|I(u_2)\rangle
\,\,\text{ for all }\, u_1,u_2\in\operatorname{Im}T
\,.$$ The inner product $\langle\cdot\,|\,\cdot\rangle^T$ has the following parity, depending on the parity of $\langle\cdot\,|\,\cdot\rangle$ and the self/skew-adjointness of $T$: $$\label{eq:epsdelta}
\langle u_1|u_2\rangle^T
=
\epsilon\delta\,
\langle u_2|u_1\rangle^T
\,\,\text{ for all }\, u_1,u_2\in\operatorname{Im}T
\,.$$

First, we need to show that the RHS of formula is well defined, i.e., for $u_1,u_2\in\operatorname{Im}T$, $\langle\tilde{u_1}|u_2\rangle$ does not depend on the choice of the representative $\tilde{u_1}\in J^{-1}(u_1)$. This is the same as saying that ${\operatorname{Ker}}J\perp \operatorname{Im}I$ with respect to $\langle\cdot\,|\,\cdot\rangle$. But ${\operatorname{Ker}}J={\operatorname{Ker}}T$ and $\operatorname{Im}I=\operatorname{Im}T$ and, for a self or skew adjoint operator $T$, ${\operatorname{Ker}}T$ and $\operatorname{Im}T$ are automatically orthogonal.

Next, we prove that $\langle\cdot\,|\,\cdot\rangle^T$ is non-degenerate. Indeed, if the RHS of vanishes for all $u_1\in\operatorname{Im}T$, then $\langle v|I(u_2)\rangle=0$ for all $v\in V$, which implies $u_2=0$, since $\langle\cdot\,|\,\cdot\rangle$ is non-degenerate and $I$ is injective.

Finally, we prove the symmetry property . Let $u_1,u_2\in\operatorname{Im}T$ and let $\tilde{u_1},\tilde{u_2}\in V$ be their preimages via $J$: $J(\tilde{u_1})=u_1$ and $J(\tilde{u_2})=u_2$. We have $$\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\langle u_1|u_2\rangle^T
=
\langle J^{-1}(u_1)|I(u_2)\rangle
=
\langle \tilde{u_1}|u_2\rangle
=
\epsilon\langle u_2|\tilde{u_1}\rangle
=
\epsilon\langle J(\tilde{u_2})|\tilde{u_1}\rangle
=
\epsilon\delta\langle \tilde{u_2}|J(\tilde{u_1})\rangle
} \\
\displaystyle{
\vphantom{\Big(}
=
\epsilon\delta\langle \tilde{u_2}|u_1\rangle
=
\epsilon\delta\langle u_2|u_1\rangle^T
\,.}
\end{array}$$

\[20170411:lem2\] Let $T\in\operatorname{End}V$ satisfy condition , and let $\langle\cdot\,|\,\cdot\rangle^T$ be the inner product on $\operatorname{Im}T$ defined by . For $A\in\operatorname{End}V$, we have $$(JAI)^{\dagger_T}=\delta JA^\dagger I\,,$$ where $\dagger$ denotes the adjoint in $\operatorname{End}V$ w.r.t. $\langle\cdot\,|\,\cdot\rangle$, and $\dagger_T$ denotes the adjoint in $\operatorname{End}(\operatorname{Im}T)$ w.r.t. $\langle\cdot\,|\,\cdot\rangle^T$.

By the definition of $\langle\cdot\,|\,\cdot\rangle^T$, the assumption and condition , we have $$\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\langle u_1|(JAI)^{\dagger_T}u_2\rangle^T
=
\langle JAI u_1|u_2\rangle^T
=
\langle AI u_1| Iu_2\rangle
=
\langle I u_1| A^\dagger Iu_2\rangle
} \\
\displaystyle{
\vphantom{\Big(}
=
\epsilon\langle A^\dagger Iu_2 | I u_1 \rangle
=
\epsilon\langle JA^\dagger Iu_2 | u_1 \rangle^T
=
\epsilon^2\delta\langle u_1 | JA^\dagger Iu_2 \rangle^T
\,.}
\end{array}$$

\[20170322:lem5\] Let $\{t_h\}_{h=1}^M$ and $\{t^h\}_{h=1}^M$ be bases of $\operatorname{Im}T$ dual with respect to $\langle\cdot\,|\,\cdot\rangle^T$. We have: $$\label{eq:complete2}
\begin{array}{l}
\displaystyle{
\vphantom{\big(}
\sum_{h=1}^Mt^h\otimes I(t_h)
=
\sum_{k=1}^NJ(v^k)\otimes v_k
\,,} \\
\displaystyle{
\vphantom{\big(}
\sum_{h=1}^MI(t^h)\otimes t_h
=
\delta\sum_{k=1}^Nv^k\otimes J(v_k)
\,.}
\end{array}$$

We first observe that $\sum_{k=1}^NJ(v^k)\otimes v_k\in\operatorname{Im}T\otimes\operatorname{Im}T$. Indeed, if we pair the first factor with $v\in V$, we have $$\sum_{k=1}^N\langle J(v^k)|v\rangle \otimes v_k
=\delta\sum_{k=1}^N\langle v^k|J(v)\rangle \otimes v_k
=\delta J(v)\in\operatorname{Im}T
\,.$$ Next, if we take the inner product $\langle\cdot\,|\,\cdot\rangle^T$ of $\sum_{h=1}^Mt^h\otimes t_h$ with $u_1\otimes u_2\in\operatorname{Im}T\otimes\operatorname{Im}T$ we have, by definition of dual bases, $$\sum_{h=1}^M\langle t^h|u_1\rangle^T\langle t_h|u_2\rangle^T=\langle u_1|u_2\rangle^T
\,.$$ On the other hand, if we take the same inner product of the RHS of the first equation in with $u_1\otimes u_2\in\operatorname{Im}T\otimes\operatorname{Im}T$, we have, by , $$\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\sum_{k=1}^N\langle J(v^k)|u_1\rangle^T\langle v_k|u_2\rangle^T
=
\sum_{k=1}^N\langle v^k|I(u_1)\rangle\langle J^{-1}(v_k)|I(u_2)\rangle
} \\
\displaystyle{
\vphantom{\Big(}
=
\langle J^{-1}(u_1)|I(u_2)\rangle
=
\langle u_1|u_2\rangle^T
\,.}
\end{array}$$ This proves the first equation in . If we permute the two factors in both sides of the first equation in, we get $$\sum_{h=1}^M I(t_h)\otimes t^h
=
\sum_{k=1}^Nv_k\otimes J(v^k)
\,.$$ But $\sum_ht_h\otimes t^h=\epsilon\delta\sum_ht^h\otimes t_h$, and $\sum_kv_k\otimes v^k=\epsilon\sum_kv^k\otimes v_k$. The second equation in follows.

The following result will be essential in Section \[sec:4.3\]:

\[20170322:lem6\] Consider the operator $\Omega_V^\dagger$ associated to the vector space $V$ and its inner product $\langle\cdot\,|\,\cdot\rangle$, and the operator $\Omega_{\operatorname{Im}T}^\dagger$ associated to the subspace $\operatorname{Im}T$ and its inner product $\langle\cdot\,|\,\cdot\rangle^T$. The following identity holds in $\operatorname{Hom}(V,\operatorname{Im}T)\otimes\operatorname{Hom}(\operatorname{Im}T,V)$: $$\label{permut-omega-dagger1}
(J\otimes{\mathbbm{1}}_V)\Omega_V^\dagger({\mathbbm{1}}_V\otimes I)
=
({\mathbbm{1}}_{\operatorname{Im}T}\otimes I)\Omega_{\operatorname{Im}T}^\dagger(J\otimes{\mathbbm{1}}_{\operatorname{Im}T})
\,,$$ and the following identity holds in $\operatorname{Hom}(\operatorname{Im}T,V)\otimes\operatorname{Hom}(V,\operatorname{Im}T)$: $$\label{permut-omega-dagger2}
({\mathbbm{1}}_V\otimes J)\Omega_V^\dagger(I\otimes{\mathbbm{1}}_V)
=
(I\otimes{\mathbbm{1}}_{\operatorname{Im}T})\Omega_{\operatorname{Im}T}^\dagger({\mathbbm{1}}_{\operatorname{Im}T}\otimes J)
\,.$$

If we apply the LHS of to $v\otimes u\in V\otimes\operatorname{Im}T$, we get $$\langle v|I(u)\rangle \sum_{k=1}^N
J(v^k)\otimes v_k\,,$$ while we apply the RHS of to $v\otimes u\in V\otimes\operatorname{Im}T$, we get $$\langle J(v)|u\rangle^T
\sum_{h=1}^M t^h\otimes I(t_h)
\,.$$ Hence, equation follows by the definition of the inner product $\langle\cdot\,|\,\cdot\rangle^T$ and by the first equation in .

Next, let us apply the LHS of to $u\otimes v\in\operatorname{Im}T\otimes V$. As a result we get $$\langle I(u)|v\rangle
\sum_{k=1}^Nv^k\otimes J(v_k)
\,.$$ On the other hand, if we apply the RHS of to $u\otimes v\in\operatorname{Im}T\otimes V$, we get $$\langle u|J(v)\rangle^T
\sum_{h=1}^M I(t^h)\otimes t_h
\,.$$ Equation follows by the second equation in and by the following identity, $\langle u|J(v)\rangle^T=\delta\langle I(u)|v\rangle$, which is easily checked.

Formula for the $\lambda$-bracket of $A_\epsilon(z)$ {#sec:4.2}
----------------------------------------------------

Consider the pencil of Poisson vertex algebras ${\mathcal{V}}_\epsilon({\mathfrak{g}},s)$, $\epsilon\in{\mathbb{F}}$, associated to the Lie algebra ${\mathfrak{g}}$ and its element $s\in{\mathfrak{g}}$, with $\lambda$-bracket . Recall that, given a faithful representation $\varphi:\,{\mathfrak{g}}\hookrightarrow\operatorname{End}V$ of ${\mathfrak{g}}$, we constructed the differential operator $$\label{Aepsilon}
A_\epsilon(\partial)
=
\partial{\mathbbm{1}}+\sum_{i\in I}u_iU^i+\epsilon S
\,\in{\mathcal{V}}({\mathfrak{g}})[\partial]\otimes\operatorname{End}V
\,.$$ Recall the definition of $\Omega_V\in\operatorname{End}V\otimes\operatorname{End}V$. We shall also denote by $\Omega^{{\mathfrak{g}}}_V$ (or simply $\Omega^{{\mathfrak{g}}}$, if confusion may not arise), the following operator: $$\Omega^{{\mathfrak{g}}}_V=\sum_{i\in I}U_i\otimes U^i\,\in\operatorname{End}V\otimes\operatorname{End}V
\,.$$ We shall mainly be interested in the following three cases:

Case 1

:   ${\mathfrak{g}}={\mathfrak{gl}}_N$ and $V={\mathbb{F}}^N$ is the defining representation. In this case $\Omega^{{\mathfrak{g}}}=\Omega$.

Case 2

:   ${\mathfrak{g}}={\mathfrak{sl}}_N$ and $V={\mathbb{F}}^N$ is the defining representation. In this case $\Omega^{{\mathfrak{g}}}=\Omega-\frac1N{\mathbbm{1}}\otimes{\mathbbm{1}}$.

Case 3

:   ${\mathfrak{g}}=\{A\in\operatorname{End}V\,|\,A^\dagger=-A\}$, where $A^\dagger$ denotes the adjoint w.r.t. a symmetric or skewsymmetric non-degenerate bilinear form $\langle\cdot\,|\,\cdot\rangle$ on $V$; in other words, ${\mathfrak{g}}\simeq{\mathfrak{so}}_N$ if the form is symmetric, and ${\mathfrak{g}}\simeq{\mathfrak{sp}}_N$ if the form is skewsymmetric, and $V\simeq{\mathbb{F}}^N$ is the defining representation of ${\mathfrak{g}}$. In this case $\Omega^{\mathfrak{g}}=\frac12(\Omega-\Omega^\dagger)$.

\[20170318:lem\]

(a) The following identity holds: $$\{A_\epsilon(z)_\lambda A_\epsilon(w)\}_\epsilon
    =
    \sum_{i\in I}u_i[{\mathbbm{1}}\otimes U^i,\Omega^{{\mathfrak{g}}}]
    +\lambda\Omega^{{\mathfrak{g}}}+\epsilon[{\mathbbm{1}}\otimes S,\Omega^{{\mathfrak{g}}}]
    \,.$$

(b) The following identity holds: $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    ({\mathbbm{1}}\otimes A_\epsilon(w+\lambda+\partial))(z-w-\lambda-\partial)^{-1}
    (A_\epsilon^*(\lambda-z)\otimes{\mathbbm{1}})\Omega
    } \\
    \displaystyle{
    \vphantom{\Big(}
    -\Omega\,(A_\epsilon(z)\otimes(z-w-\lambda-\partial)^{-1}A_\epsilon(w))
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =
    \sum_{i\in I}u_i[{\mathbbm{1}}\otimes U^i,\Omega]
    +\lambda\Omega+\epsilon[{\mathbbm{1}}\otimes S,\Omega]
    \,.}
    \end{array}$$

(c) The following identity holds: $$\big({\mathbbm{1}}\otimes \big(A_\epsilon(w+\lambda+\partial)-A_\epsilon(w)\big)\big)
    (\lambda+\partial)^{-1}
    \big(\big(A_\epsilon^*(\lambda-z)-A_\epsilon(z)\big)\otimes{\mathbbm{1}}\big)
    =
    -\lambda{\mathbbm{1}}\otimes{\mathbbm{1}}\,.$$

(d) If ${\mathfrak{g}}$,$V$ are as in Case 3 above, then the following identity holds: $$\begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    ({\mathbbm{1}}\otimes A_\epsilon(w+\lambda+\partial))
    \Omega^\dagger(z+w+\partial)^{-1}(A_\epsilon(z)\otimes{\mathbbm{1}})
    } \\
    \displaystyle{
    \vphantom{\Big(}
    -(A_\epsilon^*(\lambda-z)\otimes{\mathbbm{1}})\Omega^\dagger(z+w+\partial)^{-1}({\mathbbm{1}}\otimes A_\epsilon(w))
    } \\
    \displaystyle{
    \vphantom{\Big(}
    =
    \sum_{i\in I}u_i[{\mathbbm{1}}\otimes U^i,\Omega^\dagger]
    +\lambda\Omega^\dagger+\epsilon[{\mathbbm{1}}\otimes S,\Omega^\dagger]
    \,.}
    \end{array}$$ Moreover, in this case we have $(A^*(\partial))^\dagger=-A(\partial)$.

By the definition of $A_\epsilon(z)$ and the definition of the $\lambda$-bracket in ${\mathcal{V}}_\epsilon({\mathfrak{g}},s)$, we have $$\label{20170320:eq1}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{A_\epsilon(z)_\lambda A_\epsilon(w)\}_\epsilon
=
\sum_{i,j\in I}\{{u_i}_\lambda{u_j}\}_\epsilon U^i\otimes U^j
} \\
\displaystyle{
\vphantom{\Big(}
=
\sum_{i,j\in I}
\big(
[u_i,u_j]+\lambda(u_i|u_j)
+\epsilon(s|[u_i,u_j])
\big)U^i\otimes U^j
}
\end{array}$$ On the other hand, by the completeness relation in ${\mathfrak{g}}$, we have $$\label{20170320:eq2}
\sum_{i,j\in I}
[u_i,u_j]
U^i\otimes U^j
=
\sum_{i,k\in I}
u_k
U^i\otimes [U^k,U_i]
=
\sum_{k\in I}
u_k
[{\mathbbm{1}}\otimes U^k,\Omega^{{\mathfrak{g}}}]
\,,$$ we have $$\label{20170320:eq3}
\sum_{i,j\in I}
(u_i|u_j)
U^i\otimes U^j
=
\sum_{i\in I}
U^i\otimes U_i
=
\Omega^{{\mathfrak{g}}}
\,,$$ and we have $$\label{20170320:eq4}
\sum_{i,j\in I}
(s|[u_i,u_j])
U^i\otimes U^j
=
\sum_{i\in I}
U^i\otimes \varphi([s,u_i])
=
[{\mathbbm{1}}\otimes S,\Omega^{{\mathfrak{g}}}]
\,.$$ Combining equations –, we get part (a).

Next, let us prove part (b). We have, by a straightforward computation, $$\label{20170320:eq5}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
A_\epsilon(w+\lambda+\partial)
\otimes(z-w-\lambda-\partial)^{-1}
A_\epsilon^*(\lambda-z)
} \\
\displaystyle{
\vphantom{\Big(}
-A_\epsilon(z)
\otimes(z-w-\lambda-\partial)^{-1}
A_\epsilon(w)
} \\
\displaystyle{
\vphantom{\Big(}
=
\lambda{\mathbbm{1}}\otimes{\mathbbm{1}}+\sum_{i\in I}u_i(U^i\otimes{\mathbbm{1}}-{\mathbbm{1}}\otimes U^i)
+\epsilon(S\otimes{\mathbbm{1}}-{\mathbbm{1}}\otimes S)
\,.}
\end{array}$$ Claim (b) is obtained multiplying both sides of on the left by $\Omega$ and applying .

Part (c) is immediate by definition , since $A_\epsilon(w+\lambda+\partial)-A_\epsilon(w)=(\lambda+\partial){\mathbbm{1}}$ and $A_\epsilon^*(\lambda-z)-A_\epsilon(z)=-\lambda{\mathbbm{1}}$.

Finally, for part (d), we have, denoting $\tilde{u_i}=u_i+\epsilon(s|u_i)$, $$\label{20170320:eq6}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
({\mathbbm{1}}\otimes A_\epsilon(w+\lambda+\partial))
\Omega^\dagger(z+w+\partial)^{-1}(A_\epsilon(z)\otimes{\mathbbm{1}})
} \\
\displaystyle{
\vphantom{\Big(}
-(A_\epsilon^*(\lambda-z)\otimes{\mathbbm{1}})\Omega^\dagger(z+w+\partial)^{-1}({\mathbbm{1}}\otimes A_\epsilon(w))
} \\
\displaystyle{
\vphantom{\Big(}
=
(z(w+\lambda)-(z-\lambda)w)(z+w)^{-1}\Omega^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
+\sum_{i\in I}\Big(
(w+\lambda+\partial)(z+w+\partial)^{-1}\tilde{u_i} \Omega^\dagger(U^i\otimes{\mathbbm{1}})
} \\
\displaystyle{
\vphantom{\Big(}
-(z-\lambda)(z+w+\partial)^{-1}\tilde{u_i} \Omega^\dagger({\mathbbm{1}}\otimes U^i)
} \\
\displaystyle{
\vphantom{\Big(}
+z(z+w)^{-1}\tilde{u_i} ({\mathbbm{1}}\otimes U^i)\Omega^\dagger
-w(z+w)^{-1}\tilde{u_i} (U^i\otimes{\mathbbm{1}})\Omega^\dagger
\Big)
} \\
\displaystyle{
\vphantom{\Big(}
+\sum_{i,j\in I}
\tilde{u_i}(z+w+\partial)^{-1}\tilde{u_j}
\Big(
({\mathbbm{1}}\otimes U^i)\Omega^\dagger(U^j\otimes{\mathbbm{1}})
-(U^i\otimes{\mathbbm{1}})\Omega^\dagger({\mathbbm{1}}\otimes U^j)
\Big)
\,.}
\end{array}$$ By equations , we have $\Omega^\dagger(U^i\otimes{\mathbbm{1}})=-\Omega^\dagger({\mathbbm{1}}\otimes U^i)$, $(U^i\otimes{\mathbbm{1}})\Omega^\dagger=-({\mathbbm{1}}\otimes U^i)\Omega^\dagger$, and $({\mathbbm{1}}\otimes U^i)\Omega^\dagger(U^j\otimes{\mathbbm{1}})=(U^i\otimes{\mathbbm{1}})\Omega^\dagger({\mathbbm{1}}\otimes U^j)$. Hence, the RHS of becomes $$\lambda\Omega^\dagger
+\sum_{i\in I}\tilde{u_i} [{\mathbbm{1}}\otimes U^i,\Omega^\dagger]
\,,$$ proving the first assertion in claim (d). The last assertion in claim (d) is obvious.

As a consequence of Lemma \[20170318:lem\], in the three cases 1-3 described above we have the following formulas for $\{A_\epsilon(z)_\lambda A_\epsilon(w)\}_\epsilon$:

Case 1

:   For ${\mathfrak{g}}={\mathfrak{gl}}_N$ and $V={\mathbb{F}}^N$, $A_\epsilon(\partial)$ satisfies the following *Adler identity* (cf. [@AGD Eq.(5.1)-(5.2)]): $$\label{eq:adler-glN}
    \begin{array}{c}
    \displaystyle{
    \vphantom{\Big(}
    \{A_\epsilon(z)_\lambda A_\epsilon(w)\}_\epsilon
    =
    ({\mathbbm{1}}\otimes A_\epsilon(w+\lambda+\partial))(z-w-\lambda-\partial)^{-1}
    (A_\epsilon^*(\lambda-z)\otimes{\mathbbm{1}})\Omega
    } \\
    \displaystyle{
    \vphantom{\Big(}
    -\Omega\,(A_\epsilon(z)\otimes(z-w-\lambda-\partial)^{-1}A_\epsilon(w))
    \,.}
    \end{array}$$

Case 2

:   For ${\mathfrak{g}}={\mathfrak{sl}}_N$ and $V={\mathbb{F}}^N$, $A_\epsilon(\partial)$ satisfies the following *modified Adler identity*: $$\label{eq:adler-slN}
    \begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{A_\epsilon(z)_\lambda A_\epsilon(w)\}_\epsilon
    =
    ({\mathbbm{1}}\otimes A_\epsilon(w+\lambda+\partial))(z-w-\lambda-\partial)^{-1}
    (A_\epsilon^*(\lambda-z)\otimes{\mathbbm{1}})\Omega
    } \\
    \displaystyle{
    \vphantom{\Big(}
    -\Omega\,(A_\epsilon(z)\otimes(z-w-\lambda-\partial)^{-1}A_\epsilon(w))
    } \\
    \displaystyle{
    \vphantom{\Big(}
    +\frac1N\big({\mathbbm{1}}\otimes \big(A_\epsilon(w+\lambda+\partial)-A_\epsilon(w)\big)\big)
    (\lambda+\partial)^{-1}
    \big(\big(A_\epsilon^*(\lambda-z)-A_\epsilon(z)\big)\otimes{\mathbbm{1}}\big)
    \,.}
    \end{array}$$

Case 3

:   For ${\mathfrak{g}}\simeq{\mathfrak{so}}_N$ or ${\mathfrak{sp}}_N$ and $V\simeq{\mathbb{F}}^N$, $A_\epsilon(\partial)$ satisfies $(A^*(\partial))^\dagger=-A(\partial)$, and the following *twisted Adler identity*: $$\label{eq:adler-soN}
    \begin{array}{l}
    \displaystyle{
    \vphantom{\Big(}
    \{A_\epsilon(z)_\lambda A_\epsilon(w)\}_\epsilon
    =
    \frac12
    ({\mathbbm{1}}\otimes A_\epsilon(w+\lambda+\partial))(z-w-\lambda-\partial)^{-1}
    (A_\epsilon^*(\lambda-z)\otimes{\mathbbm{1}})\Omega
    } \\
    \displaystyle{
    \vphantom{\Big(}
    -\frac12
    \Omega\,(A_\epsilon(z)\otimes(z-w-\lambda-\partial)^{-1}A_\epsilon(w))
    } \\
    \displaystyle{
    \vphantom{\Big(}
    -\frac12
    ({\mathbbm{1}}\otimes A_\epsilon(w+\lambda+\partial))
    \Omega^\dagger(z+w+\partial)^{-1}(A_\epsilon(z)\otimes{\mathbbm{1}})
    } \\
    \displaystyle{
    \vphantom{\Big(}
    +\frac12
    (A_\epsilon^*(\lambda-z)\otimes{\mathbbm{1}})\Omega^\dagger(z+w+\partial)^{-1}({\mathbbm{1}}\otimes A_\epsilon(w))
    \,.}
    \end{array}$$

The generalized Adler identity {#sec:4.3}
------------------------------

The following notion is introduced to include all three equations - as special cases.

\[def:adler-general\] Let $A(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes \operatorname{End}V$ be an $\operatorname{End}V$-valued pseudodifferential operator over the PVA ${\mathcal{V}}$. We say that $A(\partial)$ is an operator of *generalized Adler type* if $$\label{eq:adler-general}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{A(z)_\lambda A(w)\}
=
\alpha
({\mathbbm{1}}\otimes A(w+\lambda+\partial))(z-w-\lambda-\partial)^{-1}
(A^*(\lambda-z)\otimes{\mathbbm{1}})\Omega
} \\
\displaystyle{
\vphantom{\Big(}
-\alpha
\Omega\,\big(A(z)\otimes(z-w-\lambda-\partial)^{-1}A(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
-\beta
({\mathbbm{1}}\otimes A(w+\lambda+\partial))
\Omega^\dagger(z+w+\partial)^{-1}(A(z)\otimes{\mathbbm{1}})
} \\
\displaystyle{
\vphantom{\Big(}
+\beta
(A^*(\lambda-z)\otimes{\mathbbm{1}})\Omega^\dagger(z+w+\partial)^{-1}({\mathbbm{1}}\otimes A(w))
} \\
\displaystyle{
\vphantom{\Big(}
+\gamma\big({\mathbbm{1}}\otimes \big(A(w+\lambda+\partial)-A(w)\big)\big)
(\lambda+\partial)^{-1}
\big(\big(A^*(\lambda-z)-A(z)\big)\otimes{\mathbbm{1}}\big)
\,,}
\end{array}$$ for some $\alpha,\beta,\gamma\in{\mathbb{F}}$, where $\Omega$ is given by (for the vector space $V$). If $\beta\neq0$, we assume that $V$ carries a symmetric or skewsymmetric non-degenerate bilinear form $\langle\cdot\,|\,\cdot\rangle$ and $\Omega^\dagger$ is given by . Moreover, in this case we also assume that $$\label{eq:adjoint}
(A^*(\partial))^\dagger=\eta A(\partial)
\,\,\text{ where }\,\, \eta\in\{\pm1\}
\,.$$

\[rem:regular\] In equation , as well as in the analogous equations above in this Section, we can expand all terms either using $\iota_z$ or using $\iota_w$ (but not both) and the result is the same. Indeed, the coefficient of $\alpha$ is clearly regular in $z-w-\lambda-\partial$, and, thanks to the assumption , the coefficient of $\beta$ is regular in $z+w+\partial$. Note also that the last term of the RHS is regular in $\lambda+\partial$ (so no expansion is needed).

For example, for the three cases listed in Section \[sec:4.2\] equations , and for the operator $A_\epsilon(\partial)$ correspond to the following values of the parameters $\alpha,\beta,\gamma$: $$\label{table}
\begin{tabular}{ll|lll}
\vphantom{\Big(}
${\mathfrak{g}}$ & $V$ & \,\,$\alpha$\,\, & \,\,$\beta$\,\, & \,\,$\gamma$\,\, \\
\hline 
\vphantom{\Big(}
${\mathfrak{gl}}_N$ & ${\mathbb{F}}^N$ & 1 & 0 & 0 \\
\vphantom{\Big(}
${\mathfrak{sl}}_N$ & ${\mathbb{F}}^N$ & 1 & 0 & $\frac1N$ \\
\vphantom{\Big(}
${\mathfrak{so}}_N$ or ${\mathfrak{sp}}_N$ & ${\mathbb{F}}^N$ & $\frac12$ & $\frac12$ & 0 \\
\end{tabular}$$

\[thm:main2\] Let $A(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ be an $\operatorname{End}V$ valued pseudodifferential operator over the Poisson vertex algebra ${\mathcal{V}}$, of generalized Adler type. Then:

(a) If $A(\partial)$ is invertible in ${\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$, then $A^{-1}(\partial)$ satisfies the generalized Adler identity with the opposite values of $\alpha$ and $\beta$ (and the same value of $\gamma$). Furthermore, if $\beta\neq0$, then $((A^{-1})^*(\partial))^\dagger=\eta A^{-1}(\partial)$.

(b) Let $T\in\operatorname{End}V$ and $I,J$ be as in . If $\beta\neq0$, we assume that $T^\dagger=\delta T$, $\delta\in\{\pm1\}$ and we consider the corresponding inner product $\langle\cdot\,|\,\cdot\rangle^T$ on $\operatorname{Im}T$, defined by . Then, $JA(\partial)I\in{\mathcal{V}}\otimes\operatorname{End}(\operatorname{Im}T)\otimes\operatorname{End}(\operatorname{Im}T)$ satisfies the generalized Adler identity (with the same values of $\alpha,\beta,\gamma$), and, for $\beta\neq0$, we have $(JA^*(\partial)I)^{\dagger_T}=\eta\delta JA(\partial)I$.

(c) If, moreover, the generalized quasideterminant $$|A(\partial)|_{I,J}
    :=
    (JA^{-1}(\partial)I)^{-1}
    \,,$$ exists (i.e. $A(\partial)$ is invertible in ${\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$, and $JA^{-1}(\partial)I$ is invertible in ${\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}(\operatorname{Im}T)$), then $|A(\partial)|_{I,J}$ satisfies the generalized Adler identity (with the same values of $\alpha,\beta,\gamma$), and, for $\beta\neq0$, we have $(|A|_{I,J}^*(\partial))^{\dagger_T}=\eta\delta |A(\partial)|_{I,J}$.

If we apply Lemma \[20170404:lem2\](g)-(h), we get $$\label{20170321:eq1}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{A^{-1}(z)_\lambda A^{-1}(w)\}
=
\big(
\big(\big|_{x_1=\partial}(A^{-1})^*(\lambda-z)\big)\otimes A^{-1}(w+\lambda+x_1+x_2+y_2+u)
\big)
} \\
\displaystyle{
\vphantom{\Big(}
\times\big(\big|_{u=\partial}\{A(z+x_2)_{\lambda+x_1+x_2}A(w+y_2)\}\big)
\big(
\big(\big|_{x_2=\partial}A^{-1}(z)\big)\otimes\big(\big|_{y_2=\partial}A^{-1}(w)\big)
\big)
\,.}
\end{array}$$ Here we are using of the notation . We then use the generalized Adler identity to rewrite the RHS of as $$\label{20170321:eq2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{A^{-1}(z)_\lambda A^{-1}(w)\}
=
\alpha\,
(z-w-\lambda-y_2)^{-1}
\Omega
\big(
A^{-1}(z)\otimes\big(\big|_{y_2=\partial}A^{-1}(w)\big)
\big)
} \\
\displaystyle{
\vphantom{\Big(}
-\alpha
\big(
\big(\big|_{x_1=\partial}(A^{-1})^*(\lambda-z)\big)\otimes A^{-1}(w+\lambda+x_1)
\big)
\Omega
(z-w-\lambda-x_1)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
-\beta
\big((A^{-1})^*(\lambda-z)\otimes {\mathbbm{1}}\big)
\Omega^\dagger(z+w+y_2)^{-1}
\big({\mathbbm{1}}\otimes\big(\big|_{y_2=\partial}A^{-1}(w)\big)\big)
} \\
\displaystyle{
\vphantom{\Big(}
+\beta
\big({\mathbbm{1}}\otimes A^{-1}(w+\lambda+x_2)\big)
\Omega^\dagger(z+w+x_2)^{-1}
\big(\big(\big|_{x_2=\partial}A^{-1}(z)\big)\otimes{\mathbbm{1}}\big)
} \\
\displaystyle{
\vphantom{\Big(}
+\!\gamma
\big(
{\mathbbm{1}}\!\otimes\! 
\big(
A^{-1}(w)
-
A^{-1}(w\!+\!\lambda\!+\!x)
\big)
\big)
(\lambda\!+\!x)^{-1}
\big(
\big(\big|_{x=\partial}
A^{-1}(z)-(\!A^{-1}\!)^*(\lambda\!-\!z)
\big)\!\otimes\!{\mathbbm{1}}\big)
.}
\end{array}$$ Here we used the identities $$\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
A^{-1}(w+\lambda+y)\big(\big|_{y=\partial}A(w+\lambda)\big)
={\mathbbm{1}}\,\,,\,\,\,\,
A(w+y)\big(\big|_{y=\partial}A^{-1}(w)\big)
={\mathbbm{1}}} \\
\displaystyle{
\vphantom{\Big(}
\big(\big|_{x=\partial}(A^{-1})^*(\lambda-z)\big)A^*(\lambda+x-z)
={\mathbbm{1}}\,\,,\,\,\,\,
A(z+x)\big(\big|_{x=\partial}A^{-1}(z)\big)
={\mathbbm{1}}\,,}
\end{array}$$ which are a consequence of the identities $AA^{-1}=A^{-1}A={\mathbbm{1}}$ and Lemma \[20170404:lem1\]. Equation is the generalized Adler identity for $A^{-1}$, with the opposite values of $\alpha$ and $\beta$. The last assertion of claim (a) follows from Lemma \[20170411:lem1\].

Next, for part (b), we have $\{JA(z)I_\lambda JA(w)I\}
=(J\otimes J)\{A(z)_\lambda A(w)\}(I\otimes I)$. Hence, by we get $$\label{20170323:eq1}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{JA(z)I_\lambda JA(w)I\}
} \\
\displaystyle{
\vphantom{\Big(}
=
\alpha
(J\otimes J)({\mathbbm{1}}_V\otimes A(w+\lambda+\partial))(z-w-\lambda-\partial)^{-1}
(A^*(\lambda-z)\otimes{\mathbbm{1}}_V)\Omega_V(I\otimes I)
} \\
\displaystyle{
\vphantom{\Big(}
-\alpha
(J\otimes J)\Omega_V(A(z)\otimes(z-w-\lambda-\partial)^{-1}A(w))(I\otimes I)
} \\
\displaystyle{
\vphantom{\Big(}
-\beta
(J\otimes J)({\mathbbm{1}}_V\otimes A(w+\lambda+\partial))
\Omega_V^\dagger(z+w+\partial)^{-1}(A(z)\otimes{\mathbbm{1}}_V)(I\otimes I)
} \\
\displaystyle{
\vphantom{\Big(}
+\beta
(J\otimes J)(A^*(\lambda-z)\otimes{\mathbbm{1}}_V)\Omega_V^\dagger(z+w+\partial)^{-1}({\mathbbm{1}}_V\otimes A(w))(I\otimes I)
} \\
\displaystyle{
\vphantom{\Big(}
+\gamma
(J\!\otimes\! J)\big({\mathbbm{1}}_V\!\otimes\! \big(A(w\!+\!\lambda\!+\!\partial)\!-\!A(w)\big)\big)
(\lambda\!+\!\partial)^{-1}
\big(\big(A^*(\lambda\!-\!z)\!-\!A(z)\big)\!\otimes\!{\mathbbm{1}}_V\big)(I\!\otimes\! I)
.}
\end{array}$$ Obviously, we have $J{\mathbbm{1}}_V={\mathbbm{1}}_{\operatorname{Im}T}J$ and ${\mathbbm{1}}_VI=I{\mathbbm{1}}_{\operatorname{Im}T}$. We can then use Lemmas \[20170322:lem1\] and \[20170322:lem6\] to rewrite the RHS of as follows: $$\label{20170323:eq2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\alpha
({\mathbbm{1}}_{\operatorname{Im}T}\otimes JA(w+\lambda+\partial)I)(z-w-\lambda-\partial)^{-1}
(JA^*(\lambda-z)I\otimes{\mathbbm{1}}_{\operatorname{Im}T})\Omega_{\operatorname{Im}T}
} \\
\displaystyle{
\vphantom{\Big(}
-\alpha
\Omega_{\operatorname{Im}T}(JA(z)I\otimes(z-w-\lambda-\partial)^{-1}JA(w)I)
} \\
\displaystyle{
\vphantom{\Big(}
-\beta
({\mathbbm{1}}_{\operatorname{Im}T}\otimes JA(w+\lambda+\partial)I)
\Omega_{\operatorname{Im}T}^\dagger(z+w+\partial)^{-1}(JA(z)I\otimes{\mathbbm{1}}_{\operatorname{Im}T})
} \\
\displaystyle{
\vphantom{\Big(}
+\beta
(JA^*(\lambda-z)I\otimes{\mathbbm{1}}_{\operatorname{Im}T})\Omega_{\operatorname{Im}T}^\dagger(z+w+\partial)^{-1}({\mathbbm{1}}_{\operatorname{Im}T}\otimes JA(w)I)
} \\
\displaystyle{
\vphantom{\Big(}
+\gamma
\big({\mathbbm{1}}_V\!\otimes\! \big(JA(w\!+\!\lambda\!+\!\partial)I\!-\!JA(w)I\big)\big)
(\lambda\!+\!\partial)^{-1}
\big(\big(JA^*(\lambda\!-\!z)I\!-\!JA(z)I\big)\!\otimes\!{\mathbbm{1}}_V\big)
.}
\end{array}$$ Hence, $JA(\partial)I\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}(\operatorname{Im}T)$ satisfies the generalized Adler identity (with respect to the space $\operatorname{Im}T$ with inner product $\langle\cdot\,|\,\cdot\rangle^T$). The last assertion of claim (b) follows from Lemma \[20170411:lem2\].

By part (a), $A^{-1}(\partial)$ is an operator of generalized Adler type with parameters $-\alpha,-\beta,\gamma$. By part (b) $JA^{-1}(\partial)I$ is of generalized Adler type with the same parameters $-\alpha,-\beta,\gamma$. Finally, again by part (a), $|A(\partial)|_{I,J}$ is of generalized Adler type with parameters $\alpha,\beta,\gamma$, proving (c).

\[rem:general\] We could try to generalize the generalized Adler identity more, in a way that Theorem \[thm:main2\] still holds. This leads to an identity of the following type, $$\label{eq:adler-general2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{A(z)_\lambda A(w)\}
=
\big(
\big(\big|_{x=\partial}A^*(\lambda-z)\big)
\otimes
A(w+\lambda+x)
\big)
\alpha(z,w,\lambda+x)
} \\
\displaystyle{
\vphantom{\Big(}
+\beta(z+x,w+y,\lambda+x)
\big(
\big(\big|_{x=\partial}A(z)\big)
\otimes
\big(\big|_{y=\partial}A(w)\big)
\big)
} \\
\displaystyle{
\vphantom{\Big(}
+\big({\mathbbm{1}}\otimes A(w+\lambda+x)\big)
\gamma(z+x,w,\lambda+x)
\big(\big(\big|_{x=\partial}A(z)\big)\otimes{\mathbbm{1}}\big)
} \\
\displaystyle{
\vphantom{\Big(}
+\big(\big(\big|_{x=\partial}A^*(\lambda-z)\big)\otimes{\mathbbm{1}}\big)
\delta(z,w+y,\lambda+x)
\big({\mathbbm{1}}\otimes \big(\big|_{y=\partial}A(w)\big)\big)
\,,}
\end{array}$$ where $\alpha,\beta,\gamma,\delta$ are functions with values in $\operatorname{End}V\otimes\operatorname{End}V$ satisfying some compatibility condition with $T\in\operatorname{End}V$. However, despite our efforts, we were not able to find any interesting pair $({\mathfrak{g}},V)$, other than the one listed in table , for which the operator $A_\epsilon(\partial)\in{\mathcal{V}}({\mathfrak{g}})((\partial^{-1}))\otimes\operatorname{End}V$ satisfies a generalized Adler identity of the form .

\[rem:XYZ\] Let $A(\partial)$ be an operator of $(\alpha,\beta,\gamma,\delta)$-Adler type for the $\lambda$-bracket $\{\cdot\,_\lambda\,\cdot\}$, in the sense of Remark \[rem:general\], i.e. we assume that equation holds. Skewsymmetry for the $\lambda$-bracket $\{\cdot\,_\lambda\,\cdot\}$ translates to the condition: $$\label{eq:skew}
\{A(z)_\lambda A(w)=-\{A(w)_{-\lambda-\partial}A(z)\}^{\sigma}
\,\in ({\mathcal{V}}[\lambda])[[z^{-1},w^{-1}]][z,w]\otimes\operatorname{End}V\otimes\operatorname{End}V
\,,$$ where $\sigma:\,\operatorname{End}V\otimes\operatorname{End}V\to \operatorname{End}V\otimes\operatorname{End}V$ is the transposition of the two factors. One can check that holds provided that $\alpha,\beta,\gamma,\delta$ satisfy the following conditions: $$\begin{split}\label{eq:cond1}
&\alpha(z,w,\lambda)=-\alpha^\sigma(w,z,-\lambda)
\,,
\qquad
\beta(z,w,\lambda)=-\beta^\sigma(w,z,-\lambda)
\,,
\\
&\gamma(z,w,\lambda)=-\delta^\sigma(w,z,-\lambda)
\,.
\end{split}$$ Furthermore, the Jacobi identity for the $\lambda$-bracket $\{\cdot\,_\lambda\,\cdot\}$ translates to the condition: $$\label{eq:jacobi}
\{A(z_1)_\lambda \{A(z_2)_\mu A(z_3)\}\}-\{A(z_2)_\mu \{A(z_1)_\lambda A(z_3)\}\}^{(12)}
=\{\{A(z_1)_\lambda A(z_2)\}_{\lambda+\mu} A(z_3)\}
\,,$$ where $(1,2):\,\operatorname{End}V^{\otimes3}\to\operatorname{End}V^{\otimes3}$ is the transposition of the first two factors. One can check that holds provided that $\alpha,\beta,\gamma,\delta$ satisfy the following conditions: $$\begin{split}\label{eq:cond2}
\operatorname{\Gamma}(\alpha,\alpha,\alpha)=0\,,
\quad
\operatorname{\Gamma}(-\alpha,\delta,\delta)=0\,,
\quad
\operatorname{\Gamma}(\gamma,-\alpha,\gamma)=0\,,
\quad
\operatorname{\Gamma}(\delta,\gamma,-\alpha)=0\,,
\\
\operatorname{\Gamma}(\beta,\beta,\beta)=0\,,
\quad
\operatorname{\Gamma}(-\beta,\gamma,\gamma)=0\,,
\quad
\operatorname{\Gamma}(\delta,-\beta,\delta)=0\,,
\quad
\operatorname{\Gamma}(\gamma,\delta,-\beta)=0
\,,
\end{split}$$ where $$\begin{split}
&\operatorname{\Gamma}(X,Y,Z)=
X_{12}(z_1,z_2-\lambda-\mu,\lambda)Y_{23}(z_2,z_3,\lambda+\mu)
-Y_{23}(z_2,z_3+\lambda,\mu)Z_{13}(z_1,z_3,\lambda) \\
& -Z_{13}(z_1+\mu,z_3,\lambda+\mu)X_{12}(z_1,z_2,-\mu)
+X_{12}(z_1-\lambda-\mu,z_2,-\mu)Z_{13}(z_1,z_3,\lambda+\mu)\\
&+Z_{13}(z_1,z_3+\mu,\lambda)Y_{23}(z_2,z_3,\mu)
-Y_{23}(z_2+\lambda,z_3,\lambda+\mu)X_{12}(z_1,z_2,\lambda)
\,.
\end{split}$$ Here we are using the standard notation $X_{12}=X\otimes{\mathbbm{1}}\in(\operatorname{End}V)^{\otimes3}$, and similarly for $X_{23}$ and $X_{13}$.

\[rem:faddeev\] As a special case of Remarks \[rem:general\] and \[rem:XYZ\], let $\alpha=-\beta$, and $\gamma=\delta=0$ in equation . Moreover, assume that $\alpha(z_1,z_2,\lambda)=\alpha(z_1-z_2-\lambda)$ is a function of $z_1-z_2-\lambda$. Then, condition is equivalent to $$\label{eq:cond1b}
\alpha(z)=-\alpha(-z)^\sigma
\,,$$ and condition is equivalent to $$\begin{split}\label{eq:cond2b}
&\alpha_{12}(z-w+\lambda-\mu)\alpha_{23}(w+\mu)
+\alpha_{13}(z)\alpha_{23}(w)
\\
&+\alpha_{12}(z-w)\alpha_{13}(z)
-\alpha_{23}(w+\mu)\alpha_{13}(z+\lambda)
\\
&-\alpha_{13}(z+\lambda)\alpha_{12}(z-w+\lambda-\mu)
-\alpha_{23}(w)\alpha_{12}(z-w)
=0
\,.
\end{split}$$ Equation is the same as [@faddeev Ch.III, Eq.(1.40)]. For $\lambda=\mu=0$, equation reduces to [@faddeev Ch.III, Eq.(1.41)], see also [@BD82 Eq.(1.4)]. Moreover, in this case the identity reduces to the so-called *fundamental Poisson bracket* given by [@faddeev Ch.III, Eq.(1.20)].

\[rem:BD\] Assuming that $\alpha(z_1,z_2,\lambda)=\alpha(z_1-\lambda,z_2)$ is a function of $z_1-\lambda$ and $z_2$, then, the first equation in can be rewritten as $\alpha(u_1,u_2)=-\alpha(u_2,u_1)^\sigma$, which is called unitary condition in [@BD82], while the first equation in , i.e. $\operatorname{\Gamma}(\alpha,\alpha,\alpha)=0$, is equivalent to $$\begin{split}
&\alpha_{12}(u_1,u_2-\lambda)\alpha_{23}(u_2-\lambda,u_3)
+\alpha_{13}(u_1,u_3+\mu)\alpha_{23}(u_2,u_3)
\\
&+\alpha_{12}(u_1,u_2)\alpha_{13}(u_1-\mu,u_3)
-\alpha_{23}(u_2,u_3+\lambda)\alpha_{13}(u_1,u_3)
\\
&-\alpha_{13}(u_1,u_3)\alpha_{12}(u_1+\mu,u_2)
-\alpha_{23}(u_2,u_3)\alpha_{12}(u_1,u_2)
=0
\,.
\end{split}$$ which, for $\lambda=\mu=0$, reduces to [@BD82 Eq.(1.1)].

\[20170404:cor\] Let ${\mathfrak{g}},V$ and the parameters $\alpha,\beta,\gamma$ be as in table . Let $\{f,2x,e\}\subset{\mathfrak{g}}$ be an ${\mathfrak{sl}}_2$-triple, consider the corresponding $\operatorname{ad}x$-eigenspace decompositions and , let $s\in{\mathfrak{g}}_d$, $T\in(\operatorname{End}V)[D]$, and assume that condition holds. In Case 3 (i.e. ${\mathfrak{g}}={\mathfrak{so}}_N$ or ${\mathfrak{sp}}_N$ and $V={\mathbb{F}}^N$), assume also that $T^\dagger=\delta T$, $\delta\in\{=\pm1\}$, and consider the corresponding inner product $\langle\cdot\,|\,\cdot\rangle^T$ on $\operatorname{Im}T$ defined by . Consider the pencil of $W$-algebras ${\mathcal{W}}_\epsilon({\mathfrak{g}},f,s)$, $\epsilon\in{\mathbb{F}}$, and the $\operatorname{End}(\operatorname{Im}T)$-valued pseudodifferential operator $L_\epsilon(\partial)$, defined by , over the PVA ${\mathcal{W}}_\epsilon({\mathfrak{g}},f,s)$. Then $L_\epsilon(\partial)$ is an operator of generalized Adler type for every $\epsilon\in{\mathbb{F}}$.

By , and , $A_\epsilon(\partial)$ satisfies . Hence, by Theorem \[thm:main2\](c) so does the generalized quasideterminant $(J(A_\epsilon^{-1}(\partial)I)^{-1}$. Applying the differential algebra homomorphism $\rho$ to both sides of the generalized Adler identity for this generalized quasideterminant (and applying [@DSKV13 Cor.3.3(d)]), we get the desired result.

Scalar operators with constant coefficients of generalized Adler type {#sec:5.4}
---------------------------------------------------------------------

It is natural to ask when a scalar operator with constant coefficients, $A(\partial)=a(\partial){\mathbbm{1}}$, satisfies the generalized Adler identity . In this case reads: $$\label{eq:adler-scalar}
\begin{array}{l}
\displaystyle{
\vphantom{\Bigg(}
\alpha
\frac{a(z-\lambda)a(w+\lambda)-a(z)a(w)}{z-w-\lambda}
\Omega
-\beta
\frac{a(z)a(w+\lambda)-a(z-\lambda)a(w)}{z+w}
\Omega^\dagger
} \\
\displaystyle{
\vphantom{\Bigg(}
+\gamma
\frac{(a(z-\lambda)-a(z))
(a(w+\lambda)-a(w))}\lambda
{\mathbbm{1}}\otimes{\mathbbm{1}}=
0
\,.}
\end{array}$$ In order to make sense of equation , we may assume that $a(\partial)$ lies in ${\mathbb{F}}((\partial^{-1}))$ or in ${\mathbb{F}}((\partial))$. If $\dim V>1$, the operators $\Omega,\Omega^\dagger$ and ${\mathbbm{1}}\otimes{\mathbbm{1}}\in\operatorname{End}V\otimes\operatorname{End}V$ are linearly independent. Hence, in this case, equation implies $a(\partial)=a\in{\mathbb{F}}$. Let us then consider the case when $V={\mathbb{F}}$, in which case $\Omega=\Omega^\dagger={\mathbbm{1}}\otimes{\mathbbm{1}}$, and equation becomes $$\label{eq:adler-scalar1}
\begin{array}{l}
\displaystyle{
\vphantom{\Bigg(}
\alpha
\frac{a(z-\lambda)a(w+\lambda)-a(z)a(w)}{z-w-\lambda}
-\beta
\frac{a(z)a(w+\lambda)-a(z-\lambda)a(w)}{z+w}
} \\
\displaystyle{
\vphantom{\Bigg(}
+\gamma
\frac{(a(z-\lambda)-a(z))
(a(w+\lambda)-a(w))}\lambda
=
0
\,.}
\end{array}$$ If we take the derivative at $\lambda=0$ of both sides of equation , we get $$\label{eq:adler-scalar2}
\alpha
\frac{a(z)a'(w)-a'(z)a(w)}{z-w}
-\beta
\frac{a(z)a'(w)+a'(z)a(w)}{z+w}
-\gamma a'(z)a'(w)
=
0
\,.$$ We can then take the limit for $z\to w$ of both sides of to get $$\label{eq:adler-scalar3}
\alpha
\big((a'(w))^2-a(w)a''(w)\big)
-\beta
\frac{a(w)a'(w)}{w}
-\gamma (a'(w))^2
=
0
\,.$$ Letting $y(w)=\frac{a'(w)}{a(w)}$, equation reduces to the following first order differential equation for the function $y(w)$: $$\label{eq:adler-scalar4}
\alpha y'
+\beta\frac{y}{w}
+\gamma y^2
=
0
\,,$$ which can be easily solved by the method of variation of constants. The general solutions of equation , and, up to a multiplicative constant, of equation , are given in the following table: $$\label{table-2}
\begin{tabular}{l|l|l}
\vphantom{\Big(}
conditions on $\alpha,\beta,\gamma$ & $y(w)$ & $a(w)$ \\
\hline 
\vphantom{\Big(}
--- & $0$ & $1$ \\
$\alpha-\beta-n\gamma=0$ & $\frac{n}{w}$ & $w^n$ \\
$\alpha(n-1)+\beta=0,\,
\alpha\neq0,\,\gamma=0$ & $kw^{n-1}$ & $\exp({kw^n})$ \\
$\beta=\alpha,\,\gamma\neq0,\,\alpha-n\gamma=0$ & $\frac{n}{w(k+\log w)}$ 
& $(k+\log w)^n$
\end{tabular}
\,,$$ where $k\in{\mathbb{F}}$. To conclude, we need to see which of the solutions $a(w)$ listed in Table are indeed solutions of the generalized Adler identity . As a result, we get the following complete list of scalar operators of generalized Adler type (in dimension $1$), up to a multiplicative constant: $$\label{table-3}
\begin{tabular}{l|l}
\vphantom{\Big(}
conditions on $\alpha,\beta,\gamma$ & $a(\partial)$ \\
\hline 
\vphantom{\Big(}
--- & $1$ \\
$\alpha-\beta-\gamma=0$ & $\partial$ \\
$\alpha-\beta+\gamma=0$ & $\partial^{-1}$ \\
$\alpha=-\beta=\gamma$ & $\partial^2$ \\
$\alpha=-\beta=-\gamma$ & $\partial^{-2}$ \\
$\alpha\neq0, \beta=\gamma=0$ & $e^{k\partial}$,\, $k\in{\mathbb{F}}$
\end{tabular}$$

Integrable hierarchies for generalized Adler type operators {#sec:6}
===========================================================

\[thm:hn\] Let $A(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ be an $\operatorname{End}V$-valued pseudodifferential operator over the Poisson vertex algebra ${\mathcal{V}}$. Assume that $A(\partial)$ is an operator of generalized Adler type, and that it is invertible in ${\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$. For $B(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ a $K$-th root of $A$ (i.e. $A(\partial)=B(\partial)^K$ for $K\in{\mathbb{Z}}\backslash\{0\}$) define the elements $h_{n,B}\in{\mathcal{V}}$, $n\in{\mathbb{Z}}$, by ($\operatorname{tr}=1\otimes\operatorname{tr}$) $$\label{eq:hn}
h_{n,B}=
\frac{-K}{n}
\operatorname{Res}_z\operatorname{tr}(B^n(z))
\text{ for } n\neq0
\,,\,\,
h_0=0\,.$$ Then:

(a) All the elements ${{\textstyle\int}}h_{n,B}$ are Hamiltonian functionals in involution: $$\label{eq:invol}
    \{{{\textstyle\int}}h_{m,B},{{\textstyle\int}}h_{n,C}\}=0
    \,\text{ for all } m,n\in{\mathbb{Z}},\,
    B,C \text{ roots of } A
    \,.$$

(b) The corresponding compatible hierarchy of Hamiltonian equations satisfies $$\label{eq:hierarchy}
    \frac{dA(w)}{dt_{n,B}}
    =
    \{{{\textstyle\int}}h_{n,B},A(w)\}
    =
    [\alpha(B^n)_+-\beta((B^{n})^{*\dagger})_+,A](w)
    \,,\,\,n\in{\mathbb{Z}},\,
    B \text{ root of } A$$ (in the RHS we are taking the symbol of the commutator of matrix pseudodifferential operators), and the Hamiltonian functionals ${{\textstyle\int}}h_{n,C}$, $n\in{\mathbb{Z}}_+$, $C$ root of $A$, are integrals of motion of all these equations.

\[rem:negative-n\] One can state the same Theorem \[thm:hn\] without the assumption that $A$ (and therefore $B$) is invertible, at the price of assuming that $K\geq1$, and of restricting the sequence $h_n$ in to $n\in{\mathbb{Z}}_+$. Moreover, since the proof of and is based on Lemma \[lem:hn2\], one needs to restrict equation to $m\geq K$ and $n\geq L$, where $B^K=C^L=A$, and equation to $n\geq K$.

In the remainder of the section we will give a proof of Theorem \[thm:hn\]. This theorem is an extension of [@DSKVnew Thm.5.1] to the case of the generalized Adler identity . Its proof is based on the following Lemmas \[lem:hn1\] and Lemma \[lem:hn2\], which are essentially the same as Lemmas 2.1 and 5.6 in [@DSKVnew] respectively, but written in terms of endomorphisms instead of matrix elements.

\[lemma:29032017\] Let $A$, $B$ be in $\operatorname{End}V\otimes\operatorname{End}V$. Then

(a) $(\operatorname{tr}\otimes 1)(\Omega A)=A'A''\in\operatorname{End}V$;

(b) $(\operatorname{tr}\otimes \operatorname{tr})(\Omega A)=\operatorname{tr}(A'A'')\in{\mathbb{F}}$;

(c) $(\operatorname{tr}\otimes 1)(A\Omega^\dagger B)=A''(B'A')^\dagger B'')\in\operatorname{End}V$;

(d) $(\operatorname{tr}\otimes \operatorname{tr})(A\Omega^\dagger B)=\operatorname{tr}(A''(B'A')^\dagger B''))\in{\mathbb{F}}$.

Parts (a) and (c) are immediate consequences of and the cyclic property of the trace. Parts (b) and (d) are obvious consequences of (a) and (c) respectively.

[[@DSKVnew Lem.2.1]]{}\[lem:hn1\] Given two operators $A(\partial),B(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$, we have

(a) $\operatorname{Res}_z A(z)B^*(\lambda-z)=\operatorname{Res}_zA(z+\lambda+\partial)B(z)$;

(b) ${{\textstyle\int}}\operatorname{Res}_z \operatorname{tr}(A(z+\partial)B(z))={{\textstyle\int}}\operatorname{Res}_z\operatorname{tr}(B(z+\partial)A(z))$.

Part (a) is a consequence of the combinatorial identity $\operatorname{Res}_zz^m(z-\lambda)^n=\operatorname{Res}_z(z+\lambda)^mz^n$, which holds for every $m,n\in{\mathbb{Z}}$. For part (b) we have $$\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
{{\textstyle\int}}\operatorname{Res}_z \operatorname{tr}(A(z+\partial)B(z))
=
{{\textstyle\int}}\operatorname{Res}_z \operatorname{tr}(A(z)B^*(-z))
=
{{\textstyle\int}}\operatorname{Res}_z \operatorname{tr}(B^*(-z)A(z))
} \\
\displaystyle{
\vphantom{\Big(}
=
{{\textstyle\int}}\operatorname{Res}_z \operatorname{tr}(B(z+\partial)A(z))
\,.}
\end{array}$$ In the first equality we used (a) (with $\lambda=0$), in the second property we used the cyclic property of the trace, and in the third equality we performed integration by parts.

[[@DSKVnew Lem.5.6]]{}\[lem:hn2\] Let $A(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ and let $B(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ be its $K$-th root, i.e. $B^K(\partial)=A(\partial)$, for $K\in{\mathbb{Z}}\backslash\{0\}$. Let $h_{n,B}\in{\mathcal{V}}$ be given by . Then, for $a\in{\mathcal{V}}$, $n\in{\mathbb{Z}}$, we have $$\label{eq:hn2}
\begin{split}
& \{{h_{n,B}}_\lambda a\}\big|_{\lambda=0}
=
-\operatorname{Res}_z\operatorname{tr}\{A(z+x)_x a\}\big(\big|_{x=\partial}B^{n-K}(z)\big)
\,,
\\
& {{\textstyle\int}}\{a_\lambda h_{n,B}\}\big|_{\lambda=0}
=
-\int \operatorname{Res}_w\operatorname{tr}\{a_\lambda A(w+x)\}\big|_{\lambda=0}\big(\big|_{x=\partial}B^{n-K}(w)\big)
\,.
\end{split}$$

By Lemma \[20170404:lem2\](f) and (j), we have, for every $n\in{\mathbb{Z}}$, $$\label{20170405:eq1}
\{B^n(z)_\lambda a\}
=
\frac{n}{|n|}\sum_{\ell}
\big(\big|_{y=\partial}(B^\ell)^*(\lambda-z)\big)
\{B(z+x)_{\lambda+x+y}a\}
\big(\big|_{x=\partial}B^{n-1-\ell}(z)\big)
\,,$$ where the sum over $\ell$ is $\sum_{\ell=0}^{n-1}$ if $n\geq1$, and $\sum_{\ell=n}^{-1}$ if $n\leq-1$. We let $n=K$ in , replace $z$ by $z+\partial$ and $\lambda$ by $\partial$ acting on $B^{n-K}(z)$, and take $\operatorname{Res}_z$ and $\operatorname{tr}$, to get: $$\label{20170405:eq2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\operatorname{Res}_z\operatorname{tr}\{A(z+x)_x a\}
\big(\big|_{x=\partial}B^{n-K}(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\frac{K}{|K|}
\sum_{\ell}
\operatorname{Res}_z\operatorname{tr}\big(\big|_{y=\partial}(B^\ell)^*(-z)\big)
\{B(z+x_1+x_2)_{x_1+x_2+y}a\}
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\qquad\qquad
\times\big(\big|_{x_1=\partial}B^{K-1-\ell}(z+x_2)\big)
\big(\big|_{x_2=\partial}B^{n-K}(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\frac{K}{|K|}
\sum_{\ell}
\operatorname{Res}_z\operatorname{tr}\big(\big|_{y=\partial}(B^\ell)^*(-z)\big)
\{B(z+x)_{x+y}a\}
\big(\big|_{x_1=\partial}B^{n-1-\ell}(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\frac{K}{|K|}
\sum_{\ell}
\operatorname{Res}_z\operatorname{tr}\{B(z+x)_{x+y}a\}
\big(\big|_{x=\partial}B^{n-1-\ell}(z)\big)
\big(\big|_{y=\partial}(B^\ell)^*(-z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\frac{K}{|K|}
\sum_{\ell}
\operatorname{Res}_z\operatorname{tr}\{B(z+x+y)_{x+y}a\}
\big(\big|_{x=\partial}B^{n-1-\ell}(z+y)\big)
\big(\big|_{y=\partial}B^\ell(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\frac{K}{|K|}
\sum_{\ell}
\operatorname{Res}_z\operatorname{tr}\{B(z+x)_{x}a\}
\big(\big|_{x=\partial}B^{n-1}(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
K
\operatorname{Res}_z\operatorname{tr}\{B(z+x)_{x}a\}
\big(\big|_{x=\partial}B^{n-1}(z)\big)
\,.}
\end{array}$$ In the first equality of we used , in the second equality we used Lemma \[20170404:lem1\](a), in the third equality we used the cyclic property of the trace, in the fourth equality we used Lemma \[lem:hn1\](a), in the fifth equality we used Lemma \[20170404:lem1\](a) again, and in the last equality we used the obvious identity $\sum_\ell=|K|$. With the same line of reasoning, we get, by the definition of $h_{n,B}$ and equation , $$\label{20170405:eq3}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{{h_{n,B}}_\lambda a\}\big|_{\lambda=0}
=
-\frac{K}{n}
\operatorname{Res}_z\operatorname{tr}\{B^n(z)_\lambda a\}
\big|_{\lambda=0}
} \\
\displaystyle{
\vphantom{\Big(}
=
-\frac{K}{|n|}
\sum_{\ell}
\operatorname{Res}_z\operatorname{tr}\big(\big|_{y=\partial}(B^\ell)^*(-z)\big)
\{B(z+x)_{x+y}a\}
\big(\big|_{x=\partial}B^{n-1-\ell}(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\frac{K}{|n|}
\sum_{\ell}
\operatorname{Res}_z\operatorname{tr}\{B(z+x)_{x+y}a\}
\big(\big|_{x=\partial}B^{n-1-\ell}(z)\big)
\big(\big|_{y=\partial}(B^\ell)^*(-z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\frac{K}{|n|}
\sum_{\ell}
\operatorname{Res}_z\operatorname{tr}\{B(z+x+y)_{x+y}a\}
\big(\big|_{x=\partial}B^{n-1-\ell}(z+y)\big)
\big(\big|_{y=\partial}B^\ell(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\frac{K}{|n|}
\sum_{\ell}
\operatorname{Res}_z\operatorname{tr}\{B(z+x)_{x}a\}
\big(\big|_{x=\partial}B^{n-1}(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-K
\operatorname{Res}_z\operatorname{tr}\{B(z+x)_{x}a\}
\big(\big|_{x=\partial}B^{n-1}(z)\big)
\,,}
\end{array}$$ where this time $\sum_\ell=|n|$. Comparing the RHS’s of equations and , we get the first equation in .

By Lemma \[20170404:lem2\](e) and (i), we have, for every $n\in{\mathbb{Z}}$, $$\label{20170405:eq4}
\{a_\lambda B^n(w)\}
=
\frac{n}{|n|}\sum_\ell
B^{n-\ell-1}(w+\lambda+\partial)
\{a_\lambda B(w+x)\}
\big(\big|_{x=\partial}B^\ell(w)\big)
\,.$$ where, as before, $\sum_\ell$ stands for $\sum_{\ell=0}^{n-1}$ if $n\geq1$, and for $\sum_{\ell=n}^{-1}$ if $n\leq-1$. We let $n=K$ in , let $\lambda=0$, replace $w$ by $w+\partial$ where $\partial$ acts on $B^{n-K}(w)$, and take ${{\textstyle\int}}$, $\operatorname{Res}_w$ and $\operatorname{tr}$, to get: $$\label{20170405:eq5}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}\{a_\lambda A(w+x)\}\big|_{\lambda=0}
\big(\big|_{x_2=\partial}B^{n-K}(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\frac{K}{|K|}\sum_\ell
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}B^{K-\ell-1}(w+\partial)
\{a_\lambda B(w+x_1+x_2)\}\big|_{\lambda=0}
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\qquad\qquad\times
\big(\big|_{x_1=\partial}B^\ell(w+x_2)\big)
\big(\big|_{x_2=\partial}B^{n-K}(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\frac{K}{|K|}\sum_\ell
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}B^{K-\ell-1}(w+\partial)
\{a_\lambda B(w+x)\}\big|_{\lambda=0}
\big(\big|_{x=\partial}B^{n+\ell-K}(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\frac{K}{|K|}\sum_\ell
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}\{a_\lambda B(w\!+\!x\!+\!y)\}\big|_{\lambda=0}
\big(\big|_{x=\partial}B^{n+\ell-K}(w\!+\!y)\big)
\big(\big|_{y=\partial}B^{K\!-\!\ell-1}(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\frac{K}{|K|}\sum_\ell
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}\{a_\lambda B(w+x)\}\big|_{\lambda=0}
\big(\big|_{x=\partial}B^{n-1}(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
K
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}\{a_\lambda B(w+x)\}\big|_{\lambda=0}
\big(\big|_{x=\partial}B^{n-1}(w)\big)
\,.}
\end{array}$$ In the first equality of we used , in the second equality we used Lemma \[20170404:lem1\](a), in the third equality we used Lemma \[lem:hn1\](b), in the fourth equality we used Lemma \[20170404:lem1\](a) again, and in the last equality we used the obvious identity $\sum_\ell=|K|$. With the same line of reasoning, we get, by the definition of $h_{n,B}$ and equation , $$\label{20170405:eq6}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
{{\textstyle\int}}\{a_\lambda{h_{n,B}}\}\big|_{\lambda=0}
=
-\frac{K}{n}
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}\{a_\lambda B^n(w)\}
\big|_{\lambda=0}
} \\
\displaystyle{
\vphantom{\Big(}
=
-\frac{K}{|n|}
\sum_\ell
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}B^{n-\ell-1}(w+\partial)
\{a_\lambda B(w+x)\}\big|_{\lambda=0}
\big(\big|_{x=\partial}B^\ell(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\frac{K}{|n|}
\sum_\ell
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}\{a_\lambda B(w+x+y)\}\big|_{\lambda=0}
\big(\big|_{x=\partial}B^\ell(w+y)\big)
\big(\big|_{y=\partial}B^{n-\ell-1}(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\frac{K}{|n|}
\sum_\ell
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}\{a_\lambda B(w+x)\}\big|_{\lambda=0}
\big(\big|_{x=\partial}B^{n-1}(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-K
{{\textstyle\int}}\operatorname{Res}_w\operatorname{tr}\{a_\lambda B(w+x)\}\big|_{\lambda=0}
\big(\big|_{x=\partial}B^{n-1}(w)\big)
\,.}
\end{array}$$ Comparing the RHS’s of equations and , we get the second equation in .

Suppose $B$ is a $K$-th root of $A$, $K\in{\mathbb{Z}}\backslash\{0\}$ and $C$ is an $H$-th root of $A$, $H\in{\mathbb{Z}}\backslash\{0\}$. Applying the second equation in first, and then the first equation in , we get $$\label{eq:hn-pr1}
\begin{split}
& \{{{\textstyle\int}}h_{m,B},{{\textstyle\int}}h_{n,C}\}
= 
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
\{A(z+x)_x A(w+y)\}
\\
& \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \times
\Big(
\big(\big|_{x=\partial}B^{m-K}(z)\big)\otimes
\big(\big|_{y=\partial}C^{n-H}(w)\big)
\Big)\,.
\end{split}$$ We can now use the generalized Adler identity to rewrite the RHS of as $$\label{eq:hn-pr2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\alpha
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})(z-w-x_1-y)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\times
\Omega
\Big(
A(w+x_1+x_2+y)
\big(\big|_{x_2=\partial}B^{m-K}(z)\big)
\otimes
\big(\big|_{x_1=\partial}A^*(-z)\big)
\big(\big|_{y=\partial}C^{n-H}(w)\big)
\Big)
} \\
\displaystyle{
\vphantom{\Big(}
-\alpha
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})(z-w-y_1-y_2)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\times
\Omega
\Big(
A(z+x)
\big(\big|_{x=\partial}B^{m-K}(z)\big)
\otimes
\big(\big|_{y_1=\partial}A(w+y_2)\big)
\big(\big|_{y_2=\partial}C^{n-H}(w)\big)
\Big)
} \end{array}$$

$$\label{eq:hn-pr2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-\beta
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})(z+w+x_1+x_2+y)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\times
\big({\mathbbm{1}}\!\otimes\! A(w\!\!+\!\!x_1\!\!+\!\!x_2\!\!+\!\!y)\big)
\Omega^\dagger
\Big(\!
\big(\big|_{x_1=\partial}A(z\!\!+\!\!x_2)\big)
\big(\big|_{x_2=\partial}B^{m-K}(z)\big)
\otimes\!
\big(\big|_{y=\partial}C^{n-H}(w)\big)
\!\Big)
} \\
\displaystyle{
\vphantom{\Big(}
+\beta
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})(z+w+x+y_1+y_2)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\times
\big(A^*(-z)\otimes{\mathbbm{1}}\big)
\Omega^\dagger
\Big(
\big(\big|_{x=\partial}B^{m-K}(z)\big)
\otimes 
\big(\big|_{y_1=\partial}A(w+y_2)\big)
\big(\big|_{y_2=\partial}C^{n-H}(w)\big)
\Big)
} \\
\displaystyle{
\vphantom{\Big(}
+\gamma
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})(x_1+x_2)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\times
\big(\big|_{x_1=\partial}(A^*(-z)-A(z+x_2))\big)
\big(\big|_{x_2=\partial}B^{m-K}(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,\,\,\,\,\,\otimes 
\big(A(w+x_1+x_2+y)-A(w+y)\big)
\big(\big|_{y=\partial}C^{n-H}(w)\big)
\,.}
\end{array}$$

Note that (cf. Remark \[rem:regular\]) the coefficient of $\alpha$ (resp. $\beta$) in is regular in $z-w-\lambda-\partial$ (resp. $z+w+\partial$). Hence, if we expand each term of in the domain $|z|>|w|$ (or, equivalently, $|z|<|w|$), the result is unchanged. We can use Lemma \[lemma:29032017\](b), to rewrite the first term in the RHS of as $$\label{eq:hn-pr3}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\alpha
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\iota_z(z-w-x_1-y)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\times
A(w+x_1+x_2+y)
\big(\big|_{x_2=\partial}B^{m-K}(z)\big)
\big(\big|_{x_1=\partial}A^*(-z)\big)
\big(\big|_{y=\partial}C^{n-H}(w)\big)
\,.}
\end{array}$$ By and and the identity $A=B^K$, we can then rewrite as $$\alpha
\int 
\operatorname{Res}_w \operatorname{tr}A(w+x+y)
\big(\big|_{x=\partial}B^{m}(w+y)\big)_+
\big(\big|_{y=\partial}C^{n-H}(w)\big)
\,,$$ or, equivalently, as $$\label{eq:hn-pr4}
\alpha
\int 
\operatorname{Res}_w \operatorname{tr}A(w+\partial)
B^{m}(w+\partial)_+
C^{n-H}(w)
\,.$$ Furthermore, by Lemma \[lem:hn1\](b) and the identity $A=C^H$, becomes $$\label{eq:hn-pr5}
\alpha
\int 
\operatorname{Res}_w \operatorname{tr}B^{m}(w+\partial)_+
C^{n}(w)
\,.$$ Next, let us consider the second term of , which, by Lemma \[20170404:lem1\] and the identities $A=B^K=C^H$, can be rewritten as $$\label{eq:hn-pr6}
-\alpha
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})\iota_z(z-w-y)^{-1}
\Omega
\Big(
B^{m}(z)
\otimes
\big(\big|_{y=\partial}C^{n}(w)\big)
\Big)
\,.$$ By Lemma \[lemma:29032017\](b), we can rewrite as $$\label{eq:hn-pr7}
-\alpha
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\iota_z(z-w-y)^{-1}
B^{m}(z)
\big(\big|_{y=\partial}C^{n}(w)\big)
\,,$$ and by , is equal to $$\label{eq:hn-pr8}
-\alpha
\int \operatorname{Res}_w \operatorname{tr}B^{m}(w+\partial)_+
C^{n}(w)
\,.$$ Combining and , we conclude that the coefficient of $\alpha$ in vanishes. Next, let us consider the third term in , which, by Lemma \[20170404:lem1\](a) and the identity $A=B^K$, can be rewritten as $$\label{eq:hn-pr9}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-\beta
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})\iota_z(z+w+x+y)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\times
\big({\mathbbm{1}}\otimes A(w+x+y)\big)
\Omega^\dagger
\Big(
\big(\big|_{x=\partial}B^{m}(z)\big)
\otimes
\big(\big|_{y=\partial}C^{n-H}(w)\big)
\!\Big)
\,.}
\end{array}$$ By Lemma \[lemma:29032017\](d), is equal to $$\label{eq:hn-pr10}
-\beta
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\iota_z(z+w+x+y)^{-1}
A(w+x+y)
\big(\big|_{x=\partial}B^{m}(z)\big)^\dagger
\big(\big|_{y=\partial}C^{n-H}(w)\big)
\,.$$ We then use equation and , to rewrite as $$-\beta
\int \operatorname{Res}_w \operatorname{tr}A(w+x+y)
\big(\big|_{x=\partial}(B^{m})^*(w+y)\big)_+^\dagger
\big(\big|_{y=\partial}C^{n-H}(w)\big)
\,,$$ or, equivalently, as $$\label{eq:hn-pr10bis}
-\beta
\int \operatorname{Res}_w \operatorname{tr}A(w+\partial)
\big((B^{m})^*(w+\partial)\big)_+^\dagger
C^{n-H}(w)
\,.$$ Furthermore, we can use Lemma \[lem:hn1\](b) and the identity $A=C^H$, to rewrite as $$\label{eq:hn-pr11}
-\beta
\int \operatorname{Res}_w \operatorname{tr}\big((B^{m})^*(w+\partial)\big)_+^\dagger
C^{n}(w)
\,.$$ Next, let us consider the fourth term in , which, by Lemma \[20170404:lem1\](a) and the identity $A=C^H$, can be rewritten as $$\label{eq:hn-pr12}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\beta
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr}) \iota_z(z+w+x+y)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\times
\big(A^*(-z)\otimes{\mathbbm{1}}\big)
\Omega^\dagger
\Big(
\big(\big|_{x=\partial}B^{m-K}(z)\big)
\otimes 
\big(\big|_{y=\partial}C^{n}(w)\big)
\Big)
\,.}
\end{array}$$ We can use Lemma \[lemma:29032017\] to rewrite as $$\label{eq:hn-pr13}
\beta
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\iota_z(z+w+x+y)^{-1}
\big(\big(\big|_{x=\partial}B^{m-K}(z)\big)A^*(-z)\big)^\dagger
\big(\big|_{y=\partial}C^{n}(w)\big)
\,.$$ Using and , we can rewrite as $$\label{eq:hn-pr14}
\beta
\int \operatorname{Res}_w \operatorname{tr}\iota_z(z+w+x+y)^{-1}
\big(\big(\big|_{x=\partial}(B^{m-K})^*(w+y)\big)A^*(w+x+y)\big)_+^\dagger
\big(\big|_{y=\partial}C^{n}(w)\big)
\,.$$ By Lemma \[20170404:lem1\](b) and the identity $A=B^K$, is equal to $$\label{eq:hn-pr15}
\beta
\int \operatorname{Res}_w \operatorname{tr}\big((B^{m})^*(w+\partial)\big)_+^\dagger
C^{n}(w)
\,.$$ Combining and , we conclude that the coefficient of $\beta$ in vanishes. Finally, let us consider the last term of , which, by Lemma \[20170404:lem1\](a) and the identities $A=B^K=C^H$, can be rewritten as $$\label{eq:hn-pr16}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\gamma
\int 
\operatorname{Res}_w \operatorname{tr}\Big(
A(w+x+y)\big(\big|_{y=\partial}C^{n-H}(w)\big)
-
C^{n}(w)
\Big)
x^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\times
\Big|_{x=\partial}
\operatorname{Res}_z \operatorname{tr}\Big(
B^{m-K}(z)
A^*(-z)
-
B^{m}(z)
\Big)
\,.}
\end{array}$$ By Lemma \[lem:hn1\](a), we have $$\label{20170406:eq2}
\operatorname{Res}_z
B^{m-K}(z)
A^*(-z)
=
\operatorname{Res}_zB^{m-K}(z+\partial)A(z)
=
\operatorname{Res}_zB^{m}(z)
\,.$$ Hence vanishes. In conclusion, also the coefficient of $\gamma$ in vanishes, proving (a).

We are left to prove part (b). We have $$\label{eq:proofb-1}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{{{\textstyle\int}}h_{n,B},A(w)\}
=
\{{h_{n,B}}_\lambda A(w)\}\big|_{\lambda=0}
} \\
\displaystyle{
\vphantom{\Big(}
=
-\operatorname{Res}_z (\operatorname{tr}\otimes1)
\{A(z+x)_x A(w)\}
\big(\big|_{x=\partial}B^{n-K}(z)\otimes{\mathbbm{1}}\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\alpha
\operatorname{Res}_z\! \iota_z(z\!-\!w\!-\!y)^{-1} (\operatorname{tr}\otimes1)
\Omega
\Big(
A(w\!+\!x\!+\!y)
\big(\big|_{x=\partial}B^{n-K}(z)\big)
\!\otimes\!
\big(\big|_{y=\partial}A^*(-\!z)\big)
\Big)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
+\alpha
\operatorname{Res}_z \iota_z(z-w-y)^{-1} (\operatorname{tr}\otimes1)
\Omega
\Big(
B^{n}(z)
\otimes
\big(\big|_{y=\partial}A(w)\big)
\Big)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
+\beta
\operatorname{Res}_z (\operatorname{tr}\otimes1)
\iota_z(z+w+x)^{-1}
({\mathbbm{1}}\otimes A(w+x))
\Omega^\dagger
\big(\big|_{x=\partial}B^{n}(z)\otimes{\mathbbm{1}}\big)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
-\beta
\operatorname{Res}_z (\operatorname{tr}\otimes1)
\iota_z(z\!+\!w\!+\!x\!+\!y)^{-1}
(A^*(-z)\otimes{\mathbbm{1}})
\Omega^\dagger
\big(\big|_{x=\partial}B^{n-K}\!(z)\otimes \big|_{y=\partial}A(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
-\gamma
\operatorname{Res}_z (\operatorname{tr}\otimes1)
(x+y)^{-1}
\big(\big|_{y=\partial}\big(A^*(-z)-A(z+x)\big)\big)
\big(\big|_{x=\partial}B^{n-K}(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,\,\,\,\,\,\,\,\,
\otimes
\big(A(w+x+y)-A(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\alpha
\operatorname{Res}_z \iota_z(z-w-y)^{-1} 
A(w+x+y)
\big(\big|_{x=\partial}B^{n-K}(z)\big)
\big(\big|_{y=\partial}A^*(-z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
+\alpha
\operatorname{Res}_z \iota_z(z-w-y)^{-1}
B^{n}(z)
\big(\big|_{y=\partial}A(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
+\beta
\operatorname{Res}_z 
\iota_z(z+w+x)^{-1}
A(w+x)
\big(\big|_{x=\partial}B^{n}(z)\big)^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
-\beta
\operatorname{Res}_z
\iota_z(z+w+x+y)^{-1}
\big(\big(\big|_{x=\partial}B^{n-K}(z)\big)A^*(-z)\big)^\dagger
\big(\big|_{y=\partial}A(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
-\gamma
\big(A(w+\partial)-A(w)\big)\partial^{-1}
\operatorname{tr}\operatorname{Res}_z\big(A^*(-z)B^{n-K}(z)-B^{n}(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\alpha
A(w+\partial)
\operatorname{Res}_z 
B^{n-K}(z)
\iota_z(z-w-\partial)^{-1} 
A^*(-z)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
+\alpha
\operatorname{Res}_z
B^{n}(z)
\iota_z(z-w-\partial)^{-1}
A(w)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
+\beta
A(w+\partial)
\operatorname{Res}_z 
\iota_z(z+w+\partial)^{-1}
\big(B^{n}(z)\big)^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
-\beta
\operatorname{Res}_z
\iota_z(z+w+x+y)^{-1}
\big(\big(\big|_{x=\partial}B^{n-K}(z)\big)A^*(-z)\big)^\dagger
\big(\big|_{y=\partial}A(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\alpha
A(w+\partial)
B^{n}(w)_+
+\alpha
B^{n}(w+\partial)_+
A(w)
} \\
\displaystyle{
\vphantom{\Big(}
\,\,\,\,
+\beta
A(w+\partial)
\big((B^{n})^*(w)_+\big)^\dagger
-\beta
\big((B^{n})^*(w+\partial)_+\big)^\dagger
A(w)
\,.}
\end{array}$$ In the second equality we used the first equation in , in the third equality we used the generalized Adler identity and some algebraic manipulations based on the identity $A=B^K$, in the third equality we used Lemma \[lemma:29032017\](a) and (c), in the fourth equality we did some algebraic manipulations and we used equation , in the fifth equality we used and Lemma \[20170404:lem1\]. This proves and completes the proof of the Theorem.

Integrable Hamiltonian hierarchies associated to ${\mathcal{W}}$-algebras
-------------------------------------------------------------------------

\[cor:w1\] Let $({\mathfrak{g}},V)$ be as in the three Cases 1., 2. or 3. in Section \[sec:4.2\] and, for an arbitrary nilpotent element $f\in{\mathfrak{g}}$, consider the classical ${\mathcal{W}}$-algebra ${\mathcal{W}}({\mathfrak{g}},f)$ with PVA $\lambda$-bracket $\{\cdot\,_\lambda\,\cdot\}^{{\mathcal{W}}}_0$ given by (with $\epsilon=0$). Let $T\in(\operatorname{End}V)[D]$ have canonical decomposition $T=IJ$, and assume, in Case 3., that $T^\dagger=\pm T$. Consider the operator (cf. ): $$\label{eq:L0}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
L(\partial)=L({\mathfrak{g}},f,T)(\partial)
=
\Big(J\big(\partial{\mathbbm{1}}_V+F+\sum_{i\in I_f}w_iU^i\big)^{-1}I\Big)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\qquad\qquad
\,\in{\mathcal{W}}({\mathfrak{g}},f)((\partial^{-1}))\otimes\operatorname{End}(\operatorname{Im}T)
\,.}
\end{array}$$ Then, the elements $h_{n,B}\in{\mathcal{W}}({\mathfrak{g}},f)$, $n\in{\mathbb{Z}}$, $B$ a root of $L$, defined by , are Hamiltonian densities in involution, i.e. holds, and the corresponding hierarchy of Hamiltonian equation takes the form , with $\alpha,\beta$ given by Table .

It follows by Corollary \[20170404:cor\] and Theorem \[thm:hn\].

\[rem:modified\] Recall from [@DSKV16a] that we have an injective Poisson vertex algebra homomorphism $\mu:{\mathcal{W}}({\mathfrak{g}},f)\to{\mathcal{V}}:={\mathcal{V}}({\mathfrak{g}}_0)\otimes {\mathcal{F}}({\mathfrak{g}}_{\frac12})$, where ${\mathcal{V}}({\mathfrak{g}}_0)$ is the affine Poisson vertex algebra over the subalgebra ${\mathfrak{g}}_0\subset{\mathfrak{g}}$, whose $\lambda$-bracket on generators is given by equation , and ${\mathcal{F}}({\mathfrak{g}}_{\frac12})$ is the algebra of differential polynomials $S({\mathbb{F}}[\partial]{\mathfrak{g}}_{\frac12})$ endowed with the $\lambda$-bracket defined on generators by $\{a_\lambda b\}^{ne}=(f|[a,b])$, for every $a,b\in{\mathfrak{g}}_{\frac12}$. The map $\mu$ is called generalized Miura map.

By applying $\mu$ to both sides of , and using the fact that it is a differential algebra homomorphism, we get the identity $$\label{eq:Lmod}
\mu(L(\partial))=\Big(J\big(\partial{\mathbbm{1}}_V+F+\sum_{i\in I_0\sqcup I_{\frac12}}u_iU^i\big)^{-1}I\Big)^{-1}
:=L^{mod}(\partial)\in {\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}(\operatorname{Im}T)
\,.$$ The above identity yields another definition of the generalized Miura map. By Corollary \[cor:w1\] the elements $\bar h_{n,B}=\mu(h_{n,B})\in{\mathcal{V}}$ are Hamiltonian densities in involution with respect to the Lie algebra structure induced by the PVA ${\mathcal{V}}$, and the corresponding hierarchy of Hamiltonian equations takes the form with $L^{mod}$ in place of $L$ and $\mu(B)$ in place of $B$ (note that $\mu(B)$ is a root of $L^{mod}$ since $\mu$ is a differential algebra homomorphism).

Operators of generalized bi-Adler type and corresponding integrable hierarchies {#sec:bi}
===============================================================================

Generalized bi-Adler identity {#sec:bi1}
-----------------------------

Recall that a bi-PVA ${\mathcal{V}}$ is a differential algebra endowed with a pencil of PVA $\lambda$-brackets $\{\cdot\,_\lambda\,\cdot\}_\epsilon=\{\cdot\,_\lambda\,\cdot\}_0+\epsilon\{\cdot\,_\lambda\,\cdot\}_1$, $\epsilon\in{\mathbb{F}}$.

\[def:bi-adler\] Let $S\in\operatorname{End}V$ and let $A(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$, where ${\mathcal{V}}$ is a bi-PVA. We say that $A(\partial)$ is of *generalized* $S$-*Adler type* if $$A_\epsilon(\partial)=A(\partial)+\epsilon S$$ is of generalized Adler type w.r.t. the PVA $\lambda$-bracket $\{\cdot\,_\lambda\,\cdot\}_\epsilon$, for every $\epsilon\in{\mathbb{F}}$ (and with values of the parameters $\alpha,\beta,\gamma$ independent of $\epsilon$). Equivalently, $A(\partial)$ satisfies the generalized Adler identity w.r.t. the PVA $\lambda$-bracket $\{\cdot\,_\lambda\,\cdot\}_0$, and $$\label{eq:bi-adler-general}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{A(z)_\lambda A(w)\}_1
=
\alpha\Omega
\big(S\otimes(z-w-\lambda-\partial)^{-1}(A^*(\lambda-z)-A(w))\big)
} \\
\displaystyle{
\vphantom{\Big(}
-\alpha\Omega
\big((z-w-\lambda)^{-1}(A(z)-A(w+\lambda))\otimes S\big)
} \\
\displaystyle{
\vphantom{\Big(}
+\beta
(S\otimes{\mathbbm{1}})\Omega^\dagger
\big({\mathbbm{1}}\otimes(z+w+\partial)^{-1}(A(w)-A^*(z))\big)
} \\
\displaystyle{
\vphantom{\Big(}
-\beta
\big({\mathbbm{1}}\otimes(z+w)^{-1}(A(w+\lambda)-A(\lambda-z))\big)
\Omega^\dagger(S\otimes{\mathbbm{1}})
\,.}
\end{array}$$ As usual, for $\beta\neq0$ we assume that $V$ carries a symmetric or skewsymmetric non-degenerate bilinear form $\langle\cdot\,|\,\cdot\rangle$, $\Omega^\dagger$ is given by , and we assume that $$\label{eq:bi-dagger}
(A^\star(\partial))^\dagger=\eta A(\partial)
\,\,\text{ and }\,\,
S^\dagger=\eta S
\,\,,\,\,\text{ where } \eta\in\{\pm1\}
\,.$$ We also say that $A(\partial)$ is of *generalized bi-Adler type* if it is of generalized $S$-Alder type, with $S={\mathbbm{1}}$.

\[ex:S-adler\] Consider the operator (cf. ) $$A(\partial)=\partial{\mathbbm{1}}+\sum_{i\in I}u_iU^i\in{\mathcal{V}}({\mathfrak{g}})((\partial^{-1}))\otimes\operatorname{End}{\mathbb{F}}^N
\,,$$ in the three Cases 1., 2. and 3. of Section \[sec:4.2\], i.e. for ${\mathfrak{g}}={\mathfrak{gl}}_N,{\mathfrak{sl}}_N,{\mathfrak{so}}_N$ or ${\mathfrak{sp}}_N$. By equations , and , $A(\partial)$ is of $S$-Adler type w.r.t. the affine bi-PVA structure on ${\mathcal{V}}(\partial)$ defined by (where $S=\varphi(s)$ and $s\in{\mathfrak{g}}_d$). The corresponding values of the parameters $\alpha,\beta,\gamma$ are given by Table .

Recall by [@DSKVnew Thm.4.5] that, if $S\in\operatorname{End}V$ has canonical decomposition $S=IJ$, where $I:\,\operatorname{Im}S\hookrightarrow V$ is the inclusion map and $J=S:\,V\twoheadrightarrow\operatorname{Im}S$, then the following identity holds $$\label{20170421:eq1b}
|A+\epsilon S|_{I,J}=|A|_{I,J}+\epsilon{\mathbbm{1}}\,\,,\,\,\,\,\epsilon\in{\mathbb{F}}$$ provided that the above generalized quasideterminants exist.

\[ex:bi-adler\] Let $({\mathfrak{g}},V)$ be as in Cases 1., 2. or 3. from Section \[sec:4.2\]. In the notation of Section \[sec:3\], assume that $D=d$, and let $T=S$. Consider the $\operatorname{End}(\operatorname{Im}S)$-valued pseudodifferential operator over the bi-PVA ${\mathcal{W}}_\epsilon({\mathfrak{g}},f,s)$, $\epsilon\in{\mathbb{F}}$, (cf. ) $$L(\partial)
=
|\rho A(\partial)|_{I,J}
=
\big(J(\partial{\mathbbm{1}}+F+\sum_{i\in I_{\leq\frac12}}u_iU^i)^{-1}I\big)^{-1}
\,.$$ By Example \[ex:S-adler\] and equation , $L(\partial)$ is an operator of bi-Adler type, with the same values of the parameters $\alpha,\beta,\gamma$ as in Table .

Integrable bi-Hamiltonian hierarchy for a generalized bi-Adler type operator {#sec:bi3}
----------------------------------------------------------------------------

\[thm:main-bi\] Let $A(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ be an $\operatorname{End}V$-valued pseudodifferential operator over the bi-PVA ${\mathcal{V}}$, of generalized bi-Adler type. Assume also that $A(\partial)$ is invertible in ${\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$. Let $B(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ be a $K$-th root of $A$ (i.e. $A(\partial)=B(\partial)^K$ for $K\in{\mathbb{Z}}\backslash\{0\}$). Then, the elements $h_{n,B}\in{\mathcal{V}}$, $n\in{\mathbb{Z}}$, given by , satisfy the following generalized Lenard-Magri recurrence relation: $$\label{eq:lenard}
\{{{\textstyle\int}}h_{n,B},A(w)\}_1
=
\{{{\textstyle\int}}h_{n-K,B},A(w)\}_0
\,,\,\,n\in{\mathbb{Z}}\,.$$ Hence, is a compatible hierarchy of bi-Hamiltonian equations over the bi-PVA subalgebra ${\mathcal{V}}_1\subset{\mathcal{V}}$ generated by the coefficients of the entries of $A(z)$. Moreover, all the Hamiltonian functionals ${{\textstyle\int}}h_{n,C}$, $n\in{\mathbb{Z}}$, $C$ a root of $A$, are integrals of motion in involution of all the equations of this hierarchy.

By the first equation in , we have $$\label{eq:proof-bi1}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{{{\textstyle\int}}h_{n,B},A(w)\}_1
=
\{{h_{n,B}}_\lambda A(w)\}_1\big|_{\lambda=0}
} \\
\displaystyle{
\vphantom{\Big(}
=
-\operatorname{Res}_z (\operatorname{tr}\otimes1)
\{A(z+x)_x A(w)\}_1
\big(\big|_{x=\partial}B^{n-K}(z)\otimes{\mathbbm{1}}\big)
\,.}
\end{array}$$ We then use the generalized bi-Adler identity (with $S={\mathbbm{1}}$) to rewrite the RHS of as $$\label{eq:proof-bi2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-\alpha
\operatorname{Res}_z (z-w-y)^{-1}
(\operatorname{tr}\otimes1)
\Omega
\big(\big|_{x=\partial}B^{n-K}(z)\big)
\otimes
\big(\big|_{y=\partial}(A^*(-z)-A(w))\big)
} \\\displaystyle{
\vphantom{\Big(}
+\alpha
\operatorname{Res}_z (z-w)^{-1}
(\operatorname{tr}\otimes1)
\Omega
\big((A(z+x)-A(w+x))
\big(\big|_{x=\partial}B^{n-K}(z)\big)
\otimes {\mathbbm{1}}\big)
} \\\displaystyle{
\vphantom{\Big(}
-\beta
\operatorname{Res}_z (z\!+\!w\!+\!x\!+\!y)^{-1}
(\operatorname{tr}\otimes1)
\Omega^\dagger
\big(
\big(\big|_{x=\partial}B^{n-K}(z)\big)
\otimes
\big(\big|_{y=\partial}(A(w)-A^*(z\!+\!x))\big)
\big)
} \\\displaystyle{
\vphantom{\Big(}
+\beta
\operatorname{Res}_z (z\!+\!w\!+\!x)^{-1}
(\operatorname{tr}\otimes1)
\big({\mathbbm{1}}\otimes(A(w\!+\!x)-A(-z))\big)
\Omega^\dagger
\big(\big(\big|_{x=\partial}B^{n-K}(z)\big)\otimes{\mathbbm{1}}\big)
.}
\end{array}$$ Next, we use Lemma \[lemma:29032017\] to rewrite as $$\label{eq:proof-bi3}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-\alpha
\operatorname{Res}_z (z-w-y)^{-1}
B^{n-K}(z)
\big(\big|_{y=\partial}(A^*(-z)-A(w))\big)
} \\\displaystyle{
\vphantom{\Big(}
+\alpha
\operatorname{Res}_z (z-w)^{-1}
(A(z+x)-A(w+x))
\big(\big|_{x=\partial}B^{n-K}(z)\big)
} \\\displaystyle{
\vphantom{\Big(}
-\beta
\operatorname{Res}_z (z+w+x+y)^{-1}
\big(\big|_{x=\partial}B^{n-K}(z)\big)^\dagger
\big(\big|_{y=\partial}(A(w)-A^*(z+x))\big)
} \\\displaystyle{
\vphantom{\Big(}
+\beta
\operatorname{Res}_z (z+w+x)^{-1}
(A(w+x)-A(-z))
\big(\big|_{x=\partial}B^{n-K}(z)\big)^\dagger
\,.}
\end{array}$$ Furthermore, using equation we can rewrite as $$\label{eq:proof-bi4}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-\alpha
B^{n}(w)_+
+\alpha
B^{n-K}(w+\partial)_+
A(w)
+\alpha
B^{n}(w)_+
-\alpha
A(w+\partial)
B^{n-K}(w)_+
} \\\displaystyle{
\vphantom{\Big(}
-\beta
\big((B^{n-K})^*(w+\partial)_+\big)^\dagger
A(w)
+\beta\eta
\big((B^{n})^*(w)_+\big)^\dagger
} \\\displaystyle{
\vphantom{\Big(}
+\beta
A(w+\partial)
\big((B^{n-K})^*(w)_+\big)^\dagger
-\beta\eta
\big((B^{n})^*(w)_+\big)^\dagger
} \\\displaystyle{
\vphantom{\Big(}
=
[\alpha (B^{n-K})_+ - \beta(B^{n-K})^{\star\dagger}_+,A](w)
\,,}
\end{array}$$ where we used the identities $A=B^K$, assumption and Lemma \[20170411:lem1\]. Comparing and , we get equation , completing the proof.

Integrable bi-Hamiltonian hierarchies associated to W-algebras
--------------------------------------------------------------

\[cor:w1bis\] Let $({\mathfrak{g}},V)$ be as in the three Cases 1., 2. or 3. in Section \[sec:4.2\]. Let $f\in{\mathfrak{g}}$ be a nilpotent element and assume that the depth does not drop from $\operatorname{End}V$ to ${\mathfrak{g}}$, i.e. $D=d$, where $d$ largest $\operatorname{ad}x$-eigenvalue in ${\mathfrak{g}}$ and $D$ is the largest $\operatorname{ad}x$-eigenvalue in $\operatorname{End}V$. For an element $s\in{\mathfrak{g}}_d$, consider the pencil of classical ${\mathcal{W}}$-algebras ${\mathcal{W}}_\epsilon({\mathfrak{g}},f,s)$ with PVA $\lambda$-bracket $\{\cdot\,_\lambda\,\cdot\}^{{\mathcal{W}}}_\epsilon$, $\epsilon\in{\mathbb{F}}$, given by . Let $S=\varphi(s)\in\operatorname{End}V$ have canonical decomposition $T=IJ$, and consider the operator $L({\mathfrak{g}},f,S)(\partial)$ defined in . Then, the Hamiltonian densities $h_{n,B}\in{\mathcal{W}}({\mathfrak{g}},f)$, $n\in{\mathbb{Z}}$, $B$ a root of $L$, defined by , are in involution and they satisfy the generalized Lenard-Magri recurrence relation (with $A$ replaced by $L$). Hence, (with $\alpha,\beta$ given by Table ) is a compatible hierarchy of bi-Hamiltonian equations over the bi-PVA subalgebra ${\mathcal{V}}_1\subset{\mathcal{W}}_\epsilon({\mathfrak{g}},f,s)$, $\epsilon\in{\mathbb{F}}$, generated by the coefficients of the entries of $L(z)$. Moreover, all the Hamiltonian functionals ${{\textstyle\int}}h_{n,C}$, $n\in{\mathbb{Z}}$, $C$ a root of $A$, are integrals of motion in involution of all the equations of this hierarchy.

It follows by Corollary \[20170404:cor\] and Theorem \[thm:main-bi\].

Product of operators of generalized Adler type and corresponding integrable hierarchies {#sec:7}
=======================================================================================

\[thm:hn-product\] Let $A_1(\partial),\dots,A_s(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ be $\operatorname{End}V$-valued pseudodifferential operators over the PVA ${\mathcal{V}}$. Assume that $A_1(\partial),\dots,A_s(\partial)$ have pairwise vanishing Poisson $\lambda$-brackets: $$\label{20170411:eq1}
\{A_\ell(z)_\lambda A_r(w)\}
=
0
\,\,\text{ for all }\,\, \ell\neq r
\,,$$ and assume that they are all operators of generalized Adler type with values of the parameters $\alpha_\ell,\beta_\ell,\gamma_\ell$, $\ell=1,\dots,s$, of the following two types

(i) $\alpha_1=\dots=\alpha_s\in{\mathbb{F}}$ and $\beta_\ell=\gamma_\ell=0$ for all $\ell$, with $s\in{\mathbb{Z}}_{\geq2}$;

(ii) $s=2$ and $\alpha_1=\alpha_2$, $\beta_1=\beta_2$ and $\gamma_1=-\gamma_2$.

Assume also that $A_1(\partial),\dots,A_s(\partial)$ are invertible in ${\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$. Let $$\label{eq:prod}
L(\partial)=A_1(\partial)\dots A_s(\partial)
\,.$$ For $B(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ a $K$-th root of $L(\partial)$ (i.e. $L(\partial)=B(\partial)^K$ for $K\in{\mathbb{Z}}\backslash\{0\}$), define the elements $h_{n,B}\in{\mathcal{V}}$, $n\in{\mathbb{Z}}$, by . Then:

(a) All the elements ${{\textstyle\int}}h_{n,B}$ are Hamiltonian functionals in involution: $$\label{eq:invol-prod}
    \{{{\textstyle\int}}h_{m,B},{{\textstyle\int}}h_{n,C}\}=0
    \,\text{ for all } m,n\in{\mathbb{Z}},\,
    B,C \text{ roots of } L
    \,.$$

(b) The corresponding compatible hierarchy of Hamiltonian equations satisfies $$\label{eq:hierarchy-prod}
    \frac{dL(w)}{dt_{n,B}}
    =
    \{{{\textstyle\int}}h_{n,B},L(w)\}
    =
    \big[\alpha_1(B^n)_+-\beta_1(A_2B^{n-K}A_1)_+^{\star,\dagger}
    +\gamma_1f_1^n,L\big](\partial)
    \,,$$ where $n\in{\mathbb{Z}}$, $B$ is a root of $A$, and $$f_1^n:=\partial^{-1}\operatorname{Res}_z\operatorname{tr}\big((A_2B^{n-K}A_1)(z)-B^n(z)\big)\,\in{\mathcal{V}}/{\operatorname{Ker}}\partial
    \,.$$ The Hamiltonian functionals ${{\textstyle\int}}h_{n,C}$, $n\in{\mathbb{Z}}_+$, $C$ root of $L$, are integrals of motion of all the equations .

Suppose $B$ is a $K$-th root of $A$, $K\in{\mathbb{Z}}\backslash\{0\}$ and $C$ is an $H$-th root of $A$, $H\in{\mathbb{Z}}\backslash\{0\}$. Applying the second equation in first, and then the first equation in , we get $$\label{eq:hn-pr1-prod}
\begin{split}
& 
\{{{\textstyle\int}}h_{m,B},{{\textstyle\int}}h_{n,C}\}
= 
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
\{L(z+x)_x L(w+y)\}
\\
& \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\, \times
\Big(
\big(\big|_{x=\partial}B^{m-K}(z)\big)\otimes
\big(\big|_{y=\partial}C^{n-H}(w)\big)
\Big)\,.
\end{split}$$ By Lemma \[20170404:lem2\](c)-(d), we have $$\label{20170411:eq2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{L(z)_\lambda L(w)\}
} \\
\displaystyle{
\vphantom{\Big(}
=
\sum_{\ell,r=1}^{s}
\big(\big|_{x_1=\partial}(A_1\dots A_{\ell-1})^*(\lambda-z)\big)
\otimes 
(A_1\dots A_{r-1})(w+\lambda+x_1+x_2+y_1+v)
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(|_{v=\partial}
\{A_\ell(z+x_2)_{\lambda+x_1+x_2}A_r(w+y_1)\}
\big)
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(\big|_{x_2=\partial}(A_{\ell+1}\dots A_s)(z)\big)
\otimes
\big(\big|_{y_1=\partial}(A_{r+1}\dots A_s)(w)\big)
\,.}
\end{array}$$ Using and Lemma \[20170404:lem1\](a), we can rewrite the RHS of as $$\label{20170411:eq3}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\sum_{\ell,r=1}^{s}
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
} \\
\displaystyle{
\vphantom{\Big(}
\big(\big|_{x_1=\partial}(A_1\dots A_{\ell-1})^*(-z)\big)
\otimes 
(A_1\dots A_{r-1})(w+x_1+x_2+y+v)
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(|_{v=\partial}
\{A_\ell(z+x_2)_{x_1+x_2}A_r(w+y)\}
\big)
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(\big|_{x_2=\partial}(A_{\ell+1}\dots A_sB^{m-K})(z)\big)
\otimes
\big(\big|_{y=\partial}(A_{r+1}\dots A_sC^{n-H})(w)\big)
\,.}
\end{array}$$ We next use the cyclic property of the trace ($\operatorname{tr}\otimes1$), Lemma \[lem:hn1\](a) and then Lemma \[20170404:lem1\](b), to rewrite as $$\label{20170411:eq4}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\sum_{\ell,r=1}^{s}
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\Big(
(A_1\dots A_{r-1})(w+x+y+v)
} \\
\displaystyle{
\vphantom{\Big(}
\times
(1\otimes\operatorname{tr})
\big(|_{v=\partial}
\{A_\ell(z+x)_{x}A_r(w+y)\}
\big)
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(\big|_{x=\partial}(A_{\ell+1}\dots A_sB^{m-K}A_1\dots A_{\ell-1})(z)\big)
\otimes
\big(\big|_{y=\partial}(A_{r+1}\dots A_sC^{n-H})(w)\big)
\Big)
\,.}
\end{array}$$ We then use Lemma \[lem:hn1\](b) and then Lemma \[20170404:lem1\](a), to deduce, from $$\label{20170411:eq5}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{{{\textstyle\int}}h_{m,B},{{\textstyle\int}}h_{n,C}\}
=
\sum_{\ell,r=1}^{s}
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
\{A_\ell(z+x)_{x}A_r(w+y)\}
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(\big|_{x=\partial}(A_{\ell+1}\dots A_sB^{m-K}A_1\dots A_{\ell-1})(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\otimes
\big(\big|_{y=\partial}(A_{r+1}\dots A_sC^{n-H}A_1\dots A_{r-1})(w)\big)
\,.}
\end{array}$$ By , only the summands with $\ell=r$ survive in . We then use the generalized Adler identity for $A_\ell(\partial)$ (with $\alpha$ and $\beta$ independent of $\ell$, and with $\gamma=0$), to get $$\label{20170412:eq1}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\{{{\textstyle\int}}h_{m,B},{{\textstyle\int}}h_{n,C}\}
=
\sum_{\ell=1}^{s}
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
} \\
\displaystyle{
\vphantom{\Big(}
\Bigg(
\alpha_\ell
\iota_z(z-w-x_1-y)^{-1}
\Omega\,\,
A_\ell(w+x+x_1+y)
\otimes
\big(\big|_{x_1=\partial}A_\ell^*(-z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(\big|_{x=\partial}(A_{\ell+1}\!\dots\! A_sB^{m-K}\!\!A_1\!\dots\! A_{\ell-1})(z)\big)
\!\otimes\!
\big(\big|_{y=\partial}(A_{\ell+1}\!\dots\! A_sC^{n-H}\!\!A_1\!\dots\! A_{\ell-1})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
-
\alpha_\ell
\iota_z(z-w-y-y_1)^{-1}
\Omega
A_\ell(z+x)\otimes\big(\big|_{y_1=\partial}A_\ell(w+y)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(\big|_{x=\partial}(A_{\ell+1}\!\dots\! A_sB^{m-K}\!\!A_1\!\dots\! A_{\ell-1})(z)\big)
\!\otimes\!
\big(\big|_{y=\partial}(A_{\ell+1}\!\dots\! A_sC^{n-H}\!\!A_1\!\dots\! A_{\ell-1})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
-
\beta_\ell
\iota_z(z+w+x+x_1+y)^{-1}
({\mathbbm{1}}\otimes A_\ell(w+x+x_1+y))
\Omega^\dagger
\big(\big|_{x_1=\partial}A_\ell(z+x)\otimes{\mathbbm{1}}\big)
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(\big|_{x=\partial}(A_{\ell+1}\!\dots\! A_sB^{m-K}\!\!A_1\!\dots\! A_{\ell-1})(z)\big)
\!\otimes\!
\big(\big|_{y=\partial}(A_{\ell+1}\!\dots\! A_sC^{n-H}\!\!A_1\!\dots\! A_{\ell-1})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
+
\beta_\ell
\iota_z(z+w+x+y+y_1)^{-1}
(A_\ell^*(-z)\otimes{\mathbbm{1}})
\Omega^\dagger
\big({\mathbbm{1}}\otimes \big|_{y_1=\partial}A_\ell(w+y)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\times\!
\big(\big|_{x=\partial}(A_{\ell+1}\!\dots\! A_sB^{m-K}\!\!A_1\!\dots\! A_{\ell-1})(z)\big)
\!\otimes\!
\big(\big|_{y=\partial}(A_{\ell+1}\!\dots\! A_sC^{n-H}\!\!A_1\!\dots\! A_{\ell-1})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
+
\gamma_\ell
(x+x_1)^{-1}
\big(\big|_{x_1=\partial}\big(A_\ell^*(-z)-A_\ell(z+x)\big)\big)
\otimes 
\big(A_\ell(w\!+\!x\!+\!x_1\!+\!y)-A_\ell(w+y)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(\big|_{x=\partial}(A_{\ell+1}\!\!\dots\!\! A_sB^{m-K}\!\!A_1\!\!\dots\!\! A_{\ell-1})(z)\big)
\otimes
\big(\big|_{y=\partial}(A_{\ell+1}\!\!\dots\!\! A_sC^{n-H}\!\!A_1\!\!\dots\!\! A_{\ell-1})(w)\big)
\!\Bigg)
.}
\end{array}$$ The first term in the RHS of can be rewritten as follows: $$\label{20170412:eq2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\sum_{\ell=1}^{s}
\alpha_\ell
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
\iota_z(z-w-x_1-y)^{-1}
\Omega
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times
A_\ell(w+x+x_1+y)
\otimes
\big(\big|_{x_1=\partial}A_\ell^*(-z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times\!
\big(\big|_{x=\partial}\!(A_{\ell+1}\!\dots\! A_sB^{m-K}\!\!A_1\!\dots\! A_{\ell-1})(\!z\!)\big)
\!\otimes\!
\big(\big|_{y=\partial}\!(A_{\ell+1}\!\dots\! A_sC^{n-H}\!\!A_1\!\dots\! A_{\ell-1})(\!w\!)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\sum_{\ell=1}^{s}
\alpha_\ell
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\iota_z(z-w-x_1-y)^{-1}
A_\ell(w+x+x_1+y)
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\big(\big|_{x=\partial}(A_{\ell+1}\dots A_sB^{m-K}A_1\dots A_{\ell-1})(z)\big)
\big(\big|_{x_1=\partial}A_\ell^*(-z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\big(\big|_{y=\partial}(A_{\ell+1}\dots A_sC^{n-H}A_1\dots A_{\ell-1})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\sum_{\ell=1}^{s}
\alpha_\ell
\int \operatorname{Res}_w \operatorname{tr}A_\ell(w+x+x_1+y)
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\Big(
\big(\big|_{x=\partial}(A_{\ell+1}\dots A_sB^{m-K}A_1\dots A_{\ell-1})(w+x_1+y)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\big(\big|_{x_1=\partial}A_\ell(w+y)\big)
\Big)_+
\big(\big|_{y=\partial}(A_{\ell+1}\dots A_sC^{n-H}A_1\dots A_{\ell-1})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\sum_{\ell=1}^{s}
\alpha_\ell
\int \operatorname{Res}_w \operatorname{tr}A_\ell(w+\partial)
(A_{\ell+1}\dots A_sB^{m-K}A_1\dots A_{\ell-1}A_\ell)(w+\partial)_+
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
(A_{\ell+1}\dots A_sC^{n-H}A_1\dots A_{\ell-1})(w)
} \\
\displaystyle{
\vphantom{\Big(}
=
\sum_{\ell=1}^{s}
\alpha_\ell
\int \operatorname{Res}_w \operatorname{tr}(A_{\ell+1}\dots A_sB^{m-K}A_1\dots A_{\ell-1}A_\ell)(w+\partial)_+
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
(A_{\ell+1}\dots A_sC^{n-H}A_1\dots A_{\ell-1}A_\ell)(w)
\,,}
\end{array}$$ where we used Lemma \[lemma:29032017\](b) for the first equality, equations and for the second equality, Lemma \[20170404:lem1\](a) for the third equality, and Lemma \[lem:hn1\](b) for the fourth equality. The second term in the RHS of is $$\label{20170412:eq3}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-
\sum_{\ell=1}^{s}
\alpha_\ell
\!\int\! \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
\iota_z(z\!-\!w\!-\!y\!-\!y_1)^{-1}
\Omega
A_\ell(z+x)\otimes\big(\big|_{y_1=\partial}A_\ell(w+y)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times\!
\big(\big|_{x=\partial}\!(A_{\ell+1}\!\dots\! A_sB^{m-K}\!\!A_1\!\dots\! A_{\ell\!-\!1})(\!z\!)\big)
\!\otimes\!
\big(\big|_{y=\partial}\!(A_{\ell+1}\!\dots\! A_sC^{n-H}\!\!A_1\!\dots\! A_{\ell\!-\!1})(\!w\!)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=-
\sum_{\ell=1}^{s}
\alpha_\ell
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\iota_z(z-w-y-y_1)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
A_\ell(z+x)
\big(\big|_{x=\partial}(A_{\ell+1}\dots A_sB^{m-K}A_1\dots A_{\ell-1})(z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\big(\big|_{y_1=\partial}A_\ell(w+y)\big)
\big(\big|_{y=\partial}(A_{\ell+1}\dots A_sC^{n-H}A_1\dots A_{\ell-1})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=-
\sum_{\ell=1}^{s}
\alpha_\ell
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}(A_\ell A_{\ell+1}\dots A_sB^{m-K}A_1\dots A_{\ell-1})(w+\partial)_+
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
(A_\ell A_{\ell+1}\dots A_sC^{n-H}A_1\dots A_{\ell-1})(w)
\,,}
\end{array}$$ where we used Lemma \[lemma:29032017\](b) for the first equality, Lemma \[20170404:lem1\](a) for the second equality, and equation for the last equality. If $\alpha_1=\dots=\alpha_\ell$, combining and , we get a telescopic sum where only the $\ell=s$ term in and the $\ell=1$ term in survive. As a result we obtain $$\label{20170412:eq4}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\alpha_s
\int \operatorname{Res}_w \operatorname{tr}(B^{m-K}A_1\dots A_s)(w+\partial)_+
(C^{n-H}A_1\dots A_s)(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
-\alpha_1
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}(A_1\dots A_sB^{m-K})(w+\partial)_+
(A_1\dots A_sC^{n-H})(w)
} \\
\displaystyle{
\vphantom{\Big(}
=
\alpha_1
\int \operatorname{Res}_w \operatorname{tr}\Big(
B^{m}(w+\partial)_+
(C^{n}(w)\big)
-
B^{m}(w+\partial)_+
C^{n}(w)
\Big)
=0
\,,}
\end{array}$$ where we used the identities $A_1\dots A_s=L=B^K=C^H$. This proves claim (a) in case (i), i.e. when $\alpha_1=\dots=\alpha_s$ and $\beta_\ell=\gamma_\ell=0$ for all $\ell$. To prove claim (a) in case (ii), we let $s=2$ and we consider the last three terms in the RHS of . For the third term, we have $$\label{20170412:eq5}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-\beta_1
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
\iota_z(z+w+x+y)^{-1}
({\mathbbm{1}}\otimes A_1(w+x+y))
\Omega^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\big(\big|_{x=\partial}(A_1A_2B^{m-K})(z)\big)
\otimes
\big(\big|_{y=\partial}(A_2C^{n-H})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
-\beta_2
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
\iota_z(z+w+x+y)^{-1}
({\mathbbm{1}}\otimes A_2(w+x+y))
\Omega^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\big(\big|_{x=\partial}(A_2B^{m-K}A_1)(z)\big)
\otimes
\big(\big|_{y=\partial}(C^{n-H}A_1)(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\beta_1
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\iota_z(z\!+\!w\!+\!x\!+\!y)^{-1}
A_1(w+x+y)
\big(\big|_{x=\partial}(A_1A_2B^{m-K})(z)\big)^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times\big(\big|_{y=\partial}(A_2C^{n-H})(w)\big)
-\beta_2
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\iota_z(z\!+\!w\!+\!x\!+\!y)^{-1}
A_2(w+x+y)
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times
\big(\big|_{x=\partial}(A_2B^{m-K}A_1)(z)\big)^\dagger
\big(\big|_{y=\partial}(C^{n-H}A_1)(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\beta_1\!
\int\! \operatorname{Res}_w\! \operatorname{tr}A_1(w\!+\!x\!+\!y)
\big(\big|_{x=\partial}\!(A_1A_2B^{m-K})^*(w\!+\!y)_+\big)^\dagger
\big(\big|_{y=\partial}\!(A_2C^{n-H})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
-\beta_2
\int \operatorname{Res}_w \operatorname{tr}A_2(w\!+\!x\!+\!y)
\big(\big|_{x=\partial}(A_2B^{m-K}A_1)^*(w\!+\!y)_+\big)^\dagger
\big(\big|_{y=\partial}(C^{n-H}A_1)(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\beta_1
\int \operatorname{Res}_w \operatorname{tr}A_1(w+\partial)
\big((A_1A_2B^{m-K})^*(w+\partial)_+\big)^\dagger
(A_2C^{n-H})(w)
} \\
\displaystyle{
\vphantom{\Big(}
-\beta_2
\int \operatorname{Res}_w \operatorname{tr}A_2(w+\partial)
\big((A_2B^{m-K}A_1)^*(w+\partial)_+\big)^\dagger
(C^{n-H}A_1)(w)
} \end{array}$$

$$\label{eq:hn-pr2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
=
-\beta_1
\int \operatorname{Res}_w \operatorname{tr}\big((A_1A_2B^{m-K})^*(w+\partial)_+\big)^\dagger
(A_2C^{n-H}A_1)(w)
} \\
\displaystyle{
\vphantom{\Big(}
-\beta_2
\int \operatorname{Res}_w \operatorname{tr}\big((A_2B^{m-K}A_1)^*(w+\partial)_+\big)^\dagger
(C^{n-H}A_1A_2)(w)
} \\
\displaystyle{
\vphantom{\Big(}
=
-\beta_1
\int \operatorname{Res}_w \operatorname{tr}\big((B^{m})^*(w+\partial)_+\big)^\dagger
(A_2C^{n-H}A_1)(w)
} \\
\displaystyle{
\vphantom{\Big(}
-\beta_2
\int \operatorname{Res}_w \operatorname{tr}\big((A_2B^{m-K}A_1)^*(w+\partial)_+\big)^\dagger
C^{n}(w)
\,.}
\end{array}$$

Here we used first Lemma \[20170404:lem1\], then we used Lemma \[lemma:29032017\](d) for the first equality, equations and for the second equality, Lemma \[lem:hn1\](b) for the fourth equality, and the identities $A_1A_2=B^K=C^H$ for the last equality. Similarly, for the fourth term in the RHS of , we have $$\label{20170412:eq6}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\beta_1
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
\iota_z(z+w+x+y)^{-1}
(A_1^*(-z)\otimes{\mathbbm{1}})
\Omega^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\big(\big|_{x=\partial}(A_2B^{m-K})(z)\big)
\otimes
\big(\big|_{y=\partial}(A_1A_2C^{n-H})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
+\beta_2
\int \operatorname{Res}_z \operatorname{Res}_w (\operatorname{tr}\otimes\operatorname{tr})
\iota_z(z+w+x+y)^{-1}
(A_2^*(-z)\otimes{\mathbbm{1}})
\Omega^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\big(\big|_{x=\partial}(B^{m-K}A_1)(z)\big)
\otimes
\big(\big|_{y=\partial}(A_2C^{n-H}A_1)(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\beta_1
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\iota_z(z+w+x+y)^{-1}
\Big(\big(\big|_{x=\partial}(A_2B^{m-K})(z)\big)
A_1^*(-z)\Big)^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times
\big(\big|_{y=\partial}(A_1A_2C^{n-H})(w)\big)
+\beta_2
\int \operatorname{Res}_z \operatorname{Res}_w \operatorname{tr}\iota_z(z+w+x+y)^{-1}
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times
\Big(\big(\big|_{x=\partial}(B^{m-K}A_1)(z)\big)
A_2^*(-z)\Big)^\dagger
\big(\big|_{y=\partial}(A_2C^{n-H}A_1)(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\!\beta_1
\!\int\! \operatorname{Res}_w \!\operatorname{tr}\!
\Big(\big(\big|_{x=\partial}(A_2B^{m-K})^*(w\!+\!y)\big)
A_1^*(w\!+\!x\!+\!y)\Big)_+^\dagger
\big(\big|_{y=\partial}(A_1A_2C^{n-H})(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
+\beta_2
\!\int\! \operatorname{Res}_w \!\operatorname{tr}\!
\Big(\big(\big|_{x=\partial}(B^{m-K}A_1)^*(w\!+\!y)\big)
A_2^*(w\!+\!x\!+\!y)\Big)_+^\dagger
\big(\big|_{y=\partial}(A_2C^{n-H}A_1)(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\beta_1
\int \operatorname{Res}_w \operatorname{tr}\big((A_2B^{m-K}A_1)^*(w+\partial)_+\big)^\dagger
(A_1A_2C^{n-H})(w)
} \\
\displaystyle{
\vphantom{\Big(}
+\beta_2
\int \operatorname{Res}_w \operatorname{tr}\big((B^{m-K}A_1A_2)^*(w+\partial)_+\big)^\dagger
(A_2C^{n-H}A_1)(w)
} \\
\displaystyle{
\vphantom{\Big(}
=
\beta_1
\int \operatorname{Res}_w \operatorname{tr}\big((A_2B^{m-K}A_1)^*(w+\partial)_+\big)^\dagger
C^{n}(w)
} \\
\displaystyle{
\vphantom{\Big(}
+\beta_2
\int \operatorname{Res}_w \operatorname{tr}\big((B^{m})^*(w+\partial)_+\big)^\dagger
(A_2C^{n-H}A_1)(w)
\,,}
\end{array}$$ where we used first Lemma \[20170404:lem1\], then we used Lemma \[lemma:29032017\](d) for the first equality, equations and for the second equality, Lemma \[20170404:lem1\](b) for the third equality, and the identities $A_1A_2=B^K=C^H$ for the last equality. If $\beta_1=\beta_2$, as assumed in case (ii), we can combine and to get zero. Finally, let us consider the last term in the RHS of . It is equal to $$\label{20170412:eq7}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\gamma_1
\int \operatorname{Res}_z \operatorname{Res}_w
x^{-1}
\operatorname{tr}\Big(\Big|_{x=\partial}
\big(A_1^*(-z)-A_1(z+\partial)\big)
(A_2B^{m-K})(z)
\Big)
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\operatorname{tr}\Big(
\big(A_1(w+x+\partial)-A_1(w+\partial)\big)
(A_2C^{n-H})(w)
\Big)
} \\
\displaystyle{
\vphantom{\Big(}
+
\gamma_2
\int \operatorname{Res}_z \operatorname{Res}_w 
x^{-1}
\operatorname{tr}\Big(\Big|_{x=\partial}
\big(A_2^*(-z)-A_2(z+\partial)\big)
(B^{m-K}A_1)(z)
\Big)
} \\
\displaystyle{
\vphantom{\Big(}
\qquad\times
\operatorname{tr}\Big(
\big(A_2(w+x+\partial)-A_2(w+\partial)\big)
(C^{n-H}A_1)(w)
\Big)
\,.}
\end{array}$$ By Lemma \[lem:hn1\](a) and (b), the cyclic property of the trace, and the identity $A_1A_2=B^K$, we have $$\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\operatorname{Res}_z\operatorname{tr}\Big(
\big(A_1^*(-z)-A_1(z+\partial)\big)
(A_2B^{m-K})(z)
\Big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\operatorname{Res}_z\operatorname{tr}\Big(
(A_2B^{m-K}A_1-A_1A_2B^{m-K})(z)
\Big)
\,.}
\end{array}$$ Moreover, integrating by parts, we can also replace in $$\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\operatorname{Res}_w\operatorname{tr}\Big(
\big(A_1(w+x+\partial)-A_1(w+\partial)\big)
(A_2C^{n-H})(w)\Big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\operatorname{Res}_w\operatorname{tr}\Big(
\big(A_1^*(-w)-A_1(w+\partial)\big)
(A_2C^{n-H})(w)\Big)
} \\
\displaystyle{
\vphantom{\Big(}
=
\operatorname{Res}_w\operatorname{tr}\Big(
(A_2C^{n-H}A_1-C^n)(w)
\Big)
\,.}
\end{array}$$ Hence, becomes $$\label{20170412:eq8}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\gamma_1
\int
\operatorname{Res}_w
\operatorname{tr}(A_2C^{n-H}A_1-C^n)(w)
\partial^{-1}
\operatorname{Res}_z 
\operatorname{tr}(A_2B^{m-K}A_1-B^m)(z)
} \\
\displaystyle{
\vphantom{\Big(}
+\!
\gamma_2\!
\int 
\operatorname{Res}_w 
\operatorname{tr}(C^{n}\!-\!A_2C^{n-H}\!A_1)(w)
\partial^{-1}
\operatorname{Res}_z 
\operatorname{tr}(B^m\!-\!A_2B^{m-K}\!A_1)(z)
\,,}
\end{array}$$ which is zero since, by assumption, $\gamma_1=-\gamma_2$. This completes the proof of (a).

Next, let us prove part (b). By the first equation in and Lemma \[20170404:lem2\](d), we have $$\label{eq:prb1}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\frac{dA_\ell(w)}{dt_{n,B}}
=
\{{{\textstyle\int}}h_{n,B},A_\ell(w)\}
=
\{{h_{n,B}}_\lambda A_\ell(w)\}\big|_{\lambda=0}
} \\
\displaystyle{
\vphantom{\Big(}
=
-\operatorname{Res}_z (\operatorname{tr}\otimes1)
\{L(z+x)_x A_\ell(w)\}
\big(\big|_{x=\partial}B^{n-K}(z)\otimes{\mathbbm{1}}\big)
} \\
\displaystyle{
\vphantom{\Big(}
=
-
\sum_{r=1}^{s}
\operatorname{Res}_z (\operatorname{tr}\otimes1)
\big(\big|_{x_2=\partial}(A_1\dots A_{r-1})^*(-z)\otimes1\big)
\{A_r(z\!+\!x\!+\!x_1)_{x\!+\!x_1\!+\!x_2}A_\ell(w)\}
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times
\big(\big|_{x_1=\partial}(A_{r+1}\dots A_s)(z+x)\otimes1\big)
\big(\big|_{x=\partial}B^{n-K}(z)\otimes{\mathbbm{1}}\big)
\,.}
\end{array}$$ We can use the cyclic property of the trace, Lemma \[lem:hn1\](b) and Lemma \[20170404:lem1\](a), to rewrite the RHS of as $$\label{eq:prb2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-
\sum_{r=1}^{s}
\operatorname{Res}_z (\operatorname{tr}\otimes1)
\{A_r(z\!+\!x)_{x}A_\ell(w)\}
\big(\big|_{x=\partial}(A_{r\!+\!1}\dots A_sB^{n-K}A_1\dots A_{r\!-\!1})(z)\otimes1\big)
\,.}
\end{array}$$ By assumption , only the $r=\ell$ term in is non zero, and we can use the generalized Adler identity to rewrite as $$\label{eq:prb3}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-
\alpha_\ell
\operatorname{Res}_z 
\iota_z(z-w-x_1)^{-1}
(\operatorname{tr}\otimes1)
\Omega
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times
A_\ell(w+x+x_1)
\big(\big|_{x=\partial}(A_{\ell+1}\dots A_sB^{n-K}A_1\dots A_{\ell-1})(z)\big)
\otimes
\big(\big|_{x_1=\partial}A_\ell^*(-z)\big)
} \\
\displaystyle{
\vphantom{\Big(}
+
\alpha_\ell
\operatorname{Res}_z 
\iota_z(z-w-y)^{-1}
(\operatorname{tr}\otimes1)
\Omega
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times
(A_\ell A_{\ell+1}\dots A_sB^{n-K}A_1\dots A_{\ell-1})(z)
\otimes
\big(\big|_{y=\partial}A_\ell(w)\big)
} \\
\displaystyle{
\vphantom{\Big(}
+
\beta_\ell
\operatorname{Res}_z 
\iota_z(z+w+x)^{-1}
(\operatorname{tr}\otimes1)
\big({\mathbbm{1}}\otimes A_\ell(w+x)\big)
\Omega^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times
\big(\big|_{x=\partial}(A_\ell A_{\ell+1}\dots A_sB^{n-K}A_1\dots A_{\ell-1})(z)\otimes1\big)
} \\
\displaystyle{
\vphantom{\Big(}
-
\beta_\ell
\operatorname{Res}_z 
\iota_z(z+w+x+y)^{-1}
(\operatorname{tr}\otimes1)
\big(A_\ell^*(-z)\otimes{\mathbbm{1}}\big)
\Omega^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times
\big(
\big|_{x=\partial}(A_{\ell+1}\dots A_sB^{n-K}A_1\dots A_{\ell-1})(z)
\otimes 
\big|_{y=\partial}A_\ell(w)
\big)
} \end{array}$$

$$\label{eq:hn-pr2}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-
\gamma_\ell
\big(A_\ell(w+\partial)-A_\ell(w)\big)\partial^{-1}
\operatorname{Res}_z
\operatorname{tr}\Big(
\big(A_\ell^*(-z)-A_\ell(z\!+\!x)\big)
} \\
\displaystyle{
\vphantom{\Big(}
\quad\times
\big(\big|_{x=\partial}(A_{\ell+1}\!\dots\! A_sB^{n-K}A_1\!\dots\! A_{\ell-1})(z)\big)
\Big)\,.}
\end{array}$$

Next, we use Lemmas \[lemma:29032017\](a)-(c), \[lem:hn1\](b) and \[20170404:lem1\], and equations and , to rewrite as $$\label{eq:prb4}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
-
\alpha_\ell
A_\ell(w+\partial)
(A_{\ell+1}\dots A_sB^{n-K}A_1\dots A_{\ell-1}A_\ell)(w)_+
} \\
\displaystyle{
\vphantom{\Big(}
+
\alpha_\ell
(A_\ell A_{\ell+1}\dots A_sB^{n-K}A_1\dots A_{\ell-1})(w+\partial)_+A_\ell(w)
} \\
\displaystyle{
\vphantom{\Big(}
+
\beta_\ell
A_\ell(w+\partial)
\big((A_\ell A_{\ell+1}\dots A_sB^{n-K}A_1\dots A_{\ell-1})^*(w)_+\big)^\dagger
} \\
\displaystyle{
\vphantom{\Big(}
-
\beta_\ell
\big((A_{\ell+1}\dots A_sB^{n-K}A_1\dots A_{\ell-1}A_\ell)^*(w+\partial)_+\big)^\dagger
A_\ell(w)
} \\
\displaystyle{
\vphantom{\Big(}
-
\gamma_\ell
\big(A_\ell(w+\partial)-A_\ell(w)\big)\partial^{-1}
\operatorname{Res}_z
\operatorname{tr}\Big(
(A_{\ell+1}\!\dots\! A_sB^{n-K}A_1\!\dots\! A_{\ell-1}A_\ell)(z)
} \\
\displaystyle{
\vphantom{\Big(}
\qquad
-(A_\ell A_{\ell+1}\!\dots\! A_sB^{n-K}A_1\!\dots\! A_{\ell-1})(z)
\Big)\,.}
\end{array}$$ Rewriting in operator form, we get the following evolution equation for $A_\ell(\partial)\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V$ $$\label{eq:prb5}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\frac{dA_\ell(\partial)}{dt_{n,B}}
=
-\alpha_\ell
A_\ell(\partial) B_{\ell}^n(\partial)_+
+\alpha_\ell
B_{\ell-1}^n(\partial)_+ A_\ell(\partial)
} \\
\displaystyle{
\vphantom{\Big(}
+\beta_\ell
A_\ell(\partial) ((B_{\ell-1}^n)^*(\partial)_+)^{\dagger}
-\beta_\ell
((B_{\ell}^n)^*(\partial)_+)^{\dagger} A_\ell(\partial)
-\gamma_\ell [A_\ell(\partial),f_{\ell}^n]
\,,}
\end{array}$$ where $$\label{eq:prb6}
B_{\ell}^n(\partial)
:=
(A_{\ell+1}\dots A_sB^{n-K}A_1\dots A_\ell)(\partial)
\,\in{\mathcal{V}}((\partial^{-1}))\otimes\operatorname{End}V
\,,$$ and $$\label{eq:prb7}
f_{\ell}^n
:=
\partial^{-1}\operatorname{Res}_z\operatorname{tr}\big( B_\ell^n(z)-B_{\ell-1}^n(z) \big)
\,\in{\mathcal{V}}/{\operatorname{Ker}}\partial
\,.$$ Note that $f_\ell^n$ is a well defined element of ${\mathcal{V}}/{\operatorname{Ker}}\partial$ since, by Lemma \[lem:hn1\](b), $${{\textstyle\int}}\operatorname{Res}_z\operatorname{tr}B_\ell^n(z)={{\textstyle\int}}\operatorname{Res}_z\operatorname{tr}B_{\ell-1}^n(z)
\,.$$

We now recall the definition of $L(\partial)$ and compute $\frac{dL(w)}{dt_{n,B}}$ using the Leibniz rule: $$\label{eq:prb8}
\begin{array}{l}
\displaystyle{
\frac{dL(\partial)}{dt_{n,B}}
=
\sum_{\ell=1}^s A_1(\partial)\dots A_{\ell-1}(\partial)
\frac{dA_\ell(\partial)}{dt_{n,B}}
A_{\ell+1}(\partial)\dots A_s(\partial)
} \\
\displaystyle{
\vphantom{\Big(}
=
-
\sum_{\ell=1}^s \alpha_\ell
A_1(\partial)\dots A_{\ell}(\partial)
B_{\ell}^n(\partial)_+
A_{\ell+1}(\partial)\dots A_s(\partial)
} \\
\displaystyle{
\vphantom{\Big(}
+
\sum_{\ell=1}^s \alpha_\ell
A_1(\partial)\dots A_{\ell-1}(\partial)
B_{\ell-1}^n(\partial)_+
A_{\ell}(\partial)\dots A_s(\partial)
} \\
\displaystyle{
\vphantom{\Big(}
+
\sum_{\ell=1}^s \beta_\ell
A_1(\partial)\dots A_{\ell}(\partial)
((B_{\ell-1}^n)^*(\partial)_+)^{\dagger}
A_{\ell+1}(\partial)\dots A_s(\partial)
} \\
\displaystyle{
\vphantom{\Big(}
-
\sum_{\ell=1}^s \beta_\ell
A_1(\partial)\dots A_{\ell-1}(\partial)
((B_{\ell}^n)^*(\partial)_+)^{\dagger}
A_{\ell}(\partial)\dots A_s(\partial)
} \\
\displaystyle{
\vphantom{\Big(}
-
\sum_{\ell=1}^s \gamma_\ell
A_1(\partial)\dots A_{\ell-1}(\partial)
[A_\ell(\partial),f_{\ell}^n]
A_{\ell+1}(\partial)\dots A_s(\partial)
\,.}
\end{array}$$ For $\alpha_1=\dots=\alpha_s$, the first two terms of the RHS of form a telescopic sum where only the $\ell=s$ term of the first sum and the $\ell=1$ term of the second sum survive. As a result we get $$\label{eq:prb9}
-
\alpha_1
L(\partial)
B^n(\partial)_+
+
\alpha_1
B^n(\partial)_+
L(\partial)
\,.$$ Here we used the fact that $A_1\dots A_s=L$ and $B_0^n=B_s^n=B^n$. This proves equation in case (i).

We are left to prove equation in case (ii) (i.e. when $s=2$, $\alpha_1=\alpha_2$, $\beta_1=\beta_2$ and $\gamma_1=-\gamma_2$). In this case, the $\beta$-terms in the RHS of are $$\label{eq:prb10}
\begin{array}{l}
\displaystyle{
\beta_1
A_1(\partial)
((B^n)^*(\partial)_+)^{\dagger}
A_{2}(\partial)
+
\beta_2
L(\partial)
((B_{1}^n)^*(\partial)_+)^{\dagger}
} \\
\displaystyle{
\vphantom{\Big(}
-
\beta_1
((B_{1}^n)^*(\partial)_+)^{\dagger}
L(\partial)
-
\beta_2
A_1(\partial)
((B^n)^*(\partial)_+)^{\dagger}
A_2(\partial)
=
-\beta_1 [((B_{1}^n)_+^{\star\dagger},L]
\,.}
\end{array}$$ where we used the identities $A_1A_2=L$, $B_0^n=B_2^n=B^n$. Finally, let us compute the $\gamma$-terms in the RHS of . Note that, for $s=2$, we have, by , $$f_1^n=-f_2^n=\partial^{-1}\operatorname{Res}_z\operatorname{tr}(B_1^n(z)-B^n(z))\,.$$ Hence, the $\gamma$-term in the RHS of is $$\label{eq:prb11}
\begin{array}{l}
\displaystyle{
-
\gamma_1
[A_1(\partial),f_{1}^n] A_2(\partial)
-
\gamma_2
A_1(\partial)
[A_2(\partial),f_{2}^n]
=
-\gamma_1[L(\partial),f_{1}^n]
\,.}
\end{array}$$ This completes the proof of and of the Theorem.

Integrable hierarchies for W-algebras associated to classical Lie algebras {#sec:8}
==========================================================================

As a consequence of Theorem \[thm:hn-product\] and the results of Sections \[sec:3\]-\[sec:6\], we get the following list of hierarchies of Hamiltonian equations associated to ${\mathcal{W}}$-algebras for classical Lie algebras:

[**1.**]{} Let $s\in{\mathbb{Z}}_{\geq1}$, $N_1,\dots,N_s\in{\mathbb{Z}}_{\geq1}$, let $f_1\in{\mathfrak{gl}}_{N_1},\dots,f_s\in{\mathfrak{gl}}_{N_s}$ be nilpotent elements (of depths $D_1,\dots,D_s$ respectively). Let $T_1\in(\operatorname{End}{\mathbb{F}}^{N_1})[D_1],\dots,T_s\in(\operatorname{End}{\mathbb{F}}^{N_s})[D_s]$ satisfy condition and $\dim(\operatorname{Im}T_1)=\dots=\dim(\operatorname{Im}T_s)$. Fix linear isomorphisms $U:=\operatorname{Im}T_1\simeq\dots\simeq\operatorname{Im}T_s$. Consider the PVA $${\mathcal{W}}={\mathcal{W}}({\mathfrak{gl}}_{N_1},f_1)\otimes\dots\otimes{\mathcal{W}}({\mathfrak{gl}}_{N_s},f_s)
\,,$$ and the operator $$L(\partial)=L({\mathfrak{gl}}_{N_1},f_1,T_1)(\partial)\dots L({\mathfrak{gl}}_{N_s},f_s,T_s)(\partial)
\,\in{\mathcal{W}}((\partial^{-1}))\otimes\operatorname{End}U
\,,$$ where $L({\mathfrak{g}},f,T)$ is defined by . It defines an integrable hierarchy of Hamiltonian equations over ${\mathcal{W}}$ of Lax form: $$\label{eq:list1}
\frac{dL(w)}{dt_{n,B}}
=
[(B^n)_+,L](w)
\,,$$ where $n\in{\mathbb{Z}}$ and $B\in{\mathcal{W}}((\partial^{-1}))\otimes\operatorname{End}U$ is a root of $L$. Moreover, the Hamiltonian functionals ${{\textstyle\int}}h_{n,B}$, $n\in{\mathbb{Z}}$ and $B$ a root of $L$, defined by , are integrals of motions in involution for all the equations of the hierarchy .

\[rem:exp\] Recalling Table , we could consider a larger class of operators: $$L(\partial)=e^{k_1\partial}L({\mathfrak{gl}}_{N_1},f_1,T_1)(\partial)e^{k_2\partial}
\dots e^{k_s\partial}L({\mathfrak{gl}}_{N_s},f_s,T_s)(\partial)e^{k_{s+1}\partial}
\,,$$ where $k_1,\dots,k_{s+1}\in{\mathbb{F}}$, and we assume that $\dim(\operatorname{Im}T_i)=1$ for all $i$. It should still be of Adler type, so it should define a Hamiltonian hierarchy of Lax equations. But to make sense of it we need to enlarge the algebra of operators that we consider, since, if we expand the exponentials, $L(\partial)$ has infinitely many positive powers of $\partial$ and we might get diverging series.

[**2.**]{} Let $N\in{\mathbb{Z}}_{\geq1}$, let $f\in{\mathfrak{sl}}_{N}$ be a nilpotent element (of depth $D$), and let $T\in(\operatorname{End}{\mathbb{F}}^{N})[D]$ satisfy condition . Consider the PVA ${\mathcal{W}}={\mathcal{W}}({\mathfrak{sl}}_{N},f)$, and the operator $$L(\partial)=L({\mathfrak{sl}}_{N},f,T)(\partial)
\,\in{\mathcal{W}}((\partial^{-1}))\otimes\operatorname{End}(\operatorname{Im}T)
\,,$$ defined by . It defines an integrable hierarchy of Hamiltonian equations over ${\mathcal{W}}$ of the Lax form , and the Hamiltonian functionals ${{\textstyle\int}}h_{n,B}$, $n\in{\mathbb{Z}}$ and $B$ root of $L$, defined by , are integrals of motions in involution for all the equations of the hierarchy . Note that this hierarchy is bi-Hamiltonian in both cases 1. and 2., cf. [@DSKVnew; @DSKV16b].

[**3.**]{} Let ${\mathfrak{g}}\simeq{\mathfrak{so}}_N$ or ${\mathfrak{sp}}_N$, with $N\in{\mathbb{Z}}_{\geq1}$, and let $f\in{\mathfrak{g}}$ be a nilpotent element (of depth $d$ in ${\mathfrak{g}}$ and $D$ in $\operatorname{End}{\mathbb{F}}^N$). Let $T\in(\operatorname{End}{\mathbb{F}}^{N})[D]$ satisfy condition and be such that $T^\dagger=\pm T$. Consider the PVA ${\mathcal{W}}={\mathcal{W}}({\mathfrak{g}},f)$, and the operator $$L(\partial)
=
L({\mathfrak{g}},f,T)(\partial)
\,\in{\mathcal{W}}((\partial^{-1}))\otimes\operatorname{End}(\operatorname{Im}T)
\,.$$ It defines an integrable hierarchy of Hamiltonian equations over ${\mathcal{W}}$ of Lax form: $$\label{eq:list2}
\frac{dL(w)}{dt_{n,B}}
=
\frac12[(B^n)_+ - (B^n)^{\star\dagger}_+,L](w)
\,,$$ where $n\in{\mathbb{Z}}$ and $B\in{\mathcal{W}}((\partial^{-1}))\otimes\operatorname{End}(\operatorname{Im}T)$ is a root of $L$. Moreover, the Hamiltonian functionals ${{\textstyle\int}}h_{n,B}$, $n\in{\mathbb{Z}}$ and $B$ root of $L$, defined by , are integrals of motions in involution for all the equations of the hierarchy . This hierarchy is bi-Hamiltonian provided that $d=D$, which is always the case for ${\mathfrak{g}}={\mathfrak{sp}}_N$.

[**4.**]{} Let ${\mathfrak{g}},N,f,T$ and ${\mathcal{W}}$ be as in 3., assume that $\dim(\operatorname{Im}T)=1$, and consider the operator $$L(\partial)
=
L({\mathfrak{g}},f,T)(\partial)\partial^{\pm1}
\,\in{\mathcal{W}}((\partial^{-1}))
\,.$$ It defines an integrable hierarchy of Hamiltonian equations over ${\mathcal{W}}$ of Lax form: $$\label{eq:list3}
\frac{dL(w)}{dt_{n,B}}
=
\frac12[(B^n)_+ - (\partial^{\pm1}B^{n}\partial^{\mp1})^{\star\dagger}_+,L](w)
\,,$$ where $n\in{\mathbb{Z}}$ and $B\in{\mathcal{W}}((\partial^{-1}))$ is a $K$-th root of $L$. Moreover, the Hamiltonian functionals ${{\textstyle\int}}h_{n,B}$, $n\in{\mathbb{Z}}$ and $B$ root of $L$, defined by , are integrals of motions in involution for all the equations of the hierarchy . Similarly, we can consider the operator $$L(\partial)
=
\partial^{\pm1}L({\mathfrak{g}},f,T)(\partial)
\,\in{\mathcal{W}}((\partial^{-1}))
\,,$$ and, in this case, we need to replace $\partial^{\pm1}B^{n-K}L({\mathfrak{g}},f,T)$ by $L({\mathfrak{g}},f,T)B^{n-K}\partial^{\pm1}$ in .

[**5.**]{} For $\ell=1,2$, let ${\mathfrak{g}}_\ell\simeq{\mathfrak{so}}_{N_\ell}$ or ${\mathfrak{sp}}_{N_\ell}$, with $N_\ell\in{\mathbb{Z}}_{\geq1}$, and let $f_\ell\in{\mathfrak{g}}_\ell$ be a nilpotent element (of depth $D_\ell$ in $\operatorname{End}{\mathbb{F}}^{N_\ell}$). Let $T_\ell\in(\operatorname{End}{\mathbb{F}}^{N_\ell})[D_\ell]$ satisfy condition and be such that $T_\ell^\dagger=\pm T_\ell$. Assume moreover that the there is an isometry $U:=\operatorname{Im}T_1\simeq\operatorname{Im}T_2$. Consider the PVA $${\mathcal{W}}={\mathcal{W}}({\mathfrak{g}}_1,f_1)\otimes{\mathcal{W}}({\mathfrak{g}}_2,f_2)
\,,$$ and the operator $$L(\partial)
=
L({\mathfrak{g}}_1,f_1,T_1)(\partial)
L({\mathfrak{g}}_2,f_2,T_2)(\partial)
\,\in{\mathcal{W}}((\partial^{-1}))\otimes\operatorname{End}U
\,.$$ It defines an integrable hierarchy of Hamiltonian equations over ${\mathcal{W}}$ of Lax form: $$\label{eq:list4}
\frac{dL(w)}{dt_{n,B}}
=
\frac12[(B^n)_+ - (L({\mathfrak{g}}_2,f_2,T_2)B^{n-K}L({\mathfrak{g}}_1,f_1,T_1))^{\star\dagger}_+,L](w)
\,,$$ where $n\in{\mathbb{Z}}$ and $B\in{\mathcal{W}}((\partial^{-1}))\otimes\operatorname{End}U$ is a $K$-th root of $L$. Moreover, the Hamiltonian functionals ${{\textstyle\int}}h_{n,B}$, $n\in{\mathbb{Z}}$, and $B$ root of $L$, defined by , are integrals of motions in involution for all the equations of the hierarchy .

By Remark \[rem:modified\], we get integrable hierarchies of Lax type equations for the PVA ${\mathcal{V}}={\mathcal{V}}({\mathfrak{g}}_0)\otimes{\mathcal{F}}({\mathfrak{g}}_{\frac12})$ by replacing the pseudodifferential operator $L$ in , , and by the corresponding modified Adler operator $L^{mod}$ defined in .

Examples of generalized Adler type operators {#sec:9}
============================================

Example 1: Lax operator $L_\epsilon(z)$ for principal nilpotent $f$ in ${\mathfrak{gl}}_N$ {#sec:example1.1}
------------------------------------------------------------------------------------------

This computation already appeared in [@DSKV16b]. Let ${\mathfrak{g}}={\mathfrak{gl}}_N$ in its standard representation. As usual, we denote by $E_{ij}\in{\mathfrak{gl}}_N$ the elementary matrix with $1$ in position $(ij)$ and $0$ elsewhere and we denote by $e_{ij}\in{\mathfrak{g}}$ the same matrix when viewed as an element of the differential algebra ${\mathcal{V}}({\mathfrak{g}})$. Consider the principal nilpotent element $f=\sum_{k=1}^{N-1}e_{k+1,k}\in{\mathfrak{g}}$. In this case the depths of the grading and coincide: $d=D=N-1$. Moreover, ${\mathfrak{g}}_{N-1}={\mathbb{F}} e_{1N}$. Hence, we may choose $T=S=E_{1N}$.

As a subspace $U\subset{\mathfrak{g}}$ complementary to $[f,{\mathfrak{g}}]$ and compatible with the grading we choose (see [@DSKV16b]) $U=\operatorname{Span}\{u^i\mid 0\leq i\leq N-1\}$, where $$\label{eq:U_gl}
u^i=e_{1,N-i}
\,,
\qquad
0\leq i\leq N-1
\,.$$ The dual basis $\{u_i\mid 0\leq i\leq N-1\}$ of ${\mathfrak{g}}^f$ is given by $$u_i=\sum_{k=1}^{i+1}e_{N+k-i-1,k}
\,,
\qquad
0\leq i\leq N-1
\,.$$ Let $w:{\mathcal{V}}({\mathfrak{g}}^f)\to{\mathcal{W}}({\mathfrak{g}},f)$ be the differential algebra isomorphism given in Theorem \[thm:structure-W\], and let $w_i=w(u_i)$, for $0\leq i\leq N-1$. By Theorem \[thm:main\] we have [@DSKV16b Sec.7.1] $$\label{eq:glN_quasidet}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
L_\epsilon(\partial)
=|{\mathbbm{1}}_N\partial+F+\sum_{i=0}^{N-1}w_{i} E_{1N-i}+\epsilon S|_{1N}
} \\
\displaystyle{
\vphantom{\Big(}
=
-(-\partial)^N
+\sum_{i=0}^{N-1}w_i(-\partial)^i
+\epsilon
\in{\mathcal{W}}({\mathfrak{g}},f)[\partial]
\,.}
\end{array}$$ Thus in this case the Adler type operator $L_\epsilon(\partial)$ is the generic scalar differential operator of order $N$ [@GD76; @DS85; @AGD].

\[rem:OK\] The generators $w_i,\,i=0,\dots,N-1$, can be computed explicitly, as elements of ${\mathcal{V}}({\mathfrak{g}}_{\leq\frac12})$, comparing equations and for the matrix $L_0(\partial)$. We thus recover the formula for the $w_i$’s obtained in [@DSKV16b Sec.7.1]. The generators of the $W$-algebra in the remaining examples can be computed in a similar way, but we will not provide the details.

\[rem:modified\_gln\] By equation , the Miura map $\mu:{\mathcal{W}}({\mathfrak{g}},f)\to{\mathcal{V}}({\mathfrak{g}}_0)$ is given by (see also [@DS85]) $$\mu(L_0(\partial))=(-1)^{N+1}(\partial+e_{11})\dots(\partial+e_{NN})
\,\in{\mathcal{V}}({\mathfrak{g}}_0)[\partial]\,.$$

Example 2: Lax operator $L_\epsilon(z)$ for principal nilpotent $f$ in ${\mathfrak{sl}}_N$ {#sec:example1.2}
------------------------------------------------------------------------------------------

This computation is similar to the one performed in Section \[sec:example1.1\]. Let ${\mathfrak{g}}={\mathfrak{sl}}_N$ in its standard representation. Given the elementary matrix $E_{ij}\in{\mathfrak{gl}}_N$ we denote by $E_{ij}^\sharp=E_{ij}-\frac{\delta_{ij}}{N}{\mathbbm{1}}_N$ its projection on ${\mathfrak{sl}}_N$ and we denote by $e^\sharp_{ij}\in{\mathfrak{g}}$ the same matrix when viewed as an element of the differential algebra ${\mathcal{V}}({\mathfrak{g}})$. Consider the principal nilpotent element $f=\sum_{k=1}^{N-1}e_{k+1,k}\in{\mathfrak{sl}}_N$. As in Section \[sec:example1.1\], we have $d=D=N-1$, ${\mathfrak{g}}_{N-1}={\mathbb{F}} e_{1N}$, and we choose $T=S=E_{1N}$.

As a subspace $U\subset{\mathfrak{g}}$ complementary fo $[f,{\mathfrak{g}}]$ and compatible with the grading we choose $U=\operatorname{Span}\{u^i\mid 0\leq i\leq N-2\}$, where $$\label{eq:U_sl}
u^i=e_{1,N-i}
\,,
\qquad
0\leq i\leq N-2
\,.$$ The dual basis $\{u_i\mid 0\leq i\leq N-2\}$ of ${\mathfrak{g}}^f$ is given by $$u_i=\sum_{k=1}^{i+1}e_{N+k-i-1,k}
\,,
\qquad
0\leq i\leq N-2
\,.$$ Let $w:{\mathcal{V}}({\mathfrak{g}}^f)\to{\mathcal{W}}({\mathfrak{g}},f)$ be the differential algebra isomorphism given in Theorem \[thm:structure-W\], and let $w_i=w(u_i)$, for $0\leq i\leq N-2$. As in the case of ${\mathfrak{gl}}_N$, we have $$\label{eq:slN_quasidet}
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
L_\epsilon(\partial)
=|{\mathbbm{1}}_N\partial+f+\sum_{i=0}^{N-2}w_{i} E_{1N-i}+\epsilon S|_{1N}
} \\
\displaystyle{
\vphantom{\Big(}
=
-(-\partial)^N
+\sum_{i=0}^{N-2}w_i(-\partial)^i
+\epsilon
\in{\mathcal{W}}({\mathfrak{g}},f)[\partial]
\,.}
\end{array}$$

\[rem:modified\_sln\] By equation , the Miura map $\mu:{\mathcal{W}}({\mathfrak{g}},f)\to{\mathcal{V}}({\mathfrak{g}}_0)$ is given by (see also [@DS85]) $$\mu(L_0(\partial))=(-1)^{N+1}(\partial+e^\sharp_{11})\dots(\partial+e^\sharp_{NN})
\in{\mathcal{V}}({\mathfrak{g}}_0)[\partial]\,.$$

Example 3: Lax operator $L_\epsilon(z)$ for principal nilpotent $f$ in ${\mathfrak{g}}$ of type $B$ or $C$ {#sec:example1.3}
----------------------------------------------------------------------------------------------------------

For $N\geq2 $ let $V={\mathbb{F}}^N$ be an $N$-dimensional vector space with basis $\{v_i\}_{i=1}^N$, and let $$\label{20170424:eq1}
\epsilon_i=(-1)^i\,,
\qquad
1\leq i\leq N
\,.$$ We define a non-degenerate bilinear form on $V$ as follows: $$\label{20170411:form}
\langle v_i|v_j\rangle=-\epsilon_{i}\delta_{i,j'}
\,,
\qquad i,j=1,\dots,N\,,$$ where $i'=N+1-i$. It follows from that $$\label{20170411:parity}
\langle u|v\rangle
=
(-1)^{N+1}
\langle v|u\rangle
\,.
\qquad u,v\in V\,,$$ Let $A^\dagger$ denote the adjoint of $A\in\operatorname{End}V$ with respect to . Explicitly, in terms of elementary matrices, it is given by: $$(E_{ij})^\dagger=\epsilon_i\epsilon_jE_{j'i'}\,.$$

Let ${\mathfrak{g}}=\{A\in\operatorname{End}V\mid A^\dagger=-A\}$. Then, by equation , ${\mathfrak{g}}\simeq{\mathfrak{so}}_N$ if $N$ is odd, and ${\mathfrak{g}}\simeq{\mathfrak{sp}}_N$ if $N$ is even. For $i,j=1,\dots,N$, we define $$\label{eq:F}
F_{ij}=E_{ij}-\epsilon_i\epsilon_jE_{j'i'}\,\,\big(=-F_{ij}^\dagger\big)
\,.$$ The following commutation relations hold ($i,j,h,k=1,\dots,N$): $$\label{comm:BC}
[F_{ij},F_{hk}]=\delta_{jh}F_{ik}-\delta_{ki}F_{hj}-\epsilon_i\epsilon_j\delta_{i'h}F_{j'k}
+\epsilon_i\epsilon_j\delta_{kj'}F_{hi'}
\,.$$ By the following elements form a basis of ${\mathfrak{g}}$ $$\big\{\frac{1}{1+\delta_{ij'}}f_{ij}:=\frac{1}{1+\delta_{ij'}}(e_{ij}-\epsilon_i\epsilon_je_{j'i'})
\,\big|\,
(i,j)\in I\big\}
\,,$$ where $$I=\Bigg\{
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\big\{(i,j)\,\big|\, 1\leq i\leq N, 1\leq j\leq i'\big\}
\,\,\text{ if }\,\, N \text{ is even}
} \\
\displaystyle{
\vphantom{\Big(}
\big\{(i,j)\,\big|\, 1\leq i\leq N, 1\leq j< i'\big\}
\,\,\text{ if }\,\, N \text{ is odd}
\,.}
\end{array}$$ Its dual basis, with respect to the trace form , is $$\big\{\frac12f_{ji}\mid (i,j)\in I\big\}\,.$$

Let $f=\sum_{k=1}^{N-1}e_{k+1,k}\in\operatorname{End}V$. Then, $f\in{\mathfrak{g}}$ and it is a principal nilpotent element. Indeed we can write $$\label{20170411:f}
f=\Bigg\{
\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
f_{21}+f_{32}+\dots+f_{n,n-1}+\frac{1}{2}f_{n+1,n}
\,\,\text{ if }\,\, N \text{ is even}
} \\
\displaystyle{
\vphantom{\Big(}
f_{21}+f_{32}+\dots+f_{n,n-1}+f_{n+1,n}
\,\,\text{ if }\,\, N \text{ is odd}
\,.}
\end{array}
\,,$$ where we denote by $n=[\frac{N}{2}]$ the integer part of $\frac{N}{2}$. We can include $f\in{\mathfrak{g}}$ in the following ${\mathfrak{sl}}_2$-triple $\{e,h=2x,f\}\subset{\mathfrak{g}}$, where: $$\label{20170411:sl2tripleBC}
x=\sum_{k=1}^n\frac{N\!+\!1\!-\!2k}2 f_{kk}
\,,
\quad
e=
\Bigg\{\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\sum_{k=1}^{n-1}k(N\!-\!k)f_{k,k+1}+\frac{n^2}{2} f_{n,n+1}
\,\,\text{ if }\,\, N \text{ is even}
} \\
\displaystyle{
\vphantom{\Big(}
\sum_{k=1}^{n-1}
k(N\!-\!k)f_{k,k+1}+n(n\!+\!1) f_{n,n+1}
\,\,\text{ if } N \text{ is odd}
}
\end{array}$$ It is immediate to check using the expression of $x\in{\mathfrak{g}}$ and the commutation relations that $$d=2n-1
\,\,,\,\,\,\,
{\mathfrak{g}}_d={\mathbb{F}}f_{1,2n}
\,\,,\,\,\,\,
D=N-1
\,\,,\,\,\,\,
(\operatorname{End}V)[N-1]={\mathbb{F}}E_{1N}
\,.$$ So, $D=d$ only for even $N$. We thus choose $s=\frac12 f_{1,2n}$ and $T=E_{1N}$, and $S=T$ for even $N$.

As a subspace $U\subset{\mathfrak{g}}$ complementary fo $[f,{\mathfrak{g}}]$ and compatible with the grading we choose $U=\operatorname{Span}\{u^i\mid 1\leq i\leq n\}$, where $$\label{eq:U_BC}
u^i=\frac12f_{1,2(n+1-i)}
\,,
\qquad
1\leq i\leq n
\,.$$ The dual basis $\{u_i\mid 1\leq i\leq n\}$ of ${\mathfrak{g}}^f$ is given by $$u_i=\sum_{k=1}^{N-1-2(n-i)}e_{k+1+2(n-i),k}
\,,
\qquad
1\leq i\leq n
\,.$$ Let $w:{\mathcal{V}}({\mathfrak{g}}^f)\to{\mathcal{W}}({\mathfrak{g}},f)$ be the differential algebra isomorphism given in Theorem \[thm:structure-W\], and let us denote by $w_i=w(u_i)$, for $1\leq i\leq n$. By Theorem \[thm:main\] we have that (cf. [@DSKVnew Prop.4.2]) $$\label{eq:BC_quasidet}
L_\epsilon(\partial)
=
|{\mathbbm{1}}_N\partial+F+\frac12\sum_{i=1}^{n}w_{i} F_{1,2(n+1-i)}+\epsilon S|_{1N}
\,.$$ By an explicit computation we get $$\begin{split}\label{eq:BC_L}
L_\epsilon(\partial)
&=-(-\partial)^N+\frac12\sum_{k=1}^n\left(
(-\partial)^{N-2k}\circ w_{n+1-k}+w_{n+1-k}(-\partial)^{N-2k}
\right)
\\
&-\frac14\sum_{k=1}^{n-1}\sum_{h=1}^{n-k}w_{n+1-h}(-\partial)^{N-2(h+k)}\circ w_{n+1-k}+\epsilon(-\partial)^{N-2n}
\in{\mathcal{W}}({\mathfrak{g}},f)[\partial]
\,.
\end{split}$$ Note that $L_\epsilon(\partial)=(-1)^NL_\epsilon(\partial)^*$, in other words, for $N$ even we get a generic selfadjoint operator, and for $N$ odd a generic skewadjoint operator [@DS85].

We can rewrite the operator $L_{\epsilon}(\partial)$ (for $\epsilon=0$) given by equations as $$L_0(z)=-(-z)^N+\sum_{k=0}^{N-2}\widetilde w_kz^k
\in{\mathcal{W}}({\mathfrak{g}},f)[z]
\,.$$ The elements $\widetilde w_{N-2k}\in{\mathcal{W}}({\mathfrak{g}},f)$, for $k=1,\dots,n$, provide a different set of differential generators for the differential algebra ${\mathcal{W}}({\mathfrak{g}},f)$ which coincide (up to a rescaling of the variables $f_{ij}$ ) with the set of generators constructed in [@MR15].

\[rem:modified\_BC\] By equation , the Miura map $\mu:{\mathcal{W}}({\mathfrak{g}},f)\to{\mathcal{V}}({\mathfrak{g}}_0)$ is given by (see also [@DS85]) $$\mu(L_0(\partial))=
(-1)^{N+1}
(\partial+\frac12f_{11})\dots(\partial+\frac12 f_{n,n})\partial^{N-2n}(\partial-\frac12f_{nn})\dots(\partial-\frac12f_{11})
\,.$$

Example 4: Lax operator $L_\epsilon(z)$ for principal nilpotent in ${\mathfrak{g}}$ of type $D$ {#sec:example1.4}
-----------------------------------------------------------------------------------------------

Let $N=2n\geq2 $ and let $V={\mathbb{F}}^N$ be an $N$-dimensional vector space with basis $\{v_i\}_{i=1}^N$. We introduce the the following notation: for $i\in\{1,\dots,N\}$, we let $$\label{20170421:eq1}
i'=\left\{
\begin{array}{ll}
N-i\,,&1\leq i\leq N-1\,,
\\
N\,,&i=N\,,
\end{array}
\right.
\text{and}
\quad
\epsilon_i=
\left\{
\begin{array}{ll}
(-1)^i\,,&1\leq i\leq N-1\,,
\\
(-1)^{n+1}\,,&i=N\,.
\end{array}
\right.$$ Then, we define a symmetric non-degenerate bilinear form on $V$ as follows: $$\label{20170411:form_D}
\langle v_i|v_j\rangle=
-\epsilon_i\delta_{j,i'}
\,.$$ The adjoint with respect to is then $$(E_{ij})^\dagger=\epsilon_i\epsilon_jE_{j'i'}
\,.$$ Let ${\mathfrak{g}}=\{A\in\operatorname{End}V\mid A^\dagger=-A\}\simeq{\mathfrak{so}}_N$. For $1\leq i,j\leq N-1$ we let $F_{ij}$ be defined as in , and, as usual, we also denote by $f_{ij}$ the same elements when viewed as elements of ${\mathfrak{g}}\subset{\mathcal{V}}({\mathfrak{g}})$. It is immediate to check that the same commutation relations as in hold. A basis of ${\mathfrak{g}}$ is $\{f_{ij}\mid (ij)\in I\}$ where $$I=\{(ij)\,\mid1\leq i\leq N-2,1\leq j<i'\}\cup\{(Ni)\mid 1\leq i\leq N-1\}\,.$$ Its dual basis, with respect to the trace form , is $\{\frac12f_{ji}\mid (i,j)\in I\}$.

Let $f=\sum_{k=1}^{n-1}f_{k+1,k}\in{\mathfrak{g}}$. It is a nilpotent element associated to the partition $p=(N-1,1)$. Hence, it is a principal nilpotent element. We can include $f\in{\mathfrak{g}}$ in the following ${\mathfrak{sl}}_2$-triple $\{e,h=2x,f\}\subset{\mathfrak{g}}$, where: $$\label{20170411:sl2tripleD}
h=\sum_{k=1}^{n-1}(N-2k)f_{kk}
\,,
\qquad
e=\sum_{k=1}^{n-1}k(N-1-k)f_{k,k+1}
\,.$$ It is immediate to check that: $$d=N-3
\,\,,\,\,\,\,
{\mathfrak{g}}_d={\mathbb{F}}F_{1,N-2}
\,\,,\,\,\,\,
D=N-2
\,\,,\,\,\,\,
(\operatorname{End}V)[N-2]={\mathbb{F}}E_{1N-1}
\,.$$ We thus choose $T=E_{1,N-1}$, and $s=\frac{1}{2}f_{1,N-2}$.

As a subspace $U\subset{\mathfrak{g}}$ complementary fo $[f,{\mathfrak{g}}]$ and compatible with the grading we choose $U=\operatorname{Span}\{u^i\mid 0\leq i\leq n-1\}$, where $$\label{eq:U_D}
u^i=\frac12f_{1,N-2i}
\,,
\qquad
0\leq i\leq n-1
\,.$$ The dual basis $\{u_i\mid 0\leq i\leq n-1\}$ of ${\mathfrak{g}}^f$ is given by $$u_0=f_{N,N-1}\,,
\quad
u_i=\sum_{k=1}^{i}f_{N+k-2i-1,k}
\,,
\qquad
1\leq i\leq n
\,.$$ Let $w:{\mathcal{V}}({\mathfrak{g}}^f)\to{\mathcal{W}}({\mathfrak{g}},f)$ be the differential algebra isomorphism given in Theorem \[thm:structure-W\], and let $w_i=w(u_i)$, for $0\leq i\leq n-1$. By Theorem \[thm:main\] and [@DSKV16b Eq.(2.14)] (see also [@DSKVnew Prop.4.2]), we have $$\label{eq:D_quasidet}
\begin{split}
&L_\epsilon(\partial)
=|{\mathbbm{1}}_N\partial+F+\frac12\sum_{i=0}^{n-1}w_{i} F_{1N-2i}+\epsilon S|_{1N-1}
=
\\
&-
\left(\begin{array}{ccccccccc}
\partial&\frac12w_{n-1}&0&\frac12w_{n-2}&0&\dots&0&\frac12(w_{1}+\epsilon)&\frac12w_0
\end{array}\right)
\circ
\\
&\left(\begin{array}{cccccc}
1&\partial&0&\dots&0 &0\\
0&1&\ddots&\ddots&\vdots &\vdots\\
\vdots&\ddots&\ddots&\ddots&0&0\\
\vdots&&\ddots&\ddots&\partial &0\\
0&\dots&\dots&0&1&0
\\
0&\dots&\dots&0&0&\partial
\end{array}\right)^{-1}
\circ
\left(\begin{array}{c}
\frac12 (w_1+\epsilon)\\ 0\\ \frac12 w_2\\ 0 \\ \vdots \\ \frac12 w_{n-1} \\ \partial\\ -\frac12 w_0
\end{array}\right)
\,.
\end{split}$$ We can compute the inverse matrix in the RHS of by expanding in geometric series in its upper left block to get $$\begin{split}\label{eq:D_L}
L_\epsilon(\partial)
&=\partial^{N-1}-\frac12\sum_{k=1}^{n-1}\left(
\partial^{N-1-2k}\circ w_{n-k}+w_{n-k}\partial^{N-1-2k}
\right)
\\
&+\frac14\sum_{k=1}^{n-2}\sum_{h=1}^{n-k-1}w_{n-h}\partial^{N-1-2(h+k)}\circ w_{n-k}
\\
&+\frac14 w_0\partial^{-1}\circ w_0
-\epsilon\partial\in{\mathcal{W}}({\mathfrak{g}},f)((\partial^{-1}))
\,.
\end{split}$$ Note that $L_{\epsilon}(\partial)=-L_\epsilon(\partial)^*$, so it is a weakly non-local skewadjoint pseudodifferential operator.

We can rewrite the operator $L_\epsilon(\partial)$ for $\epsilon=0$ given by equations as $$L_0(z)=z^{N-1}+\sum_{k=0}^{N-3}\widetilde w_kz^k+(-1)^ny_0(z+\partial)^{-1}y_0
\in{\mathcal{W}}({\mathfrak{g}},f)((z^{-1}))
\,.$$ The elements $y_0=\frac{\sqrt{(-1)^n}}2w_0$ and $\widetilde w_{2k-1}\in{\mathcal{W}}({\mathfrak{g}},f)$, for $k=1,\dots,n-1$, provide a different set of differential generators for the differential algebra ${\mathcal{W}}({\mathfrak{g}},f)$ which coincide (up to a rescaling of the variables $f_{ij}$) with the set of generators constructed in [@MR15].

\[rem:modified\_D\] By equation , the Miura map $\mu:{\mathcal{W}}({\mathfrak{g}},f)\to{\mathcal{V}}({\mathfrak{g}}_0)$ is given by (see also [@DS85]) $$\begin{array}{l}
\displaystyle{
\vphantom{\Big(}
\mu(L_0(\partial))=
\big(\partial+\frac12f_{11}\big)
\dots
\big(\partial+\frac12 f_{n-1,n-1}\big)
} \\
\displaystyle{
\vphantom{\Big(}
\times
\big(\partial-\frac14 f_{Nn}\partial^{-1}\circ f_{Nn}\big)
\big(\partial-\frac12f_{n-1,n-1}\big)
\dots
\big(\partial-\frac12f_{11}\big)
\,.}
\end{array}$$

Example 5: Lax operator $L_\epsilon(z)$ for minimal nilpotent $f$ in ${\mathfrak{gl}}_N$ {#sec:example1.5}
----------------------------------------------------------------------------------------

This computation already appeared in [@DSKV16b] and we briefly review it here. Let ${\mathfrak{g}}={\mathfrak{gl}}_N$ in its standard representation. The minimal nilpotent element $f=e_{N1}$ in ${\mathfrak{g}}={\mathfrak{gl}}_N$ is associated to the partition $p=(2,1,\dots,1)$, and it is embedded in the ${\mathfrak{sl}}_2$-triple $\{e,h=2x,f\}\subset{\mathfrak{g}}$, where $$e=e_{1N}\,,
\qquad
x=\frac{e_{11}-e_{NN}}{2}
\,.$$ In this case the gradings and coincide and their non-zero components are $$\begin{aligned}
&{\mathfrak{g}}_{-1}={\mathbb{F}}f\,,
\qquad
{\mathfrak{g}}_{-\frac12}=\operatorname{Span}\{e_{Nk},e_{k1}\mid 2\leq k\leq N-1\}\,,
\\
&{\mathfrak{g}}_{0}=\operatorname{Span}\{e_{11},e_{NN},e_{hk}\mid 2\leq h,k\leq N-1\}\,,
\\
&
{\mathfrak{g}}_{\frac12}=\operatorname{Span}\{e_{1k},e_{kN}\mid 2\leq k\leq N-1\}\,,
\qquad
{\mathfrak{g}}_{1}={\mathbb{F}}e
\,.\end{aligned}$$ Hence, we may choose $T=S=E_{1N}$.

As a subspace $U\subset{\mathfrak{g}}$ complementary fo $[f,{\mathfrak{g}}]$ and compatible with the grading we choose (see [@DSKV16b]) $U=\operatorname{Span}\{u^{ji}=e_{ji}\mid (ij)\in I_f\}$, where $$I_f=\{(11),(N1)\}\cup\{(Nk),(k1)\mid 2\leq k\leq N-1\}\cup\{(hk)\mid 2\leq h,k\leq N-1\}
\,.$$ The dual basis $\{u_{ij}\mid (ij)\in I_f\}$ of ${\mathfrak{g}}^f$ is given by $$u_{11}=e_{11}+e_{NN}\,,
\qquad
u_{ij}=e_{ij}\,,\qquad(ij)\in I_f\setminus\{(11)\}
\,.$$ Let $w:{\mathcal{V}}({\mathfrak{g}}^f)\to{\mathcal{W}}({\mathfrak{g}},f)$ be the differential algebra isomorphism given in Theorem \[thm:structure-W\], and let $w_{ij}=w(u_{ij})$ for $(ij)\in I_f$. By Theorem \[thm:main\] we have [@DSKV16b Sec.7.4] $$\begin{split}
\label{eq:L1-minimal}
&
L_\epsilon(\partial)
=|{\mathbbm{1}}_N\partial+F+\sum_{(ij)\in I_f}w_{ij}E_{ji}+\epsilon S|_{1N}
\\
&
=-\partial^2-w_{11}\partial+w_{N1}
- w_{+1}({\mathbbm{1}}_{N-2}\partial+W_{++})^{-1}\circ w_{N+}
+\epsilon
\,,
\end{split}$$ where $$\label{eq:minimal-notation}
\begin{split}
& w_{+1}
=
\left(\begin{array}{lll} w_{21} & \dots & w_{N-1,1} \end{array}\right) 
\,,\\
& W_{++}
=
\left(\begin{array}{ccc} 
w_{22} & \dots & w_{N-1,2} \\
\vdots & \ddots & \vdots \\
w_{2N-1} & \dots & w_{N-1,N-1} 
\end{array}\right)
\,\,,\,\,\,\,
w_{N+}
=
\left(\begin{array}{l} w_{N2} \\ \vdots \\ w_{N,N-1} \end{array}\right)
\,.
\end{split}$$

Example 6: Lax operator $L_\epsilon(z)$ for minimal nilpotent $f$ in ${\mathfrak{sl}}_N$ {#sec:example1.6}
----------------------------------------------------------------------------------------

The minimal nilpotent element $f=e_{N1}$ in ${\mathfrak{g}}={\mathfrak{sl}}_N$ is also associated to the partition $p=(2,1,\dots,1)$. Similarly to the computation in Section \[sec:example1.2\], we can recover the results for the Lie algebra ${\mathfrak{sl}}_N$ from the analogous results for ${\mathfrak{gl}}_N$ provided in Section \[sec:example1.5\]. In this case, $L_\epsilon(\partial)$ is the scalar pseudodifferential operator in where $$-w_{11}=w_{22}+w_{33}+\dots+w_{N-1N-1}
\,.$$ We omit the details of this computation.

Example 7: Lax operator $L_\epsilon(z)$ for minimal nilpotent $f$ in ${\mathfrak{sp}}_N$ {#sec:example1.7}
----------------------------------------------------------------------------------------

Let $N=2n\geq2$ and $V={\mathbb{F}}^N$ be an $N$-dimensional vector space endowed with the non-degenerate skew-symmetric bilinear form defined in . Let $A^\dagger$ denote the adjoint of $A\in\operatorname{End}V$ with respect to (recall that, in terms of elementary matrices, we have $(E_{ij})^\dagger=(-1)^{i+j}E_{j'i'}$, where $i'=N+1-i$). Then, ${\mathfrak{g}}=\{A\in\operatorname{End}V\mid A=-A^\dagger\}\simeq{\mathfrak{sp}}_N$. For $i,j=1,\dots,N$, let $F_{ij}$ be defined as in . Recall from Section \[sec:example1.3\] that we have the following basis of ${\mathfrak{g}}$ $$\{\frac1{1+\delta_{ij'}}f_{ij}:=\frac1{1+\delta_{ij'}}(e_{ij}-\epsilon_i\epsilon_je_{j'i'})\mid (i,j)\in I\}
\,,$$ where $$I=\{(i,j)\mid 1\leq i\leq N,1\leq j\leq i'\}
\,.$$ and that its dual basis with respect to the trace form is $$\{\frac{1}{2}f_{ji}\mid (ij)\in I\}
\,.$$ Let $f=\frac12f_{N1}\in{\mathfrak{g}}$. It is associated to the partition $p=(2,1,1,\dots,1)$, hence it is a minimal nilpotent element. We can include $f$ in the following ${\mathfrak{sl}}_2$-triple $\{e,h=2x,f\}\subset{\mathfrak{g}}$, where $$e=\frac12 f_{1N}\,,
\qquad
x=\frac12 f_{11}
\,.$$ Using the commutation relations one checks that the non-zero components of the grading are $$\begin{aligned}
&{\mathfrak{g}}_{-1}={\mathbb{F}}f\,,
\qquad
{\mathfrak{g}}_{-\frac12}=\operatorname{Span}\{f_{k1}\mid 2\leq k\leq N-1\}\,,
\\
&{\mathfrak{g}}_{0}=\operatorname{Span}\{f_{11},f_{hk}\mid 2\leq h\leq N-1,2\leq k\leq h'\}\,,
\\
&
{\mathfrak{g}}_{\frac12}=\operatorname{Span}\{f_{1k}\mid 2\leq k\leq N-1\}\,,
\qquad
{\mathfrak{g}}_{1}={\mathbb{F}}e
\,.\end{aligned}$$ Moreover, we have that $D=d=1$, and $(\operatorname{End}V)[1]={\mathbb{F}}E_{1N}$. Hence, we may choose $T=S=E_{1N}$.

As a subspace $U\subset{\mathfrak{g}}$ complementary fo $[f,{\mathfrak{g}}]$ and compatible with the grading we choose $U=\operatorname{Span}\{u^{ji}=\frac1{2}f_{ji}\mid (ij)\in I_f\}$, where $$I_f=\{(k1)\mid 2\leq k\leq N\}\cup\{(hk)\mid 2\leq h\leq N-1,1\leq k\leq h'\}
\,.$$ The dual basis $\{u_{ij}\mid (ij)\in I_f\}$ of ${\mathfrak{g}}^f$ is given by $u_{ij}=\frac{1}{1+\delta_{ij'}}f_{ij}$, for $(ij)\in I_f$.

Let $w:{\mathcal{V}}({\mathfrak{g}}^f)\to{\mathcal{W}}({\mathfrak{g}},f)$ be the differential algebra isomorphism given in Theorem \[thm:structure-W\], and let us denote by $w_{ij}=w(u_{ij})$, for $(ij)\in I_f$. By Theorem \[thm:main\], and performing a similar computation as in Section \[sec:example1.7\], we have $$\begin{split}
\label{eq:L1-minimal_C}
&
L_\epsilon(\partial)
=|{\mathbbm{1}}_N\partial+F+\frac12\sum_{(ij)\in I_f}w_{ij}F_{ji}+\epsilon S|_{1N}
\\
&
=-\partial^2+w_{N1}
- \frac14 w_{+1}({\mathbbm{1}}_{N-2}\partial+\frac12W_{++})^{-1}\circ \tilde w_{+1}
+\epsilon
\,,
\end{split}$$ where $$\label{eq:minimal_C-notation}
\begin{split}
& w_{+1}
=
\left(\begin{array}{llll} w_{21} & w_{31}& \dots & w_{N-1,1} \end{array}\right) 
\,,\\
& W_{++}
=
\sum_{h=2}^{N-1}\sum_{k=2}^{h'}w_{kh}\bar F_{hk}
\,\,,\,\,\,\,
\tilde w_{+1}
=
\left(\begin{array}{c} -w_{N-1,1} \\ \vdots \\ -w_{31}\\ w_{21} \end{array}\right)
\,.
\end{split}$$ In $\bar F_{hk}$ denotes the matrix $F_{hk}$ where we have removed the first and last row, and the first and last column.

Example 8: Lax operator $L_\epsilon(z)$ for minimal nilpotent $f$ in ${\mathfrak{so}}_N$ {#sec:example1.8}
----------------------------------------------------------------------------------------

For $N\geq2 $, let $V={\mathbb{F}}^N$ be an $N$-dimensional vector space with basis $\{v_i\}_{i=1}^N$, and let us denote by $n=[\frac N2]$ the integer part of $\frac N2$. We introduce the following notation for $i=1,\dots,N$: $$\label{20170424:eq2}
\epsilon_i=\left\{
\begin{array}{ll}
(-1)^i\,,& i=1,\dots,n\,,
\\
(-1)^{i'}\,,& i=n+1,\dots,N
\,,
\end{array}
\right.$$ where $i'=N+1-i$. We define a non-degenerate symmetric bilinear form on $V$ as follows: $$\label{20170424:form}
\langle v_i|v_j\rangle=-\epsilon_i\delta_{j,i'}
\,,
\qquad i,j=1,\dots,N\,.$$ Let $A^\dagger$ denote the adjoint of $A\in\operatorname{End}V$ with respect to . As in Sections \[sec:example1.3\], \[sec:example1.4\] and \[sec:example1.7\], in terms of elementary matrices, it is given by $$\label{eq:victor}
(E_{ij})^\dagger=\epsilon_i\epsilon_jE_{j'i'}
\,.$$

Let ${\mathfrak{g}}=\{A\in\operatorname{End}V\mid A^\dagger=-A\}\simeq{\mathfrak{so}}_N$. For $1\leq i,j\leq N-1$ we let $F_{ij}$ be defined as in , and, as usual, we also denote by $f_{ij}$ the same elements when viewed as elements of ${\mathfrak{g}}\subset{\mathcal{V}}({\mathfrak{g}})$. It is immediate to check that the same commutation relations as in hold. Recall that, by , a basis of ${\mathfrak{g}}$ is $\{f_{ij}\mid(i,j)\in I\}$ where $$I=\{(i,j)\,\mid\, 1\leq i\leq N, 1\leq j< i'\}
\,.$$ Its dual basis, with respect to the trace form , is $$\big\{\frac12f_{ji}\mid (i,j)\in I\big\}\,.$$

Let $f=f_{N-1,1}\in{\mathfrak{g}}$. It is associated to the partition $p=(2,2,1,\dots,1)$ thus it is a minimal nilpotent element. We can include $f\in{\mathfrak{g}}$ in the following ${\mathfrak{sl}}_2$-triple $\{e,h=2x,f\}\subset{\mathfrak{g}}$: $$e=f_{1,N-1}
\,,
\qquad
x=\frac12 f_{11}+\frac12 f_{22}
\,.$$ Using the commutation relations one checks that the non-zero components of the grading are $$\begin{aligned}
&{\mathfrak{g}}_{-1}={\mathbb{F}}f\,,
\qquad
{\mathfrak{g}}_{-\frac12}=\operatorname{Span}\{f_{hk}\mid 3\leq h\leq N-2\,,k=1,2\}\,,
\\
&{\mathfrak{g}}_{0}=\operatorname{Span}\{f_{11},f_{12},f_{21},f_{22},f_{hk}\mid 3\leq h\leq N-2,3\leq k<h'\}\,,
\\
&
{\mathfrak{g}}_{\frac12}=\operatorname{Span}\{f_{hk}\mid h=1,2\,, 3\leq k\leq N-2\}\,,
\qquad
{\mathfrak{g}}_{1}={\mathbb{F}}e
\,.\end{aligned}$$ Moreover, we have that $D=d=1$, and $(\operatorname{End}V)[1]=\operatorname{Span}\{E_{h,k}\mid 1\leq h\leq 2\,,N-1\leq k\leq N\}$. Hence, we may choose $T=S=E_{1N-1}+E_{2,N}$, and we let $S=IJ$ be its canonical decomposition : $$\label{20140424:IJ}
I=\begin{pmatrix}
{\mathbbm{1}}_2\\0_{N-2}\end{pmatrix}
\qquad
\text{and}
\qquad
J=\begin{pmatrix}
0_{N-2}&{\mathbbm{1}}_2
\end{pmatrix}
\,.$$ As a subspace $U\subset{\mathfrak{g}}$ complementary fo $[f,{\mathfrak{g}}]$ and compatible with the grading we choose $U=\operatorname{Span}\{u^{ji}=\frac1{2}f_{ji}\mid (ij)\in I_f\}$, where $$I_f=\{(11),(12),(21),(N-1,1)\}\cup\{(hk)\mid 3\leq h\leq N-2,1\leq k\leq h'\}
\,.$$ The dual basis $\{u_{ij}\mid (ij)\in I_f\}$ of ${\mathfrak{g}}^f$ is given by $$u_{11}=f_{11}-f_{22}\,,
\qquad
u_{ij}=f_{ij}\,,
\quad(ij)\in I_f\setminus\{(11)\}
\,.$$ Let $w:{\mathcal{V}}({\mathfrak{g}}^f)\to{\mathcal{W}}({\mathfrak{g}},f)$ be the differential algebra isomorphism given in Theorem \[thm:structure-W\], and let us denote by $w_{ij}=w(u_{ij})$, for $(ij)\in I_f$. By Theorem \[thm:main\] we have $$\begin{split}
\label{eq:L1-minimal_BD}
&
L_\epsilon(\partial)
=|{\mathbbm{1}}_N\partial+F+\frac12\sum_{(ij)\in I_f}w_{ij}F_{ji}+\epsilon S|_{IJ}
\\
&
=
\left|
\left(\begin{array}{ccccc}
\partial+\frac12w_{11} & \frac12 w_{21}&\frac12w_{+1}& \frac12w_{N-1,1}+\epsilon &0 \\
\frac12 w_{12}&\partial&\frac12w_{+2}&0&\frac{1}{2}w_{N-1,1}+\epsilon
\\
0_{N-4\times1}& 0_{N-4\times1}&{\mathbbm{1}}_{N-4}\partial+\frac12W_{++}& \frac12\tilde w_{+2}& \frac12\tilde w_{+1} \\
1& 0_{1\times N-4}&0_{1\times N-4}&\partial&\frac12 w_{21}
\\
0&1&0&\frac12 w_{12}&\partial-\frac12w_{11}
\end{array}\right)
\right|_{IJ}
\\
&
=
\begin{pmatrix}
-(\partial+\frac12w_{11})\partial+\frac12w_{N-1,1}-\frac14w_{21}w_{12}
&
-\frac12\partial\circ w_{21}-\frac12w_{21}\partial
\\
-\frac12 w_{12}\partial-\frac12\partial\circ w_{12}
&
-\partial(\partial-\frac12w_{11})+\frac12w_{N-1,1}-\frac14w_{12}w_{21}
\end{pmatrix}
\\
&-\frac14
\begin{pmatrix}
w_{+1}\\w_{+2}
\end{pmatrix}
\left({\mathbbm{1}}_{N-4}\partial+\frac12W_{++}\right)^{-1}\circ
\begin{pmatrix}
\tilde w_{+2}&\tilde w_{+1}\end{pmatrix}
+\epsilon{\mathbbm{1}}_2
\in\operatorname{Mat}_{2\times 2}{\mathcal{W}}({\mathfrak{g}},f)((\partial^{-1}))\,,
\end{split}$$ where ($k=1,2$) $$\label{eq:minimal_D-notation}
\begin{split}
& w_{+k}
=
\left(\begin{array}{llll} w_{3k} & w_{4k}& \dots & w_{N-2,k} \end{array}\right) 
\,,\\
& W_{++}
=
\sum_{h=3}^{N-2}\sum_{k=3}^{h'-1}w_{kh}\bar F_{hk}
\,\,,\,\,\,\,
\tilde w_{+k}
=(-1)^{k+1}
\left(\begin{array}{c} \epsilon_{N-2}w_{N-2,k} \\ \vdots \\ \epsilon_{4}w_{4k}\\ \epsilon_3w_{3k} \end{array}\right)
\,.
\end{split}$$ In $\bar F_{hk}$ denotes the matrix $F_{hk}$ where we have removed the first two and the last two rows and columns.

Example 9: Lax operator $L_\epsilon(z)$ for a distinguished nilpotent in ${\mathfrak{so}}_{4n}$ {#sec:example1.9}
-----------------------------------------------------------------------------------------------

Let $V={\mathbb{F}}^{4n}$ be a $4n$-dimensional vector space with basis $\{v_i\}_{i=1}^{4n}$, and let $q=2n+1$. For $i\in\{1,\dots,4n\}$ we introduce the following notation $$\label{20170425:eq1}
i'=\left\{
\begin{array}{ll}
q+1-i\,,&1\leq i\leq q\,,
\\
4n+1+q-i\,,&q+1\leq i\leq 4n\,,
\end{array}
\right.
\quad
\epsilon_i=
\left\{
\begin{array}{ll}
(-1)^i\,,&1\leq i\leq q-1\,,
\\
(-1)^{i+1}\,,&q+1\leq i\leq 4n\,.
\end{array}
\right.$$ We use the bilinear form on $V$ given by . The adjoint with respect to this form is given by . Let ${\mathfrak{g}}=\{A\in\operatorname{End}V\mid A^\dagger=-A\}\simeq{\mathfrak{so}}_{4n}$. For $1\leq i,j\leq 4n-1$ we let $F_{ij}$ be defined as in , and, as usual, we also denote by $f_{ij}$ the same elements when viewed as elements of ${\mathfrak{g}}\subset{\mathcal{V}}({\mathfrak{g}})$). It is immediate to check that the same commutation relations as in hold. A basis of ${\mathfrak{g}}$ is $\{f_{ij}\mid (ij)\in I\}$ where $$\begin{aligned}
I=&\{(ij)\mid1\leq i\leq q-1,1\leq j<i'\}\cup
\{(ij)\mid q+1\leq i\leq 4n\,,1\leq j\leq q\}
\\
&\cup\{(ij)\mid q+1\leq i\leq q\,,q+1\leq j<i'\}
\,. \end{aligned}$$ Its dual basis, with respect to the trace form , is $\{\frac12f_{ji}\mid (i,j)\in I\}$.

Let $$f=\sum_{k=1}^{n}f_{k+1,k}+\sum_{k=1}^{n-1}f_{q+k+1,q+k}\in{\mathfrak{g}}
\,.$$ It is a nilpotent element associated to the partition $p=(q,q-2)$ of $4n$. This element $f$ is distinguished in the sense that the reductive part of its centralizer is trivial. We can include $f\in{\mathfrak{g}}$ in the ${\mathfrak{sl}}_2$-triple $\{e,h=2x,f\}\subset{\mathfrak{g}}$, where $$\begin{split}\label{20170411:sl2tripleD4n}
&x=\sum_{k=1}^n\frac{q+1-2k}2 f_{k,k}
+\sum_{k=1}^{n-1}\frac{q-1-2k}2 f_{q+k,q+k}\,,
\quad
\\
&e=
\sum_{k=1}^{n}
k(q-k)f_{k,k+1}
+\sum_{k=1}^{n-1}
k(q-2-k)f_{q+k,q+k+1}
\,.
\end{split}$$ Using the commutation relations it is immediate to check that: $$d=q-2
\,\,,\,\,\,\,
{\mathfrak{g}}_d={\mathbb{F}}F_{1,q-1}\oplus{\mathbb{F}}F_{1,4n}
\,\,,\,\,\,\,
D=q-1
\,\,,\,\,\,\,
(\operatorname{End}V)[D]={\mathbb{F}}E_{1q}
\,.$$ We thus choose $T=E_{1q}$, and $s=\frac{a}{2}f_{1,q-1}+bf_{1,4n}$, for arbitrary $a,b\in{\mathbb{F}}$.

As a subspace $U\subset{\mathfrak{g}}$ complementary fo $[f,{\mathfrak{g}}]$ and compatible with the grading we choose $U=\operatorname{Span}\{u^{+,i},1\leq i\leq n\,,u^{0,i},1\leq i\leq q-2,u^{-,i},1\leq i\leq n-1\}$, where $$\label{eq:U_D4n}
u^{+,i}=\frac12f_{1,q+1-2i}
\,,
\quad
u^{0,i}=\frac12f_{1,q+i}
\,,\quad
u^{-,i}=\frac12f_{q+1,4n+1-2i}
\,.$$ The dual basis of ${\mathfrak{g}}^f$ is given by $$\begin{aligned}
&u_{+,i}=\sum_{k=1}^if_{q+k-2i,k}
\,,
\quad
1\leq i\leq n
\,,
\\
&u_{0,i}=\sum_{k=1}^{q-1-i}f_{q-1+k+i,k}
\,,
\quad
1\leq k\leq q-2
\,,
\\
&u_{-,i}=\sum_{k=1}^if_{4n+k-2i,q+k}
\,,
\quad
1\leq i\leq n-1
\,.\end{aligned}$$ Let $w:{\mathcal{V}}({\mathfrak{g}}^f)\to{\mathcal{W}}({\mathfrak{g}},f)$ be the differential algebra isomorphism given in Theorem \[thm:structure-W\], and let $$w_{+,i}=w(u_{+,i})
\,,
\qquad
w_{0,i}=w(u_{0,i})
\,,
\qquad
w_{-,i}=w(u_{-,i})
\,.$$ By Theorem \[thm:main\] and [@DSKV16b Eq.(2.14)] (see also [@DSKVnew Prop.4.2]), we have $$\label{eq:distinguished_quasidet}
L_\epsilon(\partial)
=|{\mathbbm{1}}_N\partial+F+\frac12\sum_{i=1}^{n}w_{+,i} U^{+,i}
+\frac12\sum_{i=1}^{q-2}w_{0,i} U^{0,i}
+\frac12\sum_{i=1}^{n-1}w_{-,i} U^{-,i}+\epsilon S|_{1q}
\,.$$ The quasideterminant is computed using the usual formula, see [@DSKVnew Prop.4.2], and the result is $$\label{L_distinguished}
L_\epsilon(\partial)=W_1(\partial)-W_{2}(\partial)W_{4}(\partial)^{-1}W_3(\partial)
\,,$$ where $$\begin{aligned}
W_{1}(\partial)
=&\partial^{2n+1}-\frac12\sum_{k=1}^n\left(
\partial^{2n+1-2k}\circ w_{+,n+1-k}+w_{+,n+1-k}\partial^{2n+1-2k}
\right)
\\
&+\frac14\sum_{k=1}^{n-1}\sum_{h=1}^{n-k}w_{+,n+1-h}\partial^{2n+1-2(h+k)}\circ w_{+,n+1-k}
\\
&
+\frac14\sum_{k=1}^{2n-2}\sum_{h=1}^{2n-1-k}(-1)^hw_{0,h}\partial^{2n-1-(h+k)}\circ w_{0,k}
-\epsilon a\partial
\,,
\\
W_2(\partial)=&\frac14
\sum_{j=0}^{n-1}\sum_{i=1}^{2n-1-2j}w_{0,i}(-\partial)^{2n-1-i-2j}\circ w_{-,n-j}
-\epsilon b\,,
\\
W_3(\partial)=&
W_{2}(\partial)^*
\,,
\\
W_{4}(\partial)=&
\partial^{2n-1}-\frac12\sum_{k=1}^{n-1}\left(
\partial^{2n-1-2k}\circ w_{-,n-k}+w_{-,n-k}\partial^{2n-1-2k}
\right)
\\
&+\frac14\sum_{k=1}^{n-2}\sum_{h=1}^{n-1-k}w_{-,n-h}\partial^{2n-1-2(h+k)}\circ w_{-,n-k}
\,.\end{aligned}$$ In the above formulas we set $w_{-,n}=-2$. Note that $L_\epsilon(\partial)^*=-L_\epsilon(\partial)$. As noted in Remark \[rem:OK\], by comparing equation with the quasideterminant one gets an explicit formula for the generators of the ${\mathcal{W}}$-algebra ${\mathcal{W}}({\mathfrak{g}},f)$.

Examples of integrable hierarchies for generalized Adler type operators {#sec:10}
=======================================================================

$L({\mathfrak{sl}}_2)=L({\mathfrak{sp}}_2)$
-------------------------------------------

Let $f\in{\mathfrak{sl}}_2\simeq{\mathfrak{sp}}_2$ be a principal (= non-zero) nilpotent element. Recall from Section \[sec:2\] that, as a differential algebra, ${\mathcal{W}}({\mathfrak{sl}}_2,f)={\mathcal{W}}({\mathfrak{sp}}_2,f)={\mathbb{C}}[w^{(n)}\mid n\in{\mathbb{Z}}_+]$. By equation (or ), we have $$L({\mathfrak{sl}}_2,f)=L({\mathfrak{sp}}_2,f)=-\partial^2+w\in{\mathcal{W}}({\mathfrak{sl}}_2,f)[\partial]
\,.$$ Consider the operator $L(\partial)=-L({\mathfrak{sl}}_2,f)=-L({\mathfrak{sp}}_2,f)=\partial^2-w$. Its square root is $$\label{sl2_root}
B(\partial)=\partial-\frac w2\partial^{-1}+\frac{w'}4\partial^{-2}-\frac18(w^2+w'')\partial^{-3}+o(\partial^{-3})
\in{\mathcal{W}}({\mathfrak{sl}}_2,f)((\partial^{-1}))
\,.$$ By a straightforward computation we get $$\begin{split}\label{sl2_rootb}
B(\partial)^3&=\partial^3-\frac32w\partial-\frac34w'
+\frac18(3w^2-w'')\partial^{-1}+o(\partial^{-1})
\,.
\end{split}$$ Using equations , and we get $$\label{eq:integrals_kdv}
{{\textstyle\int}}h_{1,B}={{\textstyle\int}}w\,,
\qquad
{{\textstyle\int}}h_{2,B}=0,
\qquad
{{\textstyle\int}}h_{3,B}=-\frac14{{\textstyle\int}}w^2\,,$$ and the corresponding non-zero Hamiltonian equations are $$\frac{dw}{dt_{1,B}}=w'\,,
\qquad
\frac{dw}{dt_{3,B}}=\frac14(w'''-6ww')
\,.$$ The second equation is the Korteweg-de Vries equation.

\[rem:modified\_kdv\] Let ${\mathfrak{sl}}_2=\operatorname{Span}\{e=e_{21},h=2x=e_{11}-e_{22},f=e_{21}\}$ in its standard representation, then in the $\operatorname{ad}x$-eigenspace decomposition we have ${\mathfrak{g}}_0={\mathbb{F}} x$. By Remark \[rem:modified\_sln\] the Miura map $\mu:{\mathcal{W}}({\mathfrak{sl}}_2,f)\to{\mathcal{V}}({\mathfrak{g}}_0)={\mathbb{F}}[x^{(n)}\mid n\in{\mathbb{Z}}_+]$ is given by $$\mu(L(\partial))=\partial^2-\mu(w)=(\partial+x)(\partial-x)
\,.$$ Hence we get $\mu(w)=x^2+x'$, which is the famous Miura transformation [@Miu68]. Applying the Miura map to the integrals of motion given by equation we get $${{\textstyle\int}}\bar h_{1,B}={{\textstyle\int}}x^2+x'\,,
\qquad
{{\textstyle\int}}\bar h_{3,B}=-\frac14{{\textstyle\int}}x^4-xx''
\,.$$ The corresponding Hamiltonian equations are $$\frac{dx}{dt_{1,B}}=x'\,,
\qquad
\frac{dx}{dt_{3,B}}=\frac14(x'''-6x^2x')
\,.$$ The second equation is the modified Korteweg-de Vries equation.

$L({\mathfrak{sp}}_2)\partial^{\pm1}$
-------------------------------------

Consider the operator $L(\partial)=-L({\mathfrak{sp}}_2)\partial=\partial^3-w\partial\in{\mathcal{W}}({\mathfrak{sp}}_2,f)$. Its cube root is $$\begin{split}\label{sp2_root1}
&B(\partial)=\partial-\frac w3\partial^{-1}+\frac{w'}3\partial^{-2}-\frac19(w^2+2w'')\partial^{-3}
+\frac19(4ww'+w''')\partial^{-4}\\
&-\frac1{81}\left(5w^3+45 (w')^2+45ww''+3w^{(4)}\right)\partial^{-5}+o(\partial^{-5})
\in{\mathcal{W}}({\mathfrak{sp}}_2,f)((\partial^{-1}))
\,.
\end{split}$$ Then, we have $$\begin{aligned}
\begin{split}\label{sp2_root2}
&B(\partial)^2=\partial^2-\frac23w+\frac{w'}3\partial^{-1}-\frac19(w^2+w'')\partial^{-2}
+\frac{ww'}{3}\partial^{-3}
\\
&-\frac1{81}\left(4w^3+27(w')^2+24ww''-3w^{(4)}\right)\partial^{-4}+o(\partial^{-4})\,,
\\
&B(\partial)^4=\partial^4-\frac43w\partial^2-\frac23w'\partial+\frac29(w^2-w'')
+\frac19(w'''-2ww')\partial^{-1}
\\
&+\frac1{81}\left(4w^3+9(w')^2-3w^{(4)}\right)\partial^{-2}+o(\partial^{-2})
\,,
\\
&B(\partial)^5=\partial^5-\frac53w\partial^{3}-\frac53w'\partial^{2}+\frac59(w^2-2w'')\partial
\\
&+\frac1{81}\left(5w^3-15ww''+3w^{(4)}\right)\partial^{-1}+o(\partial^{-1})
\,,
\end{split}\end{aligned}$$ and, by equations , and , we get $$\label{eq:integrals_sk}
{{\textstyle\int}}h_{1,B}={{\textstyle\int}}w\,,
\quad
{{\textstyle\int}}h_{2,B}={{\textstyle\int}}h_{3,B}={{\textstyle\int}}h_{4,B}=0,
\quad
{{\textstyle\int}}h_{5,B}=-\frac1{27}{{\textstyle\int}}w^3-3ww''\,.$$ Note that $B^*$ is a third root of $-\partial L\partial^{-1}$. It follows from [@AGD Prop.1.1(a)] that $B=-\partial^{-1}B^*\partial$. Thus we have $$\label{20170511:eq1}
B^n=(-1)^n\partial^{-1}(B^n)^*\partial\,,
\quad n\in{\mathbb{Z}}\,.$$ Using equation , the Hamiltonian equations become $$\label{eq:list3bis}
\frac{dL(z)}{dt_{n,B}}=\frac{1-(-1)^n}2[(B^n)_+,L](z)
\,,
\quad n\in{\mathbb{Z}}\,.$$ Using and we get that the first non-zero Hamiltonian equations are $$\frac{dw}{dt_{1,B}}=w'\,,
\qquad
\frac{dw}{dt_{5,B}}=-\frac19(w^{(5)}-5w'w''-5ww'''+5w^2w')
\,.$$ The second equation is the Sawada-Kotera equation [@SK74].

\[rem:modified\_sk\] Since ${\mathfrak{sp}}_2\simeq{\mathfrak{sl}}_2$, the Miura map $\mu:{\mathcal{W}}({\mathfrak{sp}}_2,f)\to{\mathcal{V}}({\mathfrak{g}}_0)={\mathbb{F}}[x^{(n)}\mid n\in{\mathbb{Z}}_+]$ is given by $\mu(w)=x^2+x'$ (see Remark \[rem:modified\_sk\]). Applying the Miura map to the integrals of motion given by equation we get $${{\textstyle\int}}\bar h_{1,B}={{\textstyle\int}}x^2+x'\,,
\qquad
{{\textstyle\int}}\bar h_{5,B}=-\frac1{27}{{\textstyle\int}}x^6+15x^2(x')^2-5(x')^3+3(x'')^2
\,.$$ The corresponding integrable Hamiltonian equations are $$\label{eq:modified_sk}
\frac{dx}{dt_{1,B}}=x'\,,
\quad
\frac{dx}{dt_{5,B}}=-\frac19(x^{(5)}+5x'x'''-5x^2x'''+5(x'')^2-20xx'x''-5(x')^3+5x^4x')
\,.$$ The second equation is the modified Sawada-Kotera equation.

Consider now the operator $$\label{sp2_root3}
L(\partial)=-L({\mathfrak{sp}}_2)\partial^{-1}=\partial-w\partial^{-1}\in{\mathcal{W}}({\mathfrak{sp}}_2,f)((\partial^{-1}))
\,.$$ We have $$\begin{split}\label{sp2_root4}
&
L^2(\partial)=\partial^2-w-\partial\circ w\partial^{-1}+w\partial^{-1}\circ w\partial^{-1}
\,,
\\
&
L^3(\partial)=\partial^3-w\partial-\partial\circ w-\partial^2\circ w\partial^{-1}
+w^2\partial^{-1}+w\partial^{-1}\circ w
\\
&+\partial\circ w\partial^{-1}\circ w\partial^{-1}
-w\partial^{-1}\circ w\partial^{-1}\circ w\partial^{-1}
\,.
\end{split}$$ Using equations , and we get $${{\textstyle\int}}h_{1,L}={{\textstyle\int}}w\,,
\qquad
{{\textstyle\int}}h_{2,L}=0\,,
\qquad
{{\textstyle\int}}h_{3,L}=-{{\textstyle\int}}w^2\,.$$ Note that, also in this case, equation reduces to (where we should replace $B$ by $L$). Hence, using and the first non-zero Hamiltonian equations are $$\frac{dw}{dt_{1,L}}=w'\,,
\qquad
\frac{dw}{dt_{3,L}}=w'''-6ww'
\,.$$ So we get again the Korteweg-de Vries equation.

$L({\mathfrak{s0}}_3)$
----------------------

Let $f\in{\mathfrak{so}}_3$ be the principal nilpotent element. Recall from Section \[sec:2\] that, as a differential algebra, ${\mathcal{W}}({\mathfrak{so}}_3,f)={\mathbb{C}}[w^{(n)}\mid n\in{\mathbb{Z}}_+]$. By equation , we have $$L({\mathfrak{so}}_3,f)=\partial^3-w\partial-\frac{w'}2\in{\mathcal{W}}({\mathfrak{so}}_3,f)[\partial]
\,.$$ Consider the cube root of $L({\mathfrak{so}}_3,f)$: $$\begin{split}\label{so3_root1}
&B(\partial)=\partial-\frac w3\partial^{-1}+\frac{w'}6\partial^{-2}-\frac1{18}(2w^2+w'')\partial^{-3}
+\frac{ww'}3\partial^{-4}\\
&-\left(\frac5{81}w^3+\frac{11}{36}(w')^2+\frac13ww''-\frac1{54}w^{(4)}
\right)\partial^{-5}+o(\partial^{-5})
\in{\mathcal{W}}({\mathfrak{so}}_3,f)((\partial^{-1}))
\,.
\end{split}$$ Then, we have $$\begin{aligned}
\begin{split}\label{so3_root2}
&B(\partial)^2=\partial^2-\frac23w-\frac1{18}(2w^2-w'')\partial^{-2}
-\frac1{18}(w'''-4ww')\partial^{-3}
\\
&-\left(\frac4{81}w^3+\frac{5}{36}(w')^2+\frac{7}{54}ww''-\frac{1}{27}w^{(4)}
\right)\partial^{-4}
+o(\partial^{-4})\,,
\\
&B(\partial)^4=\partial^4-\frac23w\partial^2-\frac23\partial^2\circ w+\frac19(2w^2+w'')
\\
&+\left(\frac{4}{81}w^3-\frac{1}{18}(w')^2-\frac{1}{9}ww''+\frac{1}{54}w^{(4)}
\right)\partial^{-2}+o(\partial^{-2})
\,,
\\
&B(\partial)^5=\partial^5-\frac56w\partial^{3}-\frac56\partial^3\circ w
+\frac5{18}(w^2+w'')\partial+\frac{5}{18}\partial\circ(w^2+w'')
\\
&+\left(\frac5{81}w^3-\frac{5}{36}(w')^2-\frac5{27}ww''+\frac{1}{27}w^{(4)}\right)\partial^{-1}+o(\partial^{-1})
\,,
\end{split}\end{aligned}$$ and, by equations , and , we get $$\label{eq:integrals_kk}
{{\textstyle\int}}h_{1,B}={{\textstyle\int}}w\,,
\quad
{{\textstyle\int}}h_{2,B}={{\textstyle\int}}h_{3,B}={{\textstyle\int}}h_{4,B}=0,
\quad
{{\textstyle\int}}h_{5,B}=-\int \frac{w^3}{27}-\frac{ww''}{36}\,.$$ Note that $B^*$ is a third root of $-L$. Hence, it follows from [@AGD Prop.1.1(a)] that $B^*=-B$, and so we have $(B^n)^*=(-1)^nB^n$. Using this fact and equations and we get that the first non-zero Hamiltonian equations are: $$\frac{dw}{dt_{1,B}}=w'\,,
\qquad
\frac{dw}{dt_{5,B}}=-\frac1{9}(w^{(5)}-\frac{25}2w'w''-5ww'''+5w^2w')
\,.$$ The second equation is the Kaup-Kupershmidt equation [@Kau80].

\[rem:modified\_kk\] Let ${\mathfrak{so}}_3=\operatorname{Span}\{e=2(e_{12}+e_{23}),h=2x=2(e_{11}-e_{33}),f=e_{21}+e_{32}\}$ in its standard representation. By Remark \[rem:modified\_BC\] the Miura map $\mu:{\mathcal{W}}({\mathfrak{so}}_3,f)\to{\mathcal{V}}({\mathfrak{g}}_0)={\mathbb{F}}[x^{(n)}\mid n\in{\mathbb{Z}}_+]$ is given by $$\mu(L(\partial))=\partial^3-\mu(w)\partial-\frac12\mu(w)'
=(\partial+\frac12 x)\partial(\partial-\frac12x)
\,.$$ Hence, we get $\mu(w)=\frac14x^2+x'$. Applying the Miura map to the integrals of motion given by equation we get $${{\textstyle\int}}\bar h_{1,B}={{\textstyle\int}}\frac14x^2+x'\,,
\qquad
{{\textstyle\int}}\bar h_{5,B}=-\frac1{1728}{{\textstyle\int}}x^6+60x^2(x')^2+40(x')^3+48(x'')^2
\,.$$ The corresponding Hamiltonian equations are $$\label{eq:modified_kk}
\frac{dx}{dt_{1,B}}\!=x'\,,\,\,
\frac{dx}{dt_{5,B}}\!=-\frac19(x^{(5)}-\frac52x'x'''-\frac54x^2x'''-\frac52(x'')^2-5xx'x''-\frac54(x')^3+\frac5{16}x^4x')
\,.$$ Note that by rescaling the variable $x$ by a factor $-\frac12$ the above equations are the same as equations .

In [@DS85], Drinfeld-Sokolov hierarchies are constructed for any affine Kac-Moody algebra ${\mathfrak{g}}$ and a node of its Dynkin diagram. The Sawada-Kotera equation corresponds to the pair $(A_2^{(2)},c_0)$, while the Kaup-Kupershmidt equation corresponds to the pair $(A_2^{(2)},c_1)$. On the other hand, modified Drinfeld-Sokolov hierarchies do not depend on the choice of a node in the Dynkin diagram of ${\mathfrak{g}}$. This is the reason why the modified equations and coincide up to a rescaling.

$L({\mathfrak{s0}}_3)\partial^{\pm1}$
-------------------------------------

Consider the operator $$L=L({\mathfrak{so}}_3,f)\partial^{-1}
=\partial^2-w-\frac{w'}{2}\partial^{-1}\in{\mathcal{W}}({\mathfrak{so}}_3,f)((\partial^{-1}))
\,,$$ and its square root $$\label{so3_root3}
B(\partial)=\partial-\frac w2\partial^{-1}-\frac{w^2}8\partial^{-3}+o(\partial^{-3})
\in{\mathcal{W}}({\mathfrak{so}}_3,f)((\partial^{-1}))
\,.$$ By a straightforward computation we get $$\begin{split}\label{so3_root4}
B(\partial)^3&=\partial^3-\frac32w\partial-\frac32w'
+\frac18(3w^2-4w'')\partial^{-1}+o(\partial^{-1})
\,.
\end{split}$$ Using equations , and we get $${{\textstyle\int}}h_{1,B}={{\textstyle\int}}w\,,
\qquad
{{\textstyle\int}}h_{2,B}=0,
\qquad
{{\textstyle\int}}h_{3,B}=-\frac14{{\textstyle\int}}w^2\,,$$ and the corresponding non-zero Hamiltonian equations are $$\frac{dw}{dt_{1,B}}=w'\,,
\qquad
\frac{dw}{dt_{3,B}}=w'''-\frac{3}{2}ww'
\,.$$ Also in this case we get the Korteweg-de Vries equation.

Finally, consider the operator $$L=L({\mathfrak{so}}_3,f)\partial
=\partial^4-w\partial^2-\frac{w'}{2}\partial\in{\mathcal{W}}({\mathfrak{so}}_3,f)[\partial^{-1}]
\,,$$ and its fourth root $$\begin{split}\label{so3_root5}
&B(\partial)=\partial-\frac w4\partial^{-1}+\frac{w'}{4}\partial^{-2}-\frac1{32}(3w^2+4w'')\partial^{-3}+o(\partial^{-3})
\in{\mathcal{W}}({\mathfrak{so}}_3,f)((\partial^{-1}))
\,.
\end{split}$$ Then, we have $$\begin{aligned}
\begin{split}\label{so3_root6}
&B(\partial)^2=\partial^2-\frac w2+\frac{w'}4\partial^{-1}-\frac{w^2}{8}\partial^{-2}
+o(\partial^{-2})\,,
\\
&B(\partial)^3=\partial^3-\frac34w\partial-\frac{1}{32}(3w^2-4w'')\partial^{-1}+o(\partial^{-1})
\,.
\end{split}\end{aligned}$$ Using equations , and we get $${{\textstyle\int}}h_{1,B}={{\textstyle\int}}w\,,
\qquad
{{\textstyle\int}}h_{2,B}=0,
\qquad
{{\textstyle\int}}h_{3,B}=\frac18{{\textstyle\int}}w^2\,,$$ and the corresponding non-zero Hamiltonian equations are $$\frac{dw}{dt_{1,B}}=w'\,,
\qquad
\frac{dw}{dt_{3,B}}=-\frac12\left(w'''-\frac{3}{2}ww'\right)
\,.$$ Thus we obtain again the Korteweg-de Vries equation.

$L({\mathfrak{sl}}_N,f_{min})$
------------------------------

Let $f\in{\mathfrak{sl}}_N$ be a minimal nilpotent element. The generalized Adler type operator for ${\mathcal{W}}({\mathfrak{sl}}_N,f)$ has been computed in Section \[sec:example1.6\]. It is $$\label{eq:minimal_sln}
L({\mathfrak{sl}}_N,f)
=-\partial^2-w_{11}\partial+w_{N1}
- w_{+1}({\mathbbm{1}}_{N-2}\partial+W_{++})^{-1}\circ w_{N+}
\in{\mathcal{W}}({\mathfrak{sl}}_N,f)((\partial^{-1}))
\,,$$ where $$\begin{aligned}
\begin{split}
&
-w_{11}=w_{22}+w_{33}+\dots+w_{N-1,N-1}\,,
\quad
w_{+1}
=
\left(\begin{array}{lll} w_{21} & \dots & w_{N-1,1} \end{array}\right) 
\,,\\
& W_{++}
=
\left(\begin{array}{ccc} 
w_{22} & \dots & w_{N-1,2} \\
\vdots & \ddots & \vdots \\
w_{2N-1} & \dots & w_{N-1,N-1} 
\end{array}\right)
\,\,,\,\,\,\,
w_{N+}
=
\left(\begin{array}{l} w_{N2} \\ \vdots \\ w_{N,N-1} \end{array}\right)
\,.
\end{split}\end{aligned}$$ Consider the operator $L=-L({\mathfrak{sl}}_N,f)$, and its square root $$\label{sln_minimal_root1}
B(\partial)=\partial+\frac{w_{11}}2
-\left(\frac{w_{N1}}{2}+\frac{w_{11}^2}{8}+\frac{w_{11}'}{4}\right)\partial^{-1}
+o(\partial^{-1})
\in{\mathcal{W}}({\mathfrak{sl}}_N,f)((\partial^{-1}))
\,.$$ From equations , and , we get $${{\textstyle\int}}h_{1,B}=\int w_{N1}+\frac{w_{11}^2}{4}
\qquad\text{and}\qquad
{{\textstyle\int}}h_{2,B}=-{{\textstyle\int}}w_{+1}w_{N+}
\,.$$ Using the following commutation relations for pseudodifferential operators $$\begin{aligned}
&[\partial,(\partial+a)^{-1}]=(\partial+a)^{-1}\circ a-a(\partial+a)^{-1}
\,,
\\
&[\partial^2,(\partial+a)^{-1}]=
(a^2-a')(\partial+a)^{-1}-(\partial+a)^{-1}\circ (a^2+a')
\,,\end{aligned}$$ which hold for any differential polynomial $a$, and equations , it is immediate to compute the corresponding Hamiltonian equations . As a result we get: $$\begin{aligned}
&
\frac{d w_{N1}}{dt_{1,B}}=w_{N1}'+\frac12 w_{11}w_{11}'+\frac12 w_{11}''\,,
&&
\frac{d W_{++}}{dt_{1,B}}=0\,,
\\
&\frac{d w_{+1}}{dt_{1,B}}=w_{+1}'-w_{+1}\left(W_{++}-\frac{w_{11}}2\right)
\,,
&&
\frac{d w_{N+}}{dt_{1,B}}=w_{N+}'+\left(W_{++}-\frac{w_{11}}2\right)w_{N+}
\,,\end{aligned}$$ and $$\begin{aligned}
\frac{d w_{N1}}{dt_{2,B}}
&
=-2(w_{+1}w_{N+})'
\,,
\qquad
\frac{d W_{++}}{dt_{2,B}}=0\,,
\\
\frac{d w_{+1}}{dt_{2,B}}
&=
w_{+1}''-2w_{+1}'\left(W_{++}-\frac12 w_{11}\right)-w_{+1}W_{++}'
\\
&+w_{+1}W_{++}(W_{++}-w_{11})-w_{+1}w_{N1}
\,,
\\
\frac{d w_{N+}}{dt_{2,B}}
&
=
-w_{N+}''-2\left(W_{++}-\frac12 w_{11}\right)w_{N+}'-(W_{++}'-w_{11}')w_{N+}
\\
&-(W_{++}-w_{11})W_{++}w_{N+}+w_{N1}w_{N+}
\,.\end{aligned}$$ The above equations agree with the results in [@DSKV14a Sec. 6, arxiv version].

As explained in [@DSKV16b Cr.5.5], the variables $w_{ij}$, for $2\leq i,j\leq N-1$, do not evolve in time. By applying a Dirac reduction procedure, see [@DSKV14b], we get the following Dirac reduced Hamiltonian equations: $$\frac{d w_{N1}}{dt_{1,B}}=w_{N1}'\,,
\qquad
\frac{d w_{+1}}{dt_{1,B}}=w_{+1}'
\,,
\qquad
\frac{d w_{N+}}{dt_{1,B}}=w_{N+}'
\,,$$ and $$\frac{d w_{N1}}{dt_{2,B}}
=-2(w_{+1}w_{N+})'
\,,
\quad
\frac{d w_{+1}}{dt_{2,B}}=
w_{+1}''-w_{+1}w_{N1}
\,,
\quad
\frac{d w_{N+}}{dt_{2,B}}
=
-w_{N+}''
+w_{N1}w_{N+}
\,,$$ which is the multicomponent Yajima-Oikawa equation (it is the Yajima-Oikawa equation [@YO76] for $N=3$, see also [@DSKV15-cor] and the references therein).

$L({\mathfrak{sp}}_N,f_{min})$
------------------------------

Let $n\geq1$, $N=2n$ and $f\in{\mathfrak{sp}}_N$ be a minimal nilpotent element. The generalized Adler operator for ${\mathcal{W}}({\mathfrak{sp}}_N,f)$ has been computed in Section \[sec:example1.7\]. It is $$\label{eq:minimal_spN}
L({\mathfrak{sp}}_N,f)
=-\partial^2+w_{N1}
- \frac 14w_{+1}({\mathbbm{1}}_{N-2}\partial+\frac12W_{++})^{-1}\circ \tilde w_{+1}
\in{\mathcal{W}}({\mathfrak{sp}}_N,f)((\partial^{-1}))
\,,$$ where $w_{+1}$, $W_{++}$ and $\tilde w_{+1}$ are defined in equation . Consider $$L=-L({\mathfrak{sp}}_N,f)
=\partial^2-w_{N1}-\frac18(w_{+1}W_{++}\tilde w_{+1}+2w_{+1}\tilde w_{+1}')\partial^{-2}+o(\partial^{-2})$$ and its square root $$\begin{split}\label{spN_minimal_root1}
&B(\partial)=\partial-\frac{w_{N1}}2\partial^{-1}+\frac{w_{N1}'}{4}\partial^{-2}
\\
&-\frac{1}{16}(2w_{N1}^2+w_{+1}W_{++}\tilde w_{+1}+2w_{+1}\tilde w_{+1}'+2w_{N1}'')\partial^{-3}
+o(\partial^{-3})
\,.
\end{split}$$ Then, $$\begin{split}\label{spN_minimal_root2}
&B(\partial)^3=\partial^3-\frac32w_{N1}\partial-\frac34w_{N1}'
\\
&+\frac{1}{16}(6w_{N1}^2-3w_{+1}W_{++}\tilde w_{+1}-6w_{+1}\tilde w_{+1}'-2w_{N1}'')\partial^{-1}
+o(\partial^{-1})
\,.
\end{split}$$ From equations , , and , we get $${{\textstyle\int}}h_{1,B}={{\textstyle\int}}w_{N1}\,,
\quad
{{\textstyle\int}}h_{2,B}=0\,,
\quad
{{\textstyle\int}}h_{3,B}=-\frac18\int 2w_{N1}^2-w_{+1}W_{++}\tilde w _{+1}-2w_{+1}\tilde w_{+1}'
\,.$$ The above integrals of motion agree with the ones obtained for the generalized Drinfeld- Sokolov hierarchy constructed in [@DSKV14a]. Hence, the corresponding Hamiltonian equations have already appeared there.

$L({\mathfrak{sp}}_N,f_{min})\partial^{\pm1}$
---------------------------------------------

Consider the operator $$\label{20170514:eq1}
L=-L({\mathfrak{sp}}_N,f)\partial
=\partial^3-w_{N1}\partial-\frac18(w_{+1}W_{++}\tilde w_{+1}+2w_{+1}\tilde w_{+1}')\partial^{-1}+o(\partial^{-1})$$ and its cube root $$\begin{split}\label{spN_minimal_root3}
&B(\partial)=\partial-\frac{w_{N1}}3\partial^{-1}+\frac{w_{N1}'}{3}\partial^{-2}
\\
&-(\frac{w_{N1}^2}9+\frac1{24}w_{+1}W_{++}\tilde w_{+1}+\frac1{12}w_{+1}\tilde w_{+1}'+\frac29w_{N1}'')\partial^{-3}
+o(\partial^{-3})
\,.
\end{split}$$ Then$$\begin{split}\label{spN_minimal_root4}
&B(\partial)^2=\partial^2-\frac23w_{N1}+\frac{w_{N1}'}3\partial^{-1}
\\
&-(\frac{w_{N1}^2}9+\frac1{12}w_{+1}W_{++}\tilde w_{+1}+\frac16w_{+1}\tilde w_{+1}'+\frac{w_{N1}''}9)\partial^{-2}
+o(\partial^{-2})
\,.
\end{split}$$ From equations , , and , we get $${{\textstyle\int}}h_{1,B}={{\textstyle\int}}w_{N1}\,,
\quad
{{\textstyle\int}}h_{2,B}=0\,,
\quad
{{\textstyle\int}}h_{3,B}=\frac18\int w_{+1}W_{++}\tilde w _{+1}+2w_{+1}\tilde w_{+1}'
\,.$$ Using equations , and it is straightforward to compute the corresponding Hamiltonian equations . We omit the details of this computation. By applying the Dirac reduction by the variables $w_{ij}$, for $2\leq i\leq N-1$ and $2\leq j\leq i'$, we get the following first non-trivial Hamiltonian equations $$\frac{d w_{N1}}{dt_{3,B}}
=\frac34w_{+1}\tilde w_{+1}''
\,,
\qquad
\frac{d w_{+1}}{dt_{3,B}}=
w_{+1}'''-w_{N1}w_{+1}'
\,.$$

Finally, consider the operator $$\label{20170514:eq2}
L=-L({\mathfrak{sp}}_N,f)\partial^{-1}
=\partial-w_{N1}\partial^{-1}-\frac18(w_{+1}W_{++}\tilde w_{+1}+2w_{+1}\tilde w_{+1}')\partial^{-3}+o(\partial^{-3})
\,.$$ Then $$\begin{split}\label{spN_minimal_root5}
L(\partial)^2&=\partial^2-2w_{N1}-w_{N1}'\partial^{-1}
\\
&+(w_{N1}^2-\frac14w_{+1}W_{++}\tilde w_{+1}-\frac12w_{+1}\tilde w_{+1}')\partial^{-2}
+o(\partial^{-2})
\,,
\\
L(\partial)^3&=\partial^3-3w_{N1}\partial-3w_{N1}'
\\
&+(3w_{N1}^2-\frac38w_{+1}W_{++}\tilde w_{+1}-\frac34w_{+1}\tilde w_{+1}'-w_{N1}'')\partial^{-1}
+o(\partial^{-1})
\,.
\end{split}$$ From equations , and , we get $${{\textstyle\int}}h_{1,L}={{\textstyle\int}}w_{N1}\,,
\quad
{{\textstyle\int}}h_{2,L}=0\,,
\quad
{{\textstyle\int}}h_{3,L}=-\int w_{N1}^2-\frac18w_{+1}W_{++}\tilde w _{+1}-\frac14w_{+1}\tilde w_{+1}'
\,.$$ Using equations and it is straightforward to compute the corresponding Hamiltonian equations . Again, we omit the details of this computation. By applying the Dirac reduction by the same variables as above we get the following first non-trivial Hamiltonian equations $$\frac{d w_{N1}}{dt_{3,L}}
=w_{N1}'''-6w_{N1}w_{N1}'+\frac34w_{+1}\tilde w_{+1}''
\,,
\qquad
\frac{d w_{+1}}{dt_{3,L}}=
w_{+1}'''-3(w_{N1}w_{+1})'
\,.$$

[00]{}

Adler M., *On a trace functional for formal pseudodifferential operators and the symplectic structure of the Korteweg-de Vries equation*, Invent. Math. [**50**]{} (1979), 219-248.

Barakat A., De Sole A., Kac V. G., *Poisson vertex algebras in the theory of Hamiltonian equations*, Japan. J. Math. [**4**]{} (2009), n.2, 141-252.

Belavin A.A., Drinfeld V.G., *Solutions of the classical Yang-Baxter equation for simple Lie algebras*, Funktsional. Anal. i Prilozhen. [**16**]{} (1982), n. 3, 1-29.

Burruoughs N., de Groot M., Hollowood T., Miramontes L., *Generalized Drinfeld-Sokolov hierarchies II: the Hamiltonian structures*, Comm. Math. Phys. [**153**]{} (1993), 187-215.

de Groot M., Hollowood T., Miramontes L., *Generalized Drinfeld-Sokolov hierarchies*, Comm. Math. Phys. [**145**]{} (1992), 57-84.

Delduc F., Fehér L., *Regular conjugacy classes in the Weyl group and integrable hierarchies*, J. Phys. A [**28**]{} (1995), n.20, 5843-5882 .

De Sole A., Kac V.G., *Non-local Poisson structures and applications to the theory of integrable systems*, Jpn. J. Math. [**8**]{} (2013), n.2, 233-347.

De Sole A., Kac V. G., Valeri D., *Classical ${\mathcal{W}}$-algebras and generalized Drinfeld-Sokolov bi-Hamiltonian systems within the theory of Poisson vertex algebras*, Comm. Math. Phys. [**323**]{} (2013), n.2, 663-711.

De Sole A., Kac V. G., Valeri D., *Classical ${\mathcal{W}}$-algebras and generalized Drinfeld-Sokolov hierarchies for minimal and short nilpotents*, Comm. Math. Phys. [**331**]{} (2014), n.2, 623-676.

De Sole A., Kac V. G., Valeri D., *Dirac reduction for Poisson vertex algebras*, Comm. Math. Phys. [**331**]{} (2014), n.3, 1155-1190.

De Sole A., Kac V.G., Valeri D., *Adler-Gelfand-Dickey approach to classical $\mathcal W$-algebras within the theory of Poisson vertex algebras*, Int. Math. Res. Not. [**21**]{} (2015), 11186-11235.

De Sole A., Kac V. G., Valeri D., *Erratum to: Classical ${\mathcal{W}}$-algebras and generalized Drinfeld-Sokolov hierarchies for minimal and short nilpotents*, Comm. Math. Phys. [**333**]{} (2015), n.3, 1617-1619.

De Sole A., Kac V. G., Valeri D., *Structure of classical (finite and affine) ${\mathcal{W}}$-algebras*, J. Eur. Math. Soc. [**18**]{} (2016), n. 9, 1873-1908.

De Sole A., Kac V. G., Valeri D., *A new scheme of integrability for (bi)-Hamiltonian PDE*, Comm. Math. Phys. [**347**]{} (2016), no.2, 449–488.

De Sole A., Kac V.G., Valeri D., *Classical affine ${\mathcal{W}}$-algebras for ${\mathfrak{gl}}_N$ and associated integrable Hamiltonian hierarchies*, Comm. Math. Phys. [**348**]{} (2016), n.1, 265-319.

De Sole A., Kac V.G., Valeri D., *Finite $W$-algebras for ${\mathfrak{gl}}_N$*, Adv. Math., to appear, arXiv: 1605.02898.

De Sole A., Kac V.G., Valeri D., *A Lax type operator for quantum finite W-algebras*, preprint, arXiv:1707.03669

Dickey L. A., *Soliton equations and Hamiltonian systems*, Advanced series in mathematical physics, World scientific, Vol. 26, 2nd Ed., 2003.

Drinfeld V.G., Sokolov V.V., *Lie algebras and equations of KdV type*, Soviet J. Math. [**30**]{} (1985), 1975-2036.

Faddeev L.D., Takhtajan L.A., *Hamiltonian methods in the theory of solitons*. Translated from the 1986 Russian original by Alexey G. Reyman. Reprint of the 1987 English edition. Classics in Mathematics. Springer, Berlin, 2007.

Fehér L., Harnad J., Marshall I., *Generalized Drinfeld-Sokolov reductions and KdV type hierarchies*, Comm. Math. Phys. [**154**]{} (1993), n.1, 181-214.

Fernández-Pousa C., Gallas M., Miramontes L., Sánchez Guillén J., *${\mathcal{W}}$-algebras from soliton equations and Heisenberg subalgebras*. Ann. Physics [**243**]{} (1995), n.2, 372-419.

Fernández-Pousa C., Gallas M., Miramontes L., Sánchez Guillén J., *Integrable systems and ${\mathcal{W}}$-algebras*, VIII J. A. Swieca Summer School on Particles and Fields (Rio de Janeiro, 1995), 475-479.

Gelfand I.M., Gelfand S.I., Retakh V. and Wilson R.L., *Quasideterminants* Adv. Math. [**193**]{} (2005), n.1, 56-141.

Gelfand I. M., Dickey L. A., *Fractional powers of operators and Hamiltonian systems*, Funct. Anal. Appl. [**10**]{} (1976), 259-273.

Gelfand I. M., Dickey L. A., *A family of Hamiltonian structures connected with integrable nonlinear differential equations*, Akad. Nauk SSSR Inst. Prikl. Mat. Preprint N.136 (1978).

Kaup D.J., *On the inverse scattering problem for cubic eigenvalue problems of the class $\psi_{xxx}+6Q\psi_x+6R\psi=\lambda\psi$*, Stud. Appl. Math. [**62**]{} (1980), no. 3, 189-216.

Magri F., *A simple model of the integrable Hamiltonian equation*, J. Math. Phys. [**19**]{} (1978), n.5, 1156-1162.

Miura R., *Korteweg-de Vries Equation and Generalizations. I. A Remarkable Explicit Nonlinear Transformation*, J. Math. Phys. [**9**]{} (1968), 1202-1204

Molev A.I. *Yangians and classical Lie algebras*, Mathematical Surveys and Monographs, [**143**]{}, American Mathematical Society, Providence, RI, 2007.

Molev A.I., Ragoucy E., *Classical W-algebras in types A, B, C, D and G*, Comm. Math. Phys. [**336**]{} (2015), n.2, 1053-1084.

Sawada K., Kotera T., *A method for finding $N$-soliton solutions to the KdV equation and KdV-like equation*, Progr. Theoret. Phys. B [**51**]{} (1974), 1355-1367.

Yajima N., Oikawa M., *Formation and interaction of sonic-Langmuir solitons–inverse scattering method*, Progr. Theoret. Phys. [**56**]{} (1976), n.6, 1719-1739.
