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

FCFADiracChainJoin failed with `Evaluation of isolated objects failed` error #143

Closed Turgon-Aran-Gondolin closed 2 years ago

Turgon-Aran-Gondolin commented 2 years ago
    { DiracChain[Spinor[-Momentum[InMom1], mqu, 1], 
    DiracIndex[Dir1]] DiracChain[Spinor[-Momentum[InMom2], mqu, 1], 
    DiracIndex[Dir2]] DiracChain[
    mqu + DiracGamma[Momentum[InMom2 - OutMom3]], DiracIndex[Dir5], 
    DiracIndex[Dir6]] DiracChain[
    DiracGamma[Momentum[-OutMom1 - OutMom2]] . 
     DiracGamma[LorentzIndex[Lor2]] . DiracGamma[7], DiracIndex[Dir5],
     DiracIndex[Dir1]] DiracChain[
    DiracGamma[LorentzIndex[Lor1]] . DiracGamma[7], DiracIndex[Dir2], 
    DiracIndex[Dir6]]} // FCFADiracChainJoin

This will produce a Error! FCFADiracChainJoin has encountered a fatal problem and must abort the computation. The problem reads: "Evaluation of isolated objects failed.". However, reduce the number of gamma matrice in the block (Dir5,Dir1) will produce a result:

   { DiracChain[Spinor[-Momentum[InMom1], mqu, 1], 
    DiracIndex[Dir1]] DiracChain[Spinor[-Momentum[InMom2], mqu, 1], 
    DiracIndex[Dir2]] DiracChain[
    mqu + DiracGamma[Momentum[InMom2 - OutMom3]], DiracIndex[Dir5], 
    DiracIndex[Dir6]] DiracChain[
    DiracGamma[LorentzIndex[Lor2]] . DiracGamma[7], DiracIndex[Dir5], 
    DiracIndex[Dir1]] DiracChain[
    DiracGamma[LorentzIndex[Lor1]] . DiracGamma[7], DiracIndex[Dir2], 
    DiracIndex[Dir6]]} // FCFADiracChainJoin
vsht commented 2 years ago

Thanks for the bug report. This should be now fixed.

Turgon-Aran-Gondolin commented 2 years ago

Thanks! It works for me now.

vsht commented 2 years ago

Thanks for the feedback.