Using of AutomaticRules for Transversality

57 views
Skip to first unread message

Ali rezaie

unread,
Nov 21, 2017, 10:39:40 AM11/21/17
to xAct Tensor Computer Algebra
I am trying to use AutomaticRules to cancel the Transverse terms from my ansatz, I mean terms like(\partial_a A^{a,b} =0 ).
it does not work properly and does not omit terms like \partial_a \partial_d A^{a,b}. and the same.
I am writing in this way:

 AutomaticRules[H, MakeRule[{CD[-a]@H[a, b], 0}]] 
How can I resolve this problem?
Tell me to attach if it is needed.
Many many thanks, friends.
Ali



Leo Stein

unread,
Nov 22, 2017, 12:34:05 AM11/22/17
to Ali rezaie, xAct Tensor Computer Algebra
Dear Ali,

xTensor is not automatically commuting the derivatives for you—you have to ask it do that, if you want it to. You can manually ask it with CommuteCovDs (to guide Mma step-by-step) or CommuteCovDs (to put the derivatives into a 'canonical' order).

You can imagine why this would be important with a non-flat connection: modifying your example, if we start with ∇_a ∇_d A^{ab}, we should commute covariant derivatives, which introduces Riemann terms; and then the div(A) term will vanish.

Anyway, to get the correct Riemann terms, you should commute covariant derivatives which are contracted onto A as far in as possible. That was discussed in a thread on the mailing list long ago here, and Teake has included it into xTras as the function SortCovDsToDiv.

So, you can impose the divergence-free condition on tensors and get the Riemann terms correct by using SortCovDsToDiv, and then letting your AutomaticRules act to annihilate the divergence terms.

Best,
Leo

--
You received this message because you are subscribed to the Google Groups "xAct Tensor Computer Algebra" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xact+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages