Transverse Traceless Gauge Sometimes Works

52 views
Skip to first unread message

Alex Cassem

unread,
Dec 11, 2024, 12:29:17 PM12/11/24
to xAct Tensor Computer Algebra
Hello.

I am trying to implement the transverse-traceless gauge on metric perturbations and I can get it to work sometimes only if I have a specific order of operations. 

If I first perturb the equations of motion, and then implement an automatic rule

AutomaticRules[metpert,
 MakeRule[{CD[-a]@metpert[LI[1], a, b], 0}, MetricOn -> All,
  PatternIndices -> All]]

but also at the end of the expression flip covariant derivatives via 

/. {CD[a_][CD[b_][expr_]] :> CD[b][CD[a][expr]]}

I get the right answer but I think it is only by luck since a more careful way, I would assume, would be to use the SortCovDs[] command, but I am unsure how to implement this. I attached an example notebook of showing how this works. (Since I want to work with more complicated systems of course). 

Any help is appreciated, thanks.

Alex. 
gauged einstein hilbert example.nb

Ilham Prasetyo

unread,
Dec 12, 2024, 1:44:07 AM12/12/24
to xAct Tensor Computer Algebra
You can use SortCovDs in the definition when doing the perturbation before doing ToCanonical

Collect[ContractMetric[ExpandBackground[einsteinhilbereom, 1]] //
    SortCovDs // ToCanonical, {alpha, beta,
   kappa}] /. {metpert[LI[1], _, -_] -> 0, metpert[LI[1], -_, _] -> 0}

Hope this helps.

Ilham

Reply all
Reply to author
Forward
0 new messages