Einstein's Equations from Capacity Clausius
Experiment V2.12: Einstein’s Equations from Capacity Clausius
Status: COMPLETE
Goal
Derive Einstein’s field equations from the capacity-derived Clausius relation (V2.11), applied to ALL local Rindler horizons (Jacobson 1995).
Key Difference from V1
V1 Exp 5 (circular): Used fitted λ_S, χ_Q, ξ to check if a Clausius-like relation maps to Einstein’s equations. The “derivation” was a regression fit with 3 free parameters.
V2 Exp 12 (non-circular): Every ingredient is capacity-derived:
- T from slope law (V2.04), S from entropy-capacity relation (V2.03)
- Clausius δQ = T dS from entanglement first law (V2.11)
- Area change from Raychaudhuri (differential geometry, not GR)
- Einstein’s equations follow algebraically. Zero free parameters.
The Argument (Jacobson 1995, Capacity Version)
Step 1: Ingredients
From earlier experiments, we have (with NO GR assumed):
- Temperature: T = κ/(2π) where κ is surface gravity [V2.04]
- Entropy: S = η A (proportional to horizon area) [V2.03]
- Clausius: δQ = T dS (from entanglement first law) [V2.11]
Step 2: Heat Flux
For a local Rindler horizon with boost Killing vector χ^a: δQ = ∫_H T_ab χ^a dΣ^b
Near the bifurcation surface, this reduces to: δQ = (κ/2) T_ab k^a k^b δλ² A_⊥
where k^a is the null generator and A_⊥ is the transverse area element.
Step 3: Area Change (Raychaudhuri)
The expansion of the null congruence satisfies: dθ/dλ = -(1/2)θ² - σ_{ab}σ^{ab} - R_{ab} k^a k^b
Near the bifurcation surface (θ=0, σ=0): δA = -(R_ab k^a k^b)(δλ²/2) A_⊥
This is differential geometry — no field equations needed.
Step 4: The Null Constraint
Combining Clausius (δQ = T δS = T η δA) with Steps 2 and 3:
(κ/2) T_ab k^a k^b δλ² A_⊥ = (κ/(2π)) η (-(−R_ab k^a k^b)(δλ²/2) A_⊥)
After cancellation:
R_ab k^a k^b = (2π/η) T_ab k^a k^b for ALL null k^a
With η = 1/(4G): R_ab k^a k^b = 8πG T_ab k^a k^b
Step 5: Tensor Reconstruction
The key mathematical fact: if Φ_ab k^a k^b = 0 for ALL null k^a, then Φ_ab = f g_ab for some scalar f.
Applied to (R_ab - 8πG T_ab) k^a k^b = 0:
R_ab = 8πG T_ab + f g_ab
Taking the Einstein tensor G_ab = R_ab - (1/2)R g_ab:
**G_ab + Λ g_ab = 8πG T_ab**
This IS Einstein’s field equations (with Λ undetermined by Clausius alone).
Results
Phase 1: Null Constraint (6/6 PASS)
| Matter | T = g^{ab}T_{ab} | Max residual |
|---|---|---|
| Vacuum | 0.0 | 0 |
| Dust (ρ=1) | -1.0 | 1.4 × 10⁻¹⁶ |
| Radiation (ρ=1) | 0.0 | 2.1 × 10⁻¹⁶ |
| Fluid (ρ=1, p=0.3) | -0.1 | 2.2 × 10⁻¹⁶ |
| Fluid (ρ=2, p=0.5) | -0.5 | 2.3 × 10⁻¹⁶ |
| Stiff (ρ=p=1) | 2.0 | 2.8 × 10⁻¹⁶ |
The null constraint holds to machine precision for ALL matter types.
Phase 2: Einstein Reconstruction (6/6 PASS)
| Background | Tensor error | Null residual |
|---|---|---|
| Vacuum | 0 | 0 |
| Perfect fluid (ρ=1,p=0.3) | 0 | 2.2 × 10⁻¹⁶ |
| Radiation (ρ=2) | 0 | 4.2 × 10⁻¹⁶ |
| Dust (ρ=1.5) | 0 | 1.9 × 10⁻¹⁶ |
| EM field | 0 | 4.1 × 10⁻¹⁵ |
| Cosmological (Λ=0.1) | 0 | — |
G_ab + Λ g_ab = 8πG T_ab verified to machine precision in ALL cases.
Phase 3: Area-Entropy Proportionality (PASS)
| κ | S/L | η_eff = S/κ |
|---|---|---|
| 1.0 | 0.083333 | 0.083333 |
| 2.0 | 0.166667 | 0.083333 |
| 5.0 | 0.416667 | 0.083333 |
| 10.0 | 0.833333 | 0.083333 |
S ∝ κ (linear, CV = 10⁻¹⁶). dS/dκ = 1/12 exactly.
Phase 4: Newton Constant Extraction (ALL PASS)
| Matter | G_extracted | CV of G |
|---|---|---|
| ρ=1.0, p=0.5 | 1.000000 | 8.0 × 10⁻¹⁷ |
| ρ=2.0, p=0.1 | 1.000000 | 1.0 × 10⁻¹⁶ |
| ρ=0.5, p=0.3 | 1.000000 | 9.4 × 10⁻¹⁷ |
| ρ=3.0, p=1.0 | 1.000000 | 6.1 × 10⁻¹⁷ |
| Radiation ρ=1 | 1.000000 | 1.4 × 10⁻¹⁶ |
| Dust ρ=2 | 1.000000 | 7.9 × 10⁻¹⁷ |
G is extracted to machine precision and is constant across:
- All null vectors (same G for every direction)
- All matter types (universal coupling)
- All input G values (G=0.5, 1, 2, 5 all recover exactly)
Phase 5: Raychaudhuri Focusing (VERIFIED)
| Matter | R_ab k^a k^b | δA/A | Focusing? |
|---|---|---|---|
| Vacuum | 0.000000 | 0.000000 | FLAT |
| Dust | 25.13 | -0.126 | YES |
| Radiation | 33.51 | -0.168 | YES |
| Fluid | 37.70 | -0.188 | YES |
The NEC (R_ab k^a k^b ≥ 0) is satisfied for all standard matter.
Non-Circularity Audit
| Step | Description | Uses GR? |
|---|---|---|
| 1 | Capacity-derived T = κ/(2π) and S = f(Q_t) | No |
| 2 | Clausius relation δQ = T dS | No |
| 3 | Heat = boost energy flux: δQ = ∫ T_ab χ^a dΣ^b | No |
| 4 | Entropy ∝ area: δS = η δA | No |
| 5 | Area change from Raychaudhuri (diff. geometry) | No |
| 6 | Null constraint: R_ab k^a k^b = (2π/η) T_ab k^a k^b | No |
| 7 | Tensor reconstruction: R_ab = (2π/η) T_ab + f g_ab | No |
| 8 | Einstein’s equations: G_ab + Λ g_ab = 8πG T_ab | No |
NO step assumes Einstein’s equations or any field equations.
What This Proves
-
Einstein’s equations are DERIVED, not assumed. They follow from:
- Quantum channel capacity measurements (V2.01-V2.04)
- The entanglement first law (V2.11)
- The Raychaudhuri equation (differential geometry)
- Algebraic tensor analysis
-
The coupling constant G is PREDICTED by the entropy-area proportionality η = 1/(4G). Newton’s constant is determined by the UV structure of the entanglement entropy.
-
The cosmological constant Λ is NOT determined by the Clausius argument alone (it drops out of the null constraint). This is a feature, not a bug — it explains why Λ is a free parameter in GR.
-
The argument is UNIVERSAL: It works for all matter types (vacuum, fluid, radiation, dust, electromagnetic, cosmological constant) and all equation-of-state parameters.
Connection to Phase 3 Program
| Experiment | What it establishes | Status |
|---|---|---|
| V2.11 | δQ = T dS (Clausius from entanglement) | COMPLETE |
| V2.12 | Clausius for all horizons → Einstein’s eqs | COMPLETE |
| V2.13 | Non-GR backgrounds fail Clausius → GR selected | Next |
V2.12 shows that Einstein’s equations are the UNIQUE field equations consistent with the capacity-derived Clausius relation. V2.13 will provide the converse: backgrounds that don’t satisfy Einstein’s equations violate the Clausius relation, so gravity MUST be described by GR (up to Λ).
V3 Fix: De-Circularized Forward Jacobson Derivation
Original Problem
The clausius_to_einstein() function as originally written constructed
R_ab FROM Einstein’s equations:
R_ab = 8*pi*G * (T_ab - 0.5*T*g_ab)
and then verified that this R_ab satisfied Einstein’s equations. This was
tautological — it checked a mathematical identity (that a tensor
constructed via Einstein’s equations satisfies Einstein’s equations), not
physics. The Raychaudhuri equation existed in the codebase as a standalone
function (raychaudhuri_area_change) but was never actually called within
the Clausius-to-Einstein derivation pipeline. The function was essentially
a self-consistency check masquerading as a derivation.
What Was Fixed
-
R_ab is now an INPUT, not constructed internally.
clausius_to_einstein()takes R_ab as an explicit parameter — the geometric Ricci tensor, treated as an observable of the background geometry (measurable via geodesic deviation / Raychaudhuri focusing). The function never constructs R_ab from T_ab. -
The coupling constant is MEASURED, not assumed. The function derives the coupling (2*pi/eta) by computing R_kk/T_kk ratios for random null vectors k^a. If the Clausius relation holds on the given background, these ratios should all agree and equal the predicted coupling. The measured coupling is reported alongside the predicted coupling so discrepancies are visible.
-
The Raychaudhuri equation is now USED in the derivation pipeline.
raychaudhuri_area_change(R_ab, k, delta_lambda, A)is called for each null generator to compute delta_A = -R_kk * (delta_lambda^2/2) * A. This is the step where the geometric R_ab enters the physical argument (area change drives entropy change). It is no longer dead code. -
eta (entropy-area proportionality) is an input from V2.03. The constant eta is passed in as a parameter, not hardcoded as 1/(4G). The coupling 2pi/eta follows algebraically from the Clausius relation. For eta = 1/(4G) this gives 8pi*G, but the derivation does not presuppose this value.
-
A new
forward_jacobson_derivation()wrapper makes the 7-step derivation explicit. Each step is logged with its physical justification, whether it uses field equations (none do), and intermediate numerical results. The wrapper callsclausius_to_einstein()internally and assembles a structured audit trail. -
Neither G nor 8piG appears anywhere in the derivation function body. Source-level inspection tests (
test_no_hardcoded_8piG) verify this. The only coupling that appears is2.0 * np.pi / eta, which is the Clausius-derived prediction.
New Results
-
Coupling is MEASURED from null contraction ratios, not assumed. For each non-degenerate null vector (T_kk != 0), the code computes coupling_i = R_kk / T_kk and reports the mean, standard deviation, and coefficient of variation.
-
For eta = 1/(4G), measured coupling = 8piG to machine precision. Across all tested backgrounds (vacuum, perfect fluid, radiation, dust, electromagnetic, cosmological constant), the measured coupling matches the predicted coupling with relative error < 10^{-15}.
-
Algebraic theorem (null tensor -> metric proportionality) verified. The tensor Phi_ab = R_ab - (2*pi/eta)T_ab is confirmed to satisfy Phi_ab k^a k^b = 0 for all tested null vectors, and Phi_ab = fg_ab with residual < 10^{-10}.
-
All 56 tests pass, including source-level non-circularity audits:
test_R_ab_is_input_parameter: R_ab is a function parametertest_no_hardcoded_8piG: no 8piG in the function sourcetest_no_einstein_in_intermediate: no metric_* calls inside the derivationtest_uses_raychaudhuri: raychaudhuri_area_change is calledtest_coupling_derived_from_ratio: R_kk/T_kk measurement is presenttest_wrong_eta_gives_wrong_coupling: wrong eta is detected as wrong
Remaining Limitations
-
Test backgrounds still construct R_ab from Einstein’s equations. The helper functions
metric_perfect_fluid(),metric_radiation(), etc. compute R_ab = 8piG*(T_ab - 0.5Tg_ab) to produce known backgrounds against which to test. This is unavoidable for unit testing — you need a known (R_ab, T_ab) pair to verify that the derivation reproduces the correct relationship. -
This means the tests verify that the forward Jacobson argument REPRODUCES Einstein’s equations on Einstein backgrounds. The derivation itself is non-circular (it takes R_ab as input and derives the coupling), but the test backgrounds happen to satisfy Einstein’s equations. A background that violates Einstein’s equations would cause the Clausius-derived coupling to disagree with 8piG, which is exactly the expected behavior (tested by
test_wrong_eta_gives_wrong_coupling). -
A truly independent test would require R_ab from an independent source — for example, numerical relativity output, observational data, or a lattice gravity simulation — where the Ricci tensor is computed from the geometry without assuming any field equations. This is the natural next step (and partially addressed by V2.13, which tests non-GR backgrounds).
-
Lambda (cosmological constant) remains undetermined by the null constraint. The Clausius argument fixes R_ab up to a term f*g_ab, which becomes the cosmological constant. This is a known feature of Jacobson’s argument, not a limitation of the implementation.
Files
| File | Purpose | Tests |
|---|---|---|
src/einstein_from_clausius.py | Jacobson argument, Einstein reconstruction | |
tests/test_einstein_from_clausius.py | Validation tests | 56/56 |
run_experiment.py | Full 6-phase experiment |