Loading [MathJax]/jax/output/HTML-CSS/jax.js
Cadabra
a field-theory motivated approach to computer algebra

reduce_delta

Simplify a self-contracted generalised delta.
Reduce a self-contracted generalised Kronecker delta symbol to a simpler expression without self-contractions, according to n!δa1anb1bnδb1a1δbmam=[mi=1(d(ni))](nm)!δam+1anbm+1bn. Here is an example:
\delta{#}::KroneckerDelta; {m,n,q}::Integer(0..3); ex:=\delta_{m}^{n}_{n}^{q};
Attached property KroneckerDelta to δ(#).
Attached property Integer to (m,n,q).
δmnnq
reduce_delta(_);
32δmq
Note that this requires that the indices on the Kronecker delta symbol also carry an Integer property to specify their range.
Copyright © 2001-2024 Kasper Peeters
Questions? info@cadabra.science