I'm going through a proof in Monson's Statistical Digital Signal Processing and Modelling on page 98. They used the substitution $k=n-m$ in order to change the double summation into a single summation. I was hoping someone could show the steps in going from one step to the next.
$$\sum_{n=-N}^N\sum_{m=-N}^N r_x(n-m)e^{-j\omega (n-m)}=\sum_{k=-2N}^{2N} (2N+1-|k|)r_x(k)e^{-j\omega (k)}$$
I already asked my professor who said to look at the values of $n$ in $(-N,N)$ that makes $m=n-k$ fall outside the interval $(-N,N)$ for different values of $k=-2N,...2N$. Although that might be helpful for him to rationalize the step, it is not rigorous and lacks anyway of doing it again without reverse engineering it. I would really be grateful for any guidance here.
But it is rigorous, just tedious. Unfortunately, the standard notation that makes this explicit gives square brackets two different meanings. With $[a]b$ denoting the coefficienf of $a$ in $b$ and $[p]$ denoting the truth-value as an integer of a proposition $p$, each $k$ from $-2N$ to $2N$ inclusive satisfies$$\begin{align}\left[r_x(k)e^{-j\omega(k)}\right]\left[\sum_{mn}r_x(n-m)e^{-j\omega(n-m)}\right]&=\sum_{mn}[n-m=k]\\&=\sum_m[-N-k\le m\le N-k]\\&=\min\{N-k,\,N\}-\max\{-N-k,\,-N\}+1\\&=2N+1-|k|.\end{align}$$In particular, the last $=$ is trivial for $k=0$, and switching to any nonzero $k$ will reduce the $\min$ by $|k|$ if $k>0$ or increase the $\max$ by $|k|$ if $k<0$.