Processing math: 100%
Cadabra
a field-theory motivated approach to computer algebra

join_gamma

Work out the product of two generalised Dirac gamma matrices.
Join two fully anti-symmetrised gamma matrix products according to the expression Γb1bnΓa1am=min(n,m)p=0 n!m!(np)!(mp)!p!Γ[b1...bnp[ap+1...amηbnp+1...bn]a1...amp]. This is the opposite of split_gamma. Without further arguments, the anti-symmetrisations will be worked out explicitly (changed from v1). The setting the flag "expand" to false instead keeps them implicit. Compare
\Gamma{#}::GammaMatrix(metric=g). ex:= \Gamma_{m n} \Gamma_{p}; join_gamma(ex, expand=False);
ΓmnΓp
\Gamma_{m n} \Gamma_{p}
Γmnp+2Γmgnp
\Gamma_{m n p} + 2\Gamma_{m} g_{n p}
with
\Gamma{#}::GammaMatrix(metric=g). ex:= \Gamma_{m n} \Gamma_{p}; join_gamma(ex, expand=True);
ΓmnΓp
\Gamma_{m n} \Gamma_{p}
Γmnp+ΓmgnpΓngmp
\Gamma_{m n p} + \Gamma_{m} g_{n p}-\Gamma_{n} g_{m p}
Note that the gamma matrices need to have a metric associated to them in order for this algorithm to work.
In order to reduce the number of terms somewhat, one can instruct the algorithm to make use of generalised Kronecker delta symbols in the result; these symbols are defined as δr1s1r2s2rnsn=δ[r1s1δr2s2rn]sn. Anti-symmetrisation is implied in the set of even-numbered indices. The use of these symbols is triggered by the use_gendelta option,
{m,n,p,q}::Indices(position=fixed). \Gamma{#}::GammaMatrix(metric=\delta). ex:=\Gamma_{m n} \Gamma^{p q}; join_gamma(_, use_gendelta=True);
ΓmnΓpq
\Gamma_{m n} \Gamma^{p q}
Γmnpq+ΓmqδnpΓmpδnqΓnqδmp+Γnpδmq+2δnpmq
\Gamma_{m n}^{p q} + \Gamma_{m}^{q} \delta_{n}^{p}-\Gamma_{m}^{p} \delta_{n}^{q}-\Gamma_{n}^{q} \delta_{m}^{p} + \Gamma_{n}^{p} \delta_{m}^{q} + 2\delta_{n}^{p}_{m}^{q}
Copyright © 2001-2024 Kasper Peeters
Questions? info@cadabra.science