REDUCE

22.4 Trace Calculations

When a Dirac expression is evaluated, the system computes one quarter of the trace of each \(\gamma \) matrix product in the expansion of the expression. One quarter of each trace is taken in order to avoid confusion between the trace of the scalar m, say, and m representing m * \(\langle \)unit 4 by 4 matrix\(\rangle \). Contraction over indices occurring in such expressions is also performed. If an unmatched index is found in such an expression, an error occurs.

The algorithms used for trace calculations are the best available at the time this system was produced. For example, in addition to the algorithm developed by Chisholm for contracting indices in products of traces, REDUCE uses the elegant algorithm of Kahane for contracting indices in \(\gamma \) matrix products. These algorithms are described in [Chi63] and [Kah68].

It is possible to prevent the trace calculation over any line identifier by the declaration nospur. For example,

        nospur l1,l2;

will mean that no traces are taken of \(\gamma \) matrix terms involving the line numbers l1 and l2. However, in some calculations involving more than one line, a catastrophic error

        NOSPUR on more than one line not implemented

can occur (for the reason stated!) If you encounter this error, please let us know!

A trace of a \(\gamma \) matrix expression involving a line identifier which has been declared nospur may be later taken by making the declaration spur.

See also the CVIT package for an alternative mechanism (section D.2).


Hosted by Download REDUCE Powered by MathJax