betaFeedback

WorksPhysics and Astronomy

Using fixed ww to reproduce evolving w0w_0-waw_a dark energy at the field level

Abstract

Recent results from the Dark Energy Spectroscopic Instrument (DESI) hint at dynamical dark energy, making the accurate modelling of such cosmologies increasingly important for future analyses. In this work, we show that because, when written in superconformal time ττ, the NN-body equations of motion depend on the background cosmology only through the expansion history a(τ)a(τ), matching a(τ)a(τ) allows us to map one cosmology onto another. As a first, observationally relevant, application of this new method, we match a Chevallier–Polarski–Linder (CPL) cosmology to a constant-ww cosmology with the closest a(τ)a(τ). This allows us to use a single fixed-ww simulation to reproduce the simulation predictions of the target CPL cosmology at the field level at redshifts 0≤z≤30\le z\le3. We validate this matching with 100 pairs of CPL and fixed-ww mg-glam simulations, spanning 0.1≤Ωm≤0.50.1\leΩ_{\rm m}\le0.5, −1.4≤w0≤−0.5-1.4\le w_0\le-0.5 and −1.8≤wa≤−0.15-1.8\le w_a\le-0.15. For a DESI-like cosmology, the matter power spectra of the matched and target simulations agree to 0.24% for k≲1 h Mpc−1k\lesssim1\,h\,{\rm Mpc}^{-1} and 0.8% up to k≲3 h Mpc−1k\lesssim3\,h\,{\rm Mpc}^{-1} at 0≤z≤30\le z\le3, and the density phases are reproduced with a stochasticity below 0.02%. Displacements, velocities, momenta, redshift-space multipoles, bispectra and the halo and void abundances are similarly well predicted. For most models we consider, we achieve subpercent error in the power spectrum up to scales k≲1 h Mpc−1k\lesssim1\,h\,{\rm Mpc}^{-1} at all redshifts, with density stochasticity below 0.03% over the same scales. The method allows constant-ww simulations and field-level emulators to be used for CPL cosmologies, and generalises to any cosmology with no additional scale dependence.

Introduction

The nature of dark energy (DE) has long been a central question in cosmology. Recent baryon acoustic oscillation (BAO) measurements from the Dark Energy Spectroscopic Instrument (DESI), combined with the cosmic microwave background (CMB) and type Ia supernovae, point to a time-evolving dark energy over a cosmological constant (Abdul Karim et al. 2025). This preference is expressed in the Chevallier–Polarski–Linder (CPL) parametrisation, in which the dark energy equation of state (EoS) parameter ww evolves with the scale factor aa as w(a)=w0+wa(1−a)w(a)=w_0+w_a(1-a). This form captures the expansion histories of a wide range of physical dark energy models (Chevallier & Polarski 2001; Linder 2003). Cosmological analyses of current and upcoming surveys therefore need to explore an extended parameter space that includes w0w_0 and waw_a.

Extending the parameter space comes at a cost on nonlinear scales, where predictions rely on NN-body simulations. These are the standard tool to follow the nonlinear growth of structure and underpin most analyses on small scales, but are too expensive to run for every model that must be sampled in a cosmological data analysis. Emulators trained on suites of NN-body simulations have emerged as an efficient alternative for predicting nonlinear statistics (e.g. Heitmann et al. 2009; Lawrence et al. 2017; DeRose et al. 2019; Nishimichi et al. 2019; Angulo et al. 2021; Euclid Collaboration et al. [19]), and are widely used in cosmological inference. For dynamical dark energy, some emulators predict the nonlinear matter power spectrum directly as a function of w0w_0 and waw_a [19] (Yang et al. 2025).

Another approach is to reuse existing simulations or emulators by mapping between different cosmologies. Rescaling methods can take a simulation run in one cosmology and relabel its length, mass and time units to approximate other cosmologies (Angulo & White 2010), including modified gravity models (Mead et al. 2015). Evolution mapping instead relates cosmologies at equal linear clustering amplitude (Sánchez et al. 2022; Esposito et al. 2024). For dynamical dark energy, Casarini et al. (2016), hereafter C16, matched the target model, at each redshift, to a constant-ww model sharing its comoving distance to the last-scattering surface and its σ8(z)\sigma_8(z), a method previously introduced by Casarini et al. (2009) (see also Linder & White 2005; Francis et al. 2007). Using this matching, C16 extended the Coyote emulator (Heitmann et al. 2010, 2009; Lawrence et al. 2010; Heitmann et al. 2014) to w0waw_0w_a models, showing, by means of NN-body simulations, that it reproduces the nonlinear matter power spectrum to better than 0.5% at k<2 h Mpc−1k<2\,h\,\mathrm{Mpc}^{-1} and 1% at k<3 h Mpc−1k<3\,h\,\mathrm{Mpc}^{-1} for 0≤z≤30 \leq z \leq3. Chen & Yin (2026) applied the same matching to models favoured by DESI, achieving an accuracy of about 1%. These meth-

© 2026 The Authors ods have been validated on summary statistics like the matter power spectrum or the halo mass function, but agreement at the field level is unknown.

Summary statistics, however, can not capture all the information in the nonlinear field. Field-level emulators go one step further and predict the outputs of NN-body simulations at the field level, either the density field (e.g. Kang et al. 2026) or the full particle output. The latter use neural networks to map the linear displacement field to the nonlinear displacements and velocities of NN-body simulations with percent-level accuracy (Jamieson et al. 2023; Scoggins et al. 2025), with redshift dependence through the linear growth factor (Jamieson et al. 2025). They have also been applied to beyond Λ\LambdaCDM models, such as modified gravity (Saadeh et al. 2025a,b). Other approaches combine an emulator with particle-mesh force evaluations (Bartlett et al. 2025) or use neural cellular automata (Jacobus et al. 2026). These approaches are deterministic, mapping each input field to a single output. Generative models, such as conditional generative adversarial networks, have also been applied to map Λ\LambdaCDM fields to modified gravity (Gondhalekar et al. 2025).

A key advantage of field-level emulators is that they can provide full NN-body snapshots, so that any summary statistic, including the ones in redshift space, can then be measured from their output. They enable inference and analysis at the field level, such as in the reconstruction of the initial conditions (Doeser et al. 2024) and the painting of haloes, galaxies and other tracers on fast dark matter fields (Pandey et al. 2025; Scelfo et al. 2026), including in modified gravity (García-Farieta et al. 2024). However, none of them currently covers w0waw_0w_a cosmologies. Kaushal et al. (2022) have tested a field-level emulator with w≠−1w \ne-1, but only for constant ww. Extending these emulators to CPL models would require training on new simulation suites.

In this work, we propose a new matching method that is based on a universality of the NN-body equations for models that do not introduce additional length scales, including Λ\LambdaCDM and most non-clustering dark energy models. The key idea is to match the expansion history in superconformal time, defined by dτ∝dt/a\mathrm{d}\tau\propto\mathrm{d}t/a. With this time variable, it can be shown that the NN-body equations of motion depend on the background only through Ωma(τ)\Omega_{\mathrm{m}}a(\tau) (Martel & Shapiro 1998), so that two models with the same Ωma(τ)\Omega_{\mathrm{m}}a(\tau) and the same initial conditions produce exactly identical particle trajectories.

Here, we apply this general method to evolving dark-energy models with a CPL equation of state, showing it is possible to reproduce them at the field level by means of a constant EoS chosen to match a(τ)a(\tau), while keeping Ωm\Omega_{\mathrm{m}} the same. By matching the full expansion history, we are able to reproduce snapshots at any time from the initial redshift to z=0z = 0 with a single matching, which is the key difference from the earlier work of C16. To achieve this, a(τ)a(\tau) is matched over the expansion history up to the present day, with all other cosmological parameters kept fixed2.

We validate the new mapping method with 100 pairs of target and matched simulations with 102431024^3 particles and the same initial phases, on a grid of (Ωm,w0,wa)(\Omega_{\mathrm{m}}, w_0, w_a) that includes the region favoured by DESI. Beyond the power spectrum, we test the density field at the field level through its stochasticity, and compare the Lagrangian displacement, Lagrangian velocity, Eulerian momentum, redshift-space distortions, bispectrum, haloes and voids. We also compare our matching with that of C16 and test the dependence on the NN-body code. We show that this matching method gives sub-percent accuracy in its predictions of all tested summary statistics for current observationally-relevant CPL cosmologies. A constant-ww simulation suite or field-level emulator can therefore be used for CPL cosmologies without retraining.

This paper is structured as follows. § 2 describes the method underlying this work, i.e. the matching in superconformal time, and the NN-body simulations we use to validate it. § 3 tests our matching against a range of summary statistics, including the density power spectrum, bispectrum and stochasticity, the power spectra of the Lagrangian displacement, Lagrangian velocity and Eulerian momentum, redshift-space multipoles, and halo and void abundances. We then compare our method against the original work of C16, and examine the limitations of matching to a single constant ww by stress-testing the method with a positive waw_a, i.e. wa=+0.4w_a = +0.4, with 25 further simulation pairs. For these targets, dark energy is still important at early times, which a constant ww cannot reproduce. § 4 summarises our conclusions. In the Appendices, we first show that our results hold for two other NN-body codes, PKDGRAV3 and MP-GADGET (Appendix A), and then show the effect of rescaling the velocities of the match using linear theory (Appendix B).

Throughout this paper we adopt the common conventions in the literature: Ωm,Ωr,Ωb\Omega_{\mathrm{m}}, \Omega_{\mathrm{r}}, \Omega_{\mathrm{b}} denote the present-day density parameters for matter, radiation and baryons respectively, H0H_0 is the Hubble constant with h=H0/(100 km s−1 Mpc−1)h = H_0/(100\ {\rm km\ s^{-1}\ Mpc^{-1}}), σ8\sigma_8 is the root-mean-square density fluctuation at z=0z = 0 smoothed at 8 h−1Mpc8\ h^{-1}{\rm Mpc}, nsn_s, AsA_s are the power index and amplitude of the primordial power spectrum, and aa is the scale factor normalised to a=1a = 1 at redshift z=0z = 0 (today).

Methods

Superconformal Time and Matching

We consider spatially flat cosmologies containing matter and dark energy. In the following, we model dark energy as a barotropic fluid with EoS PDE=wρDEc2P_{\mathrm{DE}} = w\rho_{\mathrm{DE}}c^2, where PDEP_{\mathrm{DE}} and ρDE\rho_{\mathrm{DE}} are the DE pressure and energy density, respectively, and cc the speed of light. For w=−1w = -1, we recover a cosmological constant.

For each target CPL cosmology, we construct a matched cosmology with a constant EoS parameter wfixw_{\mathrm{fix}} that shares all other cosmological parameters with the target. The matching proceeds in three steps:

  1. choose the wfixw_{\mathrm{fix}} whose expansion history is closest to that of the target,

  2. find, for each target redshift, the matched redshift with an equal linear growth factor DD, and

  3. rescale the velocities and redshift-space displacements based on linear theory.

We describe each step below.

The equations of an NN-body system take a particularly simple form when expressed in superconformal time (Martel & Shapiro 1998). We use the dimensionless look-back superconformal time

τ(a)≡H0∫t(a)t0dt′a2(t′)=∫a1dln⁡a′a′2E(a′),(1)\tau(a) \equiv H_0 \int_{t(a)}^{t_0} \frac{\mathrm{d}t'}{a^2(t')} = \int_a^1 \frac{\mathrm{d}\ln a'}{a'^2 E(a')}, \tag*{(1)}

where tt is the cosmic time, t0t_0 its present-day value, H(a)H(a) the Hubble parameter, whose present-day value is H0H_0 (the Hubble constant), and E(a)≡H(a)/H0E(a) \equiv H(a)/H_0 the normalised expansion rate. For a flat universe with CPL dark energy (Chevallier & Polarski 2001; Linder 2003),

w(a)=w0+wa(1−a),(2)w(a) = w_0 + w_a(1-a), \tag*{(2)}

we have

E2(a)=Ωma−3+(1−Ωm)a−3(1+w0+wa)e−3wa(1−a),(3)E^2(a) = \Omega_{\mathrm{m}}a^{-3} + (1-\Omega_{\mathrm{m}})a^{-3(1+w_0+w_a)}e^{-3w_a(1-a)}, \tag*{(3)}

where Ωm\Omega_{\mathrm{m}} is the present-day matter density parameter. For simplicity and without loss of generality, we neglect radiation in E(a)E(a), as in our NN-body simulations, so 1−Ωm1-\Omega_{\mathrm{m}} is the dark energy density. A constant-ww model corresponds to w0=ww_0 = w, wa=0w_a = 0. Using dτ=−H0 dt/a2\mathrm{d}\tau= -H_0\,\mathrm{d}t/a^2, the equations of motion become

d2xdτ2=−∇xΦ,∇x2Φ=32Ωma(τ) δ,(4)\begin{aligned} \frac{\mathrm{d}^2\boldsymbol{x}}{\mathrm{d}\tau^2} &= -\nabla_{\boldsymbol{x}}\Phi,\\ \nabla_{\boldsymbol{x}}^2\Phi&= \frac{3}{2}\Omega_{\mathrm{m}}a(\tau)\,\delta, \tag*{(4)} \end{aligned}

where x\boldsymbol{x} is the comoving position, Φ≡a2ϕ/H02\Phi\equiv a^2\phi/H_0^2 with ϕ\phi the peculiar gravitational potential, and δ\delta is the matter overdensity. Note that, in Eq. (4), the cosmology enters only through Ωma(τ)\Omega_{\mathrm{m}}a(\tau). With Ωm\Omega_{\mathrm{m}} fixed, two models that start from the same initial conditions and have identical a(τ)a(\tau) would therefore produce identical particle trajectories. The Hubble constant H0H_0 does not appear in the equations explicitly, but is implicitly included in the units of time (τ\tau) and space. We adopt the same H0H_0, and hence h=H0/(100 km s−1 Mpc−1)h = H_0/(100\ \mathrm{km\ s^{-1}\ Mpc^{-1}}), for the target and the matched models, so that both are expressed in the same units of time, length and momentum and their outputs can be compared directly.

Although the target and matched models share Ωm\Omega_{\mathrm{m}} and hh, a constant ww cannot reproduce the a(τ)a(\tau) of a CPL model exactly. For each target, we therefore choose the constant-ww model whose a(τ)a(\tau) is closest to that of the target CPL (Figure 1, left panel). In practice, we compare the two expansion histories, a(τ)a(\tau), on a grid of N=256N = 256 logarithmically-spaced values of τ\tau in the range 10−3≤τ≤3710^{-3} \leq\tau\leq37, which emphasises the late-time evolution. We therefore define the matching error as

Figure 1. Matching procedure for the DESI-like target (Ωm,w0,wa)=(0.3191,−0.752,−0.86)(\Omega_{\mathrm{m}}, w_0, w_a) = (0.3191, -0.752, -0.86). Left: a(τ)a(\tau) of the target (black) and of constant-ww models (thin coloured lines, see colour bar), with Δln⁡a(τ)\Delta\ln a(\tau) (Eq. (5)) in the lower panel. The thick line is the match, wfix=−0.9748w_{\mathrm{fix}} = -0.9748, with ϵ=0.0029\epsilon= 0.0029. Middle: linear growth factor D(z)D(z), normalised to D(0)=1D(0) = 1. For ztarget=0z_{\mathrm{target}} = 0, 1 and 2, open markers indicate the redshift at which each constant-ww model reaches the target value of DD (filled black markers). Right: linear velocity prefactor V=aHDfV = a H D f before rescaling, with Vw/Vtarget−1V_w/V_{\mathrm{target}} - 1 in the lower panel. Each curve is plotted against its own redshift, and the markers indicate the matched epochs. For the match, VV differs from the target by at most 0.6% at the matched epochs.

ϵ(w)≡1N∑i=1N[Δln⁡a(τi)]2,(5)\epsilon(w) \equiv\sqrt{\frac{1}{N}\sum_{i=1}^{N}[\Delta\ln a(\tau_i)]^2}, \tag*{(5)}

where Δln⁡a(τ)≡ln⁡aw(τ)−ln⁡atarget(τ)\Delta\ln a(\tau) \equiv\ln a_w(\tau)-\ln a_{\mathrm{target}}(\tau), aw(τ)a_w(\tau) is the expansion history of a constant-ww model, and wfixw_{\mathrm{fix}} is the value of ww that minimises

ϵ\epsilon. Unlike the relative difference aw/atarget−1a_w/a_{\mathrm{target}}-1, the log difference here is symmetric between a matched scale factor that is too large and one that is too small by the same factor. Our conclusions are not sensitive to the particular number of points NN or the τ\tau range.

The method described above with Eq. (4) is exact, in the sense that if the target and matched cosmologies have identical a(τ)a(\tau), then their simulation predictions are completely identical, and there is no approximation involved apart from those used to derive the equations from general relativity (GR), and the assumption that DE clustering is negligible. In practice, however, as we have noticed from Figure 1, the two models do not have identical a(τ)a(\tau), so that there is a slight mismatch between the structure growths for the same τ\tau or aa.

Rather than using a different constant-ww model at each redshift, as in C16, we use a single wfixw_{\mathrm{fix}} per target, trading some accuracy for efficiency. As a result, each target redshift ztargetz_{\mathrm{target}} requires a matched redshift zmatchz_{\mathrm{match}} in the matched cosmology at which the growth difference is minimised. The two models share all other parameters, including nsn_s and the present-day σ8\sigma_8. Their initial conditions have the same phases but slightly different amplitudes3. For each ztargetz_{\mathrm{target}}, we can therefore find the zmatchz_{\mathrm{match}} that satisfies Dmatch(zmatch)=Dtarget(ztarget)D_{\mathrm{match}}(z_{\mathrm{match}}) = D_{\mathrm{target}}(z_{\mathrm{target}}), with DD normalised to unity at z=0z = 0 in each model (Figure 1, middle panel). At this redshift, the two models have the same linear amplitude, and therefore the same linear density field. This is where the efficiency comes from: since any target redshift can be matched in this way, a single matched simulation serves all target redshifts, whereas matching a different constant-ww model at each redshift would require a separate NN-body simulation for every target redshift. This is similar in spirit to evolution mapping (Sánchez et al. 2022). In the following, we label each pair of matched outputs by its target redshift and write z≡ztargetz \equiv z_{\mathrm{target}}.

Matching DD is not sufficient to guarantee that the velocities will match too. In fact, in linear theory, the peculiar velocity is

v(q,z)=a(z)H(z)f(z)D(z)Ψ0(q),(6)\boldsymbol{v}(q,z) = a(z)H(z)f(z)D(z)\boldsymbol{\Psi}_0(q), \tag*{(6)}

where f≡dln⁡D/dln⁡af \equiv\mathrm{d}\ln D/\mathrm{d}\ln a is the linear growth rate, q\mathbf{q} the initial position of a particle and Ψ0\mathbf{\Psi}_0 the linear displacement field with D=1D = 1. At matched epochs, DD is equal, but the factor aHfaHf may not be (Figure 1, right panel). Following Esposito et al. (2024), we therefore rescale the velocities of the matched simulation by

vmatch→(aHf)target(aHf)matchvmatch,(7)\mathbf{v}_{\mathrm{match}} \rightarrow\frac{(aHf)_{\mathrm{target}}}{(aHf)_{\mathrm{match}}}\mathbf{v}_{\mathrm{match}}, \tag*{(7)}

where the target and matched quantities are evaluated at ztargetz_{\mathrm{target}} and zmatchz_{\mathrm{match}}, respectively. For the velocity and momentum fields (Sect. 3.2), the correction is a constant rescaling at each output, independent of position and scale, which changes only the field amplitude, i.e. the power spectrum, and leaves the stochasticity unchanged. The redshift-space positions are then obtained from the rescaled velocities as s=xmatch+vmatch,∥/(atargetHtarget)n^\mathbf{s} = \mathbf{x}_{\mathrm{match}} + v_{\mathrm{match},\parallel}/(a_{\mathrm{target}}H_{\mathrm{target}})\hat{\mathbf{n}}, where n^\hat{\mathbf{n}} is the line-of-sight direction and vmatch,∥v_{\mathrm{match},\parallel} is the line-of-sight component of the rescaled velocity. The conversion uses the aHaH of the target simulation at ztargetz_{\mathrm{target}}, so the redshift-space positions are those of the target model. Unlike for the velocity and momentum fields, the rescaling therefore changes the redshift-space density field itself, not only its amplitude. We show the effect of rescaling in Appendix B.

Simulations

We run our simulations with MG-GLAM, a particle mesh (PM) NN-body code (Klypin & Prada 2018; Ruan et al. 2022; Hernández-Aguayo et al. 2022), in its GR mode, i.e. without any modified-gravity force. We modify the code to (i) include the CPL equation of state, (ii) write snapshots at exactly the requested redshifts instead of the nearest time step, and (iii) output velocities at the same time as the positions, rather than half a time step apart.

Each simulation follows Np=10243N_{\mathrm{p}} = 1024^3 particles in a box of side length L=1000 h−1 MpcL = 1000\,h^{-1}\,\mathrm{Mpc}, giving a mass resolution of mp=7.75×1010(Ωm/0.3) h−1 M⊙m_{\mathrm{p}} = 7.75 \times10^{10}(\Omega_{\mathrm{m}}/0.3)\,h^{-1}\,M_{\odot}. Forces are computed on a 43×Np=409634^3 \times N_{\mathrm{p}} = 4096^3 mesh, so the force resolution is set by the cell size, 244.14 h−1 kpc244.14\,h^{-1}\,\mathrm{kpc}. All simulations start at zinit=100z_{\mathrm{init}} = 100 with an initial step Δainit=4×10−4\Delta a_{\mathrm{init}} = 4 \times10^{-4}, which the code increases as the simulation advances (see Klypin & Prada 2018, for details), giving 158–162 time steps in total.

The linear power spectra are computed using CAMB4 (Lewis et al. 2000; Howlett et al. 2012; Lewis 2026), using the parameterised post-Friedmann prescription to handle phantom crossing (Fang et al. 2008). We include radiation by setting Ωr=9.1×10−5\Omega_{\mathrm{r}} = 9.1 \times10^{-5}. The initial conditions for all simulations are generated using second-order Lagrangian perturbation theory (2LPT, Scoccimarro 1998), in the implementation of the FML library5 (Fiorini et al. 2021), which we extended to support a user-defined growth history, set here to that of the CPL background.

The initial conditions displace the particles from a uniform grid of 102431024^3 sites. We label each particle by its grid site q\mathbf{q}, its Lagrangian coordinate, so that its comoving position is x(q)=q+Ψ(q)\mathbf{x}(\mathbf{q}) = \mathbf{q} + \mathbf{\Psi}(\mathbf{q}), where Ψ\mathbf{\Psi} is the Lagrangian displacement field. The Lagrangian velocity field, v(q)\mathbf{v}(\mathbf{q}), is the velocity of the particle labelled by q\mathbf{q}. Eulerian fields are instead defined at comoving positions x\mathbf{x}, for example the density and momentum fields. We obtain the overdensity, δ(x)≡[ρ(x)−ρˉ]/ρˉ\delta(\mathbf{x}) \equiv[\rho(\mathbf{x})-\bar{\rho}]/\bar{\rho}, where ρˉ\bar{\rho} is the mean density in the box, and the momentum, p(x)=[1+δ(x)]v(x)\mathbf{p}(\mathbf{x}) = [1+\delta(\mathbf{x})]\mathbf{v}(\mathbf{x}), by assigning the particles and their velocities to the 102431024^3 mesh with the cloud-in-cell (CIC) scheme.

Motivated by the recent DESI results (Abdul Karim et al. 2025), we construct a grid of target cosmologies with Ωm=(0.1,0.2,0.3,0.4,0.5)\Omega_{\mathrm{m}} = (0.1, 0.2, 0.3, 0.4, 0.5), w0=(−1.4,−1.175,−0.95,−0.725,−0.5)w_0 = (-1.4, -1.175, -0.95, -0.725, -0.5) and wa=(−1.8,−1.25,−0.7,−0.15)w_a = (-1.8, -1.25, -0.7, -0.15), i.e. 100 targets, together with 25 targets with wa=+0.4w_a = +0.4 as a stress test for later, giving 125 in total. All models are spatially flat. The remaining parameters follow Planck 2015 ([57]): Ωb=0.0486\Omega_{\mathrm{b}} = 0.0486, ns=0.9667n_{\mathrm{s}} = 0.9667, σ8=0.8159\sigma_8 = 0.8159 and h=0.6774h = 0.6774. Each target uses a different random seed, while the target and its match share the same seed, giving 125 independent realisations. As a representative example, we also adopt a DESI-like cosmology, (Ωm,w0,wa)=(0.3191,−0.752,−0.86)(\Omega_{\mathrm{m}}, w_0, w_a) = (0.3191, -0.752, -0.86), the posterior mean for flat w0waw_0w_aCDM from DESI+CMB+DESY5 (Abdul Karim et al. 2025, Table V), with all other parameters as in the grid. It is closer to current constraints than the grid points, and allows a direct comparison with other studies that adopt the DESI results.

We identify haloes with the bound density maxima (BDM) halo finder (Klypin & Holtzman 1997; Knebe et al. 2011), which locates density maxima, removes unbound particles and defines haloes as spherical overdensities. We use the bound mass M200mM_{200\mathrm{m}}, enclosed within a radius where the mean density is 200 times the mean matter density. Voids are identified with the spherical void finder of PYLIANS6 (Lavaux & Wandelt 2012; Stücker et al. 2016): it applies spherical top-hat filters of decreasing radius, from 125 to 3.9 h−1 Mpc3.9\,h^{-1}\,\mathrm{Mpc}, to the CIC density field and keeps non-overlapping spheres whose mean overdensity is below a threshold δth\delta_{\mathrm{th}}, which we set to −0.7-0.7.

Results

We now compare the target and matched simulations. We start with the density field in Sect. 3.1, first for the DESI-like pair and then for the grid of models spanning (Ωm,w0,wa)(\Omega_{\mathrm{m}}, w_0, w_a). We assess our matching by comparing density slices and summary statistics of the density field, including the one-point distribution function, the power spectrum, the stochasticity and the bispectrum. § 3.2 extends the comparison beyond the real-space density field, to the Lagrangian displacement and velocity, the Eulerian momentum and the redshift-space multipoles. In Sect. 3.3, we examine halo and void abundances. We then compare our matching with the redshift-dependent matching of C16 in Sect. 3.4. In Sect. 3.5, we use the simulation pairs with wa=+0.4w_a = +0.4 to test the limits of matching a CPL model with a single constant ww.

In Appendix A, we repeat the comparison for the DESI-like pair with two other NN-body codes, PKDGRAV3 and MP-GADGET, demonstrating that the power spectrum errors of the matching do not depend on the code.

Unless stated otherwise, the results for the grid use the 100 simulation pairs with wa<0w_a < 0, and the velocities of the matched simulations are rescaled with Eq. (7). Appendix B gives further details of the effect of this rescaling.

The density field statistics

We assign the particles to a 102431024^3 mesh using the CIC scheme, to obtain the density field ρ(x)\rho(\mathbf{x}) and the overdensity δ(x)≡ρ(x)/ρˉ−1\delta(\mathbf{x}) \equiv\rho(\mathbf{x})/\bar{\rho} - 1, where ρˉ\bar{\rho} is the mean density in the box. We compare the target and matched density fields at the spectrum and field levels.

We first examine the DESI-like target cosmology $(\Omega_{\mathrm{m}}, w_0, w_a) = (0.3191,−0.752,−0.86)(0.3191, -0.752, -0.86), matched by wfix=−0.9748w_{\mathrm{fix}} = -0.9748. For this pair, the six outputs at z=0z = 0, 0.250.25, 0.50.5, 11, 22 and 33 correspond to zmatch=0z_{\mathrm{match}} = 0, 0.2450.245, 0.4900.490, 0.9850.985, 1.991.99 and 3.013.01. In Figure 2, we show sample density slices, 250×250 (h−1Mpc)2250 \times250\ (h^{-1}\mathrm{Mpc})^2 wide and 20.5 h−1Mpc20.5\ h^{-1}\mathrm{Mpc} thick, through the centre of the box, of the target and matched simulations, which are visually indistinguishable. The differences grow with time, but even at z=0z = 0 the projected densities of target and match agree to within 1% in 99.1% of the pixels, and the few larger differences lie preferentially near dense structures.

Density slices for the DESI-like target and its match at $z=3$, $1$ and $0$

Figure 2. Density slices for the DESI-like target (Ωm,w0,wa)=(0.3191,−0.752,−0.86)(\Omega_{\mathrm{m}}, w_0, w_a) = (0.3191, -0.752, -0.86) and its match (wfix=−0.9748)(w_{\mathrm{fix}} = -0.9748) at z=3z = 3, 11 and 00 (columns). Rows: target, match, and the log density ratio log⁡10[(1+δmatch)/(1+δtarget)]\log_{10}[(1+\delta_{\mathrm{match}})/(1+\delta_{\mathrm{target}})]. Each panel covers the same 250×250 (h−1Mpc)2250 \times250\ (h^{-1}\mathrm{Mpc})^2 region with a projection depth of 20.5 h−1Mpc20.5\ h^{-1}\mathrm{Mpc}. The differences grow with time, but at all three redshifts at least 99.1% of the pixels agree with the target to within 1%.

The one-point PDFs of log⁡10(1+δ)\log_{10}(1+\delta) agree to <0.3%< 0.3\% at all six outputs (Figure 3), with the largest deviations at the low- and high-density ends of the distribution, where the bins contain fewer mesh cells and are therefore noisier.

Figure 3. The probability distribution function (PDF) of log⁡10(1+δ)\log_{10}(1+\delta) for the DESI-like target and matched pair, measured on the full 102431024^3 CIC mesh. Top: PDF of the target. The PDF of the match is indistinguishable and is not shown. Bottom: relative difference between the matched and target PDFs, with deviations below 0.3% at all six outputs. Colours denote the redshift zz, as indicated by the legend.

The matter power spectrum P(k)P(k) is defined by

⟨δ(k)δ∗(k′)⟩=(2π)3δD(k−k′)P(k),\left\langle\delta(\mathbf{k})\delta^*(\mathbf{k}') \right\rangle= (2\pi)^3\delta_{\mathrm{D}}(\mathbf{k}-\mathbf{k}')P(k),

where δ(k)\delta(\mathbf{k}) is the Fourier transform of the density contrast δ(x)\delta(\mathbf{x}), and δD\delta_{\mathrm{D}} is the Dirac δ\delta function. We measure P(k)P(k) on the same 102431024^3 CIC mesh, correcting for the CIC window function, in bins of width kF=2π/Lk_{\mathrm{F}} = 2\pi/L, and do not subtract shot noise. We quantify the difference using ΔP/P≡Pmatch(k)/Ptarget(k)−1\Delta P/P \equiv P_{\mathrm{match}}(k)/P_{\mathrm{target}}(k) - 1, where PmatchP_{\mathrm{match}} is measured at zmatchz_{\mathrm{match}} and PtargetP_{\mathrm{target}} at ztargetz_{\mathrm{target}}.

The field-level difference can be characterised in terms of the stochasticity 1−r21-r^2 ((Hamaus et al. 2010)), where the cross-correlation coefficient rr is defined as

r(k)≡Pcross(k)Ptarget(k)Pmatch(k)(8)r(k) \equiv\frac{P_{\mathrm{cross}}(k)}{\sqrt{P_{\mathrm{target}}(k)P_{\mathrm{match}}(k)}} \tag*{(8)}

with the cross power spectrum given as ⟨δtarget(k)δmatch∗(k′)⟩=(2π)3δD(k−k′)Pcross(k)\left\langle\delta_{\mathrm{target}}(\mathbf{k})\delta^*_{\mathrm{match}}(\mathbf{k}') \right\rangle= (2\pi)^3\delta_{\mathrm{D}}(\mathbf{k}-\mathbf{k}')P_{\mathrm{cross}}(k). The term 1−r21-r^2 quantifies the fraction of the variance in the target field that is unexplained by the matched field.

It captures differences at the field level beyond the power spectrum, including differences in the phases of the modes, and is also used to validate field-level emulators. Beyond k≈1 h Mpc−1k \approx1\,h\,\mathrm{Mpc}^{-1}, baryonic effects become important (e.g. van Daalen et al. [72]; Chisari et al. 2019). We therefore focus on k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, but also show our results up to the Nyquist frequency of the mesh, kNy≈3.2 h Mpc−1k_{\mathrm{Ny}} \approx3.2\,h\,\mathrm{Mpc}^{-1}, for completeness.

Figure 4 shows the power spectrum error, ΔP/P\Delta P/P, and the stochasticity of the density field, 1−r21-r^2. On linear scales, the power spectra agree by construction, since the growth factor is matched. On nonlinear scales, they agree to better than 0.25% for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} and to better than 0.9% up to the Nyquist frequency, at all redshifts, with the greatest discrepancy observed at z=0.5z=0.5. That ΔP/P\Delta P/P at small scales initially increases and then decreases after z=0.5z=0.5 is likely caused by the difference in the nonlinear growth rates between the target and matched models. The stochasticity grows with time but stays below 10−510^{-5} for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, and reaches 10−410^{-4} only near the Nyquist frequency.

Figure 4. Power spectrum error ΔP/P\Delta P/P (top) and stochasticity 1−r21-r^2 (bottom) of the density field for the DESI-like (DESI posterior mean) target and matched pair at six target redshifts. Dashed lines mark ±1%\pm1\% (top) and 10−210^{-2} (bottom). The spectrum and field-level statistics show good agreement between target and match.

Having examined the DESI-like pair, we now turn to the full grid of 125 models (see Sect. 2.2), to assess how the accuracy of the matching depends on the target cosmology. We start by quantifying, in Figure 5, the error we make in approximating the expansion history by means of a constant ww. The panels show the matching error ϵ\epsilon, defined in Eq. (5), for w0∈[−1.4,−0.5]w_0 \in[-1.4,-0.5], wa∈[−1.8,0.4]w_a \in[-1.8,0.4] and three

Matching error over the CPL parameter grid

Figure 5. Matching error ϵ\epsilon over the CPL parameter grid. The three panels fix Ωm=0.1\Omega_{\mathrm{m}} = 0.1, 0.30.3 and 0.50.5. The axes are w0w_0 and waw_a. Numbers give 103ϵ10^3\epsilon and colours ϵ\epsilon, with the same colour scale as Figure 6. The white frame marks the wa<0w_a < 0 models used in the main analysis. On the middle panel, the white contours show the 68% and 95% confidence regions of the DESI DR2 constraint from DESI+CMB+DESY5, marginalised over Ωm\Omega_{\mathrm{m}}, and the star marks its posterior mean. ϵ\epsilon generally increases with w0w_0 and ∣wa∣|w_a|, and is largest in the upper-right corner of the left panel, (Ωm,w0,wa)=(0.1,−0.5,0.4)(\Omega_{\mathrm{m}}, w_0, w_a) = (0.1, -0.5, 0.4).

values of the matter density, Ωm∈{0.1,0.3,0.5}\Omega_{\mathrm{m}} \in\{0.1,0.3,0.5\}. As a property of the background expansion history, we have a single ϵ\epsilon for each model, and we expect the accuracy of the matched simulation to degrade as ϵ\epsilon increases. We can see that ϵ\epsilon is smallest in the wa=−0.15w_a=-0.15 row, which is closest to a constant ww. It increases with w0w_0 and ∣wa∣|w_a|, and decreases with Ωm\Omega_{\mathrm{m}}, i.e. with a smaller dark energy fraction. These trends are expected: the matching is better where the target is closer to a constant ww, and where dark energy is less important, i.e. for more negative w0w_0 or higher Ωm\Omega_{\mathrm{m}}.

We focus on the models with wa<0w_a<0 (boxed in Figure 5). Within this range, ϵ\epsilon is largest in the lower-right corner, and the maximum is ϵ=0.0124\epsilon=0.0124 at (Ωm,w0,wa)=(0.1,−0.5,−1.8)(\Omega_{\mathrm{m}},w_0,w_a)=(0.1,-0.5,-1.8). When the models with positive waw_a are included, we find a much larger ϵ\epsilon in the upper-right corner (wa=+0.4w_a=+0.4, large w0w_0). In that region w→w0+waw\to w_0+w_a is far above −1-1 at early times, so dark energy is not negligible at high redshift, which a constant ww is unable to reproduce. These models lie outside the DESI contours (Abdul Karim et al. 2025), and we use them only as a stress test (Sect. 3.5). The DESI DR2 constraint (DESI+CMB+DESY5, flat w0waw_0w_aCDM, 68% and 95% contours), marginalised over Ωm\Omega_{\mathrm{m}}, is drawn on the Ωm=0.3\Omega_{\mathrm{m}}=0.3 panel, the closest to the DESI value Ωm=0.3191±0.0056\Omega_{\mathrm{m}}=0.3191 \pm0.0056, and it covers cells with ϵ≈2\epsilon\approx2–4×10−34\times10^{-3}, where the matching is excellent.

Figure 6 shows the power spectrum error, ∣ΔP/P∣|\Delta P/P|, and the stochasticity of the density field, 1−r21-r^2, for the 100 simulation pairs with wa<0w_a<0, at redshifts z=0z=0, 0.50.5, 11, and 22, coloured by the matching error ϵ\epsilon. At all shown redshifts, the median error ∣ΔP/P∣|\Delta P/P| is below 0.2% at all scales k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} and below 0.8% all the way up to the Nyquist frequency k≲3 h Mpc−1k \lesssim3\,h\,\mathrm{Mpc}^{-1}. The median follows the behaviour of the DESI-like pair: it increases from z=3z = 3 to a peak at z=0.5z = 0.5 and then decreases towards z=0z = 0, where a sign change near k≈0.6 h Mpc−1k \approx0.6\,h\,\mathrm{Mpc}^{-1} appears as a dip. All models except six show sub-percent error in the power spectrum at all scales k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} and at all redshifts, with the greatest discrepancy again appearing at z=0.5z = 0.5. For k≳1 h Mpc−1k \gtrsim1\,h\,\mathrm{Mpc}^{-1}, where baryons nevertheless become important and the reliability of dark-matter-only simulations decreases, the maximum error stays within 5%, with the largest deviation shown at z=1z = 1.

Figure 6. Power spectrum error ∣ΔP/P∣|\Delta P/P| (top) and stochasticity 1−r21-r^2 (bottom) of the density field for the 100 models with wa<0w_a < 0 at z=0z = 0, 0.50.5, 11 and 22 (columns), coloured by ϵ\epsilon. Solid black lines show the median and dashed black lines the 16th and 84th percentiles across models. Grey dashed lines mark 10−210^{-2} and k=1 h Mpc−1k = 1\,h\,\mathrm{Mpc}^{-1}. The errors are strongly correlated with ϵ\epsilon, and for most models the power spectrum error is sub-percent and the stochasticity is ∼10−4\sim10^{-4} or below up to the Nyquist frequency. The power spectra of target and match agree well.

The median stochasticity follows the same behaviour as in the DESI-like pair, staying below 10−510^{-5} for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} and reaching 10−410^{-4} only near the Nyquist frequency; it is also largest at z=0z = 0. For all models considered, the stochasticity remains sub-percent up to the Nyquist frequency. The errors are strongly correlated with ϵ\epsilon: all models below the 90th percentile of ϵ\epsilon, ϵ<6×10−3\epsilon< 6 \times10^{-3}, have a power spectrum error below 1% and a stochasticity below 10−310^{-3} at all scales k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} and at all redshifts. All six exceptions have Ωm=0.1\Omega_{\mathrm{m}} = 0.1 and lie in the top 10% of ϵ\epsilon.

To test the non-Gaussianity of the field, we use the bispectrum, defined by ⟨δ(k1)δ(k2)δ(k3)⟩=(2π)3δD(k1+k2+k3)B(k1,k2,k3)\langle\delta(\mathbf{k}_1)\delta(\mathbf{k}_2)\delta(\mathbf{k}_3)\rangle= (2\pi)^3\delta_D(\mathbf{k}_1 + \mathbf{k}_2 + \mathbf{k}_3)B(k_1,k_2,k_3) ((Bernardeau et al. 2002; Scoccimarro 2000)). In particular, we focus on the reduced bispectrum Q≡B/[P(k1)P(k2)+P(k2)P(k3)+P(k3)P(k1)]Q \equiv B/[P(k_1)P(k_2) + P(k_2)P(k_3) + P(k_3)P(k_1)], which largely removes the dependence on the power spectrum amplitude and isolates the mode coupling. We consider

three types of triangle configurations, which probe different aspects of mode coupling. Two of them fix k1k_1 and k2k_2 and vary the angle θ\theta between them. The first, k2=2k1=0.4 h Mpc−1k_2 = 2k_1 = 0.4\ h\ \mathrm{Mpc}^{-1}, probes the quasi-linear regime. The second, (k1,k2)=(0.1,3) h Mpc−1(k_1,k_2) = (0.1,3)\ h\ \mathrm{Mpc}^{-1}, is a squeezed configuration, which couples a large-scale mode to two nonlinear modes and therefore tests how small-scale structure responds to its large-scale environment. Finally, the equilateral configuration, from quasi-linear scales up to just below kNyk_{\mathrm{Ny}}, follows the mode coupling at fixed shape from quasi-linear to nonlinear scales. We measure the bispectrum at z=0z = 0 with pylians3 (Villaescusa-Navarro 2018) on the same 102431024^3 CIC mesh, correcting for the CIC window function. Shot noise is not subtracted, since it is nearly identical for target and match.

Figure 7 shows the error of the reduced bispectrum, ∣ΔQ/Q∣≡∣Qmatch/Qtarget−1∣|\Delta Q/Q| \equiv|Q_{\mathrm{match}/Q_{\mathrm{target}} - 1|}, at z=0z = 0. For the quasi-linear configuration (left panel), all models agree to better than 0.3% at all angles, with a median below 0.02%. When the large-scale mode k1=0.1 h Mpc−1k_1 = 0.1\,h\,\mathrm{Mpc}^{-1} combined with k2=3 h Mpc−1k_2 = 3\,h\,\mathrm{Mpc}^{-1} (middle panel), the residual depends only weakly on θ\theta and is largest near θ≈π/2\theta\approx\pi/2, with a median below 0.15%. All models except two stay below 1%, with a maximum of 1.3%. For equilateral triangles (right panel), the median error is below 0.15% for k<1 h Mpc−1k < 1\,h\,\mathrm{Mpc}^{-1} and below 0.25% at all kk, with the largest values at k≈1.5k \approx1.5–2 h Mpc−12\,h\,\mathrm{Mpc}^{-1}. All models except ten stay below 1%, with a maximum of 2.4%. The residuals of QQ are strongly correlated with ϵ\epsilon, similar to those of the power spectrum.

Reduced bispectrum error for three triangle configurations

Figure 7. Reduced bispectrum error ∣Qmatch/Qtarget−1∣|Q_{\mathrm{match}/Q_{\mathrm{target}} - 1|} at z=0z = 0 for the models with wa<0w_a < 0. Left and middle: triangles with fixed (k1,k2)=(0.2,0.4)(k_1,k_2) = (0.2,0.4) and (0.1,3) h Mpc−1(0.1,3)\ h\ \mathrm{Mpc}^{-1}, as a function of the angle θ\theta between k1\mathbf{k}_1 and k2\mathbf{k}_2, with k3=∣k1+k2∣k_3 = |\mathbf{k}_1 + \mathbf{k}_2|. Right: equilateral triangles (k1=k2=k3=k)(k_1 = k_2 = k_3 = k) as a function of kk. Colours and lines as in Figure 6. The reduced bispectra of target and match agree well.

Lagrangian, momentum and redshift-space fields

In addition to the density, we examine the Lagrangian displacement and velocity and the Eulerian momentum field (see Sect. 2.2), which are vector fields. For a vector field u\boldsymbol{u}, which is Ψ(q)\boldsymbol{\Psi}(\boldsymbol{q}), v(q)\boldsymbol{v}(\boldsymbol{q}) or p(x)\boldsymbol{p}(\boldsymbol{x}), we define Pu(k)=∑i=13Puiui(k)P_{\boldsymbol{u}}(k) = \sum_{i=1}^{3} P_{u_i u_i}(k), and likewise for the cross power.

The cross-correlation coefficient is thus

r(k)=∑iPuitargetuimatch(k)[∑iPuitargetuitarget(k)∑iPuimatchuimatch(k)]1/2(9)r(k) = \frac{\sum_i P_{u_i^{\mathrm{target}}u_i^{\mathrm{match}}}(k)}{\left[\sum_i P_{u_i^{\mathrm{target}}u_i^{\mathrm{target}}}(k)\sum_i P_{u_i^{\mathrm{match}}u_i^{\mathrm{match}}}(k)\right]^{1/2}} \tag*{(9)}

which treats the three Cartesian components as a single field. The velocities and momentum of the match are rescaled as in Sect. 2.1 (see Eq. (7)); we also discuss the implications of rescaling further in Appendix B.

Figure 8 shows the power spectrum error ∣ΔP/P∣|\Delta P/P| of the Lagrangian displacement, Lagrangian velocity and Eulerian momentum and its dependence on redshift. The displacement is the most accurate of the three fields. Its median error is below 0.04% for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} and below 0.2% up to the Nyquist frequency. The models stay below 0.5% for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} and below 1.6% up to the Nyquist frequency. The displacement error grows with time and is largest at z=0z = 0. For both the Lagrangian velocity and the momentum, the median error is below 0.3% for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} and below 0.8% up to the Nyquist frequency. For k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, at most eleven models exceed 1% in either field, and these are among the models with the largest ϵ\epsilon. The Lagrangian velocity is the least accurate field, with errors up to 2.6% for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} and 6.4% up to the Nyquist frequency. We will revisit this point in Appendix A.

Figure 8. Power spectrum error ∣ΔP/P∣|\Delta P/P| of the Lagrangian displacement (top), Lagrangian velocity (middle) and Eulerian momentum (bottom), at z=0z = 0, 0.50.5, 11 and 22 (columns). Colours and lines as in Figure 6. The displacement is the most accurate field and the Lagrangian velocity the least accurate, but all three fields are sub-percent for k≲1 h Mpc−1k \lesssim1\ h\ \mathrm{Mpc}^{-1} for most models.

Observations measure positions in redshift space, so we also compare the redshift-space density fields. We construct them in the plane-parallel approximation, taking each of the three box axes in turn as the line of sight, average the multipoles over the three directions, and compare target and match. The multipoles are the Legendre expansion of the redshift-space power spectrum P(k,μ)P(k,\mu), where μ\mu is the cosine of the angle to the line of sight [30] (Kaiser 1987).

Pℓ(k)=2ℓ+12∫−11P(k,μ) Lℓ(μ) dμ.(10)P_\ell(k) = \frac{2\ell+ 1}{2}\int_{-1}^{1} P(k,\mu)\,L_\ell(\mu)\,\mathrm{d}\mu. \tag*{(10)}

Here LℓL_\ell is the Legendre polynomial of order ℓ\ell, and we measure the monopole (ℓ=0\ell= 0), quadrupole (ℓ=2\ell= 2) and hexadecapole (ℓ=4\ell= 4). We present the residuals of all multipoles normalised by the target monopole, ΔPℓ/P0≡(Pℓ,match−Pℓ,target)/P0,target\Delta P_\ell/P_0 \equiv(P_{\ell,\mathrm{match}} - P_{\ell,\mathrm{target}})/P_{0,\mathrm{target}}. The velocities used to construct the redshift-space positions are rescaled following Eq. (7) (see also Appendix B).

Figure 9 shows the residuals of the redshift-space monopole, quadrupole and hexadecapole, ΔPℓ/P0\Delta P_\ell/P_0. For k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, the median ∣ΔPℓ/P0∣|\Delta P_\ell/P_0| is below 0.2% for all three multipoles. The residuals are within 1% for all models, except for the six models that also exceed 1% in the real-space power spectrum (Sect. 3.1), for which the hexadecapole reaches 1.8%. Up to the Nyquist frequency, the median remains below 1%. The largest residuals are in the hexadecapole at z=0.5z = 0.5, with a maximum of about 5%. The matching is therefore as accurate in redshift space as in real space.

Figure 9. Residuals of the redshift-space monopole, quadrupole and hexadecapole (rows), normalised by the target monopole and averaged over three lines of sight, at z=0z = 0, 0.50.5, 11 and 22 (columns). Colours and lines as in Figure 6. The multipoles agree to within 1% at k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} for nearly all models. Towards the Nyquist frequency, the residuals of the quadrupole and hexadecapole reach a few percent for the small number of models with the largest ϵ\epsilon.

Halo and void statistics

We compare the abundance of haloes at z=0z = 0 (Figure 10), following the procedure described in Sect. 2.2. To exclude poorly resolved haloes and sparsely populated bins, we restrict the comparison to masses from the 100-particle mass of each cosmology up to 1015 h−1M⊙10^{15}\,h^{-1}M_\odot, where target and match contain at least 100 haloes per bin. The median ∣nmatch/ntarget−1∣|n_{\mathrm{match}}/n_{\mathrm{target}} - 1| is ≲0.3%\lesssim0.3\% at all masses and largest at the highest masses, 1014.610^{14.6}–1015 h−1M⊙10^{15}\,h^{-1}M_\odot, where haloes are rare, and the 84th percentile stays below 1%. Since target and match share the same initial phases, the Poisson noise largely cancels in the ratio, which allows a sub-percent comparison even where haloes are rare.

Figure 10. Halo mass function (HMF, left) and void size function (VSF, right) at z=0z = 0, where voids are spheres with mean overdensity below δth−0.7\delta_{\mathrm{th}} - 0.7. Top: target (solid) and match (dashed). Bottom: ∣nmatch/ntarget−1∣|n_{\mathrm{match}}/n_{\mathrm{target}} - 1| for bins with at least 100 objects in both members, where zero means equal counts. Haloes are binned in 0.4 dex in mass up to 1015 h−1M⊙10^{15}\,h^{-1}M_\odot and voids in 3.9 h−1Mpch^{-1}\mathrm{Mpc} in radius up to R=20.6 h−1MpcR = 20.6\,h^{-1}\mathrm{Mpc}. Colours and lines as in Figure 6. Grey dashed lines mark 1%.

We also compare the void abundance at z=0z = 0 (Figure 10). We use the void finding procedure described in Sect. 2.2. The comparison covers R=5R = 5–20.6 h−1Mpc20.6\,h^{-1}\mathrm{Mpc}, where the target and match contain at least 100 voids per bin. The median ∣nmatch/ntarget−1∣|n_{\mathrm{match}}/n_{\mathrm{target}} - 1| increases with radius, from 0.01% at R≈5R \approx5–9 h−1Mpc9\,h^{-1}\mathrm{Mpc} to 0.09% at R≈17R \approx17–21 h−1Mpc21\,h^{-1}\mathrm{Mpc}, and the 84th percentile stays below 0.2%. The fraction of models in which target and match contain exactly the same number of voids increases from 5% at the smallest radii to 48% at the largest. Voids are reproduced more precisely than haloes, as expected for large, quasi-linear structures. For both statistics, the largest residuals belong to the models with the largest ϵ\epsilon.

Comparison with the redshift-dependent matching of C16

As mentioned in Sect. 2.1, our matching trades a little accuracy for efficiency: a single constant-ww model serves all redshifts, so that one NN-body simulation provides all the snapshots of the target. The matching of C16, instead, treats each output redshift separately, with a constant-ww model that has the same comoving distance to the last-scattering surface and the same σ8(z)\sigma_8(z) as the target. This reproduces the nonlinear matter power spectrum at each redshift to better than 1%1\% up to k=3 h Mpc−1k = 3\ h\,\mathrm{Mpc}^{-1}, but requires a separate NN-body simulation, with its own ww and σ8\sigma_8, for every snapshot. For the DESI-like target, the C16 models range from w=−0.9759w = -0.9759 at z=0z = 0 to w=−1.1872w = -1.1872 at z=3z = 3. We run these simulations with MG-GLaM, using the same initial phases and the same velocity rescaling (Eq. (7)) as for our match, and compare the two approaches in Figure 11, to quantify the accuracy we give up by using a single simulation.

Comparison of matching methods for density, Lagrangian displacement, Lagrangian velocity and Eulerian momentum

Figure 11. Comparison between our (solid) and C16’s redshift-dependent (dashed) matching for the DESI-like target (Ωm,w0,wa)=(0.3191,−0.752,−0.86)(\Omega_{\mathrm{m}}, w_0, w_a) = (0.3191, -0.752, -0.86). Our matching obtains all snapshots from a single constant-ww simulation, whereas C16 requires a separate constant-ww simulation, with its own ww and σ8\sigma_8, for each redshift. At k≲1 h Mpc−1k \lesssim1\ h\,\mathrm{Mpc}^{-1}, the two approaches are close, with ∣ΔP/P∣<0.4%|\Delta P/P| < 0.4\% for all fields. Towards the Nyquist frequency, the density error of our matching grows to about 0.9%0.9\% at z=0.5z = 0.5 and 11, compared with at most 0.12%0.12\% for C16. Our matching thus trades a small loss in accuracy for a large gain in efficiency. Top: power spectrum error Pmatch/Ptarget−1P_{\mathrm{match}/P_{\mathrm{target}} - 1}. Bottom: stochasticity 1−r21-r^2. Columns show the density, Lagrangian displacement, Lagrangian velocity and Eulerian momentum. The velocities of both approaches are rescaled with Eq. (7). Colours denote zz as indicated by the legend.

At z=0z = 0, the C16 model, with w=−0.9759w = -0.9759, is very close to our match, wfix=−0.9748w_{\rm fix} = -0.9748, and the two approaches give nearly identical results. For all four fields, their power spectrum errors differ by less than 0.05% for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, and the density stochasticity stays below 5.3×10−65.3 \times10^{-6} for our match and 4.0×10−64.0 \times10^{-6} for C16 in the same range. At z>0z > 0, C16 is generally more accurate, in particular on small scales. The difference is largest at z=0.5z = 0.5 and 1, where the density ∣ΔP/P∣|\Delta P/P| up to near the Nyquist frequency reaches 0.86% and 0.81% for our match, compared with 0.12% and 0.045% for C16. These are the epochs at which the expansion history of our match departs most from that of the target, with ∣Δln⁡a∣|\Delta\ln a| up to 0.7% near z≈0.7z \approx0.7 (Figure 1, left panel). For k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, the density ∣ΔP/P∣|\Delta P/P| at z>0z > 0 stays below 0.24% for our match and 0.05% for C16. The momentum and the Lagrangian velocity behave in the same way, while the displacement errors of the two approaches are similar, ≲0.04%\lesssim0.04\% for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}. The density stochasticity of C16 is also lower at z>0z > 0, although both remain below 10−510^{-5} for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}.

The two approaches therefore trade accuracy against efficiency. C16 is slightly more accurate at z>0z > 0, in particular on small scales, but needs a separate simulation, with a different cosmology, for every output redshift, six in this comparison. Our matching uses a single simulation of one constant-ww cosmology for all redshifts, and its outputs form one continuous evolution, which is suitable for building light cones. For a small loss in accuracy, with errors of a few tenths of a percent for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} for the DESI-like target, we thus gain efficiency, and a constant-ww simulation suite or field-level emulator can reproduce a CPL target at all redshifts with a single input cosmology. We also note that, for k≳1 h Mpc−1k \gtrsim1\,h\,\mathrm{Mpc}^{-1}, we are moving to the one-halo regime, where sub-percent agreement is difficult to achieve between different simulation codes, particularly at field level (Bayer et al. 2025).

Extreme cases

The 25 simulation pairs with wa=+0.4w_a = +0.4 test the matching outside the parameter range favoured by DESI. They are the more extreme cases, with matching errors up to ϵ=0.039\epsilon= 0.039 for (Ωm,w0,wa)=(0.1,−0.5,0.4)(\Omega_{\rm m}, w_0, w_a) = (0.1, -0.5, 0.4), three times the maximum for the models with wa<0w_a < 0. Figure 12 shows the results at z=0z = 0, where the models with the largest ϵ\epsilon also have the largest spectrum and field-level errors. For k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, six of the 25 pairs have a density power spectrum error above 1%, and five of them also have a stochasticity above 0.1%, up to 46%. These six pairs are the five with (w0,wa)=(−0.5,0.4)(w_0,w_a) = (-0.5,0.4), one for each Ωm\Omega_{\rm m}, and (0.1,−0.725,0.4)(0.1,-0.725,0.4), all in the upper-right corner of the ϵ\epsilon map (Figure 5). The redshift-space multipoles, the reduced bispectrum and the halo mass function of these models also deviate by more than 1%.

Figure 12. Power spectrum error ∣ΔP/P∣|\Delta P/P| (top) and stochasticity 1−r21-r^2 (bottom) at z=0z = 0 of the density, Lagrangian displacement, Lagrangian velocity and Eulerian momentum for the 25 simulation pairs with wa=+0.4w_a = +0.4, coloured by ϵ\epsilon. These models have non-negligible dark energy density at early times, making them difficult to reproduce with a fixed equation of state. Grey lines show the 100 simulation pairs with wa<0w_a < 0, and the black solid and dashed lines their median and 16th and 84th percentiles. Grey dashed lines mark 10−210^{-2}. In this stress test, the models with the largest ϵ\epsilon also have the largest spectrum and field-level errors.

No. We note where matching in these more extreme models is not an indication of failure by the general methodology developed here, but simply the consequence of the fact that a constant-wfixw_{\rm fix} expansion history fundamentally cannot well match the expansion history of the target. The failing models have a non-negligible dark energy density at early times. For the model with the largest ϵ\epsilon, (0.1,−0.5,0.4)(0.1,-0.5,0.4), the equation of state approaches w0+wa=−0.1w_0+w_a=-0.1 at early times, and dark energy makes up 41% of the energy density at zinit=100z_{\rm init}=100. For the five models with (w0,wa)=(−0.5,0.4)(w_0,w_a)=(-0.5,0.4), this fraction increases from 7% for Ωm=0.5\Omega_{\rm m}=0.5 to 41% for Ωm=0.1\Omega_{\rm m}=0.1. For (0.1,−0.725,0.4)(0.1,-0.725,0.4), it is 3%, compared with less than 0.2% for every model with wa<0w_a<0. A constant ww cannot follow a dark energy component that is important both at early and at late times. The matches of these models have wfix=−0.26w_{\rm fix}=-0.26 to −0.28-0.28 and a dark energy fraction of 2–19% at z=100z=100, so the expansion histories, and hence the particle trajectories, differ already when structures start to form. Early dark energy also changes nonlinear structure formation beyond the linear growth (Francis et al. 2009; Grossi & Springel 2009), and fitting functions for the nonlinear power spectrum show their largest errors in the same corner of parameter space, where w0+waw_0+w_a approaches zero (Mead et al. 2021).

These cases therefore provide a stress test of our matching method with the additional constraint of w=wfixw=w_{\rm fix} in the matched cosmology. A single constant ww matches the expansion history only on average. This works well for the models with wa<0w_a<0. For the models with wa>0w_a>0 and a non-negligible early dark energy fraction, the matching could still work, but requires more sophisticated matched models than wfixw_{\rm fix} and so is less useful in this particular context. This limitation is of little practical concern at present, as the region of parameter space favoured by current data lies at wa<0w_a<0 (Abdul Karim et al. 2025).

Conclusions

We have presented a method to reproduce the full output of an NN-body simulation with CPL dark energy at multiple redshifts, using a single simulation of a constant-ww cosmology. The mapping between the two is obtained by matching their expansion histories in superconformal time.

We assessed the accuracy of the method with MG–GLAM simulations of a DESI-like pair, with the target at the DESI+CMB+DESY5 posterior mean, and of 100 simulation pairs spanning (Ωm,w0,wa)(\Omega_{\rm m}, w_0, w_a) with wa<0w_a<0, which include the region favoured by DESI. Our main results are as follows.

  • DESI-like pair. For a target at the posterior mean of the DESI constraints, the expansion histories of the target and the match differ by less than 1% at all times. A single matched simulation reproduces the target at all output redshifts, 0≤z≤30 \le z \le3. The power spectra of the matter density, the Lagrangian displacement and velocity, and the Eulerian momentum agree to sub-percent precision up to near the Nyquist frequency of our mesh. At the field level, the density fields of the target and the match are almost perfectly correlated, and their one-point distributions agree to sub-percent precision.

  • Models with wa<0w_a<0. For the 100 simulation pairs with wa<0w_a<0, the median error of the matter power spectrum is sub-percent up to near the Nyquist frequency, and the stochasticity of the density field is sub-percent. For k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, the power spectra of all fields and the redshift-space multipoles agree to sub-percent precision, except for the models with the largest matching errors. The reduced bispectrum and the abundances of haloes and voids also agree to sub-percent precision for most models. The errors of all statistics are strongly correlated with the matching error ϵ\epsilon, which depends only on the background. The models near the DESI constraints have small ϵ\epsilon and sub-percent errors.

  • Comparison with C16. For the DESI-like pair, the redshift-dependent matching of C16 gives nearly identical results at z=0z=0 and is more accurate on small scales at z>0z>0, at the expense of requiring a separate simulation for each output redshift. Our matching needs a single simulation for all redshifts, with sub-percent errors for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} in all fields. It therefore trades a small loss in accuracy for a large gain in efficiency.

Our method allows existing constant-ww simulation suites and field-level emulators to be used for CPL cosmologies without retraining, with mapping errors below the percent-level accuracy of most current field-level emulators. It is therefore naturally suited to building future emulators, which could be trained on a reduced set of models and extended to other models by matching.

Two points mentioned briefly above merit a more detailed discussion. First, when implementing the matching, we required that the matched and target cosmologies have the same σ8\sigma_8 at z=0z = 0, which means that they start from initial conditions with slightly different amplitude AsA_s (but the same nsn_s and random phases). This is a choice: the alternative is to use the same initial conditions (those of the target cosmology) for both simulations. That would have been a natural choice, because the matched simulation is only a surrogate, which does not necessarily carry physical content. While we have not tested this approach here, we expect it to give better agreement at higher zz and worse at low zz, with the overall accuracy again depending on ϵ\epsilon. Our choice is based on a practical consideration: it allows us to repurpose existing constant-ww simulations to build emulators for CPL, without having to run new simulations.

Second, while the general matching method proposed here is exact, in the first application we have adopted constant-ww for the matched models, for its simplicity. This is because CPL itself is not a complicated model, and using a more sophisticated matched model would lose the advantage of the method. Indeed, the matching method here is strikingly simple: the matched models have identical cosmological parameters as the targets, such as hh, Ωm\Omega_{\rm m}, Ωb\Omega_{\rm b}, σ8\sigma_8 and nsn_s. For more complex models, such as other forms of time-dependent dark energy EoS, coupled scalar fields (with no screening), interacting dark energy and the usual μ\mu–Σ\Sigma parameterisation of modified gravity (e.g. (e.g. Pogosian & Silvestri 2016)), this method will still apply, as we will demonstrate in a forthcoming work, but the matched model will have different cosmological parameters, and τ\tau might need to be shifted or rescaled to achieve an accurate matching. This, however, is not necessarily a disadvantage, for a few reasons. (1) the additional flexibility can allow the matching to be more accurate, i.e. ϵ\epsilon smaller, which, as we have found, is the deciding factor for the accuracy of the method; (2) a single suite of surrogate simulations can then be used to build field-level emulators for a variety of DE and modified gravity models, making the method even more universal and efficient; (3) if a new suite of surrogate simulations is run, we could include the amplitude of the primordial power spectrum as an additional emulation parameter. This would turn the initial conditions into an extra dimension of the parameter space, rather than tying them to a matched model, and allow us to use the same initial conditions for the target and matched models. Together with a more accurate matching, this may remove the need for the growth factor matching and the velocity rescaling.

Finally, we stress that the matching works because the background enters the NN-body equations through a single function of time, a(τ)a(\tau). The NN-body equations, Eq. (4), are then entirely scale-free. Models with more freedom, such as those with massive neutrinos or scale-dependent modified gravity, cannot be described by a a(τ)a(\tau) alone, so the method here will not apply straightforwardly. We leave adaptations of the method to these models for future work.

Note added. While completing this manuscript, we became aware of the related work of Demidov et al. (in prep.), which also examined reproducing dynamical dark energy by means of a fixed-ww cosmology at the field level. They adopt the matching of C16, and test it at z=0z = 0 for a DESI-like CPL model and two w(z)w(z) cosmologies beyond CPL. Our work differs in that the matching follows from an exact equivalence of the NN-body equations in different models when expressed in superconformal time, which also identifies the origin of the error as the mismatch in a(τ)a(\tau), and in that a single matched simulation gives all redshifts. With our method, the mismatch is quantified by a single number, ϵ\epsilon, depending only on the background, with which the errors of all the summary statistics we tested are strongly correlated. These two studies are complementary. Demidov et al. explore the range of DE models and tracer types: at z=0z = 0, they consider beyond-CPL EoS and extend the comparison to individual haloes and to the redshift-space clustering of mock galaxies. We explore the range of cosmologies and redshifts: for CPL, we cover a grid in (Ωm,w0,wa)(\Omega_{\rm m}, w_0, w_a) at 0≤z≤30 \le z \le3, and also test the Lagrangian displacement and velocity fields and the dependence on the NN-body code. Both methods work for general non-clustering DE models not limited to CPL.

Acknowledgements

We thank Jie Wang and Sownak Bose for helpful discussions, and Anatoly Klypin and Paco Prada for sharing the GLAM code, which MG-GLAM is based on.

YM is supported by a China Scholarship Council studentship (No. 202504910166). YM, DS, C-ZR and BL are supported by the European Research Council (ERC) Advanced Grant “UNCA” (UKRI Frontiers Research Guarantee No. EP/Z533877/1). KK is supported by UK STFC grant number ST/B001175/1.

This work used the DiRAC@Durham facility managed by the Institute for Computational Cosmology on behalf of the STFC DiRAC HPC Facility (www.dirac.ac.uk). The equipment was funded by BEIS capital funding via STFC capital grants ST/K00042X/1, ST/P002293/1, ST/R002371/1 and ST/S002502/1, Durham University and STFC operations grant ST/R000832/1. DiRAC is part of the National e-Infrastructure.

For the purpose of open access, we have applied a Creative Commons Attribution (CC BY) licence to any Author Accepted Manuscript version arising.

Data availability

The supporting research data are available upon reasonable request from the corresponding author.

A comparison of N-body codes

To test the extent to which our method is independent on the specific choice of NN-body solver employed to produce the relevant NN-body simulations, we simulate the DESI-like target and its match using the tree code PKDGRAV37 (Potter et al. 2017) and the TreePM code MP-GADGET8 (Feng et al. 2018).

All three codes start from the same 2LPT initial conditions generated with FML at zinit=100z_{\rm init}=100, with 102410^{24} particles in a box of side length 1 h−1Gpc1\,h^{-1}\mathrm{Gpc}, and use the same CPL background without radiation. PKDGRAV3 computes the forces with the fast multipole method; following Potter et al. (2017) we choose an opening angle of 0.40.4 and a gravitational softening of 1/501/50 of the mean interparticle separation (19.5 h−1kpc19.5\,h^{-1}\mathrm{kpc}), and integrate the particles with individual time steps over 600 base steps. For MP-GADGET, following Bird et al. (2022), we compute the long-range forces on a 204832048^3 mesh, and the short-range forces with a softening of 1/301/30 of the mean interparticle separation, 32.6 h−1kpc32.6\,h^{-1}\mathrm{kpc}, and integrate the particles with individual time steps over about 570 base steps. The force resolution of MG-GLAM is instead set by its mesh cell size of 244 h−1kpc244\,h^{-1}\mathrm{kpc}, 7.5 and 12.5 times larger than the softening of MP-GADGET and PKDGRAV3. All statistics are measured as in Sect. 3, and the velocity rescaling of Eq. (7) is applied in all three codes.

For each code, we compare its own target and matched simulations in Figure A1 (top). In the bins of Figure A1, the power spectrum errors of the three codes agree to within 0.1%0.1\% for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} and 0.3%0.3\% up to near the Nyquist frequency, for all four fields and at all six redshifts. For the density and the momentum, they agree to within 0.04%0.04\% and 0.08%0.08\%. These differences are small compared with the matching errors themselves, which reach 0.9%0.9\% for the density near the Nyquist frequency. Differences in the absolute power spectra of the codes, for example from the force resolution, largely cancel in the target/match ratios, so the power spectrum error of the matching does not depend on the NN-body solver.

Figure A1. Power spectrum error Pmatch/Ptarget−1P_{\mathrm{match}}/P_{\mathrm{target}}-1 (top) and stochasticity 1−r21-r^2 (bottom) of the density, Lagrangian displacement, Lagrangian velocity and Eulerian momentum for the DESI-like target, simulated with MG-GLAM (solid), PKDGRAV3 (dashed) and MP-GADGET (dotted) from the same initial conditions with 102431024^3 particles. Each curve compares the target and match run with the same code, and the velocities are rescaled with Eq. (7). Eulerian fields are reproduced considerably better than individual particle positions and velocities, because particle dynamics inside haloes is chaotic. This is not specific to our method: at these scales, different NN-body codes disagree with one another on the trajectories of individual particles inside haloes, even when started from the same initial conditions.

The stochasticity, however, differs substantially between the codes (Figure A1, bottom). On large scales, k≲0.1 h Mpc−1k \lesssim0.1\,h\,\mathrm{Mpc}^{-1}, the three codes agree, with a stochasticity of less than 2×10−82\times10^{-8} in all of them. Towards higher kk and lower redshift, it grows faster in MP-GADGET and PKDGRAV3 compared to MG-GLAM. At z=0z=0 and k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, the stochasticity reaches 3.8×10−43.8\times10^{-4} for the density and 2.2×10−42.2\times10^{-4} for the momentum in PKDGRAV3, and 1.8×10−51.8\times10^{-5} and 1.2×10−41.2\times10^{-4} in MP-GADGET, compared to 5.2×10−65.2\times10^{-6} and 2.2×10−52.2\times10^{-5} in MG-GLAM. For the Lagrangian displacement and velocity, it reaches 2.2×10−32.2\times10^{-3} and 0.190.19 in PKDGRAV3 and 1.2×10−31.2\times10^{-3} and 0.140.14 in MP-GADGET, compared with 3.1×10−53.1 \times10^{-5} and 2.8×10−32.8 \times10^{-3} in MG-GLAM. The Lagrangian fields are thus more affected than the Eulerian fields. At z=0z=0 and k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, their stochasticity in the two tree codes is 1.5–2 orders of magnitude higher than in MG-GLAM, compared with 0.5–1 orders of magnitude for the density and the momentum. The Lagrangian velocity is almost uncorrelated on small scales, with a stochasticity of 0.84 and 0.72 near the Nyquist frequency in PKDGRAV3 and MP-GADGET.

We attribute this difference to the NN-body codes rather than to the matching method which, as we mentioned above, is exact for identical a(τ)a(\tau) (Sect. 2.1). NN-body dynamics is chaotic on cluster scales: small differences between two runs, here caused by the slightly different expansion histories and initial conditions, grow quickly in dense regions, more so as the softening decreases ((Suto 1991; Hayes 2003; Genel et al. 2019; Asano & Portegies Zwart 2026)). Inside haloes, the trajectories of individual particles in the target and match therefore decorrelate, while the distribution of mass, and hence the Eulerian fields, remain much more similar ((Thiébaut et al. 2008; El-Zant et al. 2019)). Individual particle displacement and velocities are most affected, in particular the Lagrangian velocity, which on small scales is dominated by the orbital motion of particles in haloes. The PM force of MG-GLAM, with a resolution of one mesh cell size, smooths the potential inside haloes and suppresses this chaotic growth. Its low stochasticity, especially for the Lagrangian fields, therefore partly reflects this limited force resolution. The Eulerian fields, in contrast, remain well correlated in all three codes: even at z=0z=0, where the stochasticity is largest, it stays below 4×10−54 \times10^{-5} for the density and 3×10−43 \times10^{-4} for the momentum for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}.

Since observables such as the galaxy clustering and redshift-space distortions are measured in Eulerian space, the Eulerian fields are the most relevant for cosmological applications. For them, the power spectrum error does not depend on the code, and the stochasticity remains small in all three codes.

Velocity rescaling

Appendix B: Velocity rescaling

Figure B1 shows the effect of the velocity rescaling Eq. (7) at z=0z=0 and 0.5.

Figure B1. Effect of the velocity rescaling at z=0z = 0 (left two columns) and z=0.5z = 0.5 (right two columns), before (first column of each pair) and after (second column)rescaling. Top and middle: power spectrum error ∣ΔP/P∣|\Delta P/P| of the Lagrangian velocity and Eulerian momentum. Bottom: residual of the redshift-space quadrupole, ΔP2/P0,target\Delta P_2/P_{0,\mathrm{target}}. Colours and lines as in Figure 6. Grey dashed lines in the bottom row mark ±1%\pm1\% error.

Without the rescaling, the power spectrum error of the Lagrangian velocity stays roughly a constant at k≲0.1 h Mpc−1k \lesssim0.1\,h\,\mathrm{Mpc}^{-1}, with a median of 0.28% at z=0z=0 and −0.67% at z=0.5z=0.5, following the linear prediction of 2Δln⁡(aHf)2\Delta\ln(aHf). The rescaling removes this constant offset and reduces the median error on large scales by one to two orders of magnitude. The momentum behaves in the same way.

At k≳1 h Mpc−1k \gtrsim1\,h\,\mathrm{Mpc}^{-1}, the remaining error, with a median of a few tenths of a percent, arises from nonlinear evolution and so cannot be removed by a constant rescaling. In fact, the error on these scales has the opposite sign (hence the dip at k≃1 h Mpc−1k \simeq1\,h\,\mathrm{Mpc}^{-1} in the log-scale plot of Figure B1), so the rescaling shifts the zero-crossing of the error to larger scales. This is also why, on nonlinear scales, the rescaled case has a slightly larger error than the unrescaled one. Because the rescaling is by a constant factor, the stochasticity of the velocity and momentum is unchanged.

The rescaling also affects the redshift-space distortions, because it enters the redshift-space positions through the velocities (Sect. 2.1). The bottom row of Figure B1 shows the residual of the quadrupole, normalised by the target monopole as in Sect. 3.2. At z=0.5z=0.5 without the rescaling, the 16th–84th percentile range of the residuals is −0.1% to 1.8% on large scales (k=0.03k=0.03 to 1 h Mpc−11\,h\,\mathrm{Mpc}^{-1}), and the residuals of the models with the largest error reach ∼5%\sim5\%. After the rescaling, the residuals of all models stay below 0.5% for k≤0.2 h Mpc−1k \leq0.2\,h\,\mathrm{Mpc}^{-1} and below 1.3% for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1}, as in Figure 9. At z=0z=0, where the velocity offset is smaller, the residual is below 0.5% for k≲1 h Mpc−1k \lesssim1\,h\,\mathrm{Mpc}^{-1} both before and after the rescaling. The rescaling is therefore needed for accurate redshift-space statistics at intermediate redshift, where the quantity aHfaHf, as computed on the target and match models, differs the most.

This paper has been typeset from a TEX/LATEX file prepared by the author.

References

  1. [19]Euclid Collaboration et al., 2021, MNRAS, 505, 2840
  2. [30]Hamilton A. S. J., 1998, in Hamilton D., ed., Astrophysics and Space Science Library, Vol. 231, The Evolving Universe. p. 185 (arXiv:astro-ph/9708102), doi:10.1007/978-94-011-4960-0_17
  3. [57]Planck Collaboration et al., 2016, A&A, 594, A13
  4. [72]van Daalen M. P., Schaye J., Booth C. M., Dalla Vecchia C., 2011, MNRAS, 415, 3649

Paper details

vlnc:W_mjz6pzxv
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents