[Math] Infinite distributive law

sequences-and-seriessummation

This is related to an previous post of mine and is from a result in my book. I have the following equality: $$p(x)=\sum_{k_i\ge 0}\left(\frac{x^{\sum_{i=1}^\infty ik_i}}{\prod_{i=1}^\infty k_i!(i!)^{k_i}}\right)$$ where the summation runs over all sequences $k_1,k_2\cdots$ of non-negative integers containing finitely many non-zero entries. The next sentence in the book is

Consequently $p(x)=\prod_{i=1}^\infty \left(\sum_{k_i=0}^\infty \frac{x^{ik_i}}{k_i!(i!)^{k_i}}\right)$.

Its not clear to me how this sentence follows from the previous expression for $p(x)$.

My attempt: If $(a_1,a_2\cdots),(b_1,b_2,\cdots)$ are natural sequences with finitely many non zero terms then the first expression for $p(x)$ contains terms like $+\cdots\left(\frac{x^{a_1}}{a_1!1!^{a_1}}.\frac{x^{2a_2}}{a_2!2!^{a_2}}.\frac{x^{3a_3}}{a_3!3!^{a_3}}\cdots\right)\cdots+\left(\frac{x^{b_1}}{b_1!1!^{b_1}}.\frac{x^{2b_2}}{b_2!2!^{b_2}}.\frac{x^{3b_3}}{b_3!3!^{b_3}}\cdots\right)+\cdots$. If I attempt to distribute this sum as a product, terms like $\frac{x^{a_1}}{a_1!1!^{a_1}}\frac{x^{2b_2}}{b_2!2!^{b_2}}$ etc appear which do not seem to be there in the initial $p(x)$.

I have a feeling that this is not as difficult as I am taking it to be. If someone can just clarify my doubt I will be extremely obliged.

(By the way $p(x)$ is the exponential generating function for the Bell numbers.)

Your expression for $p(x)$ is $$\sum_{k_i\ge 0}\left(\frac{x^{\sum_{i=1}^\infty ik_i}}{\prod_{i=1}^\infty k_i!(i!)^{k_i}}\right)=\sum_{k_i\ge 0}\left(\prod_{i=1}^\infty\frac{x^{i k_i}}{k_i!(i!)^{k_i}}\right).$$ Now, when you expand $\displaystyle \prod_{i=1}^\infty \left(\sum_{k_i=0}^\infty \frac{x^{ik_i}}{k_i!(i!)^{k_i}}\right)$ what you do is, for each $i$, pick a $k_i$, then form the product of all the corresponding $\displaystyle \frac{x^{ik_i}}{k_i!(i!)^{k_i}}$, resulting in $\displaystyle \prod_{i=1}^\infty\frac{x^{i k_i}}{k_i!(i!)^{k_i}}$, and then add all these expressions, but that is precisely what the displayed sum is. (Of course, one picks $k_i=0$ for almost all $i$ in order for the expressions to be meaningful.)

As the comments with Brian indicate, the confusion is perhaps over the way the author is using notation. It is perhaps better to write the first expression as follows: Let ${\mathbb N}^{\mathbb N}_*$ be the set of all functions $f:\mathbb N^+\to\mathbb N$ (all sequences) such that $f(n)=0$ for all but finitely many $n$. The first sum is then $$\sum_{f\in\mathbb N^{\mathbb N}_*}\left(\frac{x^{\sum_{i=1}^\infty i f(i)}}{\prod_{i=1}^\infty (f(i))!(i!)^{f(i)}}\right).$$ On the other hand, the product is just $$\prod_{i=1}^\infty \left(\sum_{j=0}^\infty \frac{x^{i j}}{j!(i!)^{j}}\right).$$ When you expand, you pick for each $i$ a $j$ (which, naturally, depends on $i$, so we can call it $f(i)$), with the understanding that you pick $j=0$ almost all the time. Etc.

The way the book writes the expressions, essentially the same notation is used to mean two completely different things: First, $k_i\ge0$ means you are looking at an infinite sequences $(k_1,k_2,\dots)$ with almost all $k_i$ being $0$ (this is just an $f\in{\mathbb N}^{\mathbb N}_*$). The second time, in $\sum_{k_i=0}^\infty$, the author now just means $\sum_{n=0}^\infty$, but is using $k_i$ as the index, rather than $n$.

At the bottom of it, what the author is using is a generalized distributive law, a more general case of which would be that in a sufficiently complete Boolean algebra, $$\bigwedge_{a\in X}\bigvee\{u_{a,i}\mid i\in I_a\}=\bigvee_{f\in\prod_{a\in X}I_a}\bigwedge\{u_{a,f(a)}\mid a\in X\}$$ for $X$ a non-empty set, $I_a$ a non-empty index set (for each $a\in X$) and arbitrary elements $u_{a,i}$ of the Boolean algebra (for $a\in X, i\in I_a$), though I doubt that this more general presentation would actually clarify things. This family of generalized distributive laws, by the way, is just a reformulation of the axiom of choice.

One final remark is that it is not capriciousness that makes us look only at functions in $\mathbb N^{\mathbb N}_*$ rather than all functions $f:\mathbb N^+\to\mathbb N$: We are actually looking at all functions, but only the ones in ${\mathbb N}^{\mathbb N}_*$ "matter". There are two ways of interpreting the expansions we have. One is purely formal, and then the convention that almost all $k_i$ must be $0$ is essentially a matter of definitions, but this convention is adopted because of the second way: Namely, we can consider the expansions as defining analytic functions (for an appropriate interval where they converge, typically $|x|<1$).

Note that given a sequence $k_1,k_2,\dots$, we have that $\displaystyle \lim_{n\to\infty}\prod_{i=1}^n \frac{x^{i k_i}}{k_i!(i!)^{k_i}}=0$ if $k_i\ne 0$ infinitely often (more precisely, we say that the product diverges to $0$), essentially because $\displaystyle\frac{x^i}{i!}\to0$ as $i\to\infty$. But then the only sequences $f:i\mapsto k_i$ that contribute to the sum are the ones in ${\mathbb N}^{\mathbb N}_*$ anyway.