Welcome to Cadabra Q&A, where you can ask questions and receive answers from other members of the community.
+1 vote
\Gamma_{a b c d e f g h i j}::Weight(label=ten);
ex:=\Gamma_{a b c d e f g h i j} + f_{a b c d e f g h i j};
keep_weight(ex,$ten=1$);

produces \Gamma_{a b c d e f g h i j} which is expected.

But, if I tell Cadabra that \Gamma{#} means gammamatrix, I get the answer to be zero i.e.

\Gamma{#}::GammaMatrix;
\Gamma_{a b c d e f g h i j}::Weight(label=ten);
ex:=\Gamma_{a b c d e f g h i j} + f_{a b c d e f g h i j};
keep_weight(ex,$ten=1$);

This produce output zero.

Is this expected?

asked in Bug reports by (530 points)

1 Answer

+1 vote

This was fixed recently (I think the fix went into 2.2.0 but there may be a small improvement to that which is only on github at the moment). In any case, the current github version does this correctly.

answered by (54.1k points)
...