Error Validate:Found inhomogeneous indices

285 views
Skip to first unread message

Nitol Attar

unread,
Aug 13, 2022, 2:51:41 AM8/13/22
to xAct Tensor Computer Algebra
Hi all,

While running the attached script, I am having the following error

Validate::inhom: Found inhomogeneous indices: {IndexList[-\[Rho], -\[Sigma]], IndexList[-\[Mu], -\[Rho], -\[Sigma]], IndexList[-\[Nu], -\[Rho], -\[Sigma]]}.

It seems to me I am doing it Okay. Could you please take a look and give me some feedback?

Thanks much.
dagnu.nb

Thomas Bäckdahl

unread,
Aug 13, 2022, 3:12:35 AM8/13/22
to xa...@googlegroups.com
Hi!

You forgot to define p1. You define p2, p3 and p4, but not p1.

When you get an error, try to isolate in which sub-expression it appears.
In your case it was in
\[CapitalGamma]h\[Phi]\[Phi][\[Mu], \[Nu], transfermom, p1, p2, transfermomsq, p1sq, p2sq]

The error messages can be difficult to understand.
When Validate tries to compare index structure in different terms, it is important to realize that it only looks for indices in objects that are defined as tensors.

Regards
Thomas
--
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 on the web visit https://groups.google.com/d/msgid/xact/f086565d-aa99-434f-b9cf-d287b4ae7370n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages