I want to prove the following:
$$\sum_{P\in 2^S}(-1)^{n-\mid P\mid}(\sum_{a\in P}a)^n = n!\prod_{i=1}^na_i$$ where $S = \{a_i\mid i\in [n]\}$ which is a multiset of positive integers.
It is pretty much similar to the form of principle of inclusion and exclusion
However I can't figure where to start to make up the part $\prod_{i=1}^na_i$.
Any guidance?
Additionally, it's pretty much new to me the concept of power set of multi-set.
How's it defined?
Just one suggestion:
Probably you can rewrite $\displaystyle{\left(\sum_{i\in P}a_i\right)^{n}}$ using the following formula:
Let $A$ and $B$ be two finite sets and $g:A\times B\longrightarrow\mathbb{R}$ a functions, then
$$\prod_{x\in A}\left(\sum_{y\in B}g(x,y)\right)=\sum_{f:A\longrightarrow B}\prod_{x\in A}g(x,f(x))$$ where the RHS sum is taken over all maps from $A$ to $B$.
Also, it's good to try to use the following formula:
Let $[n]=\{1,2,\ldots,n\}$ and let $f,g:2^{[n]}\longrightarrow\mathbb{R}$ be two functions. Then the following assertions are equivalents:
Take $f$ defined as $$f(X)=\left(\sum_{i\in X}a_{i}\right)^{n},\quad \forall\, X\in 2^{[n]}$$ and $g$ defined as $$g(Y)=\left(\prod_{j\in Y}a_j\right)\cdot\vert Y\vert!,\quad \forall\, Y\in 2^{[n]}$$