When testing for a difference in the means of two independent normal samples with assumed equal variance $\sigma^2$, we use the statistic $T=\frac{\overline{X_1}-\overline{X_2}}{S_p \sqrt{\frac{1}{n_1}+\frac{1}{n_2}}}$, which can equivalently be expressed as $\frac{\left(\frac{\overline{X_1}-\overline{X_2}}{\sigma\sqrt{\frac{1}{n_1}+\frac{1}{n_2}}} \right)}{\sqrt{\frac{(n_1-1)S_1^2+(n_2-1)S_2^2}{\sigma^2(n_1+n_2-2)}}}$, where $S_1,S_2$ represent the sample standard deviations of the two samples, and $n_1, n_2$ represent the sample sizes.
I've been reading proofs as to why T follows a t-distribution, and they all use the fact that $\frac{Z}{\sqrt \frac{\chi^2_n}{n}} \sim t_n$, given that $Z$ and $\chi^2_n$ are independent, where Z is a standard normal distribution. I can see why Z=$\left(\frac{\overline{X_1}-\overline{X_2}}{\sigma\sqrt{\frac{1}{n_1}+\frac{1}{n_2}}} \right)$ follows a standard normal distribution, and why $Y^2 = \frac{(n_1-1)S_1^2+(n_2-1)S_2^2}{\sigma^2}$ follows a chi square distribution with $n_1+n_2-2$ degrees of freedom. But, I've never seen an argument that shows why $Z$ and $Y^2$ are independent.
If someone could either post the proof here, or redirect me to some source with the proof, it would be greatly appreciated.