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

young_project_tensor

Project tensors with their Young projector.
Project tensors with their Young projection operator. This works for simple symmetric or anti-symmetric objects, as in
A_{m n}::Symmetric. ex:= A_{m n} A_{m p};
AmnAmp
young_project_tensor(_);
(12Amn+12Anm)(12Amp+12Apm)
but more generically works for any tensor which has a TableauSymmetry property attached to it.
A_{m n p}::TableauSymmetry(shape={2,1}, indices={0,2,1}). ex:= A_{m n p};
Amnp
young_project_tensor(_);
13Amnp+13Apnm13Anmp13Apmn
When the parameters modulo_monoterm is set to True, the resulting expression will be simplified using the monoterm symmetries of the tensor,
A_{m n p}::TableauSymmetry(shape={2,1}, indices={0,2,1}). ex:= A_{m n p};
Amnp
young_project_tensor(_, modulo_monoterm=True);
23Amnp13Anpm+13Ampn
(in this example, the tensor is anti-symmetric in the indices 0 and 1, hence the simplification compared to the previous example).
Copyright © 2001-2024 Kasper Peeters
Questions? info@cadabra.science