In a proof for the Wiener-Khintchine theorem (See p. 572-573)
I have seen the following operation being done:
\begin{align*} S_{xx}(f) &= \lim_{T \rightarrow \infty} \int_{-2T}^{2T} Rxx(\tau) e^{-j 2\pi f \tau} (1 - \frac{|\tau|}{2T})d\tau \\ &= \lim_{T \rightarrow \infty} \int_{-\infty}^{\infty} Rxx(\tau) e^{-j 2\pi f \tau} q_T(\tau)d\tau \\ &= \int_{-\infty}^{\infty} Rxx(\tau) e^{-j 2\pi f \tau} d\tau {\qquad\qquad\qquad\qquad\qquad\square}\\ \end{align*}
The argument given for this proof is that the function $(1 - \frac{|\tau|}{2T})$ will be approximately equal to 1 if $T$ goes to infinity and $\tau$ is a finite value, thus giving the final result.
I would argue that this does not immediately hold: we are integrating $\tau$ from $-2T$ to $2T$, and at both of these bounds the value of $(1 - \frac{|\tau|}{2T})$ would be 0: we are essentially finding the Fourier Transform of $Rxx(\tau)$ windowed with an infinitely large triangular window, but the value of this function will not be constant over the domain as we take the limit since it must be equal to 0 at the integration bounds. In my mind, this would highly distort the shape, and thus impact the result of this integral.
While an alternative approach would be possible (e.g. saying this windowing has the effect of convolving with an infinitely thin sinc^2 function in the frequency domain which is approximately equal to a delta distribution, thus not affecting the spectrum), I am wondering if there is some reasoning for this step in time-domain specifically.
This was also partially mentioned in the response to this question.
