I am having trouble trying to understand an expression based on the multivariate Taylor series which is used to generate a system of residual equations. The expression is from Chauhan (2017) Benchmarking Approaches for the Multidisciplinary Analysis of Complex Systems Using a Taylor Series-Based Scalable Problem and the expression is
\begin{align} R_i(v_1,\dots,v_n)=\sum\limits_{r=1}^{d_i}\frac{1}{r!}\sum\limits_{(j_1,\cdots,j_r)\\1\leq j_k\leq n\\j_1,\cdots,j_r \in A(i)} \frac{\partial^rR_i}{\partial v_{j_i}\cdots\partial v_{j_r}} \prod\limits_{k=1}^{r}v_{j_k} \end{align}
where $n$ is the number of variables, $d_i$ is the degree of the polynomial, and $A(i)$ are "arguments of the $i^{th}$ equation; $A:\{1,\cdots,n\}\rightarrow P(\{1,\cdots,n\})$ where $P()$ is the power set". From this description I assume $A(i)$ is a function that returns the power set for a given list of elements, e.g. $A([1,2])=\{\{\},\{1\},\{2\},\{1,2\}\}$.
My point of confusion is the summation term and its three conditions. Is it a single sum over all elements $(j_1,\cdots,j_r)$ in the power set, giving four terms in the sum? Or is it a nested sum $\sum\limits_{j_1}\sum\limits_{j_2}\cdots\sum\limits_{j_r}$ where each sum is performed over the sets in the power set? How would the empty set or a set like $j_k=\{1,2\}$ be substituted as a single index into $v_{j_k}$?