I was trying to read about 3+1 decomposition of spacetime from section 12.2 of Padmanabhan's book Gravitation Foundations and Frontiers. However, other sources can also provide the context for my question.
Once the coordinate system $(t,y^\alpha)$ has been adopted on the spacetime from the foliation, $x^a=x^a(t,y^\alpha)$, then we can write (also the book uses the convention $a=0,1,2,3$; $\alpha=1,2,3$ or latin indices represent spacetime and greek indices only space), \begin{align} dx^a&=\frac{\partial x^a}{\partial t}dt+\frac{\partial x^a}{\partial y^\alpha}dy^\alpha\nonumber\\ &=t^adt+e^a_\alpha dy^\alpha\nonumber\\ &=\left(Nn^a+N^\alpha e^a_\alpha\right)dt+e^a_\alpha dy^\alpha\nonumber\\ &=\left(Ndt\right)n^a+\left(N^\alpha dt+dy^\alpha\right)e^a_\alpha \end{align} Where we have used the fact that the tangent to the curves parametrized by $t$ is $t^a=\partial x^a/\partial t=Nn^a+N^\alpha e^a_\alpha$; and $N$ is called the lapse function and $N^\alpha$ is called the shift vector. $e^a_\alpha=\partial x^a/\partial y^\alpha$ are the tangent to the hypersurface called tetrads.
The line element (squared) now becomes, \begin{align} ds^2&=g_{mn}dx^mdx^n\nonumber\\ &=g_{mn}\left[\left(Ndt\right)n^m+\left(N^\alpha dt+dx^\alpha\right)e^m_\alpha\right]\left[\left(Ndt\right)n^n+\left(N^\beta dt+dx^\beta\right)e^n_\beta\right]\nonumber\\ &=-N^2dt^2+h_{\alpha\beta}\left(dx^\alpha+N^\alpha dt\right)\left(dx^\beta+N^\beta dt\right), \end{align} here, \begin{align} h_{\alpha\beta}=g_{mn}e^m_\alpha e^n_{\beta}=g_{\alpha\beta}. \end{align} The metric can be read out from the above line element, \begin{align} g_{00}=-N^2+N_\gamma N^\gamma,\quad g_{0\alpha}=N_\alpha,\quad g_{\alpha\beta}=h_{\alpha\beta} \end{align} In matrix form, \begin{align} g_{mn}=\begin{pmatrix} -N^2+N_\gamma N^\gamma & N_\alpha\\ N_\alpha & h_{\alpha\beta} \end{pmatrix} \end{align}
My question is how to calculate the inverse of this metric?
I have tried to do that but not succeeded except for the component $g^{00}$ and I am not sure whether that derivation is correct. So let me describe the process in the following.
Now, as $\partial_a t=\delta^t_a=\delta^0_a$ in the coordinate system $(t,y^\alpha)$. Thus, \begin{align} g^{00}&=g^{ab}\partial_a t\partial_b t\nonumber\\ &=\frac{1}{N^2}g^{ab}n_an_b\nonumber\\ &=-N^{-2}. \end{align} Where I have used the fact that the normal vectors are defined as $n_a=-N\partial_a t$ and the normalization for spacelike hypersurfaces is such that $n^an_a=-1$.
In the book, the components for the inverse metric are given to be, \begin{align} g^{00}=-N^{-2},\quad g^{0\alpha}=N^{-2}N^{\alpha},\quad g^{\alpha\gamma}=h^{\alpha\gamma}-N^{-2}N^\alpha N^\gamma \end{align}
Therefore the answer I am looking for is the step by step derivation of the inverse metric given the components of the metric and also one should verify whether my calculation for $g^{00}$ is correct. Thank you.