I am trying to solve for the following problem:
Let $g_1, g_2, \cdots$ be i.i.d. standard Gaussian random variables. Let $(a_{ij})_{i < j}$ be in $\ell^2$ i.e. $\sum_{i < j} a_{ij}^2 < \infty$. Let $X_n = \frac{1}{n}\sum_{i = 1} ^n g_i^2 + \frac{1}{\sqrt{n}}\sum_{1 \leq i < j \leq n} a_{ij}g_ig_j$. Show that the sequence $(X_n)_{n \geq 1}$ converges to $1$ a.s.
I am really stuck on this problem and need some hints to at least move in the right direction. I am thinking this might be related to Komogorov's zero-one law, but my class has not covered the theorem. Any hints to help me move in the right direction would be appreciated.
1. By SLLN,
$$ \frac{1}{n} \sum_{i=1}^{n} g_i^2 \to \mathbf{E}[g_1^2] = 1 \qquad \text{a.s.} $$
2. Let $Y_n = \sum_{i < j \leq n} a_{ij} g_i g_j$, and let $\mathcal{F}_{n} = \sigma(g_i : i \leq n)$ be the $\sigma$-algebra generated by $g_1,\ldots,g_n$. Then $(Y_n)$ is a $(\mathcal{F}_n)$-martingale, since
$$ \mathbf{E}[Y_{n+1} \mid \mathcal{F}_n] = Y_n + \sum_{i=1}^{n} a_{i,n+1} \mathbf{E}[g_i g_{n+1} | \mathcal{F}_n] = Y_n. $$
Moreover,
$$ \mathbf{E}[Y_n^2] = \sum_{\substack{i < j \leq n \\ k < l \leq n}} a_{ij}a_{kl} \mathbf{E}[g_i g_j g_k g_l] $$
and only the summands with $(i, j) = (k, l)$ survives, yielding
$$ \mathbf{E}[Y_n^2] = \sum_{i < j \leq n} a_{ij}^2 \leq \sum_{i<j} a_{ij}^2. $$
Therefore $(Y_n)$ is an $L^2$-martingale and hence converges a.s. by Doob's martingale convergence theorem. In particular, $\frac{1}{\sqrt{n}} Y_n \to 0$.