Skip to content

Bug with FCFADiracChainJoin #177

@Turgon-Aran-Gondolin

Description

@Turgon-Aran-Gondolin
  • Your Mathematica version

13.0.1 for Microsoft Windows (64-bit) (January 28, 2022)

  • Your FeynCalc version

9.3.1

  • Did you try to reinstall FeynCalc (stable version) using the automatic installer to make sure that you have the latest bugfixes?

No, but I did check with the latest master branch.

  • Does your Mathematica initialization file contain statements that might influence the behavior of FeynCalc? Sometimes external packages may modify `init.m` in unusual ways, causing troubles for other codes.

Nothing.

  • Please provide a minimal working example that illustrates the problem and works on a fresh kernel. The example should be provided either by writing the code (as `InputForm`!) directly in the issue text or by attaching a Mathematica notebook. Please do not post code samples as screenshots, PDF files etc.: Those essentially require us to retype everything by hand, which is annoying and also time consuming. Please explain the difference between the current behavior and the expected behavior.
DiracChain[Spinor[-Momentum[p1, D], mqu, 1], 
  DiracIndex[Dir1]] DiracChain[Spinor[-Momentum[p2, D], mqu, 1], 
  DiracIndex[Dir2]] DiracChain[DiracGamma[LorentzIndex[Lor2, D], D],
   DiracIndex[Dir5], DiracIndex[Dir1]] DiracChain[
  DiracGamma[LorentzIndex[Lor3, D], D], DiracIndex[Dir2], 
  DiracIndex[Dir7]] DiracChain[
  mqu + DiracGamma[Momentum[-l - p2, D], D], DiracIndex[Dir7], 
  DiracIndex[Dir8]] DiracChain[
  mqu + DiracGamma[Momentum[-k - k1 - k2 + l + p2, D], D], 
  DiracIndex[Dir5], DiracIndex[Dir6]]  DiracChain[
  DiracGamma[LorentzIndex[LCdummy2, D], D] . DiracGamma[6], 
  DiracIndex[Dir8], DiracIndex[Dir6]]] // FCE

output:
-Spinor[-Momentum[p1, D], mqu, 1] . (-GAD[Lor2]) . (mqu + GSD[-k - k1 - k2 + l + p2]) . GA[6] . GAD[LCdummy2] . (mqu - GSD[-l - p2]) . GAD[Lor3] . Spinor[Momentum[p2, D], mqu, 1]

The Dirac chain should be in reversed order.

Metadata

Metadata

Assignees

Labels

bugfixeda fix for this issue have already been commited to the repository

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions