[Paper Review] LanHEP - a package for automatic generation of Feynman rules in gauge models
LanHEP is a computational package that automatically generates Feynman rules in momentum space from a user-defined Lagrangian in a compact, publication-like format. It supports gauge theories, handles complex expressions like covariant derivatives and field strengths, and outputs rules in both LaTeX and CompHEP-compatible formats, enabling efficient model implementation for high-energy physics calculations with reduced error risk.
We consider the general problem of derivation of the Feynman rules for the matrix elements in momentum representation from the given Lagrangian in coordinate space invariant under the transformation of some gauge group. LanHEP package presented in this paper allows to define in a convenient way the gauge model Lagrangian in canonical form and then to generate automatically the Feynman rules that can be used in the following calculation of the physical processes by means of CompHEP package. The detailed description of LanHEP commands is given and several examples of LanHEP applications (QED, QCD, Standard Model in the t'Hooft-Feynman gauge) are presented.
Motivation & Objective
- To automate the derivation of Feynman rules from Lagrangians in gauge theories, reducing manual calculation errors.
- To support complex field-theory expressions such as covariant derivatives and field strength tensors in a compact, publication-style input format.
- To generate Feynman rules in momentum representation suitable for use in the CompHEP package for matrix element and cross-section calculations.
- To enable the introduction of new gauge theories and anomalous vertices into the CompHEP framework through a standardized model input format.
- To validate model consistency by checking electric charge conservation in generated vertices.
Proposed method
- The program reads a Lagrangian written in a compact, publication-like format with symbolic notation for fields, indices, and derivatives.
- It performs symbolic expansion and combines like terms, then applies Fourier transformation by replacing spacetime derivatives with momentum factors.
- It automatically restores omitted Lorentz and multiplet indices based on the order of fields in monomials.
- It supports user-defined substitution rules for complex expressions, such as the field strength tensor or covariant derivative.
- It generates four types of output: Feynman rules in momentum space, LaTeX-formatted tables, and CompHEP model files (vars, func, prtcls, lgrngn) for direct use in calculations.
- It allows the introduction of 4-fermion and 4-gluon vertices via auxiliary fields with constant propagators, bypassing CompHEP’s native limitations.
Experimental results
Research questions
- RQ1How can the generation of Feynman rules from a Lagrangian be automated while preserving correctness and consistency in gauge theories?
- RQ2What input format best balances compactness and expressiveness for high-energy physics Lagrangians while enabling automatic index restoration?
- RQ3Can a program reliably generate momentum-space Feynman rules including propagators and vertices for complex models like the Standard Model?
- RQ4How can anomalous or higher-dimensional interactions be incorporated into existing automated calculation frameworks like CompHEP?
- RQ5What mechanisms ensure model consistency, such as electric charge conservation, during automated rule generation?
Key findings
- LanHEP successfully generates correct Feynman rules for QED and QCD from compact Lagrangian inputs, including proper treatment of gauge-fixing terms and field strength tensors.
- The program correctly restores Lorentz and multiplet indices even when omitted in input, ensuring consistent vertex structure.
- It produces valid CompHEP model files that allow immediate use in matrix element and cross-section calculations for processes with up to six external particles.
- The package supports the inclusion of 4-fermion and 4-gluon vertices via auxiliary fields, enabling the implementation of anomalous couplings not natively supported in CompHEP.
- It performs automatic checks for electric charge conservation in vertices, enhancing model reliability.
- The method reduces the risk of human error in complex calculations involving many fields and vertices, particularly in models with spontaneous symmetry breaking like the electroweak theory.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.