Fast Poisson brackets and constraint algebras in canonical gravity

Will Barker · 2025

Read Fast Poisson brackets and constraint algebras in canonical gravity by Will Barker (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2512-25007.txt.

Introduction

Will Barker presents a computer algebra package for fast Poisson brackets and constraint algebras in canonical gravity. Dirac's Hamiltonian constraint algorithm counts propagating modes and gauge symmetries in alternative gravity theories and exposes pathologies such as strongly coupled modes. For gravity, applying it by hand becomes notoriously arduous.

Automating bracket computation and algebra reconstruction speeds that check dramatically. Gravitational theory readers get a practical tool for vetting extended theories of gravity. Faster constraint analysis means more candidate theories can be screened for hidden problems before deeper study, and gauge symmetries can be recovered with far less manual algebra.

Catalog record

CREATORWill Barker
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE567 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2512-25007

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Fast Poisson brackets and constraint algebras in canonical gravity Will Barker Abstract In the study of alternative or extended theories of gravity, Dirac’s Hamiltonian constraint algorithm is invaluable for enumerating the propagating modes and gauge symmetries. For gravity, this canonical approach is frequently applied as a means for finding pathologies such as strongly coupled modes; more generally it facilitates the reconstruction of gauge symmetries and the quantization of gauge theories. For gravity, however, the algorithm can become notoriously arduous to implement. We present a simple computer algebra package for efficiently computing Poisson brackets and reconstructing constraint algebras. The tools are stress-tested against pure general relativity and modified gravity, including the order reduction of general relativity at two loops. 1 Introduction Hamiltonian formulation of gravity In the study of classical field theories, the canonical (phase-space) formulation is reached by foliating the spacetime into equal-time hypersurfaces, and defining canonical variables (the field components and their conjugate momenta) which evolve between hypersurfaces according to first-order Hamilton equations. In the minimal transition to the canonical formulation, it frequently happens that not all of the velocities may be solved for in terms of canonical variables. In such cases, the definitions of the canonical momenta (as the variations of the action with respect to the velocities) lead to constraints. The minimal canonical formulation can be made consistent by enforcing these constraints with the aid of extra Lagrange multipliers, and further identifying all ancillary constraints which arise by enforcing the conservation (in time, via the Hamilton equations) of the original constraints. This algorithm leads to a counting of \mathchoice{N^{{\mathchoice{\makebox[13.77783pt][c]{$\displaystyle$}}{\makebox[13.77783pt][c]{$\textstyle$}}{\makebox[8.53195pt][c]{$\scriptstyle$}}{\makebox[6.09027pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Phy}}}}}{N^{{\mathchoice{\makebox[13.77783pt][c]{$\displaystyle$}}{\makebox[13.77783pt][c]{$\textstyle$}}{\makebox[8.53195pt][c]{$\scriptstyle$}}{\makebox[6.09027pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Phy}}}}}{N^{{\mathchoice{\makebox[13.77783pt][c]{$\displaystyle$}}{\makebox[13.77783pt][c]{$\textstyle$}}{\makebox[8.53195pt][c]{$\scriptstyle$}}{\makebox[6.09027pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Phy}}}}}{N^{{\mathchoice{\makebox[13.77783pt][c]{$\displaystyle$}}{\makebox[13.77783pt][c]{$\textstyle$}}{\makebox[8.53195pt][c]{$\scriptstyle$}}{\makebox[6.09027pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Phy}}}}}{} pairs of Cauchy data, i.e., physical modes. The total number of constraints is partitioned into \mathchoice{N^{{\mathchoice{\makebox[10.27922pt][c]{$\displaystyle$}}{\makebox[10.27922pt][c]{$\textstyle$}}{\makebox[6.28831pt][c]{$\scriptstyle$}}{\makebox[4.49167pt][c]{$\scriptscriptstyle$}}}}_{{{\text{1st}}}}}{N^{{\mathchoice{\makebox[10.27922pt][c]{$\displaystyle$}}{\makebox[10.27922pt][c]{$\textstyle$}}{\makebox[6.28831pt][c]{$\scriptstyle$}}{\makebox[4.49167pt][c]{$\scriptscriptstyle$}}}}_{{{\text{1st}}}}}{N^{{\mathchoice{\makebox[10.27922pt][c]{$\displaystyle$}}{\makebox[10.27922pt][c]{$\textstyle$}}{\makebox[6.28831pt][c]{$\scriptstyle$}}{\makebox[4.49167pt][c]{$\scriptscriptstyle$}}}}_{{{\text{1st}}}}}{N^{{\mathchoice{\makebox[10.27922pt][c]{$\displaystyle$}}{\makebox[10.27922pt][c]{$\textstyle$}}{\makebox[6.28831pt][c]{$\scriptstyle$}}{\makebox[4.49167pt][c]{$\scriptscriptstyle$}}}}_{{{\text{1st}}}}}{} of the first class (commuting with all the rest), and \mathchoice{N^{{\mathchoice{\makebox[12.8195pt][c]{$\displaystyle$}}{\makebox[12.8195pt][c]{$\textstyle$}}{\makebox[7.89445pt][c]{$\scriptstyle$}}{\makebox[5.63889pt][c]{$\scriptscriptstyle$}}}}_{{{\text{2nd}}}}}{N^{{\mathchoice{\makebox[12.8195pt][c]{$\displaystyle$}}{\makebox[12.8195pt][c]{$\textstyle$}}{\makebox[7.89445pt][c]{$\scriptstyle$}}{\makebox[5.63889pt][c]{$\scriptscriptstyle$}}}}_{{{\text{2nd}}}}}{N^{{\mathchoice{\makebox[12.8195pt][c]{$\displaystyle$}}{\makebox[12.8195pt][c]{$\textstyle$}}{\makebox[7.89445pt][c]{$\scriptstyle$}}{\makebox[5.63889pt][c]{$\scriptscriptstyle$}}}}_{{{\text{2nd}}}}}{N^{{\mathchoice{\makebox[12.8195pt][c]{$\displaystyle$}}{\makebox[12.8195pt][c]{$\textstyle$}}{\makebox[7.89445pt][c]{$\scriptstyle$}}{\makebox[5.63889pt][c]{$\scriptscriptstyle$}}}}_{{{\text{2nd}}}}}{} of the second class (non-commuting with each other). Given the original number of phase-space variables \mathchoice{N^{{\mathchoice{\makebox[14.11118pt][c]{$\displaystyle$}}{\makebox[14.11118pt][c]{$\textstyle$}}{\makebox[8.71112pt][c]{$\scriptstyle$}}{\makebox[6.22221pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Can}}}}}{N^{{\mathchoice{\makebox[14.11118pt][c]{$\displaystyle$}}{\makebox[14.11118pt][c]{$\textstyle$}}{\makebox[8.71112pt][c]{$\scriptstyle$}}{\makebox[6.22221pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Can}}}}}{N^{{\mathchoice{\makebox[14.11118pt][c]{$\displaystyle$}}{\makebox[14.11118pt][c]{$\textstyle$}}{\makebox[8.71112pt][c]{$\scriptstyle$}}{\makebox[6.22221pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Can}}}}}{N^{{\mathchoice{\makebox[14.11118pt][c]{$\displaystyle$}}{\makebox[14.11118pt][c]{$\textstyle$}}{\makebox[8.71112pt][c]{$\scriptstyle$}}{\makebox[6.22221pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Can}}}}}{} , the number of propagating modes is then \mathchoice{N^{{\mathchoice{\makebox[13.77783pt][c]{$\displaystyle$}}{\makebox[13.77783pt][c]{$\textstyle$}}{\makebox[8.53195pt][c]{$\scriptstyle$}}{\makebox[6.09027pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Phy}}}}}{N^{{\mathchoice{\makebox[13.77783pt][c]{$\displaystyle$}}{\makebox[13.77783pt][c]{$\textstyle$}}{\makebox[8.53195pt][c]{$\scriptstyle$}}{\makebox[6.09027pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Phy}}}}}{N^{{\mathchoice{\makebox[13.77783pt][c]{$\displaystyle$}}{\makebox[13.77783pt][c]{$\textstyle$}}{\makebox[8.53195pt][c]{$\scriptstyle$}}{\makebox[6.09027pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Phy}}}}}{N^{{\mathchoice{\makebox[13.77783pt][c]{$\displaystyle$}}{\makebox[13.77783pt][c]{$\textstyle$}}{\makebox[8.53195pt][c]{$\scriptstyle$}}{\makebox[6.09027pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Phy}}}}}{}=\frac{1}{2}\Bigl(\mathchoice{N^{{\mathchoice{\makebox[14.11118pt][c]{$\displaystyle$}}{\makebox[14.11118pt][c]{$\textstyle$}}{\makebox[8.71112pt][c]{$\scriptstyle$}}{\makebox[6.22221pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Can}}}}}{N^{{\mathchoice{\makebox[14.11118pt][c]{$\displaystyle$}}{\makebox[14.11118pt][c]{$\textstyle$}}{\makebox[8.71112pt][c]{$\scriptstyle$}}{\makebox[6.22221pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Can}}}}}{N^{{\mathchoice{\makebox[14.11118pt][c]{$\displaystyle$}}{\makebox[14.11118pt][c]{$\textstyle$}}{\makebox[8.71112pt][c]{$\scriptstyle$}}{\makebox[6.22221pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Can}}}}}{N^{{\mathchoice{\makebox[14.11118pt][c]{$\displaystyle$}}{\makebox[14.11118pt][c]{$\textstyle$}}{\makebox[8.71112pt][c]{$\scriptstyle$}}{\makebox[6.22221pt][c]{$\scriptscriptstyle$}}}}_{{{\text{Can}}}}}{}-2\mathchoice{N^{{\mathchoice{\makebox[10.27922pt][c]{$\displaystyle$}}{\makebox[10.27922pt][c]{$\textstyle$}}{\makebox[6.28831pt][c]{$\scriptstyle$}}{\makebox[4.49167pt][c]{$\scriptscriptstyle$}}}}_{{{\text{1st}}}}}{N^{{\mathchoice{\makebox[10.27922pt][c]{$\displaystyle$}}{\makebox[10.27922pt][c]{$\textstyle$}}{\makebox[6.28831pt][c]{$\scriptstyle$}}{\makebox[4.49167pt][c]{$\scriptscriptstyle$}}}}_{{{\text{1st}}}}}{N^{{\mathchoice{\makebox[10.27922pt][c]{$\displaystyle$}}{\makebox[10.27922pt][c]{$\textstyle$}}{\makebox[6.28831pt][c]{$\scriptstyle$}}{\makebox[4.49167pt][c]{$\scriptscriptstyle$}}}}_{{{\text{1st}}}}}{N^{{\mathchoice{\makebox[10.27922pt][c]{$\displaystyle$}}{\makebox[10.27922pt][c]{$\textstyle$}}{\makebox[6.28831pt][c]{$\scriptstyle$}}{\makebox[4.49167pt][c]{$\scriptscriptstyle$}}}}_{{{\text{1st}}}}}{}-\mathchoice{N^{{\mathchoice{\makebox[12.8195pt][c]{$\displaystyle$}}{\makebox[12.8195pt][c]{$\textstyle$}}{\makebox[7.89445pt][c]{$\scriptstyle$}}{\makebox[5.63889pt][c]{$\scriptscriptstyle$}}}}_{{{\text{2nd}}}}}{N^{{\mathchoice{\makebox[12.8195pt][c]{$\displaystyle$}}{\makebox[12.8195pt][c]{$\textstyle$}}{\makebox[7.89445pt][c]{$\scriptstyle$}}{\makebox[5.63889pt][c]{$\scriptscriptstyle$}}}}_{{{\text{2nd}}}}}{N^{{\mathchoice{\makebox[12.8195pt][c]{$\displaystyle$}}{\makebox[12.8195pt][c]{$\textstyle$}}{\makebox[7.89445pt][c]{$\scriptstyle$}}{\makebox[5.63889pt][c]{$\scriptscriptstyle$}}}}_{{{\text{2nd}}}}}{N^{{\mathchoice{\makebox[12.8195pt][c]{$\displaystyle$}}{\makebox[12.8195pt][c]{$\textstyle$}}{\makebox[7.89445pt][c]{$\scriptstyle$}}{\makebox[5.63889pt][c]{$\scriptscriptstyle$}}}}_{{{\text{2nd}}}}}{}\Bigr)\,. (1.1) In the case of general relativity (GR) shown in fig. 1 , 1 1 1 Note that the Hamilton equations in fig. 1 omit the stress-energy sources; moreover, their weak hyperbolicity means that they are not immediately suitable for use in numerical relativity. the induced metric \mathchoice{h^{{\mathchoice{\makebox[6.54285pt][c]{$\displaystyle$}}{\makebox[6.54285pt][c]{$\textstyle$}}{\makebox[3.98645pt][c]{$\scriptstyle$}}{\makebox[2.84746pt][c]{$\scriptscriptstyle$}}}}_{{{ij}}}}{h^{{\mathchoice{\makebox[6.54285pt][c]{$\displaystyle$}}{\makebox[6.54285pt][c]{$\textstyle$}}{\makebox[3.98645pt][c]{$\scriptstyle$}}{\makebox[2.84746pt][c]{$\scriptscriptstyle$}}}}_{{{ij}}}}{h^{{\mathchoice{\makebox[6.54285pt][c]{$\displaystyle$}}{\makebox[6.54285pt][c]{$\textstyle$}}{\makebox[3.98645pt][c]{$\scriptstyle$}}{\makebox[2.84746pt][c]{$\scriptscriptstyle$}}}}_{{{ij}}}}{h^{{\mathchoice{\makebox[6.54285pt][c]{$\displaystyle$}}{\makebox[6.54285pt][c]{$\textstyle$}}{\makebox[3.98645pt][c]{$\scriptstyle$}}{\makebox[2.84746pt][c]{$\scriptscriptstyle$}}}}_{{{ij}}}} and its conjugate momentum \mathchoice{\pi^{{{ij}}}}{\pi^{{{ij}}}}{\pi^{{{ij}}}}{\pi^{{{ij}}}} propagate subject to first-class Hamiltonian and momentum constraints \mathchoice{\mathcal{H}}{\mathcal{H}}{\mathcal{H}}{\mathcal{H}} and \mathchoice{\mathcal{H}^{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}_{{{i}}}}{\mathcal{H}^{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}_{{{i}}}}{\mathcal{H}^{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}_{{{i}}}}{\mathcal{H}^{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}_{{{i}}}} , whilst the lapse N and shift \mathchoice{N^{{{i}}}_{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}}{N^{{{i}}}_{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}}{N^{{{i}}}_{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}}{N^{{{i}}}_{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}} are undetermined multipliers whose values constitute a choice of gauge. For more general theories, the algorithm for determining and classifying all constraints is due to Dirac Dirac 1950 ; Dirac 1958 and Bergmann Bergmann and Goldberg 1955 , see also Anderson and Bergmann 1951 ; Castellani 1982 ; Henneaux and Teitelboim 1992 ; Blagojević 2002 . This algorithm, and the formula in eq. 1.1 , are exceptionally useful in providing a definitive counting of modes when a new classical theory is proposed. Moreover, constraints of the first class following from momentum definitions may be identified as the generators of gauge symmetries, allowing the latter to be reconstructed. In turn, this first-class algebra facilitates the quantisation of the theory Becchi et al. 1976 ; Tyutin 1975 . Certain steps in canonical analysis would benefit from automation. These principally include the computation of Poisson brackets between arbitrary functionals of phase-space variables, and the re-expression of the results in terms of specified constraints. Figure 1: The canonical formulation of a field theory such as general relativity allows the propagation of initial data to subsequent foliations by means of first-order equations for phase-space variables ( \mathchoice{h^{{\mathchoice{\makebox[6.54285pt][c]{$\displaystyle$}}{\makebox[6.54285pt][c]{$\textstyle$}}{\makebox[3.98645pt][c]{$\scriptstyle$}}{\makebox[2.84746pt][c]{$\scriptscriptstyle$}}}}_{{{ij}}}}{h^{{\mathchoice{\makebox[6.54285pt][c]{$\displaystyle$}}{\makebox[6.54285pt][c]{$\textstyle$}}{\makebox[3.98645pt][c]{$\scriptstyle$}}{\makebox[2.84746pt][c]{$\scriptscriptstyle$}}}}_{{{ij}}}}{h^{{\mathchoice{\makebox[6.54285pt][c]{$\displaystyle$}}{\makebox[6.54285pt][c]{$\textstyle$}}{\makebox[3.98645pt][c]{$\scriptstyle$}}{\makebox[2.84746pt][c]{$\scriptscriptstyle$}}}}_{{{ij}}}}{h^{{\mathchoice{\makebox[6.54285pt][c]{$\displaystyle$}}{\makebox[6.54285pt][c]{$\textstyle$}}{\makebox[3.98645pt][c]{$\scriptstyle$}}{\makebox[2.84746pt][c]{$\scriptscriptstyle$}}}}_{{{ij}}}} and \mathchoice{\pi^{{{ij}}}}{\pi^{{{ij}}}}{\pi^{{{ij}}}}{\pi^{{{ij}}}} ), subject to additional constraints ( \mathchoice{\mathcal{H}}{\mathcal{H}}{\mathcal{H}}{\mathcal{H}} and \mathchoice{\mathcal{H}^{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}_{{{i}}}}{\mathcal{H}^{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}_{{{i}}}}{\mathcal{H}^{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}_{{{i}}}}{\mathcal{H}^{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}_{{{i}}}} ) and a gauge choice to fix the values of undetermined Lagrange multipliers ( N and \mathchoice{N^{{{i}}}_{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}}{N^{{{i}}}_{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}}{N^{{{i}}}_{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}}{N^{{{i}}}_{{\mathchoice{\makebox[2.82928pt][c]{$\displaystyle$}}{\makebox[2.82928pt][c]{$\textstyle$}}{\makebox[1.68811pt][c]{$\scriptstyle$}}{\makebox[1.2058pt][c]{$\scriptscriptstyle$}}}}} ) on each foliation. In this paper We present a set of computer algebra tools ( Hamilcar ) which facilitate canonical analysis. The Hamilcar package is built on top of the xAct suite of packages for Mathematica Martin-Garcia et al. 2007 ; Martín-García 2008 ; Martin-Garcia et al. 2008 ; Nutma 2014 , and automates the computation and simplification of Poisson brackets between arbitrary functionals of canonical variables in three spatial dimensions. 2 2 2 Note that Hamilcar is maximally theory-agnostic. It accommodates any tensorial canonical physics on a (possibly curved) three-dimensional manifold. Thus, Hamilcar completely deprecates the earlier software HiGGS Barker 2023 , which was suitable only for computing Poisson brackets in Poincaré gauge theories of gravity. Structure of this paper The remainder of this paper is set out as follows. In section 2 we describe the Hamilcar package, and demonstrate its use by performing a full Dirac–Bergmann analysis of pure GR in section 2.2 , and pure \mathchoice{R}{R}{R}{R}^{2} theory in section 2.3 (see e.g. Buchbinder and Lyakhovich 1987 ; Alvarez-Gaume et al. 2016 ; Hell et al. 2024 ; Golovnev 2024 ; Karananas 2025 ; Barker and Glavan 2025 ). We also reconstruct the constraint algebra of pure GR at two loops, as described by the Goroff–Sagnotti action, in section 2.4 (see e.g. Goroff and Sagnotti 1985 ; Goroff and Sagnotti 1986 ; van de Ven 1992 ; Glavan et al. 2025 ). Brief conclusions follow in section 3 . There is one technical appendix. Notation and conventions We closely follow the conventions of Barker and Glavan 2025 . We use natural units in which \hbar=c=1 , Greek letters denote four-dimensional spacetime indices, while Roman letters denote three-dimensional spatial indices. The signature is (-,+,+,+) , other conventions are introduced as needed. 2 Explicit examples 2.1 Overview of the package 2.1.1 Installation Acquiring the sources The Hamilcar package can be installed once the xAct suite of packages has been installed. The xAct suite can be found at xact.es . The Hamilcar package is made available at the public GitHub repository github.com/wevbarker/Hamilcar , along with installation guidelines for common operating systems, including Windows and macOS . Here, we only demonstrate a GNU/Linux installation. 3 3 3 Note that the syntax highlighting for Bash differs from Wolfram Language highlighting used in other sections. It is easiest to use Bash to download Hamilcar to the home directory as follows: ⬇ [user@system␣ ~ ] $ git clone https : //github.com/wevbarker/Hamilcar Installing the sources To make the installation, the sources should simply be copied alongside the other xAct sources. If the installation of xAct is global, one can use: ⬇ [user@system␣ ~ ] $ cd Hamilcar/xAct [user@system␣ xAct] $ sudo cp - r Hamilcar /usr/share/Wolfram/Applications/xAct/ Or, for a local installation of xAct , one may use: ⬇ [user@system␣ xAct] $ cp - r Hamilcar ~ /.Wolfram/Applications/xAct/ Syntax highlighting From this point, we will rely heavily on code listings in the Wolfram Language , the syntax highlighting for which is now described. Symbols defined in the Wolfram Language ( Mathematica ) are BlackBold , those defined in xAct are NavyBlueBold , those from Hamilcar are BlueBold , and those which are to be defined during the course of the user session are in SkyBlueBold . Each fresh input cell in a Mathematica notebook begins with the symbol ‘ In[ # ]:= ’, each output cell begins with the symbol ‘ Out[ # ]= ’. Non-parsing comments within the Wolfram Language appear in (*Gray*) , and strings (which should not be confused with symbols) are shown in "GrayBold" . Loading

Read the complete text