= "El Ael -> El Ael, QED, matrix element squared, tree";
description If[ $FrontEnd === Null,
= False;
$FeynCalcStartupMessages Print[description];
];
If[ $Notebooks === False,
= False
$FeynCalcStartupMessages ];
= {"FeynArts"};
$LoadAddOns
<< FeynCalc`= 0;
$FAVerbose
[9, 3, 1]; FCCheckVersion
\text{FeynCalc }\;\text{10.0.0 (dev version, 2023-12-20 22:40:59 +01:00, dff3b835). For help, use the }\underline{\text{online} \;\text{documentation}}\;\text{, check out the }\underline{\text{wiki}}\;\text{ or visit the }\underline{\text{forum}.}
\text{Please check our }\underline{\text{FAQ}}\;\text{ for answers to some common FeynCalc questions and have a look at the supplied }\underline{\text{examples}.}
\text{If you use FeynCalc in your research, please evaluate FeynCalcHowToCite[] to learn how to cite this software.}
\text{Please keep in mind that the proper academic attribution of our work is crucial to ensure the future development of this package!}
\text{FeynArts }\;\text{3.11 (3 Aug 2020) patched for use with FeynCalc, for documentation see the }\underline{\text{manual}}\;\text{ or visit }\underline{\text{www}.\text{feynarts}.\text{de}.}
\text{If you use FeynArts in your research, please cite}
\text{ $\bullet $ T. Hahn, Comput. Phys. Commun., 140, 418-431, 2001, arXiv:hep-ph/0012260}
Nicer typesetting
MakeBoxes[p1, TraditionalForm] := "\!\(\*SubscriptBox[\(p\), \(1\)]\)";
MakeBoxes[p2, TraditionalForm] := "\!\(\*SubscriptBox[\(p\), \(2\)]\)";
MakeBoxes[k1, TraditionalForm] := "\!\(\*SubscriptBox[\(k\), \(1\)]\)";
MakeBoxes[k2, TraditionalForm] := "\!\(\*SubscriptBox[\(k\), \(2\)]\)";
= InsertFields[CreateTopologies[0, 2 -> 2], {F[2, {1}], -F[2, {1}]} ->
diags {F[ 2, {1}], -F[2, {1}]}, InsertionLevel -> {Classes},
-> QEDOnly];
Restrictions
[diags, ColumnsXRows -> {2, 1}, Numbering -> Simple,
Paint-> None, ImageSize -> {512, 256}]; SheetHeader
[0] = FCFAConvert[CreateFeynAmp[diags], IncomingMomenta -> {p1, p2},
amp-> {k1, k2}, UndoChiralSplittings -> True, ChangeDimension -> 4,
OutgoingMomenta List -> False, SMP -> True, Contract -> True]
\frac{\text{e}^2 \left(\varphi (\overline{k_1},m_e)\right).\bar{\gamma }^{\text{Lor2}}.\left(\varphi (\overline{p_1},m_e)\right) \left(\varphi (-\overline{p_2},m_e)\right).\bar{\gamma }^{\text{Lor2}}.\left(\varphi (-\overline{k_2},m_e)\right)}{(\overline{k_2}-\overline{p_2}){}^2}-\frac{\text{e}^2 \left(\varphi (\overline{k_1},m_e)\right).\bar{\gamma }^{\text{Lor1}}.\left(\varphi (-\overline{k_2},m_e)\right) \left(\varphi (-\overline{p_2},m_e)\right).\bar{\gamma }^{\text{Lor1}}.\left(\varphi (\overline{p_1},m_e)\right)}{(\overline{k_1}+\overline{k_2}){}^2}
[];
FCClearScalarProducts[s, t, u, p1, p2, -k1, -k2,
SetMandelstam["m_e"], SMP["m_e"], SMP["m_e"], SMP["m_e"]]; SMP
[0] = (amp[0] (ComplexConjugate[amp[0]])) //
ampSquared// FermionSpinSum[#, ExtraFactor -> 1/2^2] & //
FeynAmpDenominatorExplicit // Simplify DiracSimplify
\frac{2 \;\text{e}^4 \left(8 m_e^4 \left(s^2+s t+t^2\right)-4 m_e^2 \left(s^3+s^2 (u-2 t)+s t (3 u-2 t)+t^2 (t+u)\right)+s^4+s^2 u^2+2 s t u^2+t^4+t^2 u^2\right)}{s^2 t^2}
[0] = ampSquared[0] // ReplaceAll[#, {SMP["m_e"] -> 0}] & //
ampSquaredMasslessSimplify
\frac{2 \;\text{e}^4 \left(s^4+s^2 u^2+2 s t u^2+t^4+t^2 u^2\right)}{s^2 t^2}
= (2 SMP["e"]^4 (s^2 + u^2)/t^2 +
knownResult 4 SMP["e"]^4 u^2/(s t) + 2 SMP["e"]^4 (t^2 + u^2)/s^2);
[ampSquaredMassless[0], knownResult,
FCCompareResultsText -> {"\tCheck the final result:",
"CORRECT.", "WRONG!"}, Interrupt -> {Hold[Quit[1]], Automatic}];
Print["\tCPU Time used: ", Round[N[TimeUsed[], 4], 0.001], " s."];
\text{$\backslash $tCheck the final result:} \;\text{CORRECT.}
\text{$\backslash $tCPU Time used: }23.13\text{ s.}