[GiNaC-list] question about lorentz_g contract with sy_anti tensor

Feng Feng F.Feng at outlook.com
Sat May 25 16:57:54 CEST 2019

Thanks very for the reply.

and I have tried the suggestion, i.e., using the following expression:

auto ret = indexed(A, sy_anti(0,1,2,3), ia,ib,ic,id) * lorentz_g(ic, id.toggle_variance());

but I got something like: -delta.d~c*A~d~a~b~c, still a non-zero result.

BTW, if c’s variance is not toggled in lorentz_g,

      then these two dummy index c’s variance is not matched, and is that allowed?

Thanks again!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20190525/e0af7df0/attachment.html>

More information about the GiNaC-list mailing list