Table of Contents
Fetching ...

xPand: An algorithm for perturbing homogeneous cosmologies

Cyril Pitrou, Xavier Roy, Obinna Umeh

TL;DR

xPand delivers a fully geometrical, coordinate-free method to derive cosmological perturbation equations on arbitrary homogeneous backgrounds using a 3+1 splitting. By combining the xAct suite (xTensor/xPert) with the conformal transformation framework and a robust SVT decomposition, it enables perturbations to any order in any gauge, including FLRW and Bianchi cosmologies. The package automates curvature expansions, the Gauss–Codazzi decomposition, and the 3+1 splitting, while providing dedicated routines for matter perturbations and gauge transformations. Its primary contributions are the seamless, high-order perturbation derivations without tedious component-by-component calculations, validated against known first- and second-order results and extended to general homogeneous backgrounds. This capability significantly accelerates exploration of nonlinear cosmological perturbations and perturbed Bianchi models, with practical implications for precision cosmology and gravitational lensing studies.

Abstract

In this paper, we develop in detail a fully geometrical method for deriving perturbation equations about a spatially homogeneous background. This method relies on the 3+1 splitting of the background space-time and does not use any particular set of coordinates: it is implemented in terms of geometrical quantities only, using the tensor algebra package xTensor in the xAct distribution along with the extension for perturbations xPert. Our algorithm allows one to obtain the perturbation equations for all types of homogeneous cosmologies, up to any order and in all possible gauges. As applications, we recover the well-known perturbed Einstein equations for Friedmann-Lemaitre-Robertson-Walker cosmologies up to second order and for Bianchi I cosmologies at first order. This work paves the way to the study of these models at higher order and to that of any other perturbed Bianchi cosmologies, by circumventing the usually too cumbersome derivation of the perturbed equations.

xPand: An algorithm for perturbing homogeneous cosmologies

TL;DR

xPand delivers a fully geometrical, coordinate-free method to derive cosmological perturbation equations on arbitrary homogeneous backgrounds using a 3+1 splitting. By combining the xAct suite (xTensor/xPert) with the conformal transformation framework and a robust SVT decomposition, it enables perturbations to any order in any gauge, including FLRW and Bianchi cosmologies. The package automates curvature expansions, the Gauss–Codazzi decomposition, and the 3+1 splitting, while providing dedicated routines for matter perturbations and gauge transformations. Its primary contributions are the seamless, high-order perturbation derivations without tedious component-by-component calculations, validated against known first- and second-order results and extended to general homogeneous backgrounds. This capability significantly accelerates exploration of nonlinear cosmological perturbations and perturbed Bianchi models, with practical implications for precision cosmology and gravitational lensing studies.

Abstract

In this paper, we develop in detail a fully geometrical method for deriving perturbation equations about a spatially homogeneous background. This method relies on the 3+1 splitting of the background space-time and does not use any particular set of coordinates: it is implemented in terms of geometrical quantities only, using the tensor algebra package xTensor in the xAct distribution along with the extension for perturbations xPert. Our algorithm allows one to obtain the perturbation equations for all types of homogeneous cosmologies, up to any order and in all possible gauges. As applications, we recover the well-known perturbed Einstein equations for Friedmann-Lemaitre-Robertson-Walker cosmologies up to second order and for Bianchi I cosmologies at first order. This work paves the way to the study of these models at higher order and to that of any other perturbed Bianchi cosmologies, by circumventing the usually too cumbersome derivation of the perturbed equations.

Paper Structure

This paper contains 35 sections, 58 equations, 2 figures, 2 tables.

Figures (2)

  • Figure 1: Timings for the perturbation of the four-dimensional Ricci scalar in different gauges. From top to bottom and left to right: synchronous gauge, spatially flat gauge, comoving gauge and Newtonian gauge. On each plot, the curves from bottom to top refer to: (i) formal perturbations with xPert using a conformal transformation (red line); (ii) perturbations for a Minkowski background (yellow); (iii) perturbations for a curved FLRW background (green); (iv) perturbations for a Bianchi I background (blue); and (v) perturbations for a general Bianchi background ( "BianchiB") (purple). All timings were performed on a single $4\,\mathrm{GHz}$ core, with a $8 \,\mathrm{GB}$ RAM.
  • Figure 2: Timings for the perturbations of the four-curvature tensors, for a curved FLRW space--time, in different gauges. Left: Newtonian gauge; right: synchronous gauge. On each plot, the curves from bottom to top refer to: (i) Ricci scalar (red line); (ii) Ricci tensor (yellow); (iii) Einstein tensor (green); (iv) Riemann tensor (blue); and (v) Weyl tensor (purple). All timings were performed on a single $3.40\,\mathrm{GHz}$ core, with a $8 \,\mathrm{GB}$ RAM.