Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

Phi4tools

Guides

  • Phi4tools

Tech Notes

  • Feynman Diagram Evaluation
  • Perturbative Series Generation

Symbols

  • BubbleSubdiagram
  • CountLoops
  • DeriveAndWriteExplicit
  • DrawGraph
  • ExternalMomentum
  • InformationDiagram
  • IntegrandDiagram
  • Momentum
  • MomVars
  • NComponents
  • NickelIndex
  • Propagator
  • SquareSubdiagram
  • SunsetSubdiagram
  • SymmetryFactorDiagram
  • TadSunsetSubdiagram
  • TadTriangleBubblesSubdiagram
  • TriangleSubdiagram
  • ValueDiagram
  • VisualizeDiagram
  • WriteExplicit
  • XCubicRatio
GSberveglieri`Phi4tools`
SunsetSubdiagram
​
​
SunsetSubdiagram
[q]
represents the regularized two-loop sunset subdiagram with total external momentum
q
.
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
In[1]:=
Needs["GSberveglieri`Phi4tools`"]
Let's look at the sunset diagram, i.e. diagram for
(2)
Γ
for the
4
ϕ
theory with
v4
=2 quartic vertices, let's visualize it and print its integrand:
In[2]:=

VisualizeDiagram
[2,0,2,1],
IntegrandDiagram
[2,0,2,1,"ExternalMomentum"True]
Out[2]=

,
1
6
[[1]][[1]-[1]-[2]][[2]]
The integrand in
d=3
is divergent. Let's write it in the case of zero external momentum
In[3]:=
WriteExplicit

IntegrandDiagram
[2,0,2,1],"Simplification""Simplify"
Out[3]=
1
61+
2
[1]
ρ
1+
2
[2]
ρ
1+
2
[1]
ρ
+2Cos[
[2]
θ
]
[1]
ρ
[2]
ρ
+
2
[2]
ρ

The divergence is cured by substituting the sunset subdiagrams with
[q]
regularized by zero-momentum subtraction.
In[4]:=

VisualizeDiagram
[2,0,2,1,"Substitutions""Analytics"],
IntegrandDiagram
[2,0,2,1,"ExternalMomentum"True,"Substitutions""Analytics"]
Out[4]=

,
[[1]]
6

The function
WriteExplicit
prints the analytic form of
[q]
in
d=3
In[5]:=
WriteExplicit

[[1]]
6

Out[5]=
-
-2+
6ArcTan
2
[1]
ρ
3

2
[1]
ρ
+Log1+
2
[1]
ρ
9

192
2
π
In[6]:=
WriteExplicit

[0]
6

Out[6]=
0
The substitution not only allows us to cure these divergences but also reduces the number of effective loops. Every sunset subdiagram substitution reduces the number of loop of the diagram by two. Let's look at another example: the
th
69
diagram for
(2)
Γ
for the
4
ϕ
theory with vertices
v4
=6 quartic vertices, without and with the sunset subdiagram substitutions.
In[7]:=

VisualizeDiagram
[2,0,6,69],
VisualizeDiagram
[2,0,6,69,"Substitutions""Analytics"]
Out[7]=

,

Thus we are left with a diagram with 2 loops instead of 6.
In[8]:=
IntegrandDiagram
[2,0,6,69,"Substitutions""Analytics"]
Out[8]=
1
72
2
[[1]]
2
[[2]]
[[1]+[2]][[1]][[2]]
In[9]:=
WriteExplicit

IntegrandDiagram
[2,0,6,69,"Substitutions""Analytics"],"Simplification""Simplify"
Out[9]=
-2+Log
1
9
9+
2
[1]
ρ
+
6ArcTan
[1]
ρ
3

[1]
ρ
-2+Log
1
9
9+
2
[2]
ρ
+
6ArcTan
[2]
ρ
3

[2]
ρ
73728
4
π
2
1+
2
[1]
ρ

2
1+
2
[2]
ρ

1+
2
[1]
ρ
+2Cos[
[2]
θ
]
[1]
ρ
[2]
ρ
+
2
[2]
ρ

A diagram whose integrand has to be integrated over three variables, those printed by
MomVars
.
In[10]:=
MomVars
@
WriteExplicit

IntegrandDiagram
[2,0,6,69,"Substitutions""Analytics"],"Simplification""Simplify"
Out[10]=
{
[1]
ρ
,
[2]
θ
,
[2]
ρ
}
SeeAlso
Propagator
 
▪
BubbleSubdiagram
 
▪
SquareSubdiagram
 
▪
TadSunsetSubdiagram
 
▪
TadTriangleBubblesSubdiagram
 
▪
TriangleSubdiagram
 
▪
VisualizeDiagram
 
▪
IntegrandDiagram
 
▪
WriteExplicit
 
▪
InformationDiagram
TechNotes
▪
Feynman Diagram Evaluation
RelatedGuides
▪
Phi4tools
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com