Problem with RiemannSimplify

124 views
Skip to first unread message

Sukruti

unread,
Feb 2, 2025, 9:57:57 AMFeb 2
to xAct Tensor Computer Algebra
Hello,

The command RiemannSimplify works for some terms but not for others. The attached notebook can be seen for some examples. I have the following two questions.

1) How to know in general which kind of terms it works for and which ones it doesn't work for?

2) Is there any indirect way to make it work for the terms which it doesn't work for in the first, direct attempt?

Best,
Sukruti
Problem with RiemannSimplify.nb

Jose

unread,
Feb 3, 2025, 1:30:02 PMFeb 3
to xAct Tensor Computer Algebra
Hi,

The Invar package requires a particular value of some of the configuration settings. If you just load Invar then note these messages:

<< xAct`Invar`
.......
** Option AllowUpperDerivatives of ContractMetric changed from False to True
** Option CurvatureRelations of DefCovD changed from True to False
** Variable $CommuteCovDsOnScalars changed from True to False

where I've removed all other uninteresting (for our purpose) messages.

But your notebook loads xTras, which undoes one of these settings:

<<xAct`xTras`
.......
** Option CurvatureRelations of DefCovD changed from False to True

and then I see your notebook is undoing another one:

In[]:= $CommuteCovDsOnScalars = True
Out[]= True

Those two things effectively break some of the cases of Invar, as you have found.

CurvatureRelations -> True is what makes contractions of Riemann become Ricci, etc. Invar wants to see only Riemann tensors.

So, either you work with only Invar, without loading xTras, or you set CurvatureRelations -> False in your call to DefMetric. And don't change the value of $CommuteCovDsOnScalars.'

Cheers,
Jose.

Sukruti

unread,
Feb 6, 2025, 9:27:45 AMFeb 6
to xAct Tensor Computer Algebra
Dear Jose,

Thank you for explaining what the issue was. I tried your suggestions and both of them worked. This was very helpful.

Many thanks!

Cheers
Sukruti

Sukruti

unread,
Mar 4, 2025, 7:03:17 AMMar 4
to xAct Tensor Computer Algebra
Problem with RiemannSimplify 2.nb

Barry Wardell

unread,
Mar 5, 2025, 6:25:49 AMMar 5
to Sukruti, xAct Tensor Computer Algebra
Hi Sukruti,

Currently TInvar only supports dual invariants (involving the epsilon tensor) for scalars, the database of identities has not yet been produces for dual invariants with free indices. This may be addressed in a future version.

Regards,
Barry

--
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+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xact/a1b2aeb1-f477-4a5e-9bd0-3df22f964989n%40googlegroups.com.

Sukruti

unread,
Jul 16, 2025, 11:51:10 AMJul 16
to xAct Tensor Computer Algebra
Hi Barry,

Thank you for your reply.

If possible, I’d like to sign up for a notification in case TInvar extends its support for dual invariants involving the Levi-Civita tensor in the future. I’m not sure whether such a notification system exists. If not, I’d be very grateful if you could kindly reply to this email when the update happens.

Many thanks!

Best,
Sukruti
Reply all
Reply to author
Forward
0 new messages