[step:Derive the predicted variance $P_{t+1\mid t} = T_t P_{t\mid t} T_t^\top + R_t Q_t R_t^\top$]
Form the conditional prediction error. Using $a_{t+1\mid t} = T_t a_{t\mid t} + c_t$ from Step 5 and the transition equation,
\begin{align*}
\alpha_{t+1} - a_{t+1\mid t} = T_t(\alpha_t - a_{t\mid t}) + R_t \eta_t =: U + V, \qquad U := T_t(\alpha_t - a_{t\mid t}), \quad V := R_t \eta_t,
\end{align*}
the deterministic offset $c_t$ cancelling. By the definition of the conditional covariance matrix,
\begin{align*}
P_{t+1\mid t} = \mathbb{E}\big[(U+V)(U+V)^\top \mid \mathcal{Y}_t\big] = \mathbb{E}[UU^\top \mid \mathcal{Y}_t] + \mathbb{E}[UV^\top \mid \mathcal{Y}_t] + \mathbb{E}[VU^\top \mid \mathcal{Y}_t] + \mathbb{E}[VV^\top \mid \mathcal{Y}_t].
\end{align*}
We evaluate the four terms. For the $UU^\top$ term, $T_t$ is deterministic, so by [Basic Properties of Conditional Expectation](/theorems/1148),
\begin{align*}
\mathbb{E}[UU^\top \mid \mathcal{Y}_t] = T_t\, \mathbb{E}\big[(\alpha_t - a_{t\mid t})(\alpha_t - a_{t\mid t})^\top \mid \mathcal{Y}_t\big]\, T_t^\top = T_t\, P_{t\mid t}\, T_t^\top.
\end{align*}
For the $VV^\top$ term, $\eta_t$ is independent of $\mathcal{Y}_t$ (Step 4), so by [Conditioning and Independence](/theorems/1152), $\mathbb{E}[\eta_t \eta_t^\top \mid \mathcal{Y}_t] = \mathbb{E}[\eta_t \eta_t^\top] = Q_t$ (the covariance of the centred $\eta_t \sim \mathcal{N}(0, Q_t)$), whence
\begin{align*}
\mathbb{E}[VV^\top \mid \mathcal{Y}_t] = R_t\, \mathbb{E}[\eta_t \eta_t^\top \mid \mathcal{Y}_t]\, R_t^\top = R_t\, Q_t\, R_t^\top.
\end{align*}
The cross terms vanish, as shown in the claim below. Combining the four evaluations gives
\begin{align*}
P_{t+1\mid t} = T_t\, P_{t\mid t}\, T_t^\top + R_t\, Q_t\, R_t^\top.
\end{align*}
[claim:The conditional cross-covariance $\mathbb{E}[U V^\top \mid \mathcal{Y}_t]$ is zero]
[proof]
Write $\mathcal{G} := \sigma(\alpha_t, \mathcal{Y}_t)$, which contains $\mathcal{Y}_t$. The factor $\alpha_t - a_{t\mid t}$ is $\mathcal{G}$-measurable, since $\alpha_t$ is $\mathcal{G}$-measurable and $a_{t\mid t} = \mathbb{E}[\alpha_t \mid \mathcal{Y}_t]$ is $\mathcal{Y}_t \subseteq \mathcal{G}$-measurable. By Step 4, $\eta_t$ is independent of $\mathcal{G}$. Apply the [Tower Property of Conditional Expectation](/theorems/1150) with $\mathcal{Y}_t \subseteq \mathcal{G}$:
\begin{align*}
\mathbb{E}\big[(\alpha_t - a_{t\mid t})\, \eta_t^\top \,\big|\, \mathcal{Y}_t\big] = \mathbb{E}\Big[\, \mathbb{E}\big[(\alpha_t - a_{t\mid t})\, \eta_t^\top \,\big|\, \mathcal{G}\big] \,\Big|\, \mathcal{Y}_t \Big].
\end{align*}
Inside, the $\mathcal{G}$-measurable factor $(\alpha_t - a_{t\mid t})$ is taken outside the conditional expectation by [Basic Properties of Conditional Expectation](/theorems/1148), and then independence of $\eta_t$ from $\mathcal{G}$ gives $\mathbb{E}[\eta_t^\top \mid \mathcal{G}] = \mathbb{E}[\eta_t^\top] = 0$ via [Conditioning and Independence](/theorems/1152):
\begin{align*}
\mathbb{E}\big[(\alpha_t - a_{t\mid t})\, \eta_t^\top \,\big|\, \mathcal{G}\big] = (\alpha_t - a_{t\mid t})\, \mathbb{E}[\eta_t^\top \mid \mathcal{G}] = (\alpha_t - a_{t\mid t})\cdot 0 = 0.
\end{align*}
The outer conditional expectation of $0$ is $0$. Therefore $\mathbb{E}[(\alpha_t - a_{t\mid t})\eta_t^\top \mid \mathcal{Y}_t] = 0$, and since $T_t, R_t$ are deterministic,
\begin{align*}
\mathbb{E}[U V^\top \mid \mathcal{Y}_t] = T_t\, \mathbb{E}\big[(\alpha_t - a_{t\mid t})\eta_t^\top \mid \mathcal{Y}_t\big]\, R_t^\top = 0.
\end{align*}
Transposing the same identity gives $\mathbb{E}[V U^\top \mid \mathcal{Y}_t] = 0$ as well.
[/proof]
[/claim]
[/step]