From action to observables: a reproducible Mathematica workflow for Einstein-Gauss-Bonnet inflation

This note is a tutorial, not a research article. It documents a complete and tested Wolfram Language (Mathematica) workflow for single-field inflation with a scalar field coupled to the Gauss-Bonnet invariant. Starting from the action, the workflow (i) computes the curvature invariants of a flat FLRW metric with a lapse function, (ii) derives the three background equations as Euler-Lagrange equations of the minisuperspace Lagrangian and checks them against the forms used in the literature, (iii) evaluates the slow-roll spectral index n_s and tensor-to-scalar ratio r for an arbitrary potential V(phi) and coupling xi(phi), and (iv) integrates the full background equations numerically to test the slow-roll approximation and to confirm that inflation ends. All code is given in three short, self-contained listings. As a worked example we use the alpha-attractor E-model potential with an exponential Gauss-Bonnet coupling, for which the slow-roll quantities take closed forms. For alpha = 1 and N = 60 the slow-roll and numerical values of n_s agree to better than 5e-4 and those of r to within 4 percent. No new physical result is claimed; the aim is to give students and researchers a verified starting point that can be adapted to other models.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-15
DOI
https://doi.org/10.5281/zenodo.24242178
Primary Topic
Cosmology and Gravitation Theories
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

From action to observables: a reproducible Mathematica workflow for Einstein-Gauss-Bonnet inflation

Afiq Agung
Zenodo (CERN European Organization for Nuclear Research)
Cosmology and Gravitation Theories
preprint

From action to observables: a reproducible Mathematica workflow for Einstein-Gauss-Bonnet inflation

Afiq Agung
preprint en

Abstract

This note is a tutorial, not a research article. It documents a complete and tested Wolfram Language (Mathematica) workflow for single-field inflation with a scalar field coupled to the Gauss-Bonnet invariant. Starting from the action, the workflow (i) computes the curvature invariants of a flat FLRW metric with a lapse function, (ii) derives the three background equations as Euler-Lagrange equations of the minisuperspace Lagrangian and checks them against the forms used in the literature, (iii) evaluates the slow-roll spectral index n_s and tensor-to-scalar ratio r for an arbitrary potential V(phi) and coupling xi(phi), and (iv) integrates the full background equations numerically to test the slow-roll approximation and to confirm that inflation ends. All code is given in three short, self-contained listings. As a worked example we use the alpha-attractor E-model potential with an exponential Gauss-Bonnet coupling, for which the slow-roll quantities take closed forms. For alpha = 1 and N = 60 the slow-roll and numerical values of n_s agree to better than 5e-4 and those of r to within 4 percent. No new physical result is claimed; the aim is to give students and researchers a verified starting point that can be adapted to other models.

Zenodo (CERN European Organization for Nuclear Research)
Universitas Sulawesi Barat (ID)
Cosmology and Gravitation Theories
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon