Lapse - Maple Help

Physics[ThreePlusOne][Lapse] - The Lapse in the 3+1 decomposition of Einstein's equations (ADM formalism)

Physics[ThreePlusOne][Shift] - The Shift in the 3+1 decomposition of Einstein's equations (ADM formalism)

Physics[ThreePlusOne][UnitNormalVector] - The UnitNormalVector in the 3+1 decomposition of Einstein's equations (ADM formalism)

Physics[ThreePlusOne][TimeVector] - The TimeVector in the 3+1 decomposition of Einstein's equations (ADM formalism)

 Calling Sequence Lapse Shift[$\mathrm{\nu }$] UnitNormalVector[$\mathrm{\mu }$] TimeVector[$\mathrm{\mu }$] Shift[keyword] UnitNormalVector[keyword] TimeVector[keyword]

Parameters

 $\mathrm{\mu }$ - the index, as a name representing integer numbers between 0 and the spacetime dimension, it can also be one of these numbers keyword - optional, it can be definition, determinant, line_element, matrix, nonzero, if passed together with mu, its covariant or contravariant character is taken into account

Description

 • The Lapse, Shift, UnitNormalVector and TimeVector are related quantities that, essentially, represent the 4-coordinate degrees of freedom that exist in the representation of a gravitational field (the Lapse and Shift), and identify a particular choice of 3D spacelike hypersurface in the decomposition of spacetime into 3 + 1, its space and time parts (UnitNormalVector and TimeVector). This decomposition is relevant in the context of numerical relativity, and in a Hamiltonian description of gravity.
 • Regarding the Lapse, Shift, you can set their values using Setup and its lapseandshift keyword; there are three possible values: standard, arbitrary, or a list of algebraic expressions representing them. The value chosen determines the values of the components of all the ThreePlusOne tensors (e.g. ExtrinsicCurvature) and so of tensorial expressions involving them (e.g. the ADMEquations). Those components are always computed first in terms of the Lapse and Shift and the space part ${g}_{i,j}$ of the 4D metric, then in a second step, if lapseandshift = standard, the Lapse and the Shift are replaced by their expressions in terms of the ${g}_{0,\mathrm{\mu }}$ part of the 4D metric, according to ${\mathbf{\alpha }}^{2}={\left(-{g}_{}^{0,0}\right)}^{-1}$ and ${\mathbf{\beta }}_{j}={g}_{0,j}$, or if lapseandshift was set passing a list to Setup then in terms of the values indicated in that list (these values are not used to set the ${g}_{0,\mathrm{\mu }}$ part of the 4D metric). When lapseandshift = arbitrary, the second step is not performed and the Lapse and Shift evaluate to themselves, representing an arbitrary value for them. In the three cases, standard, arbitrary, or a list of algebraic expressions, the components of the ThreePlusOne tensors are computed in terms of a metric with line element ${\mathrm{ds}}^{2}=-{\mathbit{\alpha }}^{2}{\mathrm{dt}}^{2}+{\mathbit{\gamma }}_{i,j}\left({\mathrm{dx}}^{i}+{\mathbit{\beta }}_{\phantom{}\phantom{i}}^{\phantom{}i}\mathrm{dt}\right)\left({\mathrm{dx}}^{j}+{\mathbit{\beta }}_{\phantom{}\phantom{j}}^{\phantom{}j}\mathrm{dt}\right)$, where $\mathbf{\alpha }$ and ${\mathbf{\beta }}_{}^{i}$ have the Lapse and Shift values mentioned, and ${\mathbf{\gamma }}_{i,j}={g}_{i,j}$ is the ThreePlusOne:-gamma3_ metric of the 3D hypersurface. This design permits working with any 4D metric set and, without changing its value, experimenting with different values of the Lapse and Shift (different values of ${g}_{0,\mathrm{\mu }}$) for the 3+1 decomposition of Einstein's equations. See also LapseAndShiftConditions.
 • The presentation in the rest of this page assumes the signature (+ + + -), automatically set when ThreePlusOne is loaded and the denominations and definitions are the standard ones of the ADM formalism (ref [5]). The signature (+ + + -) is physically equivalent to (- + + +), but has the computational advantage of having space indices running from 1 to 3 (instead of from 2 to 4) and the value 0 of a spacetime index pointing to position 4 (instead of position 1). With any of these two signatures, the space components (i, j) of the 4D gamma3_${}_{\mathrm{\mu },\mathrm{\nu }}$ are related to the space components (i, j) of the 4D spacetime metric ${g}_{\mathrm{\mu },\mathrm{\nu }}$ by

${\mathbf{\gamma }}_{{i},{j}}={{g}}_{{i}{,}{j}}$

 where, as is the case of all the tensors of ThreePlusOne, the 3D metric is displayed in black instead of blue.
 • From a computational point of view, the Lapse is a scalar, and the Shift is a purely spatial 4D vector, that is, its contravariant timelike component is equal to 0. The UnitNormalVector is a timelike vector (all its covariant space components are zero), perpendicular to the hypersurface determined by the Lapse and Shift, and the TimeVector is neither spacelike nor timelike, but in the adapted coordinates used its contravariant space components are zero. All of them can be defined in terms of a global time function $\mathrm{Τ}\left({x}^{i},t\right)=\mathrm{constant}$. In a generic system of references, where a 3+1 split formulates spacetime as a 3D spacelike hypersurface parameterized by $\mathrm{Τ}$ that evolves in time, the Lapse, assumed to be positive, is the lapse of proper time between two 3D neighboring hypersurfaces, measured by observers moving along the direction normal to the hypersurfaces (normal, or Eulerian observers). In the adapted coordinates used in the implementation in Physics, $\mathrm{Τ}\left({x}^{i},t\right)=t$. The Lapse is thus defined as

$\mathbf{\alpha }={\left(-{{▿}}_{{\mathrm{\mu }}}\left({\mathrm{Τ}}\right){·}{{▿}}_{}^{{\mathrm{\mu }}}\left({\mathrm{Τ}}\right)\right)}^{-\frac{{1}}{{2}}}$

 where ${▿}$ is the 4D covariant derivative operator D_. The UnitNormalVector is a timelike unit vector, normal to the 3D hypersurface, i.e. it is the 4-velocity of a normal observer whose worldline is normal to the 3D hypersurface. The UnitNormalVector is defined in terms of $\mathrm{Τ}\left({x}^{i},t\right)$ as

${\mathbit{n}}_{\mathrm{\mu }}=-\mathbf{\alpha }{{▿}}_{{\mathrm{\mu }}}\left({\mathrm{Τ}}\right)$

 from where $\mathrm{n__μ}{\mathbit{n}}_{}^{{\mathrm{\mu }}}=-1$. The 3D metric gamma3_, that contains information on the space part of the 4D metric g_ and that projects into this 3D spacelike hypersurface determined by $\mathrm{Τ}\left({x}^{i},t\right)=\mathrm{constant}$, is also expressed in terms of g_ and the UnitNormalVector as

${\mathbf{\gamma }}_{{\mathrm{\mu }},{\mathrm{\nu }}}={\mathbit{n}}_{{\mathrm{\mu }}}{\mathbit{n}}_{{\mathrm{\nu }}}+{{g}}_{{\mathrm{\mu }},{\mathrm{\nu }}}$

 The TimeVector is tangent to the time lines (lines of constant spatial coordinates), so it can also be expressed in terms of the global function $\mathrm{Τ}\left({x}^{i},t\right)$ identifying the 3D hypersurface as

${\mathbit{t}}_{}^{{\mathrm{\mu }}}{{▿}}_{{\mathrm{\mu }}}\left({\mathrm{Τ}}\right)=1$

 from where ${\mathbit{t}}_{}^{{\mathrm{\mu }}}{\mathbit{n}}_{{\mathrm{\mu }}}={-}\mathbf{\alpha }$. The Shift can be defined as the projection of the TimeVector onto the 3D hypersurface, i.e.

${\mathbf{\beta }}_{{\mathrm{\mu }}}={\mathbf{\gamma }}_{{\mathrm{\mu }},{\mathrm{\nu }}}{\mathbit{t}}_{}^{{\mathrm{\nu }}}$

 from where it follows the relationship between these three vectors

${\mathbit{t}}_{{\mathrm{\mu }}}=\mathbf{\alpha }{\mathbit{n}}_{{\mathrm{\mu }}}+{\mathbf{\beta }}_{{\mathrm{\mu }}}$

 • From a physical point of view, choosing $\mathrm{Τ}\left({x}^{i},t\right)=t$ as the time coordinate, the Lapse and Shift arise naturally when defining simultaneity in the general theory of relativity as the possibility of synchronizing clocks located at different points in space (ref [1], sec. (84)). For that synchronization to be possible, all the components ${g}_{0,j}$ of the spacetime metric must be equal to zero, and that condition can always be achieved, in any gravitational field, by an appropriate choice of coordinates (ref [1], sec. (84) and (97)). If, in addition, ${g}_{0,0}=1$, the reference system is synchronous. In this referential the time lines (the TimeVector is tangent to them) are geodesics in the 4D spacetime and normal to the hypersurface $t=\mathrm{constant}$ (because from ${g}_{0,j}=0$ follows that ${\mathbf{\beta }}_{}^{{\mathrm{\mu }}}=0$ and so  ${\mathbit{t}}_{}^{{\mathrm{\mu }}}$ and  ${\mathbit{n}}_{}^{{\mathrm{\mu }}}$ are parallel), and the 4D infinitesimal interval is written as.

${{\mathrm{ds}}}^{{2}}{=}{-}{{\mathrm{dt}}}^{{2}}{+}{{g}}_{{i}{,}{j}}{{\mathrm{dx}}}^{{i}}{{\mathrm{dx}}}^{{j}}$

 Under a time rescaling $t\text{'}=G\left(t\right)$ and a general transformation of the space coordinates ${\left(x\text{'}\right)}^{i}={F}^{i}\left({x}^{j},t\right)$, and taking into account ${\mathbf{\gamma }}_{{i},{j}}={{g}}_{{i}{,}{j}}$, this infinitesimal interval changes into

${{\mathrm{ds}}}^{{2}}=\left(-{\mathbf{\alpha }}^{2}+{\mathbf{\beta }}_{{i}}{\mathbf{\beta }}_{}^{{i}}\right){{\mathrm{dt}}}^{{2}}+{2}{\mathbf{\beta }}_{i}{\mathrm{dt}}{{\mathrm{dx}}}_{}^{{i}}+{\mathbf{\gamma }}_{{i}{,}{j}}{{\mathrm{dx}}}_{}^{{i}}{{\mathrm{dx}}}_{}^{{j}}$

 where now ${\mathbf{\beta }}_{}^{{\mathrm{\mu }}}\ne 0$ and so the new time lines $t=\mathrm{constant}$ (and hence ${\mathbit{t}}_{}^{{\mathrm{\mu }}}$) are no longer orthogonal to the 3D hypersurface whose geometry is described by $\mathrm{γ__i,j}$. In this decomposition of the infinitesimal interval, the 4-coordinate degrees of freedom are represented by the freedom in choosing the Lapse and the Shift (corresponding to different choices of the system of references; conversely, one can depart from this general form of the infinitesimal interval and construct a transformation to a synchronous reference system, where ${g}_{0,0}=1$ and ${g}_{0,j}=0$, by solving a related Hamilton-Jacobi equation see [1] sec.(97)). In this system of references (so-called adapted coordinates system of references), the Lapse and Shift are expressed in terms of the contravariant spatial components of the 4D spacetime metric g_ as

${{g}}_{}^{{0}{,}{0}}=-\frac{{1}}{{\mathbf{\alpha }}^{{2}}},{{g}}_{}^{{0}{,}{i}}=\frac{{\mathbf{\beta }}_{}^{i}}{{\mathbf{\alpha }}^{2}},{\mathbf{\gamma }}_{}^{{i},{j}}={{g}}_{}^{{i}{,}{j}}+\frac{{\mathbf{\beta }}_{}^{{i}}{\mathbf{\beta }}_{}^{{j}}}{{\mathbf{\alpha }}^{2}}$

 • Besides being indexed with a spacetime or a space index, the Shift, TimeVector and UnitNormalVector accept the following keywords as an index:
 – definition: when passed alone, gamma3_ returns its 4D definition in terms of the UnitNormalVector and the spacetime metric g_. When passed with space indices, it returns its expression in terms of the spatial components of g_.
 – matrix: (synonym: Matrix, array, Array, or no indices whatsoever, as in Shift[]) returns an Array that when indexed with numerical values from 1 to the dimension of spacetime it returns the value of each of the components of Shift[mu]. If this keyword is passed together with indices, that can be covariant or contravariant, for example Shift[~mu, matrix], the resulting array takes into account the character of the indices.
 – nonzero: returns a set of equations, with the left-hand side as a sequence of two positive numbers identifying the element of $\mathrm{γ__i,j}$ and the corresponding value on the right-hand side. Note that this set is actually the output of the ArrayElems command when passing to it the Matrix obtained with the keyword matrix.
 • You can change the value of the 3D metric gamma3_ by changing the value of the 4D metric g_, using Setup or g_. Regarding the geometry in this 3D hypersurface, a 3D covariant derivative, related Christoffel symbols, and the Ricci and Riemann tensors are represented respectively by the D3_, Christoffel3, Ricci3 and Riemann3 commands.
 • The %Lapse, %Shift, %TimeVector and %UnitNormalVector command are the inert forms of the corresponding active commands, that is represent the same object but entering them does not result in performing any computation. To perform the related computations, e.g. as if %Lapse were Lapse, use value.

Examples

 > $\mathrm{with}\left(\mathrm{Physics}\right):$
 > $\mathrm{Setup}\left(\mathrm{mathematicalnotation}=\mathrm{true},\mathrm{coordinates}=\mathrm{cartesian}\right)$
 ${}\mathrm{Systems of spacetime coordinates are:}{}\left\{X=\left(x{,}y{,}z{,}t\right)\right\}$
 $\mathrm{_______________________________________________________}$
 $\left[{\mathrm{coordinatesystems}}{=}\left\{{X}\right\}{,}{\mathrm{mathematicalnotation}}{=}{\mathrm{true}}\right]$ (1)

When Physics is initialized, the default spacetime metric is of Minkowski type. You can see the metric querying Setup, as in Setup(metric), or directly entering the metric as g_[], with no indices. The default signature is (- - - +) so that the timelike component in position 4, and when indexing 4D tensors the values 0 and 4 represent the same object.

When loading ThreePlusOne, a kind of letter to represent space indices is automatically set and, in order to match the literature related to the ADM formalism and numerical relativity, the signature is also changed to (+ + + -)

 > $\mathrm{with}\left(\mathrm{ThreePlusOne}\right):$
 ${}\mathrm{_______________________________________________________}$
 $\mathrm{Setting}\mathrm{lowercaselatin_is}\mathrm{letters to represent}\mathrm{space}\mathrm{indices}$
 $\mathrm{Defined as 4D spacetime tensors}\left(\mathrm{see ?Physics,ThreePlusOne}\right){,}{\mathbf{\gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbit{▿}}_{{\mathrm{\mu }}}{,}{\mathbf{\Gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}}{,}{\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{,}{\mathbf{\beta }}_{{\mathrm{\mu }}}{,}{\mathbit{n}}_{{\mathrm{\mu }}}{,}{\mathbit{t}}_{{\mathrm{\mu }}}{,}{\mathbf{Κ}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}$
 $\mathrm{Changing the signature of spacetime from}\left(\mathrm{- - - +}\right)\mathrm{to}\left(\mathrm{+ + + -}\right)\mathrm{in order to match the signature customarily used in the ADM formalism}$
 ${}\mathrm{_______________________________________________________}$ (2)

so the value 0 of a spacetime index still points to the tensor component in position 4. Note the display of the tensors of ThreePlusOne: it is the same as the analogous 4D spacetime tensors but in black instead of blue. That automatic redefinition of the signature includes a call to the Redefine command to redefine the spacetime metric accordingly:

 > ${\mathrm{g_}}_{[]}$
 ${{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{rrrr}1& 0& 0& 0\\ 0& 1& 0& 0\\ 0& 0& 1& 0\\ 0& 0& 0& -1\end{array}\right]\right)$ (3)

You can always change the signature as desired using the Setup command and/or redefine the metric accordingly using Redefine. (Note: with the signature (- + + +) the value 0 of an index points to position 1, not position 4.)

You can always query about the letters used to represent spacetime and space indices via

 > $\mathrm{Setup}\left(\mathrm{spacetimeindices},\mathrm{spaceindices}\right)$
 $\left[{\mathrm{spaceindices}}{=}{\mathrm{lowercaselatin_is}}{,}{\mathrm{spacetimeindices}}{=}{\mathrm{greek}}\right]$ (4)

The definition of gamma3_ and of the UnitNormalVector and the TimeVector

 > ${\mathrm{gamma3_}}_{\mathrm{definition}}$
 ${\mathbf{\gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{\mathbit{n}}_{{\mathrm{\mu }}}{}{\mathbit{n}}_{{\mathrm{\nu }}}{+}{{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}$ (5)
 > ${\mathrm{gamma3_}}_{i,j,\mathrm{definition}}$
 ${\mathbf{\gamma }}_{{i}{,}{j}}{=}{{g}}_{{i}{,}{j}}$ (6)
 > ${\mathrm{UnitNormalVector}}_{\mathrm{definition}}$
 ${\mathbit{n}}_{{\mathrm{\mu }}}{=}{-}\mathbf{\alpha }{}{{▿}}_{{\mathrm{\mu }}}{}\left({t}\right)$ (7)
 > ${\mathrm{TimeVector}}_{\mathrm{definition}}$
 ${\mathbit{t}}_{{\mathrm{\mu }}}{=}\mathbf{\alpha }{}{\mathbit{n}}_{{\mathrm{\mu }}}{+}{\mathbf{\beta }}_{{\mathrm{\mu }}}$ (8)
 > ${\mathrm{ExtrinsicCurvature}}_{\mathrm{definition}}$
 ${\mathbf{Κ}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{-}\frac{{{ℒ}}_{\mathbit{n}}{}\left({\mathbf{\gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}\right)}{{2}}$ (9)

To set the scenario as a Schwarzschild spacetime in spherical coordinates; you can enter Setup(metric = Schwarzschild) or simpler: take advantage of abbreviations and directly using the spacetime metric g_ command

 > ${\mathrm{g_}}_{\mathrm{sc}}$
 ${}\mathrm{_______________________________________________________}$
 ${}\mathrm{Systems of spacetime coordinates are:}{}\left\{X=\left(r{,}\mathrm{\theta }{,}\mathrm{\phi }{,}t\right)\right\}$
 ${}\mathrm{Default differentiation variables for d_, D_ and dAlembertian are:}{}\left\{X=\left(r{,}\mathrm{\theta }{,}\mathrm{\phi }{,}t\right)\right\}$
 ${}\mathrm{The Schwarzschild metric in coordinates}{}\left[r{,}\mathrm{\theta }{,}\mathrm{\phi }{,}t\right]$
 $\mathrm{Parameters:}\left[m\right]$
 $\mathrm{Signature:}\left(\mathrm{+ + + -}\right)$
 ${}\mathrm{_______________________________________________________}$
 ${{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}-\frac{r}{2{}m-r}& 0& 0& 0\\ 0& {r}^{2}& 0& 0\\ 0& 0& {r}^{2}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}& 0\\ 0& 0& 0& \frac{2{}m-r}{r}\end{array}\right]\right)$ (10)

In this case, all the ${g}_{0,j}=0$ so the time lines are orthogonal to the hypersurface whose metric is given by $\mathrm{γ__μ,ν}$, so the Shift is equal to 0 and the UnitNormalVector and the TimeVector are parallel

 > ${\mathrm{Shift}}_{[]}$
 ${{\mathrm{Shift}}}_{{\mathrm{μ}}}{=}\left(\left[\begin{array}{rrrr}0& 0& 0& 0\end{array}\right]\right)$ (11)
 > ${\mathrm{UnitNormalVector}}_{[]}$
 ${{\mathrm{UnitNormalVector}}}_{{\mathrm{μ}}}{=}\left(\left[\begin{array}{cccc}0& 0& 0& -\frac{1}{\sqrt{-\frac{r}{2{}m-r}}}\end{array}\right]\right)$ (12)
 > ${\mathrm{TimeVector}}_{[]}$
 ${{\mathrm{TimeVector}}}_{{\mathrm{μ}}}{=}\left(\left[\begin{array}{cccc}0& 0& 0& \frac{2{}m-r}{r}\end{array}\right]\right)$ (13)

The 4D gamma3_ metric is also a projector onto the 3D hypersurface; you can define a complementary projector, that projects onto the UnitNormalVector orthogonal to the 3D hypersurface (in this case parallel to the time lines due to ${g}_{0,j}=0$)

 > ${N}_{\mathrm{μ},\mathrm{ν}}={\mathrm{UnitNormalVector}}_{\mathrm{μ}}{\mathrm{UnitNormalVector}}_{\mathrm{ν}}$
 ${{N}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{\mathbit{n}}_{{\mathrm{\mu }}}{}{\mathbit{n}}_{{\mathrm{\nu }}}$ (14)
 > $\mathrm{Define}\left(\right)$
 $\mathrm{Defined objects with tensor properties}$
 $\left\{{\mathbit{▿}}_{{\mathrm{\mu }}}{,}{{▿}}_{{\mathrm{\mu }}}{,}{{\mathrm{\gamma }}}_{{\mathrm{\mu }}}{,}{{N}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{\mathrm{\sigma }}}_{{\mathrm{\mu }}}{,}{{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{,}{\mathbf{\beta }}_{{\mathrm{\mu }}}{,}{{C}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{,}{{\partial }}_{{\mathrm{\mu }}}{,}{{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbf{\gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{\mathrm{\gamma }}}_{{i}{,}{j}}{,}{{\mathrm{\Gamma }}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}}{,}{\mathbf{\Gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}}{,}{{G}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{\mathrm{\epsilon }}}_{{\mathrm{\alpha }}{,}{\mathrm{\beta }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{,}{\mathbit{t}}_{{\mathrm{\mu }}}{,}{\mathbf{Κ}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbit{n}}_{{\mathrm{\mu }}}{,}{{X}}_{{\mathrm{\mu }}}\right\}$ (15)

The covariant and contravariant components of this projector

 > ${N}_{[]}$
 ${{N}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}0& 0& 0& 0\\ 0& 0& 0& 0\\ 0& 0& 0& 0\\ 0& 0& 0& \frac{r-2{}m}{r}\end{array}\right]\right)$ (16)
 > ${N}_{\mathrm{~}}$
 ${{N}}_{{\mathrm{~mu}}{,}{\mathrm{~nu}}}{=}\left(\left[\begin{array}{cccc}0& 0& 0& 0\\ 0& 0& 0& 0\\ 0& 0& 0& 0\\ 0& 0& 0& -\frac{r}{2{}m-r}\end{array}\right]\right)$ (17)

Every 4D tensor can now be decomposed into its part within the 3D hypersurface and its part perpendicular to it. For example, decompose the 4D metric itself:

 > ${\mathrm{g_}}_{\mathrm{μ},\mathrm{ν}}=\left({\mathrm{gamma3_}}_{\mathrm{μ},\mathrm{α}}{\mathrm{gamma3_}}_{\mathrm{ν},\mathrm{β}}+{N}_{\mathrm{μ},\mathrm{α}}{N}_{\mathrm{ν},\mathrm{β}}\right){\mathrm{g_}}_{\mathrm{~alpha},\mathrm{~beta}}$
 ${{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}\left({{N}}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}}{}{{N}}_{{\mathrm{\beta }}{,}{\mathrm{\nu }}}{+}{\mathbf{\gamma }}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}}{}{\mathbf{\gamma }}_{{\mathrm{\beta }}{,}{\mathrm{\nu }}}\right){}{{g}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}{,}{\mathrm{\beta }}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}$ (18)

Compute a tensor array for this tensorial equation: you see that each component on the left hand side is equal to the corresponding one on the right hand side

 > $\mathrm{TensorArray}\left(\right)$
 $\left[\begin{array}{cccc}-\frac{r}{2{}m-r}=-\frac{r}{2{}m-r}& 0=0& 0=0& 0=0\\ 0=0& {r}^{2}={r}^{2}& 0=0& 0=0\\ 0=0& 0=0& {r}^{2}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}={r}^{2}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{4}{}{\mathrm{csc}{}\left(\mathrm{θ}\right)}^{2}& 0=0\\ 0=0& 0=0& 0=0& \frac{2{}m-r}{r}=\frac{2{}m-r}{r}\end{array}\right]$ (19)

The space components of 4D tensors are not necessarily equal to the space components of the related 3D tensors. For example, for the Schwarzschild metric set, the components of the 4D Ricci tensor are all equal to zero but those of the 3D Ricci3 tensor are not:

 > ${\mathrm{Ricci}}_{[]}$
 ${{\mathrm{Ricci}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{rrrr}0& 0& 0& 0\\ 0& 0& 0& 0\\ 0& 0& 0& 0\\ 0& 0& 0& 0\end{array}\right]\right)$ (20)
 > ${\mathrm{Ricci3}}_{[]}$
 ${{\mathrm{Ricci3}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}\frac{2{}m}{{r}^{2}{}\left(2{}m-r\right)}& 0& 0& 0\\ 0& \frac{m}{r}& 0& 0\\ 0& 0& \frac{{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}{}m}{r}& 0\\ 0& 0& 0& 0\end{array}\right]\right)$ (21)

When working with the ADM formalism, the line element of an arbitrary spacetime metric can be expressed in terms of the differentials of the coordinates ${\mathrm{dx}}^{\mathrm{\mu }}$, the Lapse, the Shift and the spatial components of the metric gamma3_. From this line element one can derive the relation between the Lapse, the spatial part of the Shift and the spatial part of the gamma3_ metric, on the one hand, and the ${g}_{0,j}$ components of the 4D spacetime metric. For this purpose, define a tensor representing the differentials of the coordinates and an alias $\mathrm{dt}={\mathrm{dx}}^{0}$

 > $\mathrm{Define}\left({\mathrm{dx}}_{\mathrm{μ}}\right)$
 $\mathrm{Defined objects with tensor properties}$
 $\left\{{\mathbit{▿}}_{{\mathrm{\mu }}}{,}{{▿}}_{{\mathrm{\mu }}}{,}{{\mathrm{\gamma }}}_{{\mathrm{\mu }}}{,}{{N}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{\mathrm{\sigma }}}_{{\mathrm{\mu }}}{,}{{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{,}{\mathbf{\beta }}_{{\mathrm{\mu }}}{,}{{C}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{,}{{\partial }}_{{\mathrm{\mu }}}{,}{{\mathrm{dx}}}_{{\mathrm{\mu }}}{,}{{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbf{\gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{\mathrm{\gamma }}}_{{i}{,}{j}}{,}{{\mathrm{\Gamma }}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}}{,}{\mathbf{\Gamma }}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}}{,}{{G}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{{\mathrm{\epsilon }}}_{{\mathrm{\alpha }}{,}{\mathrm{\beta }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{,}{\mathbit{t}}_{{\mathrm{\mu }}}{,}{\mathbf{Κ}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{,}{\mathbit{n}}_{{\mathrm{\mu }}}{,}{{X}}_{{\mathrm{\mu }}}\right\}$ (22)
 > $\mathrm{alias}\left(\mathrm{dt}={\mathrm{dx}}_{\mathrm{~0}}\right):$

The expression for the line element in terms of the Lapse and Shift is (see [3], eq.(2.123))

 > ${\mathrm{ds}}^{2}=\left(-{\mathrm{Lapse}}^{2}+{\mathrm{Shift}}_{i}^{2}\right){\mathrm{dt}}^{2}+2{\mathrm{Shift}}_{i}\mathrm{dt}{\mathrm{dx}}_{\mathrm{~i}}+{\mathrm{gamma3_}}_{i,j}{\mathrm{dx}}_{\mathrm{~i}}{\mathrm{dx}}_{\mathrm{~j}}$
 ${{\mathrm{ds}}}^{{2}}{=}{{\mathrm{dt}}}^{{2}}{}\left({-}{\mathbf{\alpha }}^{{2}}{+}{\mathbf{\beta }}_{{i}}{}{\mathbf{\beta }}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}\right){+}{2}{}{\mathbf{\beta }}_{{i}}{}{\mathrm{dt}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{+}{\mathbf{\gamma }}_{{i}{,}{j}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{j}}}^{\phantom{{}}{j}}$ (23)

Compare this expression with the 3+1 decomposition of the line element in an arbitrary system. To avoid the automatic evaluation of the metric components, work with the inert form of the metric %g_

 > ${\mathrm{ds}}^{2}={\mathrm{%g_}}_{\mathrm{μ},\mathrm{ν}}{\mathrm{dx}}_{\mathrm{~mu}}{\mathrm{dx}}_{\mathrm{~nu}}$
 ${{\mathrm{ds}}}^{{2}}{=}{{\mathrm{%g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}}^{\phantom{{}}{\mathrm{\mu }}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{\mathrm{\nu }}}}^{\phantom{{}}{\mathrm{\nu }}}$ (24)
 > $\mathrm{Decompose}\left(\right)$
 ${{\mathrm{ds}}}^{{2}}{=}{{\mathrm{%g_}}}_{{0}{,}{0}}{}{{\mathrm{dt}}}^{{2}}{+}{{\mathrm{%g_}}}_{{0}{,}{j}}{}{\mathrm{dt}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{j}}}^{\phantom{{}}{j}}{+}{{\mathrm{%g_}}}_{{i}{,}{0}}{}{\mathrm{dt}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{+}{{\mathrm{%g_}}}_{{i}{,}{j}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{j}}}^{\phantom{{}}{j}}$ (25)

The second and third terms on the right-hand side are equal

 > $\mathrm{op}\left(2,\mathrm{rhs}\left(\right)\right)=\mathrm{op}\left(3,\mathrm{rhs}\left(\right)\right)$
 ${{\mathrm{%g_}}}_{{0}{,}{j}}{}{\mathrm{dt}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{j}}}^{\phantom{{}}{j}}{=}{{\mathrm{%g_}}}_{{i}{,}{0}}{}{\mathrm{dt}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}$ (26)
 > $\mathrm{subs}\left(,\right)$
 ${{\mathrm{ds}}}^{{2}}{=}{{\mathrm{%g_}}}_{{0}{,}{0}}{}{{\mathrm{dt}}}^{{2}}{+}{2}{}{{\mathrm{%g_}}}_{{i}{,}{0}}{}{\mathrm{dt}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{+}{{\mathrm{%g_}}}_{{i}{,}{j}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{j}}}^{\phantom{{}}{j}}$ (27)

Taking the difference between this expression and the one in terms of the Lapse and Shift we get

 > $\mathrm{simplify}\left(-\right)$
 ${0}{=}\left({\mathbf{\alpha }}^{{2}}{-}{\mathbf{\beta }}_{{i}}{}{\mathbf{\beta }}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{+}{{\mathrm{%g_}}}_{{0}{,}{0}}\right){}{{\mathrm{dt}}}^{{2}}{+}{2}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{}\left({{\mathrm{%g_}}}_{{i}{,}{0}}{-}{\mathbf{\beta }}_{{i}}\right){}{\mathrm{dt}}{-}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{}{{\mathrm{dx}}}_{\phantom{{}}\phantom{{j}}}^{\phantom{{}}{j}}{}\left({\mathbf{\gamma }}_{{i}{,}{j}}{-}{{\mathrm{%g_}}}_{{i}{,}{j}}\right)$ (28)

Taking coefficients, we get equations for the Shift, the Lapse and the spatial components of the 3D metric gamma3_

 > ${\mathrm{eq}}_{1}≔\mathrm{coeff}\left(\mathrm{coeff}\left(\mathrm{rhs}\left(\right),\mathrm{dt}\right),{\mathrm{dx}}_{\mathrm{~i}}\right)=0$
 ${{\mathrm{eq}}}_{{1}}{≔}{2}{}{{\mathrm{%g_}}}_{{i}{,}{0}}{-}{2}{}{\mathbf{\beta }}_{{i}}{=}{0}$ (29)
 > ${\mathrm{eq}}_{2}≔\mathrm{coeff}\left(\mathrm{rhs}\left(\right),{\mathrm{dt}}^{2}\right)=0$
 ${{\mathrm{eq}}}_{{2}}{≔}{\mathbf{\alpha }}^{{2}}{-}{\mathbf{\beta }}_{{i}}{}{\mathbf{\beta }}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{+}{{\mathrm{%g_}}}_{{0}{,}{0}}{=}{0}$ (30)
 > ${\mathrm{eq}}_{3}≔\mathrm{coeff}\left(\mathrm{coeff}\left(\mathrm{rhs}\left(\right),{\mathrm{dx}}_{\mathrm{~i}}\right),{\mathrm{dx}}_{\mathrm{~j}}\right)=0$
 ${{\mathrm{eq}}}_{{3}}{≔}{-}{\mathbf{\gamma }}_{{i}{,}{j}}{+}{{\mathrm{%g_}}}_{{i}{,}{j}}{=}{0}$ (31)

Using these equations, these quantities can all be expressed in terms of the time and space components of the 4D metric ${g}_{0,0}$ and ${g}_{i,j}$

 > $\mathrm{isolate}\left({\mathrm{eq}}_{1},{\mathrm{Shift}}_{i}\right)$
 ${\mathbf{\beta }}_{{i}}{=}{{\mathrm{%g_}}}_{{i}{,}{0}}$ (32)
 > $\mathrm{isolate}\left({\mathrm{eq}}_{2},{\mathrm{Lapse}}^{2}\right)$
 ${\mathbf{\alpha }}^{{2}}{=}{\mathbf{\beta }}_{{i}}{}{\mathbf{\beta }}_{\phantom{{}}\phantom{{i}}}^{\phantom{{}}{i}}{-}{{\mathrm{%g_}}}_{{0}{,}{0}}$ (33)
 > $\mathrm{isolate}\left({\mathrm{eq}}_{3},{\mathrm{gamma3_}}_{i,j}\right)$
 ${\mathbf{\gamma }}_{{i}{,}{j}}{=}{{\mathrm{%g_}}}_{{i}{,}{j}}$ (34)

When computing with the components of the ThreePlusOne tensors, the default (standard) setup is to express their components in terms of the space components ${g}_{i,j}$ of the 4D metric, and the Lapse and Shift, these in turn in terms of ${g}_{0,0}$ and the spatial part ${g}_{0,i}$ of the spacetime metric. In summary, all in terms of the components of ${g}_{\mathrm{\mu },\mathrm{\nu }}$. This setting is governed by the keyword lapseandshift of the Setup command; to query about its value, enter

 > $\mathrm{Setup}\left(\mathrm{lapseandshift}\right)$
 $\left[{\mathrm{lapseandshift}}{=}{\mathrm{standard}}\right]$ (35)

With this setting, for instance the components of the ExtrinsicCurvature for the Schwarzschild spacetime are given by

 > ${\mathrm{ExtrinsicCurvature}}_{[]}$
 ${{\mathrm{ExtrinsicCurvature}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{rrrr}0& 0& 0& 0\\ 0& 0& 0& 0\\ 0& 0& 0& 0\\ 0& 0& 0& 0\end{array}\right]\right)$ (36)

By changing this setting for lapseandshift to arbitrary, you can see the components of the ThreePlusOne tensors in terms of ${g}_{i,j}$ and arbitrary Lapse and Shift (skipping rewriting them in terms of ${g}_{0,0}$ and ${g}_{i,0}$);

 > $\mathrm{Setup}\left(\mathrm{lapseandshift}=\mathrm{arbitrary}\right)$
 $\left[{\mathrm{lapseandshift}}{=}{\mathrm{arbitrary}}\right]$ (37)
 > ${\mathrm{ExtrinsicCurvature}}_{[]}$
 ${{\mathrm{ExtrinsicCurvature}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}-\frac{{\mathrm{Shift}}_{\mathrm{~1}}{}\left(-2{}\mathrm{diff}{}\left(\mathrm{Lapse},r\right){}m{}r+\mathrm{diff}{}\left(\mathrm{Lapse},r\right){}{r}^{2}+\mathrm{Lapse}{}m\right)}{{\mathrm{Lapse}}^{2}{}{\left(2{}m-r\right)}^{2}}& -\frac{r{}\left({\mathrm{Shift}}_{\mathrm{~2}}{}r{}\left(m-\frac{1}{2}{}r\right){}\mathrm{diff}{}\left(\mathrm{Lapse},r\right)-\frac{1}{2}{}{\mathrm{Shift}}_{\mathrm{~1}}{}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{θ}\right)\right)}{{\mathrm{Lapse}}^{2}{}\left(2{}m-r\right)}& -\frac{r{}\left(r{}\left(m-\frac{1}{2}{}r\right){}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}{}{\mathrm{Shift}}_{\mathrm{~3}}{}\mathrm{diff}{}\left(\mathrm{Lapse},r\right)-\frac{1}{2}{}{\mathrm{Shift}}_{\mathrm{~1}}{}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{φ}\right)\right)}{{\mathrm{Lapse}}^{2}{}\left(2{}m-r\right)}& \frac{1}{2}{}\frac{4{}\left(m-\frac{1}{2}{}r\right){}\left(\frac{1}{2}{}\left({\mathrm{Lapse}}^{2}-1\right){}r+m\right){}\mathrm{diff}{}\left(\mathrm{Lapse},r\right)+{\mathrm{Shift}}_{\mathrm{~1}}{}\mathrm{diff}{}\left(\mathrm{Lapse},t\right){}{r}^{2}}{{\mathrm{Lapse}}^{2}{}r{}\left(2{}m-r\right)}\\ -\frac{r{}\left({\mathrm{Shift}}_{\mathrm{~2}}{}r{}\left(m-\frac{1}{2}{}r\right){}\mathrm{diff}{}\left(\mathrm{Lapse},r\right)-\frac{1}{2}{}{\mathrm{Shift}}_{\mathrm{~1}}{}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{θ}\right)\right)}{{\mathrm{Lapse}}^{2}{}\left(2{}m-r\right)}& \frac{r{}\left(-\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{θ}\right){}r{}{\mathrm{Shift}}_{\mathrm{~2}}+{\mathrm{Shift}}_{\mathrm{~1}}{}\mathrm{Lapse}\right)}{{\mathrm{Lapse}}^{2}}& -\frac{1}{2}{}\frac{{r}^{2}{}\left({\mathrm{Shift}}_{\mathrm{~3}}{}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{θ}\right){}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}+{\mathrm{Shift}}_{\mathrm{~2}}{}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{φ}\right)\right)}{{\mathrm{Lapse}}^{2}}& \frac{1}{2}{}\frac{\left({\mathrm{Lapse}}^{2}{}r+2{}m-r\right){}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{θ}\right)-{\mathrm{Shift}}_{\mathrm{~2}}{}\mathrm{diff}{}\left(\mathrm{Lapse},t\right){}{r}^{3}}{{\mathrm{Lapse}}^{2}{}r}\\ -\frac{r{}\left(r{}\left(m-\frac{1}{2}{}r\right){}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}{}{\mathrm{Shift}}_{\mathrm{~3}}{}\mathrm{diff}{}\left(\mathrm{Lapse},r\right)-\frac{1}{2}{}{\mathrm{Shift}}_{\mathrm{~1}}{}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{φ}\right)\right)}{{\mathrm{Lapse}}^{2}{}\left(2{}m-r\right)}& -\frac{1}{2}{}\frac{{r}^{2}{}\left({\mathrm{Shift}}_{\mathrm{~3}}{}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{θ}\right){}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}+{\mathrm{Shift}}_{\mathrm{~2}}{}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{φ}\right)\right)}{{\mathrm{Lapse}}^{2}}& \frac{\mathrm{sin}{}\left(\mathrm{θ}\right){}r{}\left(\mathrm{Lapse}{}\mathrm{cos}{}\left(\mathrm{θ}\right){}r{}{\mathrm{Shift}}_{\mathrm{~2}}-\mathrm{sin}{}\left(\mathrm{θ}\right){}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{φ}\right){}r{}{\mathrm{Shift}}_{\mathrm{~3}}+\mathrm{Lapse}{}\mathrm{sin}{}\left(\mathrm{θ}\right){}{\mathrm{Shift}}_{\mathrm{~1}}\right)}{{\mathrm{Lapse}}^{2}}& \frac{1}{2}{}\frac{\left({\mathrm{Lapse}}^{2}{}r+2{}m-r\right){}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{φ}\right)-{\mathrm{Shift}}_{\mathrm{~3}}{}\mathrm{diff}{}\left(\mathrm{Lapse},t\right){}{r}^{3}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}}{r{}{\mathrm{Lapse}}^{2}}\\ \frac{1}{2}{}\frac{4{}\left(m-\frac{1}{2}{}r\right){}\left(\frac{1}{2}{}\left({\mathrm{Lapse}}^{2}-1\right){}r+m\right){}\mathrm{diff}{}\left(\mathrm{Lapse},r\right)+{\mathrm{Shift}}_{\mathrm{~1}}{}\mathrm{diff}{}\left(\mathrm{Lapse},t\right){}{r}^{2}}{{\mathrm{Lapse}}^{2}{}r{}\left(2{}m-r\right)}& \frac{1}{2}{}\frac{\left({\mathrm{Lapse}}^{2}{}r+2{}m-r\right){}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{θ}\right)-{\mathrm{Shift}}_{\mathrm{~2}}{}\mathrm{diff}{}\left(\mathrm{Lapse},t\right){}{r}^{3}}{{\mathrm{Lapse}}^{2}{}r}& \frac{1}{2}{}\frac{\left({\mathrm{Lapse}}^{2}{}r+2{}m-r\right){}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{φ}\right)-{\mathrm{Shift}}_{\mathrm{~3}}{}\mathrm{diff}{}\left(\mathrm{Lapse},t\right){}{r}^{3}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}}{r{}{\mathrm{Lapse}}^{2}}& \frac{{\mathrm{Lapse}}^{2}{}\mathrm{diff}{}\left(\mathrm{Lapse},r\right){}{r}^{2}{}{\mathrm{Shift}}_{\mathrm{~1}}+{\mathrm{Shift}}_{\mathrm{~2}}{}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{θ}\right){}{\mathrm{Lapse}}^{2}{}{r}^{2}+{\mathrm{Shift}}_{\mathrm{~3}}{}\mathrm{diff}{}\left(\mathrm{Lapse},\mathrm{φ}\right){}{\mathrm{Lapse}}^{2}{}{r}^{2}-\mathrm{Lapse}{}m{}{\mathrm{Shift}}_{\mathrm{~1}}+2{}\mathrm{diff}{}\left(\mathrm{Lapse},t\right){}m{}r-\mathrm{diff}{}\left(\mathrm{Lapse},t\right){}{r}^{2}}{{\mathrm{Lapse}}^{2}{}{r}^{2}}\end{array}\right]\right)$ (38)

Where the superscripts of the Shift ($\mathbf{\beta }$) are not powers but identify the corresponding contravariant components, and because, as we have seen, for a Schwarzschild spacetime in spherical coordinates the components of the Shift are all equal to 0, in view of the expression above, so are the components of the ExtrinsicCurvature.

As it is the case of all the tensors of the Physics package, to compute with a representation for them without actually performing the operation, use the inert form, that is the same tensor name but preceded by the percentage %. To afterwards perform the operation use value. For example,

 > ${\mathrm{%UnitNormalVector}}_{0}$
 ${{\mathrm{%UnitNormalVector}}}_{{0}}$ (39)
 > $\mathrm{value}\left(\right)$
 ${-}\mathbf{\alpha }$ (40)

where the value is expressed in terms of the Lapse instead of ${g}_{0,0}$ because of having set lapseandshift = arbitrary using Setup lines above.

Using Setup you can also set the Lapse and the three space contravariant components of the Shift vector ${\mathrm{\beta }}^{\mathrm{\mu }}$ to any valid algebraic expression (equivalent to choosing the system of coordinates in a particular way without changing the underlying physics of the gravitational field) by indicating the desired values as a list as follows - for example for Gauss coordinates

 > $\mathrm{Setup}\left(\mathrm{lapseandshift}=\left[1,\left[0,0,0\right]\right]\right)$
 $\left[{\mathrm{lapseandshift}}{=}\left[{1}{,}\left[{0}{,}{0}{,}{0}\right]\right]\right]$ (41)

With this setting, and for the Schwarzschild metric set,

 > ${\mathrm{g_}}_{[]}$
 ${{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}-\frac{r}{2{}m-r}& 0& 0& 0\\ 0& {r}^{2}& 0& 0\\ 0& 0& {r}^{2}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}& 0\\ 0& 0& 0& \frac{2{}m-r}{r}\end{array}\right]\right)$ (42)

the components of the UnitNormalVector are given by

 > ${\mathrm{UnitNormalVector}}_{[]}$
 ${{\mathrm{UnitNormalVector}}}_{{\mathrm{μ}}}{=}\left(\left[\begin{array}{rrrr}0& 0& 0& -1\end{array}\right]\right)$ (43)

In order to perform computations with a 3+1 formulation of a gravitational filed, in addition to the Lapse, Shift and UnitNormalVector it is also necessary to have 3D Christoffel symbols, a covariant derivative, and the Ricci and Riemann tensors on the spacelike hypersurface whose metric is gamma3_. These mathematical objects/tensors are respectively represented on the worksheet by the commands Christoffel3, D3_, Ricci3 and Riemann3. The definitions of Christoffel3, Ricci3 and Riemann3 are the same as the definitions of the corresponding 4D tensors but for replacing g_ by gamma3_ and Christoffel by Christoffel3, followed by projecting the result over the hypersurface, using gamma3_ as a projector. For example, these are the 4D and 3D definitions

 > ${\mathrm{Christoffel}}_{\mathrm{definition}}$
 ${{\mathrm{\Gamma }}}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}\frac{{{\partial }}_{{\mathrm{\nu }}}{}\left({{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}}\right)}{{2}}{+}\frac{{{\partial }}_{{\mathrm{\mu }}}{}\left({{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\nu }}}\right)}{{2}}{-}\frac{{{\partial }}_{{\mathrm{\alpha }}}{}\left({{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}\right)}{{2}}$ (44)
 > ${\mathrm{Christoffel3}}_{\mathrm{definition}}$
 ${\mathbf{\Gamma }}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}\frac{{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\beta }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\beta }}}{}{\mathbf{\gamma }}_{{\mathrm{\mu }}\phantom{{\mathrm{\kappa }}}}^{\phantom{{\mathrm{\mu }}}{\mathrm{\kappa }}}{}{\mathbf{\gamma }}_{{\mathrm{\nu }}\phantom{{\mathrm{\lambda }}}}^{\phantom{{\mathrm{\nu }}}{\mathrm{\lambda }}}{}\left({{\partial }}_{{\mathrm{\lambda }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\beta }}{,}{\mathrm{\kappa }}}\right){+}{{\partial }}_{{\mathrm{\kappa }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\beta }}{,}{\mathrm{\lambda }}}\right){-}{{\partial }}_{{\mathrm{\beta }}}{}\left({\mathbf{\gamma }}_{{\mathrm{\kappa }}{,}{\mathrm{\lambda }}}\right)\right)}{{2}}$ (45)
 > ${\mathrm{Ricci}}_{\mathrm{definition}}$
 ${{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{{\partial }}_{{\mathrm{\alpha }}}{}\left({{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}{\mathrm{\mu }}{,}{\mathrm{\nu }}}^{\phantom{{}}{\mathrm{\alpha }}\phantom{{\mathrm{\mu }}{,}{\mathrm{\nu }}}}\right){-}{{\partial }}_{{\mathrm{\nu }}}{}\left({{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}{\mathrm{\mu }}{,}{\mathrm{\alpha }}}^{\phantom{{}}{\mathrm{\alpha }}\phantom{{\mathrm{\mu }}{,}{\mathrm{\alpha }}}}\right){+}{{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}{\mathrm{\mu }}{,}{\mathrm{\nu }}}^{\phantom{{}}{\mathrm{\beta }}\phantom{{\mathrm{\mu }}{,}{\mathrm{\nu }}}}{}{{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}{\mathrm{\beta }}{,}{\mathrm{\alpha }}}^{\phantom{{}}{\mathrm{\alpha }}\phantom{{\mathrm{\beta }}{,}{\mathrm{\alpha }}}}{-}{{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\beta }}}{\mathrm{\mu }}{,}{\mathrm{\alpha }}}^{\phantom{{}}{\mathrm{\beta }}\phantom{{\mathrm{\mu }}{,}{\mathrm{\alpha }}}}{}{{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}{\mathrm{\nu }}{,}{\mathrm{\beta }}}^{\phantom{{}}{\mathrm{\alpha }}\phantom{{\mathrm{\nu }}{,}{\mathrm{\beta }}}}$ (46)
 > ${\mathrm{Ricci3}}_{\mathrm{μ},\mathrm{ν}}=\mathrm{convert}\left({\mathrm{Ricci3}}_{\mathrm{μ},\mathrm{ν}},\mathrm{Christoffel}\right)$
 ${\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{\mathbf{\gamma }}_{{\mathrm{\mu }}\phantom{{\mathrm{\sigma }}}}^{\phantom{{\mathrm{\mu }}}{\mathrm{\sigma }}}{}{\mathbf{\gamma }}_{{\mathrm{\nu }}\phantom{{\mathrm{\tau }}}}^{\phantom{{\mathrm{\nu }}}{\mathrm{\tau }}}{}\left({{\partial }}_{{\mathrm{\alpha }}}{}\left({\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}{\mathrm{\sigma }}{,}{\mathrm{\tau }}}^{\phantom{{}}{\mathrm{\alpha }}\phantom{{\mathrm{\sigma }}{,}{\mathrm{\tau }}}}\right){-}{{\partial }}_{{\mathrm{\tau }}}{}\left({\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}{\mathrm{\alpha }}{,}{\mathrm{\sigma }}}^{\phantom{{}}{\mathrm{\alpha }}\phantom{{\mathrm{\alpha }}{,}{\mathrm{\sigma }}}}\right){+}{\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\beta }}}{\mathrm{\sigma }}{,}{\mathrm{\tau }}}^{\phantom{{}}{\mathrm{\beta }}\phantom{{\mathrm{\sigma }}{,}{\mathrm{\tau }}}}{}{\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}^{\phantom{{}}{\mathrm{\alpha }}\phantom{{\mathrm{\alpha }}{,}{\mathrm{\beta }}}}{-}{\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\beta }}}{\mathrm{\alpha }}{,}{\mathrm{\sigma }}}^{\phantom{{}}{\mathrm{\beta }}\phantom{{\mathrm{\alpha }}{,}{\mathrm{\sigma }}}}{}{\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}{\mathrm{\beta }}{,}{\mathrm{\tau }}}^{\phantom{{}}{\mathrm{\alpha }}\phantom{{\mathrm{\beta }}{,}{\mathrm{\tau }}}}\right)$ (47)
 > ${\mathrm{Riemann}}_{\mathrm{definition}}$
 ${{R}}_{{\mathrm{\alpha }}{,}{\mathrm{\beta }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{{g}}_{{\mathrm{\alpha }}{,}{\mathrm{\lambda }}}{}\left({{\partial }}_{{\mathrm{\mu }}}{}\left({{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\lambda }}}{\mathrm{\beta }}{,}{\mathrm{\nu }}}^{\phantom{{}}{\mathrm{\lambda }}\phantom{{\mathrm{\beta }}{,}{\mathrm{\nu }}}}\right){-}{{\partial }}_{{\mathrm{\nu }}}{}\left({{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\lambda }}}{\mathrm{\beta }}{,}{\mathrm{\mu }}}^{\phantom{{}}{\mathrm{\lambda }}\phantom{{\mathrm{\beta }}{,}{\mathrm{\mu }}}}\right){+}{{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\lambda }}}{\mathrm{\upsilon }}{,}{\mathrm{\mu }}}^{\phantom{{}}{\mathrm{\lambda }}\phantom{{\mathrm{\upsilon }}{,}{\mathrm{\mu }}}}{}{{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\upsilon }}}{\mathrm{\beta }}{,}{\mathrm{\nu }}}^{\phantom{{}}{\mathrm{\upsilon }}\phantom{{\mathrm{\beta }}{,}{\mathrm{\nu }}}}{-}{{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\lambda }}}{\mathrm{\upsilon }}{,}{\mathrm{\nu }}}^{\phantom{{}}{\mathrm{\lambda }}\phantom{{\mathrm{\upsilon }}{,}{\mathrm{\nu }}}}{}{{\mathrm{\Gamma }}}_{\phantom{{}}\phantom{{\mathrm{\upsilon }}}{\mathrm{\beta }}{,}{\mathrm{\mu }}}^{\phantom{{}}{\mathrm{\upsilon }}\phantom{{\mathrm{\beta }}{,}{\mathrm{\mu }}}}\right)$ (48)
 > ${\mathrm{Riemann3}}_{\mathrm{α},\mathrm{β},\mathrm{μ},\mathrm{ν}}=\mathrm{convert}\left({\mathrm{Riemann3}}_{\mathrm{α},\mathrm{β},\mathrm{μ},\mathrm{ν}},\mathrm{Christoffel}\right)$
 ${\mathbit{R}}_{{\mathrm{\alpha }}{,}{\mathrm{\beta }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{\mathbf{\gamma }}_{{\mathrm{\alpha }}{,}{\mathrm{\lambda }}}{}{\mathbf{\gamma }}_{{\mathrm{\beta }}\phantom{{\mathrm{\sigma }}}}^{\phantom{{\mathrm{\beta }}}{\mathrm{\sigma }}}{}{\mathbf{\gamma }}_{{\mathrm{\mu }}\phantom{{\mathrm{\tau }}}}^{\phantom{{\mathrm{\mu }}}{\mathrm{\tau }}}{}{\mathbf{\gamma }}_{{\mathrm{\nu }}\phantom{{\mathrm{\kappa }}}}^{\phantom{{\mathrm{\nu }}}{\mathrm{\kappa }}}{}\left({{\partial }}_{{\mathrm{\tau }}}{}\left({\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\lambda }}}{\mathrm{\kappa }}{,}{\mathrm{\sigma }}}^{\phantom{{}}{\mathrm{\lambda }}\phantom{{\mathrm{\kappa }}{,}{\mathrm{\sigma }}}}\right){-}{{\partial }}_{{\mathrm{\kappa }}}{}\left({\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\lambda }}}{\mathrm{\sigma }}{,}{\mathrm{\tau }}}^{\phantom{{}}{\mathrm{\lambda }}\phantom{{\mathrm{\sigma }}{,}{\mathrm{\tau }}}}\right){+}{\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\lambda }}}{\mathrm{\tau }}{,}{\mathrm{\upsilon }}}^{\phantom{{}}{\mathrm{\lambda }}\phantom{{\mathrm{\tau }}{,}{\mathrm{\upsilon }}}}{}{\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\upsilon }}}{\mathrm{\kappa }}{,}{\mathrm{\sigma }}}^{\phantom{{}}{\mathrm{\upsilon }}\phantom{{\mathrm{\kappa }}{,}{\mathrm{\sigma }}}}{-}{\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\lambda }}}{\mathrm{\kappa }}{,}{\mathrm{\upsilon }}}^{\phantom{{}}{\mathrm{\lambda }}\phantom{{\mathrm{\kappa }}{,}{\mathrm{\upsilon }}}}{}{\mathbf{\Gamma }}_{\phantom{{}}\phantom{{\mathrm{\upsilon }}}{\mathrm{\sigma }}{,}{\mathrm{\tau }}}^{\phantom{{}}{\mathrm{\upsilon }}\phantom{{\mathrm{\sigma }}{,}{\mathrm{\tau }}}}\right)$ (49)

In the case of Ricci3 and Riemann3 tensors, for computational convenience, when using the keyword definition the formulas are expressed directly in terms of the 4D Riemann tensor and the ExtrinsicCurvature

 > ${\mathrm{Ricci3}}_{\mathrm{definition}}$
 ${\mathbit{R}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{\mathbf{\gamma }}_{\phantom{{}}\phantom{{\mathrm{\alpha }}{,}{\mathrm{\beta }}}}^{\phantom{{}}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{}{\mathbf{\gamma }}_{{\mathrm{\mu }}\phantom{{\mathrm{\kappa }}}}^{\phantom{{\mathrm{\mu }}}{\mathrm{\kappa }}}{}{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\lambda }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\lambda }}}{}{\mathbf{\gamma }}_{{\mathrm{\nu }}\phantom{{\mathrm{\sigma }}}}^{\phantom{{\mathrm{\nu }}}{\mathrm{\sigma }}}{}{{R}}_{{\mathrm{\beta }}{,}{\mathrm{\kappa }}{,}{\mathrm{\lambda }}{,}{\mathrm{\sigma }}}{+}{\mathbf{Κ}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}{\mathrm{\nu }}}^{\phantom{{}}{\mathrm{\alpha }}\phantom{{\mathrm{\nu }}}}{}{\mathbf{Κ}}_{{\mathrm{\mu }}{,}{\mathrm{\alpha }}}{-}{\mathbf{Κ}}_{\phantom{{}}\phantom{{\mathrm{\alpha }}}{\mathrm{\alpha }}}^{\phantom{{}}{\mathrm{\alpha }}\phantom{{\mathrm{\alpha }}}}{}{\mathbf{Κ}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}$ (50)
 > ${\mathrm{Riemann3}}_{\mathrm{definition}}$
 ${\mathbit{R}}_{{\mathrm{\alpha }}{,}{\mathrm{\beta }}{,}{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{\mathbf{\gamma }}_{{\mathrm{\alpha }}\phantom{{\mathrm{\kappa }}}}^{\phantom{{\mathrm{\alpha }}}{\mathrm{\kappa }}}{}{\mathbf{\gamma }}_{{\mathrm{\beta }}\phantom{{\mathrm{\lambda }}}}^{\phantom{{\mathrm{\beta }}}{\mathrm{\lambda }}}{}{\mathbf{\gamma }}_{{\mathrm{\mu }}\phantom{{\mathrm{\sigma }}}}^{\phantom{{\mathrm{\mu }}}{\mathrm{\sigma }}}{}{\mathbf{\gamma }}_{{\mathrm{\nu }}\phantom{{\mathrm{\tau }}}}^{\phantom{{\mathrm{\nu }}}{\mathrm{\tau }}}{}{{R}}_{{\mathrm{\kappa }}{,}{\mathrm{\lambda }}{,}{\mathrm{\sigma }}{,}{\mathrm{\tau }}}{-}{\mathbf{Κ}}_{{\mathrm{\alpha }}{,}{\mathrm{\mu }}}{}{\mathbf{Κ}}_{{\mathrm{\beta }}{,}{\mathrm{\nu }}}{+}{\mathbf{Κ}}_{{\mathrm{\alpha }}{,}{\mathrm{\nu }}}{}{\mathbf{Κ}}_{{\mathrm{\beta }}{,}{\mathrm{\mu }}}$ (51)

References

 [1] Landau, L.D., and Lifshitz, E.M. The Classical Theory of Fields, Course of Theoretical Physics Volume 2, fourth revised English edition. Elsevier, 1975.
 [2] Alcubierre, M., Introduction to 3+1 Numerical Relativity, International Series of Monographs on Physics 140, Oxford University Press, 2008.
 [3] Baumgarte, T.W., Shapiro, S.L., Numerical Relativity, Solving Einstein's Equations on a Computer, Cambridge University Press, 2010.
 [4] Gourgoulhon, E., 3+1 Formalism and Bases of Numerical Relativity, Lecture notes, 2007, https://arxiv.org/pdf/gr-qc/0703035v1.pdf.
 [5] Arnowitt, R., Dese, S., Misner, C.W., The Dynamics of General Relativity, Chapter 7 in Gravitation: an introduction to current research (Wiley, 1962), https://arxiv.org/pdf/gr-qc/0405109v1.pdf

Compatibility

 • The Physics[ThreePlusOne][Lapse], Physics[ThreePlusOne][Shift], Physics[ThreePlusOne][UnitNormalVector] and Physics[ThreePlusOne][TimeVector] commands were introduced in Maple 2017.