[step:Prove the quotient subsystem is reachable and observable]
The quotient subsystem $(A_Q,B_Q,C_Q,D)$ is reachable. Let
\begin{align*}
d := \dim Q.
\end{align*}
First, using the all-time reachable subspace, the definitions of $A_Q$ and $B_Q$ give
\begin{align*}
A_Q^kB_Qu = \pi(A^kBu)
\end{align*}
for every integer $k\geq 0$ and every $u\in\mathbb R^m$. Since $R$ is spanned by the vectors $A^kBu$ with $k\geq 0$, their images span $\pi(R)=Q$.
It remains to reduce this to the standard $d$-dimensional reachability test. If $d=0$, then $Q=\{0\}$ and reachability is vacuous after deleting the zero-dimensional block. Assume now that $d\geq 1$. Since $Q$ is finite-dimensional with $d=\dim Q$, define the characteristic polynomial map $p_Q:\mathbb R\to\mathbb R$ of the endomorphism $A_Q:Q\to Q$ by
\begin{align*}
p_Q(\lambda):=\det(\lambda I_Q-A_Q),
\end{align*}
where $I_Q:Q\to Q$ is the identity map. Write
\begin{align*}
p_Q(\lambda)=\lambda^d+a_{d-1}\lambda^{d-1}+\cdots+a_1\lambda+a_0
\end{align*}
for real coefficients $a_0,\dots,a_{d-1}\in\mathbb R$. By the [Cayley-Hamilton theorem](/theorems/865) for the finite-dimensional endomorphism $A_Q:Q\to Q$, we have
\begin{align*}
A_Q^d+a_{d-1}A_Q^{d-1}+\cdots+a_1A_Q+a_0I_Q=0.
\end{align*}
Multiplying this operator identity on the left by $A_Q^\ell$ for any integer $\ell\geq 0$ gives the explicit recurrence
\begin{align*}
A_Q^{d+\ell}=-a_{d-1}A_Q^{d-1+\ell}-\cdots-a_1A_Q^{1+\ell}-a_0A_Q^\ell.
\end{align*}
Induction on $k\geq d$ therefore expresses every $A_Q^k$ as a linear combination of $I_Q,A_Q,\dots,A_Q^{d-1}$. Hence the span of all vectors $A_Q^kB_Qu$ with $k\geq 0$ is already equal to
\begin{align*}
\operatorname{span}\{A_Q^kB_Qu : 0 \leq k \leq d-1,\ u \in \mathbb R^m\}.
\end{align*}
Therefore this finite span is $Q$. By definition, the quotient subsystem is reachable.
The quotient subsystem is observable. If $d=0$, then $Q=\{0\}$ and observability is vacuous after deleting the zero-dimensional block. Assume now that $d\geq 1$. Suppose $q \in Q$ satisfies
\begin{align*}
C_QA_Q^k q = 0
\end{align*}
for every integer $k$ with $0 \leq k \leq d-1$. Choose $x \in R$ with $q=\pi x$. Since $A_Q^k\pi x=\pi(A^kx)$ and $C_Q\pi(A^kx)=CA^kx$, the displayed equalities give
\begin{align*}
CA^k x=0
\end{align*}
for $0 \leq k \leq \dim Q-1$. By the explicit Cayley-Hamilton recurrence just obtained from $p_Q(A_Q)=0$, each $A_Q^k$ with $k\geq d$ is a linear combination of $I_Q,A_Q,\dots,A_Q^{d-1}$. Therefore the vanishing of $C_QA_Q^kq$ for $0 \leq k \leq d-1$ implies the same vanishing for every $k \geq 0$. Thus $CA^kx=0$ for every $k \geq 0$, and hence $x \in N$. Since also $x \in R$, we have $x \in R\cap N$, so $q=\pi x=0$. Thus the only state $q\in Q$ whose output sequence $C_QA_Q^kq$ vanishes for every integer $k\geq 0$ is $0$. By definition, this proves observability.
Under the chosen complement $Q\cong X_{ro}$, this reachable and observable quotient subsystem is represented by $(A_{ro},B_{ro},C_{ro},D)$ in the quotient sense described above: $A_{ro}$ is the coordinate matrix of $q\mapsto \pi(A s(q))$, where $s:Q\to R$ is the section with image $X_{ro}$. Omitting any zero-dimensional blocks gives exactly the asserted Kalman decomposition.
[/step]