Identity missing in TInvar?

130 views
Skip to first unread message

Sukruti

unread,
May 15, 2025, 2:23:28 AMMay 15
to xAct Tensor Computer Algebra
Hello,

Identity (3.6) from the attached article 'Normal forms for tensor polynomials. I. The Riemann tensor', is not getting implemented by FullSimplification[] or RiemannSimplify (using the package TInvar). I first tried to simplify the expression using FullSimplification[] in the notebook 'Weyl Identity' and then using RiemannSimplify in 'RiemSimp Weyl Identity'. Neither gave 0.

Is the identity missing from TInvar and Invar?

Best,
Sukruti
Normal forms for tensor polynomials.pdf
RiemSimp Weyl Identity.nb
Weyl Identity.nb

Barry Wardell

unread,
May 16, 2025, 1:52:35 PMMay 16
to Sukruti, xAct Tensor Computer Algebra
Hi Sukruti,

That particular identity is dimension dependent and applies only in 4D and below. Dimension-dependent identities are not yet implemented in TInvar. The original Invar did include identities that apply in dimension 4, but those are only for scalars and Eq. (3.6) has free indices so is not included.

It would be possible to include dimension-dependent identities, but as far as I recall there is some extra complexity to this that has not been addressed yet.

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/5385864f-4f17-4790-bc9a-fb11f63e6badn%40googlegroups.com.

Teake Nutma

unread,
May 19, 2025, 3:27:38 AMMay 19
to xAct Tensor Computer Algebra
Hi,

For what it's worth, it is possible to construct all dimensional dependent identities (DDIs), including equation 3.6 of Fulling et. al., with xTras' ConstructDDIs. The tutorial for the Gauss-Bonnet term shows how to proof that certain terms are zero when DDIs are taken into account, and it just so happens to use eq. 3.6 of Fulling et. al. (although in terms of Riemann tensors, not Weyl tensors).

However, showing that certain combinations are zero is easier than canonicalizing expressions like TInvar does. And I haven't yet analyzed how ConstructDDIs could play well nice with TInvar functionality. So depending on your use case, your mileage may vary.

Best,

Teake

Sukruti

unread,
May 22, 2025, 1:34:04 PMMay 22
to xAct Tensor Computer Algebra
DDI questions.nb

Teake Nutma

unread,
May 23, 2025, 1:38:06 PMMay 23
to xAct Tensor Computer Algebra
Hi Sukruti,

Yes you're right, ConstructDDIs needs at least 2(d+1) indices. But they can be freely chosen between the indices of the input expression and the free indices. You can for instance do the following in four dimensions:
```
ConstructDDIs[CD[-a]@CD[-b]@RiemannCD[-c, -d, -e, -f], {-a, -b, -c, -d}]
```
ConstructDDIs will give you all DDIs that come from over-antisymmetrization. I think there are no other kinds of DDIs, but I'm a little rusty on the topic so I'm happy to be proven wrong. 

Note that the DDIs returned by ConstructDDIs are not necessarily irreducible. Some are linear combinations of each other or identically zero when multi-term symmetries are taken into account. In case you're interested in how to systematically construct and eliminate DDIs, have a look at the notebook I've had uploaded along with https://arxiv.org/abs/1404.7452. While that paper is about a very specific subject, the methods in the notebook might be generic enough to suit your use case.

Best,

Teake

You received this message because you are subscribed to a topic in the Google Groups "xAct Tensor Computer Algebra" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/xact/QhPXZ42gANE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to xact+uns...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/xact/87f69173-fa3d-4b5f-9f06-71c8fa89a6b0n%40googlegroups.com.

Sukruti

unread,
May 27, 2025, 12:34:14 PMMay 27
to xAct Tensor Computer Algebra
Dear Teake,

Thanks for the explanations!

Going through the tutorial for the Gauss-Bonnet term which you shared earlier, I thought that the redundant DDIs can be eliminated using SolveTensors as shown there.

But now when I try to get independent DDIs which include the Levi-Civita tensor, I notice that SolveTensors is giving multiple DDIs for a given term, which are different from each other. The attached notebook shows the issue.

I tried tackling it using the command xAct`xTras`Private`DeleteDuplicateFactors@Flatten@TwoDerPreDDI1 which I found in the notebook attached to your article https://arxiv.org/abs/1404.7452. But it doesn't seem to help here.

Any suggestions how to solve this issue?

Best,
Sukruti
DDIs with Levi-Civita.nb

Teake Nutma

unread,
May 30, 2025, 11:53:30 AMMay 30
to xAct Tensor Computer Algebra
Hi Sukruti,

For the particular case in the Gauss-Bonnet xTras tutorial, SolveTensors can indeed be used to eliminate some dependent DDIs. But this is a coincidence (which unfortunately isn’t stressed the wording) and doesn’t work in the general case. The reason it works in the tutorial is because there all DDIs are symmetric in the free indices. In your notebook that’s not the case, and indeed you have DDIs where the free indices are just permutations of other DDIs. DeleteDuplicateFactors doesn’t help you there, since that only eliminates duplicates that differ by an overall constant.

ConstructDDIs is really for enumerating DDIs, not for generating an irreducible basis of DDIs. If you’re trying to achieve the latter, then I’m afraid there’s nothing in xTras or my own tool belt that helps towards that.

Best,


Teake

Sukruti

unread,
Jun 11, 2025, 12:02:40 PMJun 11
to xAct Tensor Computer Algebra
5Derivative DDIs.nb
Reply all
Reply to author
Forward
0 new messages