how can I create the following matrix with the array
environment? I don't have an idea
What I have got is this
$$
\left[
\begin{array}{c|c|c|c}
\Pf_{AA} & \Pf_{AB} & \mathbf{0} & \Pf_{A\{\omega\}} \\
\hline
\mathbf{0} & \Pf_{BB} & \Pf_{BA} & \Pf_{B\{\omega\}} \\
\hline
\mathbf{0} & \mathbf{0} & \I & \mathbf{0} \\
\hline
\mathbf{0} & \mathbf{0} & \mathbf{0} & 1
\end{array}
\right]
$$
But now I want to label the rows and colums
\Pf
?