Possible bug in xPert?

6 views
Skip to first unread message

James Kwon

unread,
Nov 8, 2025, 3:35:56 PM (2 days ago) Nov 8
to xAct Tensor Computer Algebra
Hello,

In the lines below, I take Lie derivatives of the perturbed Sqrt[-Detg[]]. The following two lines are giving me different results, which should give me the same result as the top. The difference is whether I put ExpandPerturbation before or after LieDToCovD. Is this a possible bug?

ToCanonical[
ContractMetric[
LieDToCovD[
ExpandPerturbation@LieD[v[a]][Perturbation[Sqrt[-Detg[]], 1]], CD]]/
Sqrt[-Detg[]]]

ToCanonical[
ContractMetric[
ExpandPerturbation@
LieDToCovD[LieD[v[a]][Perturbation[Sqrt[-Detg[]], 1]], CD]]/
Sqrt[-Detg[]]]

Thank you!
bug_question.nb
Reply all
Reply to author
Forward
0 new messages