Skip to content

Commit f8fb0fc

Browse files
committed
doc: More examples for the README
1 parent 7266b5d commit f8fb0fc

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ For a scalar field theory, one can get a more explicit expression as follows:
5555
```Mathematica
5656
fields = <|"Commuting"->{Phi[p]}, "Grassmann"->{}|>;
5757
truncation = <|GammaN->Table[Table[Phi, {i}], {i, 1, 4}],
58+
S->{{Phi, Phi}, {Phi, Phi, Phi, Phi}},
5859
Propagator->{{Phi, Phi}},
5960
Rdot->{{Phi, Phi}}|>;
6061
FSetGlobalSetup[<|"FieldSpace"->fields, "Truncation"->truncation|>];
@@ -70,6 +71,31 @@ which yields the output
7071
\end{aligned}
7172
```
7273

74+
For the same theory, we can also derive the Dyson-Schwinger equation for the same two-point function:
75+
```Mathematica
76+
FTakeDerivatives[MakeDSE[Phi[i1]], {Phi[i2]}]//FTruncate//FPrint;
77+
```
78+
which gives
79+
```math
80+
\begin{aligned}\ &S_{\phi^{i_2}\phi^{i_1}}
81+
\\ &\,+\,\frac{\phi^{a} \phi^{b}}{2}\,S_{\phi^{b}\phi^{a}\phi^{i_2}\phi^{i_1}}
82+
\\ &\,+\,\frac{1}{2}\,S_{\phi^{a}\phi^{b}\phi^{i_2}\phi^{i_1}}\,G^{\phi^{a}\phi^{b}}
83+
\\ &\,+\,\left(-\frac{\phi^{a}}{2}\,S_{\phi^{b}\phi^{c}\phi^{a}\phi^{i_1}}\,G^{\phi^{d}\phi^{c}}\,\Gamma_{\phi^{e}\phi^{d}\phi^{i_2}}\,G^{\phi^{b}\phi^{e}}\right)
84+
\\ &\,+\,\frac{1}{2}\,S_{\phi^{a}\phi^{b}\phi^{c}\phi^{i_1}}\,G^{\phi^{d}\phi^{b}}\,\Gamma_{\phi^{e}\phi^{d}\phi^{i_2}}\,G^{\phi^{f}\phi^{e}}\,G^{\phi^{g}\phi^{a}}\,\Gamma_{\phi^{h}\phi^{g}\phi^{f}}\,G^{\phi^{c}\phi^{h}}
85+
\\ &\,+\,\left(-\frac{1}{6}\,S_{\phi^{a}\phi^{b}\phi^{c}\phi^{i_1}}\,G^{\phi^{d}\phi^{b}}\,G^{\phi^{e}\phi^{a}}\,\Gamma_{\phi^{f}\phi^{e}\phi^{d}\phi^{i_2}}\,G^{\phi^{c}\phi^{f}}\right)
86+
\end{aligned}
87+
```
88+
89+
If you wish to wish to remove the remaining fields (i.e. go to the symmetric regime), you can add the line
90+
```Mathematica
91+
...
92+
Field->{},
93+
...
94+
```
95+
to the truncation definition above.
96+
97+
You can of course define arbitrary master equations besides the pre-defined `WetterichEquation` and `MakeDSE` ones (among others), see the documentation for details.
98+
7399
## Examples
74100

75101
To learn how to compute more complicated systems, you may want to see some typical examples on how to use `FunKit` to deal with common QFTs of interest.

0 commit comments

Comments
 (0)