Research notes
From Einstein’s equations to BSSN and FO-CCZ4
Why the covariant field equations are not yet a time-marching algorithm, and how ADM, BSSN, CCZ4, and FO-CCZ4 reorganize spacetime geometry into numerical evolution systems.
This article follows that sequence:
The aim is conceptual rather than benchmark-driven. No numerical results are presented yet. Instead, I describe what each variable represents, why it is introduced, and what numerical problem it helps to solve.
Gravity as spacetime geometry
In Newtonian physics, gravity is a force acting in an already existing space and time. In general relativity, gravity is encoded in the geometry of spacetime itself. Matter and energy influence that geometry, and freely falling objects follow the resulting geodesics.
The central geometric object is the spacetime metric . It tells us how to compute the invariant interval between nearby events:
Throughout this article, Greek indices run over spacetime coordinates , while Latin indices run over spatial coordinates . Repeated upper and lower indices are summed. I use metric signature .
Einstein’s field equations
The field equations are
or, after expanding the Einstein tensor,
Every symbol has a distinct role:
| Symbol | Meaning | Intuition |
|---|---|---|
| Spacetime metric | The local rule for measuring time, distance, angle, and causal structure | |
| Inverse metric | Raises indices and converts covectors into vectors | |
| Riemann curvature tensor | Measures how vectors change after parallel transport around an infinitesimal loop | |
| Ricci tensor | A contraction of curvature that records local volume focusing | |
| Ricci scalar | A scalar summary of Ricci curvature | |
| Einstein tensor | The divergence-free curvature combination that matches local energy–momentum conservation | |
| Stress–energy tensor | Energy density, momentum density, stresses, and energy flux of matter and fields | |
| Cosmological constant | A uniform spacetime-curvature contribution; often set to zero in local compact-object simulations | |
| Newton’s gravitational constant | Sets the coupling strength between matter and geometry | |
| Speed of light | Converts time and length units; numerical-relativity codes commonly set |
The slogan “matter tells spacetime how to curve; curved spacetime tells matter how to move” is useful, but the equations are mutually coupled. The matter fields evolve on , while sources the evolution of .
Why the compact tensor equation is not yet a marching scheme
Writing does not identify which quantities should be supplied as initial data, which equations are constraints, which variables represent coordinate freedom, or how to compute a unique next time level. The equation is manifestly four-dimensional: space and time derivatives enter the same curvature tensor.
To see what the compact notation hides, start with the Christoffel symbols,
and the Ricci tensor,
Even the component expands to
Because and range over both and the spatial directions, this contains second time derivatives, second spatial derivatives, mixed derivatives such as , and nonlinear products of first derivatives.
There is a second issue: coordinate freedom. Four functions’ worth of the ten metric components describe how coordinates are chosen, not independent physical gravitational degrees of freedom. Without gauge conditions, apparently different metric components can describe the same spacetime. The contracted Bianchi identities also imply differential relations among the ten field equations.
ADM: slicing spacetime into space plus time
The Arnowitt–Deser–Misner (ADM) decomposition foliates spacetime by spatial hypersurfaces . Instead of trying to evolve a four-dimensional tensor all at once, we describe the geometry of one three-dimensional slice and how that slice sits inside spacetime.
The spacetime line element becomes
with four basic ingredients:
- is the spatial metric induced on . It tells us how rulers measure distance within one time slice.
- is the lapse. It specifies how much proper time elapses between neighbouring slices along their normal direction. Intuitively, it controls the rate at which coordinate clocks advance.
- is the shift vector. It says how the spatial coordinate grid slides sideways from one slice to the next.
- is the future-directed unit normal to the slice.
The time-flow vector decomposes as
Thus advancing one coordinate time step combines normal motion through spacetime with a tangential relabelling of spatial points.
Extrinsic curvature
The second dynamical ADM variable is the extrinsic curvature,
measures how the spatial geometry changes as the slices move through spacetime. A useful analogy is a two-dimensional surface: its intrinsic metric measures distances along the surface, while its extrinsic curvature describes how it bends within the surrounding geometry. In relativity the “surrounding geometry” is spacetime, and the sign depends on convention.
The trace
captures local volume expansion or contraction of the slice. The trace-free part captures directional shear.
ADM evolution equations and constraints
In geometrized units and with , the ADM evolution equations may be written
Here is the covariant derivative compatible with and is its three-dimensional Ricci tensor. Matter is projected relative to :
with . These are respectively the energy density, momentum density, and spatial stress seen by observers moving normal to the slice.
Four Einstein equations become constraints on every slice:
and
is the Hamiltonian constraint and are the three momentum constraints. Initial data must satisfy them. In free evolution, one advances the evolution equations and monitors the constraints rather than solving an elliptic system after every step.
ADM supplies the conceptual initial-value split, but its raw free-evolution form is not sufficiently robust for many long, three-dimensional simulations. Constraint-violating and gauge modes can grow. This motivates a better choice of variables.
BSSN: separating scale, shape, expansion, and shear
BSSN is named after Baumgarte, Shapiro, Shibata, and Nakamura. It starts from ADM but applies a conformal and trace-free decomposition designed to expose the structure that numerical evolution handles poorly in the raw variables.
Let
Define the conformal spatial metric
This separates local scale from shape:
- carries the local volume scale;
- has unit determinant and carries anisotropic shape information.
Next split the extrinsic curvature:
and conformally rescale the trace-free part,
Again the variables separate two effects:
- is isotropic expansion or contraction;
- is trace-free distortion or shear.
Finally introduce the conformal connection functions
where the second equality uses . Promoting to independent evolved variables is one of the decisive BSSN steps. It reorganizes troublesome Ricci-tensor terms and gives the gauge system direct access to coordinate distortions.
BSSN variable glossary
| Variable | Components | Mathematical role | Physical or intuitive meaning |
|---|---|---|---|
| (or alternatives , ) | 1 | Conformal factor | Local spatial scale or volume element |
| 6, with | Unit-determinant conformal metric | Shape of spatial geometry after scale is removed | |
| 1 | Trace of extrinsic curvature | Local isotropic expansion/contraction of the slice | |
| 6, with zero trace | Conformal trace-free extrinsic curvature | Direction-dependent shear of the evolving geometry | |
| 3 | Contracted conformal connection | Spatial variation of conformal geometry; also drives coordinates | |
| 1 | Lapse gauge field | Rate of coordinate-time advance through the foliation | |
| 3 | Shift gauge field | Sideways motion of coordinate labels across each slice |
Before enforcing algebraic constraints, the usual BSSN state stores 17 conformal/geometric components plus gauge variables. Those stored components do not all represent independent physical degrees of freedom; the determinant, trace-free, connection, Hamiltonian, and momentum constraints restrict them.
What the BSSN evolution looks like
Some representative BSSN equations are
and, schematically,
The equation is longer. Its principal purpose is to turn derivatives of the conformal connection into their own evolution subsystem and to use the momentum constraint to replace certain derivatives of . The resulting system has much better numerical behaviour with standard gauge choices than raw ADM.
Common moving-puncture gauges are
for 1+log slicing, and a Gamma-driver system such as
The lapse prevents the coordinates from advancing too quickly into strongly curved regions, while the shift moves coordinate points to limit grid stretching. They are gauge conditions, not additional gravitational physics.
From BSSN to Z4 and CCZ4
BSSN monitors constraint violations but does not promote the four ADM constraints into a covariant dynamical field with explicit damping. The Z4 family introduces a spacetime four-vector . The physical Einstein solution lies on the submanifold
In vacuum, a damped Z4 equation can be written schematically as
sets a damping scale and modifies the damping of different components. These terms vanish when , so the continuum Einstein solution is unchanged. Away from the constraint surface, they are designed to propagate and reduce small resolved violations.
CCZ4 combines this Z4 mechanism with a BSSN-like conformal and trace-free split. Decompose
- represents the normal, or energy-constraint-like, component of the Z4 field.
- represent its three spatial, or momentum-constraint-like, components.
Rather than evolve separately, CCZ4 commonly folds it into
If the constraints are satisfied, , , and . A nonzero difference is therefore a dynamical measure of departure from the Einstein constraint surface.
Why make CCZ4 first order in space?
Standard BSSN and CCZ4 are first order in time but contain second spatial derivatives, for example in the spatial Ricci tensor and . This is entirely compatible with finite differences and many production codes use it successfully.
High-order discontinuous Galerkin and finite-volume methods, however, are naturally formulated for first-order hyperbolic systems,
FO-CCZ4 introduces new variables for every required first spatial derivative. The price is a larger state vector; the reward is a system that is first order in both time and space and, with appropriate gauge and ordering-constraint choices, strongly hyperbolic.
The 58 FO-CCZ4 variables
The convention used in the original FO-CCZ4 formulation defines
This is related to the BSSN variable above by . Keeping the two notations distinct avoids a common source of implementation errors.
The complete state vector is
Its variables can be understood in three groups.
1. Fields defining the four-metric: 11 variables
| Variable | Count | Meaning |
|---|---|---|
| 6 | Unit-determinant conformal spatial metric; the shape of spatial geometry | |
| 1 | Logarithmic lapse; evolving the logarithm guarantees after exponentiation | |
| 3 | Shift vector; coordinate-grid velocity within a slice | |
| 1 | Logarithmic conformal scale; guarantees and carries the spatial volume factor |
In this FO-CCZ4 construction, these 11 quantities form a pure ODE subsystem: their equations contain algebraic functions of the full state but no spatial derivatives of these 11 fields themselves.
2. Curvature, constraint, and gauge-driver fields: 14 variables
| Variable | Count | Meaning |
|---|---|---|
| 6 | Trace-free conformal extrinsic curvature; anisotropic time deformation | |
| 1 | Trace of extrinsic curvature; local volume expansion/contraction | |
| 1 | Normal component of Z4 constraint error | |
| 3 | Conformal connection augmented by the spatial Z4 field | |
| 3 | Auxiliary Gamma-driver field controlling how the shift responds to connection distortion |
is a coordinate-control variable, not a new physical field. Likewise, and the information inside should vanish for an exact Einstein solution.
3. First-order derivative variables: 33 variables
Their counts and meanings are:
| Variable | Count | Why that count? | Intuitive meaning |
|---|---|---|---|
| 3 | One spatial gradient | Spatial change of clock rate | |
| 9 | A general tensor; not symmetric | Spatial gradient of coordinate-grid velocity | |
| 18 | has 3 values and is symmetric with 6 combinations | Spatial gradient of conformal geometry | |
| 3 | One spatial gradient | Spatial change of conformal scale |
The total is
New variables create new constraints
Replacing derivatives by independent variables is exact only if the definitions remain satisfied:
Because mixed partial derivatives commute for smooth fields, the auxiliary variables also satisfy curl or ordering constraints:
In addition,
These are not bookkeeping details. Different combinations of the ordering constraints can be added to the evolution equations without changing the exact continuum solution. The original FO-CCZ4 derivation uses them carefully to obtain strong hyperbolicity. A naive “replace every derivative by a new symbol” reduction need not have the same mathematical quality.
Hyperbolicity and why it matters
For a first-order system, the principal symbol in a spatial direction is
Strong hyperbolicity requires real characteristic speeds and a complete, uniformly well-conditioned set of eigenvectors. Informally, it means that the PDE has a controlled wave decomposition and a well-posed local initial-value problem. This is what allows errors and physical signals to propagate at identifiable characteristic speeds rather than growing arbitrarily at ever-smaller scales.
Strong hyperbolicity is a continuum property, not a guarantee that every discretization will be stable. Boundary conditions, gauge parameters, constraint damping, dissipation or limiters, resolution, and time integration still matter. Conversely, a high-order discretization cannot repair an ill-posed continuum formulation.
How the formulations relate
| Formulation | Main variables | Spatial order | Central numerical idea |
|---|---|---|---|
| Covariant Einstein equations | Second | Geometrically complete, but not yet an explicit gauge-fixed Cauchy algorithm | |
| ADM | plus | Second | Separate spatial geometry, time evolution, and four constraints |
| BSSN | Second | Separate scale/shape and trace/shear; promote conformal connections | |
| CCZ4 | BSSN-like variables plus and information | Second | Propagate and damp violations of the Einstein constraints |
| FO-CCZ4 | CCZ4 fields plus | First | Strongly hyperbolic first-order system suited to DG and finite-volume methods |
None of these formulations changes the physical solutions on the constraint surface. They change the off-constraint evolution, gauge dynamics, principal part, and numerical accessibility. Those differences determine whether inevitable truncation errors remain controlled during a long simulation.
A practical mental model
It is useful to attach one question to each layer:
- Einstein: What spacetime geometries are compatible with the matter distribution?
- ADM: What geometric data live on one spatial slice, and how do they evolve to the next?
- BSSN: Which combinations of that data separate scale from shape and expansion from shear?
- CCZ4: How should violations of the four Einstein constraints propagate and decay?
- FO-CCZ4: Which gradient variables make every spatial derivative first order while preserving a strongly hyperbolic wave structure?
The apparent growth from one tensor equation to 58 evolution variables is therefore not unnecessary complication. Each layer exposes structure that the compact covariant notation deliberately hides.
What comes next
A later article can move from formulation to implementation: assembling the FO-CCZ4 state vector, generating initial data, enforcing algebraic and ordering constraints, selecting 1+log and Gamma-driver gauges, computing characteristic speeds, applying WENO or discontinuous Galerkin spatial discretization, choosing an SSP Runge–Kutta method, and monitoring Hamiltonian and momentum norms.
Before presenting results, the most important implementation audit is conceptual: every evolved variable should have one unambiguous definition, one consistent index symmetry, and one verified route back to the ADM metric and extrinsic curvature. That is the level at which many silent formulation-mixing errors begin.
Further reading
- Baumgarte and Shapiro: On the Numerical Integration of Einstein’s Field Equations — the conformal-traceless formulation that established the modern BSSN structure.
- Alic et al.: Conformal and covariant formulation of the Z4 system with constraint-violation damping — the CCZ4 formulation.
- Dumbser et al.: Conformal and covariant Z4 formulation: strongly hyperbolic first-order reduction and solution with discontinuous Galerkin schemes — the 58-variable FO-CCZ4 system.
- Einstein Toolkit ADMBase documentation — the standard interchange variables , , , and used by numerical-relativity software.