FeynCalc / feyncalc

Mathematica package for algebraic calculations in elementary particle physics.
https://feyncalc.github.io
GNU General Public License v3.0
309 stars 87 forks source link

ExpandPartialD messes up products of fields with Dirac indices #187

Closed vsht closed 1 year ago

vsht commented 2 years ago

This code is not really compatible with fermion fields:

https://github.com/FeynCalc/feyncalc/blob/ca803c11325273e39ee1fecb951c6bd9866e74c2/FeynCalc/Feynman/ExpandPartialD.m#L266-L270

Ideas: Check for Dirac indices, introduce dedicated DataTypes