transforms a tetrad into canonical form, or using one of six standard transformations, or using a given set of transformation equations - Maple Programming Help

Physics[Tetrads][TransformTetrad] - transforms a tetrad into canonical form, or using one of six standard transformations, or using a given set of transformation equations

Parameters

 T - optional, it can be a matrix representing a tetrad. If not given, the tetrad (vierbein e_) for the current spacetime metric is transformed verifygiventetrad - optional, can be true (default value) or false, to verify or not whether the given matrix T is or not a tetrad before proceeding canonicalform - optional, to compute a canonical form for the tetrad (given or e_) nullrotationwithfixedl_ - optional, to indicate a rotation that leaves the null vector l_ unchanged nullrotationwithfixedn_ - optional, to indicate a rotation that leaves the null vector n_ unchanged spatialrotationsm_mb_plane - optional, to indicate a rotation of m_ and mb_ on the (m_, mb_)-plane boostsn_l_plane - optional, to indicate a rotation that leaves the directions of l_ and n_ unchanged preservel_direction - optional, to indicate a rotation that leaves the direction of l_ unchanged preserven_direction - optional, to indicate a rotation that leaves the direction of n_ unchanged output = ... - optional, could be tetrad (default) or nullvectors, to have the output as a matrix that can be used to redefine the tetrad e_, or as a list of the Newman-Penrose null vectors

Description

 • The TransformTetrad commands applies a transformation of coordinates to a tetrad. The tetrad being transformed does not need to be indicated and is, by default, a null tetrad related to the current value of the spacetime metric g_, that is, one that satisfies the tetrad definition ${𝔢}_{a,\mathrm{\mu }}{𝔢}_{b}^{\mathrm{\mu }}={\mathrm{\eta }}_{a,b}$, and where the tetrad metric is formed with the null vectors of the Newman-Penrose formalism. To see what tetrad (among the infinitely many possible) is actually used as a starting point by default, see Tetrads[e_]. When the transformation applied is one of those related to optional arguments (all related to Lorentz transformations), or it is a Lorentzian transformation of coordinates that you indicate, the result of applying TransformTetrad is another null tetrad.
 • Instead of the default action of transforming e_, you can also indicate any other tetrad to be transformed. For that purpose, indicate the tetrad as first argument T, either as a matrix (whose components are assumed to correspond to the all-covariant tetrad e_[a, mu]), or as an equation where the left-hand side is the tensor e_[a, mu] itself.
 • When a tetrad is indicated, before proceeding, a test verifying whether it satisfies the tetrad definition equations is performed using the command IsTetrad, and if the tetrad definition is not satisfied an error interruption happens. Sometimes, the indicated T is in fact a tetrad but the computer fails in verifying that, perhaps missing a simplification; in these cases you can indicate to not perform this verification by passing the optional argument verifygiventetrad = false.
 • When the tetrad indicated to be transformed is an orthonormal tetrad (for the corresponding definitions, see IsTetrad), first a null tetrad is derived from it using NullTetrad, then transformed.
 • Two different formats for the output of TransformTetrad are possible: as a matrix that can be set as the value of the tetrad e_ using Setup, or as a list of null vectors (option output = nullvectors).

 • Covering the effect of the 6-parameter Lorentz transformations on the null vectors of the Newman-Penrose formalism, the predefined transformations implemented are:
 I) Rotations of Class I leave the null vector l_ unchanged (option nullrotationwithfixedl_, introduces a global transformation complex parameter E)

${n\text{'}}_{\mathrm{\mu }}=\left(E{l}_{\mathrm{\mu }}+{m}_{\mathrm{\mu }}\right)\stackrel{&conjugate0;}{E}+E{\stackrel{&conjugate0;}{m}}_{\mathrm{\mu }}+{n}_{\mathrm{\mu }}$

${m\text{'}}_{\mathrm{\mu }}=E{l}_{\mathrm{\mu }}+{m}_{\mathrm{\mu }}$

${\stackrel{&conjugate0;}{m}}^{\text{'}}={\stackrel{&conjugate0;}{m}}_{\mathrm{\mu }}+\stackrel{&conjugate0;}{E}{l}_{\mathrm{\mu }}$

 II) Rotations of Class II leave the null vector n_ unchanged (option nullrotationwithfixedn_, introduces a global transformation complex parameter B)

${l\text{'}}_{\mathrm{\mu }}=\left(B{n}_{\mathrm{\mu }}+{m}_{\mathrm{\mu }}\right)\stackrel{&conjugate0;}{B}+B{\stackrel{&conjugate0;}{m}}_{\mathrm{\mu }}+{l}_{\mathrm{\mu }}$

${m\text{'}}_{\mathrm{\mu }}=B{n}_{\mathrm{\mu }}+{m}_{\mathrm{\mu }}$

${\stackrel{&conjugate0;}{m}}^{\text{'}}={\stackrel{&conjugate0;}{m}}_{\mathrm{\mu }}+\stackrel{&conjugate0;}{B}{n}_{\mathrm{\mu }}$

 III) Rotations of Class III leave the directions of l_ and n_ unchanged and/or rotate m_ and mb_ on the (m_, mb_)-plane. To these transformations correspond the options boostsn_l_plane, that introduces a global transformation parameter A,

${n\text{'}}_{\mathrm{\mu }}=A{n}_{\mathrm{\mu }}$

${l\text{'}}_{\mathrm{\mu }}=\frac{{l}_{\mathrm{\mu }}}{A}$

 and also spatialrotationsm_mb_plane, that introduces a global transformation real parameter Omega).

${m\text{'}}_{\mathrm{\mu }}={ⅇ}^{i\mathrm{\Omega }}{m}_{\mathrm{\mu }}$

 To transform a null tetrad using any of these standard transformations, pass any (one or more) of the corresponding optional arguments, for example as in TransformTetrad(spatialrotationsm_mb_plane). When indicating many transformations by passing many of these optional arguments together, the transformations are performed in the order these optional arguments are passed.
 NOTE: you can always pass these optional arguments by passing only a few identifying letters of these long concatenations of words, and when there is only one match your input will be interpreted correctly. For example: both TransformTetrad(spatial) and TransformTetrad(m_mb) are interpreted as TransformTetrad(spatialrotationsm_mb_plane).
 • Other frequent transformations used that have a keyword associated that you can use to indicate them are those that preserve the l_ direction plane (option preservel_direction, introduces the global transformation parameters A, E, Omega) and those that preserve the n_ direction plane (option preserven_direction, introduces the global transformation parameters A, B, Omega)
 • Finally, you can also indicate any particular transformation by passing it as a set or list of transformation equations (see TransformCoordinates), in which case the null tetrad is viewed as the corresponding list of four spacetime 4-vectors [l_, n_, m_, mb_] and transformed accordingly using the TransformCoordinates command.

Transforming a Tetrad into Canonical Form

 • Provided that the spacetime is not conformally flat (for which all the components of the Weyl tensor are equal to zero), TransformTetrad can also transform a tetrad into a canonical form in one go. For that purpose, use the canonicalform optional argument. The resulting tetrad is such that the Weyl scalars associated to it are of one and only one of the following five forms related to the PetrovType of the spacetime (see reference [3] page 388)

 The process of rewriting a tetrad into canonical form involves a combination of rotations of Classes I, II and III, automatically deduced and applied by TransformTetrad.
 • The canonical form in the table above is not the only possible one and, depending on the spacetime, a different canonical form would be more convenient. For example, a preferred form for Petrov type "I" would be to have ${\mathrm{\Psi }}_{1}=1,{\mathrm{\Psi }}_{2}\ne 0,{\mathrm{\Psi }}_{4}\ne 0$ instead of ${\mathrm{\Psi }}_{3}=1,{\mathrm{\Psi }}_{1}\ne 0,{\mathrm{\Psi }}_{2}\ne 0$. You can still use TransformTetrad to produce any desired canonical form different than the default one presented in the table above by taking into account the way the Weyl scalars are changed by these three classes of rotation, that is:
 I) Rotations of Class I leave ${\mathrm{\Psi }}_{0}$ unchanged

${\mathrm{\Psi }}_{0}^{\text{'}}={\mathrm{\Psi }}_{0}$

${\mathrm{\Psi }}_{1}^{\text{'}}={\mathrm{\Psi }}_{1}+\stackrel{&conjugate0;}{E}{\mathrm{\Psi }}_{0}$

${\mathrm{\Psi }}_{2}^{\text{'}}={\mathrm{\Psi }}_{2}+2\stackrel{&conjugate0;}{E}{\mathrm{\Psi }}_{1}+{\stackrel{&conjugate0;}{E}}^{2}{\mathrm{\Psi }}_{0}$

${\mathrm{\Psi }}_{3}^{\text{'}}={\mathrm{\Psi }}_{3}+3\stackrel{&conjugate0;}{E}{\mathrm{\Psi }}_{2}+3{\stackrel{&conjugate0;}{E}}^{2}{\mathrm{\Psi }}_{1}+{\stackrel{&conjugate0;}{E}}^{3}{\mathrm{\Psi }}_{0}$

${\mathrm{\Psi }}_{4}^{\text{'}}={\mathrm{\Psi }}_{4}+4\stackrel{&conjugate0;}{E}{\mathrm{\Psi }}_{3}+6{\stackrel{&conjugate0;}{E}}^{2}{\mathrm{\Psi }}_{2}+4{\stackrel{&conjugate0;}{E}}^{3}{\mathrm{\Psi }}_{1}+{\stackrel{&conjugate0;}{E}}^{4}{\mathrm{\Psi }}_{0}$

 I) Rotations of Class II leave ${\mathrm{\Psi }}_{4}$ unchanged

${\mathrm{\Psi }}_{0}^{\text{'}}={B}^{4}{\mathrm{\Psi }}_{4}+4{B}^{3}{\mathrm{\Psi }}_{3}+6{B}^{2}{\mathrm{\Psi }}_{2}+4B{\mathrm{\Psi }}_{1}+{\mathrm{\Psi }}_{0}$

${\mathrm{\Psi }}_{1}^{\text{'}}={B}^{3}{\mathrm{\Psi }}_{4}+3{B}^{2}{\mathrm{\Psi }}_{3}+3B{\mathrm{\Psi }}_{2}+{\mathrm{\Psi }}_{1}$

${\mathrm{\Psi }}_{2}^{\text{'}}={B}^{2}{\mathrm{\Psi }}_{4}+2B{\mathrm{\Psi }}_{3}+{\mathrm{\Psi }}_{2}$

${\mathrm{\Psi }}_{3}^{\text{'}}=B{\mathrm{\Psi }}_{4}+{\mathrm{\Psi }}_{3}$

${\mathrm{\Psi }}_{4}^{\text{'}}={\mathrm{\Psi }}_{4}$

 I) Rotations of Class III leave ${\mathrm{\Psi }}_{2}$ unchanged

${\mathrm{\Psi }}_{0}^{\text{'}}=\frac{{ⅇ}^{2I\mathrm{\Omega }}{\mathrm{\Psi }}_{0}}{{A}^{2}}$

${\mathrm{\Psi }}_{1}^{\text{'}}=\frac{{ⅇ}^{I\mathrm{\Omega }}{\mathrm{\Psi }}_{1}}{A}$

${\mathrm{\Psi }}_{2}^{\text{'}}={\mathrm{\Psi }}_{2}$

${\mathrm{\Psi }}_{3}^{\text{'}}=A{ⅇ}^{-I\mathrm{\Omega }}{\mathrm{\Psi }}_{3}$

${\mathrm{\Psi }}_{4}^{\text{'}}=\frac{{ⅇ}^{-2I\mathrm{\Omega }}{\mathrm{\Psi }}_{4}}{{A}^{2}}$

Examples

 > $\mathrm{with}\left(\mathrm{Physics}\right):$$\mathrm{with}\left(\mathrm{Tetrads}\right)$
 ${}\mathrm{_______________________________________________________}$
 $\mathrm{Setting}\mathrm{lowercaselatin_ah}\mathrm{letters to represent}\mathrm{tetrad}\mathrm{indices}$
 $\mathrm{Defined as tetrad tensors}\left(\mathrm{see ?Physics,tetrads}\right),{𝔢}_{a,\mathrm{\mu }},{\mathrm{\eta }}_{a,b},{\mathrm{\gamma }}_{a,b,c},{\mathrm{\lambda }}_{a,b,c}$
 $\mathrm{Defined as spacetime tensors representing the NP null vectors of the tetrad formalism}\left(\mathrm{see ?Physics,tetrads}\right):\left(\mathrm{see ?Physics,tetrads}\right),{l}_{\mathrm{\mu }},{n}_{\mathrm{\mu }},{m}_{\mathrm{\mu }},{\stackrel{&conjugate0;}{m}}_{\mathrm{\mu }}$
 ${}\mathrm{_______________________________________________________}$
 $\left[{\mathrm{IsTetrad}}{,}{\mathrm{NullTetrad}}{,}{\mathrm{OrthonormalTetrad}}{,}{\mathrm{PetrovType}}{,}{\mathrm{SegreType}}{,}{\mathrm{TransformTetrad}}{,}{\mathrm{e_}}{,}{\mathrm{eta_}}{,}{\mathrm{gamma_}}{,}{\mathrm{l_}}{,}{\mathrm{lambda_}}{,}{\mathrm{m_}}{,}{\mathrm{mb_}}{,}{\mathrm{n_}}\right]$ (1)
 > $\mathrm{Setup}\left(\mathrm{mathematicalnotation}=\mathrm{true}\right)$
 $\left[{\mathrm{mathematicalnotation}}{=}{\mathrm{true}}\right]$ (2)

Load the Schwarzschild metric in spherical coordinates; you can input g_[Schwarzschild] or the simpler

 > ${\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{_______________________________________________________}$
 ${{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}\frac{r}{-r+2{}m}& 0& 0& 0\\ 0& -{r}^{2}& 0& 0\\ 0& 0& -{r}^{2}{}{\mathrm{sin}{}\left(\mathrm{θ}\right)}^{2}& 0\\ 0& 0& 0& \frac{r-2{}m}{r}\end{array}\right]\right)$ (3)

An orthonormal tetrad (this is the one used by default) is

 > ${\mathrm{e_}}_{[]}$
 ${{\mathrm{e_}}}_{{a}{,}{\mathrm{μ}}}{=}\left(\left[\begin{array}{cccc}-\frac{I{}\sqrt{r}}{\sqrt{-r+2{}m}}& 0& 0& 0\\ 0& r& 0& 0\\ 0& 0& r{}\mathrm{sin}{}\left(\mathrm{θ}\right)& 0\\ 0& 0& 0& -\frac{I{}\sqrt{-r+2{}m}}{\sqrt{r}}\end{array}\right]\right)$ (4)

The key observation here is that the orientation of the axis of the local system of references (the tetrad system) is arbitrary and with them the values of the Weyl scalars too. So, you can perform a Lorentz transformation on the tetrad, without changing the spacetime metric g_, while fixing the values of the Weyl scalars in one of the possible forms (classes) shown in the table in the description. Two spacetime metrics with different classification cannot be different coordinate representations of the same metric (if the classification is the same the question is still undecided). This Petrov classification is however not applicable when the spacetime is conformally flat so that all the Weyl scalars are equal to 0. In this case the Segre classification of the Ricci tensor plays a role equivalent to the Petrov classification in the non-conformally flat cases. In this framework the ability to perform transformations of the tetrad (i.e. of the orientation of the axis of the tetrad system) to fix the Weyl or Ricci scalars is key to discuss the equivalence problem between two metrics.

The transformations that you can perform with TransformTetrad are either the standard ones, of classes I, II or III specified in the description, or arbitrary. For example, transform the orthonormal tetrad above using a null rotation with fixed l_, where l_ and the related NULL vectors of the Newman-Penrose formalism (commands of the Tetrads package) satisfy

 > ${\mathrm{l_}}_{\mathrm{definition}}$
 ${{l}}_{{\mathrm{\mu }}}{}{{l}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}}^{\phantom{{}}{\mathrm{\mu }}}{=}{0}{,}{{l}}_{{\mathrm{\mu }}}{}{{n}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}}^{\phantom{{}}{\mathrm{\mu }}}{=}{1}{,}{{l}}_{{\mathrm{\mu }}}{}{{m}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}}^{\phantom{{}}{\mathrm{\mu }}}{=}{0}{,}{{l}}_{{\mathrm{\mu }}}{}{\stackrel{{&conjugate0;}}{{m}}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}}^{\phantom{{}}{\mathrm{\mu }}}{=}{0}{,}{{g}}_{{\mathrm{\mu }}{,}{\mathrm{\nu }}}{=}{{l}}_{{\mathrm{\mu }}}{}{{n}}_{{\mathrm{\nu }}}{+}{{l}}_{{\mathrm{\nu }}}{}{{n}}_{{\mathrm{\mu }}}{-}{{m}}_{{\mathrm{\mu }}}{}{\stackrel{{&conjugate0;}}{{m}}}_{{\mathrm{\nu }}}{-}{{m}}_{{\mathrm{\nu }}}{}{\stackrel{{&conjugate0;}}{{m}}}_{{\mathrm{\mu }}}$ (5)
 > $\mathrm{TransformTetrad}\left(\mathrm{nullrotationwithfixedl_}\right)$
 $\left[\begin{array}{cccc}\frac{1}{2}{}\frac{\stackrel{&conjugate0;}{E}{}\sqrt{2}{}\sqrt{r}}{\sqrt{-r+2{}m}}& \frac{1}{2}{}I{}\sqrt{2}{}r& \frac{1}{2}{}\sqrt{2}{}r{}\mathrm{sin}{}\left(\mathrm{θ}\right)& \frac{1}{2}{}\frac{\stackrel{&conjugate0;}{E}{}\sqrt{2}{}\sqrt{-r+2{}m}}{\sqrt{r}}\\ \frac{1}{2}{}\frac{\sqrt{2}{}\sqrt{r}}{\sqrt{-r+2{}m}}& 0& 0& \frac{1}{2}{}\frac{\sqrt{2}{}\sqrt{-r+2{}m}}{\sqrt{r}}\\ \frac{1}{2}{}\frac{\sqrt{2}{}\sqrt{r}{}\left(E{}\stackrel{&conjugate0;}{E}-1\right)}{\sqrt{-r+2{}m}}& \frac{1}{2}{}I{}\sqrt{2}{}r{}\left(E+\stackrel{&conjugate0;}{E}\right)& \frac{1}{2}{}\sqrt{2}{}\mathrm{sin}{}\left(\mathrm{θ}\right){}r{}\left(E-\stackrel{&conjugate0;}{E}\right)& \frac{1}{2}{}\frac{\sqrt{2}{}\sqrt{-r+2{}m}{}\left(E{}\stackrel{&conjugate0;}{E}+1\right)}{\sqrt{r}}\\ \frac{1}{2}{}\frac{E{}\sqrt{2}{}\sqrt{r}}{\sqrt{-r+2{}m}}& \frac{1}{2}{}I{}\sqrt{2}{}r& -\frac{1}{2}{}\sqrt{2}{}r{}\mathrm{sin}{}\left(\mathrm{θ}\right)& \frac{1}{2}{}\frac{E{}\sqrt{2}{}\sqrt{-r+2{}m}}{\sqrt{r}}\end{array}\right]$ (6)

Note the transformation parameter E introduced by TransformTetrad. You can replace it by a value (see subs and eval) or assign it, or you may want to Assume that this parameter is, for instance, real

 > $\mathrm{Assume}\left(E::\mathrm{real}\right)$
 $\left\{{E}{::}{\mathrm{real}}\right\}$ (7)
 > $\mathrm{map}\left(\mathrm{eval},\right)$
 $\left[\begin{array}{cccc}\frac{1}{2}{}\frac{E{}\sqrt{2}{}\sqrt{r}}{\sqrt{-r+2{}m}}& \frac{1}{2}{}I{}\sqrt{2}{}r& \frac{1}{2}{}\sqrt{2}{}r{}\mathrm{sin}{}\left(\mathrm{θ}\right)& \frac{1}{2}{}\frac{E{}\sqrt{2}{}\sqrt{-r+2{}m}}{\sqrt{r}}\\ \frac{1}{2}{}\frac{\sqrt{2}{}\sqrt{r}}{\sqrt{-r+2{}m}}& 0& 0& \frac{1}{2}{}\frac{\sqrt{2}{}\sqrt{-r+2{}m}}{\sqrt{r}}\\ \frac{1}{2}{}\frac{\sqrt{2}{}\sqrt{r}{}\left({E}^{2}-1\right)}{\sqrt{-r+2{}m}}& I{}E{}\sqrt{2}{}r& 0& \frac{1}{2}{}\frac{\sqrt{2}{}\sqrt{-r+2{}m}{}\left({E}^{2}+1\right)}{\sqrt{r}}\\ \frac{1}{2}{}\frac{E{}\sqrt{2}{}\sqrt{r}}{\sqrt{-r+2{}m}}& \frac{1}{2}{}I{}\sqrt{2}{}r& -\frac{1}{2}{}\sqrt{2}{}r{}\mathrm{sin}{}\left(\mathrm{θ}\right)& \frac{1}{2}{}\frac{E{}\sqrt{2}{}\sqrt{-r+2{}m}}{\sqrt{r}}\end{array}\right]$ (8)

Now is this a tetrad? Of what type?

 > $\mathrm{IsTetrad}\left(\right)$
 $\mathrm{Type of tetrad:}\mathrm{null}$
 ${\mathrm{true}}$ (9)

Although the transformation is always applied on a null tetrad (either a null form of e_ set using Setup, or derived null tetrad derived from e_ when it is of orthonormal type), and the transformed tetrad is always a null tetrad, depending on the case it is more convenient to work with an orthonormal tetrad. To transform the returned null tetrad into an orthonormal one, or the other way around, you can use the OrthonormalTetrad and NullTetrad commands.

TransformTetrad applies a transformation on a tetrad but does not set the value of e_ to this result. For that purpose, i.e. to effectively rotate the tetrad system of references to match the orientation/tetrad you want, use Setup

 > $\mathrm{Setup}\left(\mathrm{e_}=\right)$
 $\left[{\mathrm{tetrad}}{=}\left\{\left({1}{,}{1}\right){=}\frac{{E}{}\sqrt{{2}}{}\sqrt{{r}}}{{2}{}\sqrt{{-}{r}{+}{2}{}{m}}}{,}\left({1}{,}{2}\right){=}\frac{{I}}{{2}}{}\sqrt{{2}}{}{r}{,}\left({1}{,}{3}\right){=}\frac{\sqrt{{2}}{}{r}{}{\mathrm{sin}}{}\left({\mathrm{\theta }}\right)}{{2}}{,}\left({1}{,}{4}\right){=}\frac{{E}{}\sqrt{{2}}{}\sqrt{{-}{r}{+}{2}{}{m}}}{{2}{}\sqrt{{r}}}{,}\left({2}{,}{1}\right){=}\frac{\sqrt{{2}}{}\sqrt{{r}}}{{2}{}\sqrt{{-}{r}{+}{2}{}{m}}}{,}\left({2}{,}{4}\right){=}\frac{\sqrt{{2}}{}\sqrt{{-}{r}{+}{2}{}{m}}}{{2}{}\sqrt{{r}}}{,}\left({3}{,}{1}\right){=}\frac{\sqrt{{2}}{}\sqrt{{r}}{}\left({{E}}^{{2}}{-}{1}\right)}{{2}{}\sqrt{{-}{r}{+}{2}{}{m}}}{,}\left({3}{,}{2}\right){=}{I}{}{E}{}\sqrt{{2}}{}{r}{,}\left({3}{,}{4}\right){=}\frac{\sqrt{{2}}{}\sqrt{{-}{r}{+}{2}{}{m}}{}\left({{E}}^{{2}}{+}{1}\right)}{{2}{}\sqrt{{r}}}{,}\left({4}{,}{1}\right){=}\frac{{E}{}\sqrt{{2}}{}\sqrt{{r}}}{{2}{}\sqrt{{-}{r}{+}{2}{}{m}}}{,}\left({4}{,}{2}\right){=}\frac{{I}}{{2}}{}\sqrt{{2}}{}{r}{,}\left({4}{,}{3}\right){=}{-}\frac{\sqrt{{2}}{}{r}{}{\mathrm{sin}}{}\left({\mathrm{\theta }}\right)}{{2}}{,}\left({4}{,}{4}\right){=}\frac{{E}{}\sqrt{{2}}{}\sqrt{{-}{r}{+}{2}{}{m}}}{{2}{}\sqrt{{r}}}\right\}\right]$ (10)

Following this reorientation of the tetrad, all the components of tensors in the local (tetrad) system of references, as for instance gamma_, lambda_ and the tetrad components of spacetime tensors, automatically change. For example, the Ricci rotation coefficients gamma_ follow this change of value of the components of $\mathrm{𝔢__a,μ}$ according to their definition

 > ${\mathrm{gamma_}}_{\mathrm{definition}}$
 ${{\mathrm{\gamma }}}_{{a}{,}{b}{,}{c}}{=}{{▿}}_{{\mathrm{\nu }}}{}\left({{𝔢}}_{{a}{,}{\mathrm{\mu }}}\right){}{{𝔢}}_{{b}\phantom{{\mathrm{\mu }}}}^{\phantom{{b}}{\mathrm{\mu }}}{}{{𝔢}}_{{c}\phantom{{\mathrm{\nu }}}}^{\phantom{{c}}{\mathrm{\nu }}}$ (11)

As mentioned, transforming the tetrad is a relevant step towards resolving the equivalence between two metrics in that it permits fixing the Weyl and Ricci scalars in different ways depending on the classification of the spacetime. The key step in that process is transforming the tetrad into a canonical form as explained in the description. The required transformation is derived and performed automatically by TransformTetrad when you pass the canonicalform optional argument. Consider for instance the metric with number [12, 8, 1] from the database of solutions to Einstein's equations

 > ${\mathrm{g_}}_{\left[12,8,1\right]}$
 ${\mathbit{Warning, a representation for the Dirac matrices is only implemented for an Euclidean or Minkowski spacetime; removing the previous \text{'}}}{\mathbit{standard}}{\mathbit{\text{'} representaton}}$
 ${}\mathrm{_______________________________________________________}$
 ${}\mathrm{Systems of spacetime coordinates are:}{}\left\{X=\left(t{,}x{,}y{,}z\right)\right\}$
 ${}\mathrm{Default differentiation variables for d_, D_ and dAlembertian are:}{}\left\{X=\left(t{,}x{,}y{,}z\right)\right\}$
 $\mathrm{The}\left[t{,}x{,}y{,}z\right]\mathrm{metric in coordinates %2}$
 $\mathrm{Parameters:}\left[A{,}B\right]$
 $\mathrm{Comments:}cosmological constant = 1/B^2 = 1/A^2, k = 1, kprimⅇ = 1$
 $\mathrm{Resetting the signature of spacetime from}\left(\mathrm{- - - +}\right)\mathrm{to}\left(\mathrm{- + + +}\right)\mathrm{in order to match the signature in the database of metrics}$
 ${}\mathrm{_______________________________________________________}$
 ${{\mathrm{g_}}}_{{\mathrm{μ}}{,}{\mathrm{ν}}}{=}\left(\left[\begin{array}{cccc}-{B}^{2}{}{\mathrm{sin}{}\left(z\right)}^{2}& 0& 0& 0\\ 0& {A}^{2}& 0& 0\\ 0& 0& {A}^{2}{}{\mathrm{sin}{}\left(x\right)}^{2}& 0\\ 0& 0& 0& {B}^{2}\end{array}\right]\right)$ (12)

For the sake of simplicity let's assume that x and z are such that their sin is in the first quadrant

 > $\mathrm{Assume}\left(0
 $\left\{{x}{::}\left({0}{,}\frac{{\mathrm{\pi }}}{{2}}\right]\right\}{,}\left\{{z}{::}\left({0}{,}\frac{{\mathrm{\pi }}}{{2}}\right]\right\}$ (13)

The PetrovType and SegreType are

 > $\mathrm{PetrovType}\left(\right)$
 ${"D"}$ (14)
 > $\mathrm{SegreType}\left(\right)$
 ${"D"}{,}{"\left[\left(1,1\right)\left(11\right)\right]"}$ (15)

Recalling that these two classifications are invariant under Lorentz rotations of the tetrad, the possible equivalence of some other metric to this one with number [12, 8, 1] requires that

 a) the other metric has the same classification (the Segre classification is necessary only when the Petrov type is "O")
 b) a transformation of the spacetime coordinates (that you can perform with TransformCoordinates) exists and transforms one set of scalars into the other one

When a) is satisfied, the first step in b), the search for an appropriate transformation of the spacetime coordinates, is to look at the Weyl (or Ricci when the Petrov type is "O") scalars in canonical form.

For metrics with Petrov type "D" as in this example, the canonical form of the Weyl scalars only have ${\mathrm{\Psi }}_{2}\ne 0$ which still has a residual invariance under transformations of Class III. So check the value of these scalars related to this (default) value of e_

 > ${\mathrm{e_}}_{[]}$
 ${{\mathrm{e_}}}_{{a}{,}{\mathrm{μ}}}{=}\left(\left[\begin{array}{cccc}\frac{1}{2}{}\sqrt{2}{}\mathrm{sin}{}\left(z\right){}B& \frac{1}{2}{}\sqrt{2}{}A& 0& 0\\ \frac{1}{2}{}\sqrt{2}{}\mathrm{sin}{}\left(z\right){}B& -\frac{1}{2}{}\sqrt{2}{}A& 0& 0\\ 0& 0& \frac{1}{2}{}\sqrt{2}{}\mathrm{sin}{}\left(x\right){}A& \frac{1}{2}{}I{}\sqrt{2}{}B\\ 0& 0& \frac{1}{2}{}\sqrt{2}{}\mathrm{sin}{}\left(x\right){}A& -\frac{1}{2}{}I{}\sqrt{2}{}B\end{array}\right]\right)$ (16)

Recalling, these scalars are related to the tetrad in that their definition is in terms of the null vectors of the Newman-Penrose formalism, that in turn are the rows of the null tetrad above

 > ${\mathrm{Weyl}}_{\mathrm{scalarsdefinition}}$
 $\mathrm{ψ__0}{=}{{C}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}\phantom{{,}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\beta }}}}^{\phantom{{}}{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{}{{l}}_{{\mathrm{\mu }}}{}{{m}}_{{\mathrm{\nu }}}{}{{l}}_{{\mathrm{\alpha }}}{}{{m}}_{{\mathrm{\beta }}}{,}\mathrm{ψ__1}{=}{{C}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}\phantom{{,}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\beta }}}}^{\phantom{{}}{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{}{{l}}_{{\mathrm{\mu }}}{}{{n}}_{{\mathrm{\nu }}}{}{{l}}_{{\mathrm{\alpha }}}{}{{m}}_{{\mathrm{\beta }}}{,}\mathrm{ψ__2}{=}{{C}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}\phantom{{,}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\beta }}}}^{\phantom{{}}{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{}{{l}}_{{\mathrm{\mu }}}{}{{m}}_{{\mathrm{\nu }}}{}{\stackrel{{&conjugate0;}}{{m}}}_{{\mathrm{\alpha }}}{}{{n}}_{{\mathrm{\beta }}}{,}\mathrm{ψ__3}{=}{{C}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}\phantom{{,}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\beta }}}}^{\phantom{{}}{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{}{{l}}_{{\mathrm{\mu }}}{}{{n}}_{{\mathrm{\nu }}}{}{\stackrel{{&conjugate0;}}{{m}}}_{{\mathrm{\alpha }}}{}{{n}}_{{\mathrm{\beta }}}{,}\mathrm{ψ__4}{=}{{C}}_{\phantom{{}}\phantom{{\mathrm{\mu }}}\phantom{{,}}\phantom{{\mathrm{\nu }}}\phantom{{,}}\phantom{{\mathrm{\alpha }}}\phantom{{,}}\phantom{{\mathrm{\beta }}}}^{\phantom{{}}{\mathrm{\mu }}{,}{\mathrm{\nu }}{,}{\mathrm{\alpha }}{,}{\mathrm{\beta }}}{}{{n}}_{{\mathrm{\mu }}}{}{\stackrel{{&conjugate0;}}{{m}}}_{{\mathrm{\nu }}}{}{{n}}_{{\mathrm{\alpha }}}{}{\stackrel{{&conjugate0;}}{{m}}}_{{\mathrm{\beta }}}$ (17)
 > ${\mathrm{l_}}_{[]}$
 ${{\mathrm{l_}}}_{{\mathrm{μ}}}{=}\left(\left[\begin{array}{cccc}\frac{1}{2}{}\sqrt{2}{}\mathrm{sin}{}\left(z\right){}B& \frac{1}{2}{}\sqrt{2}{}A& 0& 0\end{array}\right]\right)$ (18)
 > ${\mathrm{n_}}_{[]}$
 ${{\mathrm{n_}}}_{{\mathrm{μ}}}{=}\left(\left[\begin{array}{cccc}\frac{1}{2}{}\sqrt{2}{}\mathrm{sin}{}\left(z\right){}B& -\frac{1}{2}{}\sqrt{2}{}A& 0& 0\end{array}\right]\right)$ (19)
 > ${\mathrm{m_}}_{[]}$
 ${{\mathrm{m_}}}_{{\mathrm{μ}}}{=}\left(\left[\begin{array}{cccc}0& 0& \frac{1}{2}{}\sqrt{2}{}\mathrm{sin}{}\left(x\right){}A& \frac{1}{2}{}I{}\sqrt{2}{}B\end{array}\right]\right)$ (20)
 > ${\mathrm{mb_}}_{[]}$
 ${{\mathrm{mb_}}}_{{\mathrm{μ}}}{=}\left(\left[\begin{array}{cccc}0& 0& \frac{1}{2}{}\sqrt{2}{}\mathrm{sin}{}\left(x\right){}A& -\frac{1}{2}{}I{}\sqrt{2}{}B\end{array}\right]\right)$ (21)
 > ${\mathrm{Weyl}}_{\mathrm{scalars}}$
 $\mathrm{ψ__0}{=}\frac{{{A}}^{{2}}{+}{{B}}^{{2}}}{{4}{}{{B}}^{{2}}{}{{A}}^{{2}}}{,}\mathrm{ψ__1}{=}{0}{,}\mathrm{ψ__2}{=}\frac{{{A}}^{{2}}{+}{{B}}^{{2}}}{{12}{}{{B}}^{{2}}{}{{A}}^{{2}}}{,}\mathrm{ψ__3}{=}{0}{,}\mathrm{ψ__4}{=}\frac{{{A}}^{{2}}{+}{{B}}^{{2}}}{{4}{}{{B}}^{{2}}{}{{A}}^{{2}}}$ (22)

We see in the result above that these scalars are not in canonical form. To get them in canonical form, compute a canonical form for the tetrad

 > $\mathrm{TransformTetrad}\left(\mathrm{canonicalform}\right)$
 $\left[\right]$