Question on Evaluation of Long Expressions with FermionSpinSum #196
-
Hi, I am trying to calculate a 2->3 body Feynman diagram at tree level. The amplitude contains a Rarita Schwinger propagator, a Proca Propagator, three couplings and 4 spinors:
with:
For evaluating such an expression i use:
where the two rules are for inserting the kinematics(thus irrelevant for the discussion). My question is what is the correct way to write the amplitude in order to be evaluated by Another Amplitude that fails to give the correct result but is evaluated must faster is:
with:
This code part is used to recreate an already known result though my question is on what the correct syntax is. I have used the same P.S. I am using mathematica 12.2 and FeynCalc 9.3.1 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, this looks like a quite complicated expression with lots of custom functions. I don't see any immediate issues with it, but if it doesn't evaluate to what you expect, you'll have to disentangle it into small blocks (e.g. using I would also evaluate it directly (not inside a Module) to avoid possible variable shadowings. |
Beta Was this translation helpful? Give feedback.
Hi,
this looks like a quite complicated expression with lots of custom functions.
I don't see any immediate issues with it, but if it doesn't evaluate to what you expect, you'll have to disentangle it into small blocks (e.g. using
DotSimplify
andCollect2
) and check them one by one until you find the error (or a bug).I would also evaluate it directly (not inside a Module) to avoid possible variable shadowings.