FeynArts is a Mathematica package for the generation and visualization of Feynman diagrams and amplitudes. Its main features are:

- The generation of diagrams is possible at three levels: generic
fields, classes of fields, or specific particles.
- The model information is contained in two special files: The
*Generic Model File*defines the representation of the kinematical quantities like spinors or vector fields. The*Classes Model File*sets up the particle content and specifies the actual couplings. Since the user can create own model files, the applicability of FeynArts is virtually unlimited within perturbative quantum field theory. As Generic Model the Lorentz formalism and as Classes Model the electroweak Standard Model and the MSSM in several incarnations are supplied. - In addition to ordinary diagrams, FeynArts can generate counter-term
diagrams and diagrams with placeholders for one-particle irreducible
vertex functions (skeleton diagrams).
- FeynArts employs the so-called "flipping-rule" algorithm to
concatenate fermion chains. This algorithm is unique in that it
works also for fermion-number-violating couplings (e.g.
quark–squark–gluino) and hence allows supersymmetric models to be
implemented in FeynArts.
- Restrictions of the type "field
*X*is not allowed in loops" can be applied. This is necessary e.g. for the background-field formulation of a field theory. - Vertices of arbitrary adjacency, required for effective theories,
are allowed.
- Mixing propagators, such as appear in
non-
*R*-gauges, are supported._{ξ} - FeynArts produces publication-quality Feynman diagrams in PostScript or LaTeX in a format that allows easy customization.

FeynArts has been published in
Comput. Phys. Commun. **140** (2001) 418
[hep-ph/0012260].

The reference for the old version 1 is
Comput. Phys. Commun. **60** (1990) 165.

The MSSM model files are documented in
Comput. Phys. Commun. **143** (2002) 54
[hep-ph/0105349]
and
Comput. Phys. Commun. **185** (2014) 1529
[arXiv:1309.1692]
(including counter-terms).

The historical development: FeynArts started out in 1990 as a Macsyma code written by Hagen Eck and Sepp Küblbeck which could produce diagrams in the Standard Model, but soon got ported to the Mathematica platform. In 1995, Eck and Küblbeck designed the second version to be a fully general diagram generator. To achieve this, they implemented some decisive new ideas, the most important one being the generation of diagrams in three levels. The program was taken up again in 1998 by Thomas Hahn who developed version 2.2. The well-designed conceptual framework was kept, but the actual code was reprogrammed almost entirely to make it more efficient and a user-friendly topology editor was added. The current version 3 features a completely new rendering engine for PostScript and LaTeX, together with full support of the Mathematica Frontend's graphical capabilities. It is also no longer dependent on the X platform for topology editing like version 2.2.

More information:

- People interested in the algorithms and program design can download
Hagen Eck's Ph.D. thesis.
- Some lecture material including lectures on FeynArts and FormCalc:

Part 1. Introduction to Mathematica and FORM: Slides ⋅ Examples ⋅ Mathematica Primer

Part 2. Symbolic Programming Examples: Slides ⋅ Examples

Part 3. Numeric Programming Examples: Slides ⋅ Examples

Part 4. Using FeynArts and FormCalc: Slides ⋅ Examples

The installation script gets you started quickly and easily.

- Download the shell script FeynInstall [6 kB, MD5: 9acf4b6157dd8c7f39ca06b25fa03c95].

(Use the right mouse button and "Save Link As...") - Make it executable with "
`chmod 755 FeynInstall`". - Run it in the directory in which you want the packages installed:
"
`./FeynInstall`". - The script separately prompts you for the installation of FeynArts, FormCalc, and LoopTools.
- Finally, it asks whether to include FeynArts and FormCalc in Mathematica's $Path.

You can download the following files:

- FeynArts-3.10.tar.gz [2.55 MB, MD5: 609f5d4579870589f993817e60474fb6] of 16 Mar 2018
- Significant improvements to deriving unknown shapes from known ones (ShapeSources, ShapeHook).
- Added possibility to use particles' propagator type in Classes coupling.

- FeynArts-3.9.tar.gz [2.48 MB, MD5: cb36ec7c7efcd37ef6d99e3889e6ed7a] of 23 Sep 2015
- FeynArts-3.8.tar.gz [1.6 MB, MD5: 7b43ef72832b0b16d5de897eefd0d57e] of 9 Jul 2013
- FeynArts-3.7.tar.gz [1.6 MB, MD5: 77fd747cf34c6584818d05c78b37e908] of 4 Dec 2012
- FeynArts-3.6.tar.gz [1.54 MB, MD5: b4bbf40d2422bbe9b032e35c05e580d0] of 28 Mar 2011
- FeynArts-3.5.tar.gz [1.39 MB, MD5: e4d1420605e8e32a71c6aae458a608a6] of 16 Apr 2010
- FeynArts-3.4.tar.gz [1.36 MB, MD5: 1448dc790fd9878d944d61fe752fd0bd] of 29 Jun 2009
- FeynArts-3.3.tar.gz [1.34 MB, MD5: b2cdf34df88951c4127db926a8ea1e3f] of 21 Jan 2008
- FeynArts-3.2.tar.gz [1.32 MB, MD5: 173d11f2061d28bb0370fe47102a28ef] of 6 Mar 2007
- FeynArts-3.1.tar.gz [664 kB, MD5: e9e0a0decd3231190efe1b31d047a684] of 7 Apr 2003
- FeynArts-3.0.tar.gz [578 kB, MD5: 58573073889e13c8cf6c178cca9fa3a6] of 19 Oct 2001
- FeynArts-2.2.tar.gz [397 kB, MD5: 289bea3f907dcc293cd49d5dd05a6690] of 30 May 2000
- FeynArts-2.1.tar.gz [432 kB, MD5: a3f0a54c0f291147313ce1bdf7ab3940] of 27 Mar 1996
- FeynArts-1.2.tar.gz [279 kB, MD5: 2d61e0d019a697359daa38e8fa7ac65a] of 1 Dec 1997

Requirements:

- Mathematica 3 or above,
- with Mathematica versions before 5.0, a Java VM and the J/Link package are needed for the topology editor. Both ingredients can be obtained free of charge from http://www.wolfram.com/solutions/mathlink/jlink (J/Link) and https://www.java.com (Java). Note that many systems (e.g. Windows) have a Java VM pre-installed. Follow the instructions that come with J/Link for installation on the various platforms.

To install FeynArts, simply unpack the archive
`FeynArts- n.m.tar.gz`.

More detailed instructions are given in the manual contained in the FeynArts distribution.

You can obtain the manual of the current version here.

Hint: add the following statement to your personal Mathematica
init.m file (on Linux e.g. `$HOME/.Mathematica/Kernel/init.m`,
on MacOS `$HOME/Library/Mathematica/Kernel/init.m`) to make
Mathematica Kernels ≥ 6.0 display graphics again
– choose your favorite PDF viewer instead of evince:

If[ !TrueQ[$Notebooks], gvexec = (Export[##2]; Run["(" <> #1 <> " " <> #2 <> "; rm " <> #2 <> ")&"]; #3)&; gvfmt[FeynArts`FeynArtsGraphics[_][_]] = gvexec["gv", #1 <> ".ps", #2, "PS"]&; _gvfmt = gvexec["evince", #1 <> ".pdf", #2, "PDF"]&; gv = gvfmt[#1]["/tmp/gv" <> ToString[Hash[#1]], #1]&; $DisplayFunction = gv ]

FeynEdit is an editor for Feynman diagrams. It is quite similar to the FeynArts topology editor and also uses FeynArts' LaTeX format for the diagrams. The program is independent of FeynArts, however, i.e. one does not need to start from diagrams generated by FeynArts.

The program is written in Java and should thus run on almost any
platform. The Java bytecode is contained in the file
`FeynEdit.jar`. Users with access to a reasonable (Unixish)
programming environment may want to run "`make`" after
unpacking the tar file, which produces an executable `FeynEdit`
that can be invoked directly (e.g. from the command line). Alternately,
start the program with "`java -jar FeynEdit.jar`".

Note: a number of (mostly Debian-derived) Linux distributions seem to have gij (GNU's java interpreter) installed instead of the original Oracle JRE. This leads to error messages like "Failed to load Main-Class manifest attribute" when invoking FeynEdit. The problems originate from gij rather than FeynEdit. The solution is to install Oracle's original JRE, available from https://www.java.com/en/download/manual.jsp.

Windows users should be able to start the program by double-clicking on the jar file. The Java Runtime Environment can be obtained from https://www.java.com if not installed already.

FeynEdit has been published in arXiv:0711.1345.

You can download the following files:

- FeynEdit-1.0.tar.gz [495 kB, MD5: 914bbb5965feb9bbbe8c390e59752b3d] of 17 Oct 2011

Thanks for looking in.

Please send bug reports, suggestions, fan mail, etc. to Thomas Hahn, hahn@feynarts.de.

Related links: FormCalc, FeynCalc, LoopTools.

This site and the programs offered here are not commercial.
FeynArts is and will stay an open-source package and free of charge.
If you want to use FeynArts in a commercial application, make sure
you understand the
GNU Lesser General Public License under which FeynArts is
distributed.

FeynArts is being developed at the Max
Planck Institute for Physics in Munich.

Data protection statement and Imprint

Last update: 25 May 18 Thomas Hahn