Summation Over Matrices
Start with computationally tractable:
Suppose we have M dimensions with N values for each dimesion. Assume all values used.
So full entries are:
Suppose we aggregate over 1 dimension we get values and we can do this for N different dimensions yielding:
Next one we will N choose 2 (columns to aggregate over) times
Repeating we see that total number of aggregates is:
$$ Total = \sum_{i=1}^{N} C_{i}^{N} M^{N-i}$$
Now let us assume that N = M, then:
$$
Total = \sum_{i=1...N} C_{i}^{N} N^{N-i}
= \sum_{i=1...N} \frac{N!}{i!(N-i)!} N^{N-i}
$$
$$
Total \leq \sum_{i=1...N} \frac{N^{i}}{i!} N^{N-i}
= \sum_{i=1...N} \frac{N^{N}}{i!}
= N^{N} \sum_{i=1...N} \frac{1}{i!}
$$
And finally:
Seems likely that we can do worse than this in real world cases. Would be nice to get an upper bound …