Provedmachine-checked: its own exact check passesid synthesis.boundary-mode-first-law-of-entanglement, version 7
On every window of the boundary-mode algebra the selected state obeys the first law of entanglement and uniquely maximises entropy at fixed modular energy (standard Gibbs-state facts); Jacobson's small-ball balance would give $G_{00} = (2\pi/\eta)T_{00}$ only under an area density, a geometric diamond flow and the same properties for small balls, none of which the algebra supplies.
These postulates or imported facts sit somewhere beneath it; it holds if they do.
One recent derivation of Einstein's equations treats empty space as maximally entangled and asks what geometry keeps it so when matter is added. The framework's boundary modes, in the thermal state it selects, have the two quantum properties that derivation uses: their entanglement changes in step with their energy, and no other state with the same energy is more entangled. But the derivation would give Einstein's equations only if it also had the same properties for every small region of space, an amount of entanglement per area, and a rule for time in small regions, none of which the framework yet supplies.
Let $F$ be a window of the boundary-mode algebra with its boost dynamics (Definition The boundary-mode algebra, windows, and the boost dynamics), $H_{F} = \sum_{j \in F}\omega_{j}N_{j}$, and $\omega_{I}$ the state of Theorem The I-state, whose restriction to $F$ is the Gibbs state $\rho_{I} = e^{-\beta H_{F}}/Z_{F}$ with $n_{j} = (e^{\beta\omega_{j}} + 1)^{-1}$. Put $K_{F} := -\ln\rho_{I} = \beta H_{F} + \ln Z_{F}$, the modular Hamiltonian of $\omega_{I}$ on $F$. Numbers on the window's Fock space and its GNS spaces are read in $\mathrm{span}\{1, J\}$, $J = e_{2}e_{3}$ the complex unit of the radial atom from which the boundary modes descend (The transverse bivector is the even complex unit of the radial atom). Then:
Read in Gauge Theory Gravity, the small-ball geometry of clause (iv) below is the derived metric of a gravitational field about $x_0$ in a gauge with $\hb(x_0) = 1$, $\Omega(x_0) = 0$, and its Einstein tensor is $\mathcal{G}$ up to the sign conversion stated in the clause (Fact The dictionary between Gauge Theory Gravity and curved-spacetime language, clause (iv)). Setting. The window algebra generated by the modes of $F$ is a full matrix algebra on the Fock space $\bigotimes_{j \in F}\C^{2}$; each mode is a CAR pair $a, a^{*}$ with $N = a^{*}a$ a projection (the script builds one as the ascent pair of $\Cl(1,1)$, $a = \tfrac12(e_{+} + e_{-})$, $a^{*} = \tfrac12(e_{+} - e_{-})$, and checks $a^{2} = 0$, $\{a, a^{*}\} = 1$, $N^{2} = N$). By Theorem The I-state(1) the restriction of $\omega_{I}$ to $F$ is the Gibbs state $\rho_{I} = \bigotimes_{j}\operatorname{diag}(1 - n_{j}, n_{j})$ with $n_{j}/(1 - n_{j}) = e^{-\beta\omega_{j}}$, faithful and diagonal in the Fock basis, so $K_{F} = -\ln\rho_{I}$ is defined, and on the Fock basis vector $|n\rangle$ it is $\sum_{j}\bigl[n_{j}\ln(1 + r_{j}) + (1 - n_{j})(\ln(1 + r_{j}) - \ln r_{j})\bigr] = \beta H_{F}(n) + \ln Z_{F}$, $r_{j} = e^{\beta\omega_{j}}$, $\ln Z_{F} = \sum_{j}\ln(1 + e^{-\beta\omega_{j}})$; the script checks this on all eight basis vectors of a three-mode window with the logarithms as formal symbols.
(i). For a differentiable family of density matrices with $\rho_{0} = \rho_{I}$ faithful, $\frac{d}{dt}S(\rho_{t})|_{0} = -\Tr(\dot\rho\ln\rho_{I}) - \Tr\dot\rho$ (the derivative of $\Tr\,\phi(\rho_{t})$ for $\phi(x) = -x\ln x$ is $\Tr(\phi'(\rho_{0})\dot\rho)$, a standard consequence of the spectral calculus for a differentiable family of Hermitian matrices), and $\Tr\dot\rho = 0$. So $\dot S = \Tr(\dot\rho K_{F}) = \beta\Tr(\dot\rho H_{F}) + \ln Z_{F}\Tr\dot\rho = \beta\Tr(\dot\rho H_{F})$. Only the Fock-diagonal part of $\dot\rho$ enters, since $K_{F}$ is diagonal; the script checks $\dot S = \beta\,\dot E$ as an identity of log symbols on three traceless diagonal variations.
(ii). For a state $\rho$ and faithful $\rho_{I}$, $S(\rho\|\rho_{I}) := \Tr\rho(\ln\rho - \ln\rho_{I}) = -S(\rho) + \Tr(\rho K_{F}) = -S(\rho) + \beta\Tr(\rho H_{F}) + \ln Z_{F}$, which rearranges to the display. Klein's inequality (the relative entropy of finite-dimensional density matrices is nonnegative and vanishes only at equality, by convexity of $x\ln x$; standard, cited from memory) gives the bound and its equality case. At fixed $\Tr(\rho K_{F})$ the entropy is therefore maximal exactly at $\rho_{I}$. Expanding $S(\rho_{t}\|\rho_{I})$ to second order shows it is $O(t^{2})$, since its first derivative at $0$ is $-\dot S + \Tr(\dot\rho K_{F}) = 0$ by (i): the first law is exact at first order and fails at second order by the relative entropy. Per mode, with $\phi(q) = -q\ln q - (1 - q)\ln(1 - q) - xq$, $x = \beta\omega_{j}$: $\phi'(q) = \ln((1 - q)/q) - x$, zero exactly at $(1 - q)/q = e^{x}$, i.e.\ $q = n_{j}$, and $\phi”(q) = -1/(q(1 - q)) < 0$; the script checks the identity $D(q\|n_{j}) = \phi(n_{j}) - \phi(q)$ term by term in log symbols, its vanishing at $q = n_{j}$, and the stationarity and concavity statements, at rational trial occupations.
(iii). Theorem The partner and the purification are canonical(1)-(4) applies to each mode factor: the GNS vector of the Gibbs marginal is its thermofield double, and the commutant is the partner copy. For the product state $\rho_{I}$ the GNS vector is the tensor product of these, cyclic and separating for the window, and the reduced state on the window is $\rho_{I}$, so $S(\rho_{I})$ is the entanglement entropy of the window with its partner. Any faithful $\rho$ on the full matrix algebra $F$ has the same structure in its own GNS representation (the purification $\sum_{k}\sqrt{p_{k}}\,|k\rangle|k\rangle$ in an eigenbasis, $k$ an index), unique up to a unitary on the partner by (3) of the same theorem. Each mode contributes $s \le \ln 2$ to $S(\rho_{I})$ (Theorem The thermal entropy of one boundary mode, and its maximum at zero weight).
(iv). This is Jacobson's balance (Fact Entanglement equilibrium and the Einstein equation (Jacobson 2016)), recomputed. Conventions as stated in (iv): sphere-positive curvature, so $R_{s} = 2G_{00}$ on a time-symmetric slice. Matter side: by (b), the Hislop-Longo clause of Fact The theorems that deliver $2\pi$, and their hypotheses for conformal fields, and by (c), the first law for the ball's state (not (i), which is proved for a boundary-mode window, a different system), $\delta S_{\mathrm{matter}} = \delta\langle K\rangle = 2\pi\,\delta\langle T_{00}\rangle\,\Omega_{d-2}\int_{0}^{\ell}\tfrac{\ell^{2} - r^{2}}{2\ell}\,r^{d-2}\,dr = 2\pi\,\delta\langle T_{00}\rangle\,\Omega_{d-2}\ell^{d}\cdot\tfrac12\bigl(\tfrac{1}{d-1} - \tfrac{1}{d+1}\bigr) = 2\pi\,\Omega_{d-2}\ell^{d}\,\delta\langle T_{00}\rangle/(d^{2} - 1)$ to leading order in $\ell$, with $T_{00}$ constant on the small ball. Geometric side: in an $m$-dimensional Riemannian space, $m = d - 1$, the geodesic ball of radius $\ell$ about a point of scalar curvature $R_{s}$ has $V = \omega_{m}\ell^{m}\bigl(1 - R_{s}\ell^{2}/(6(m+2))\bigr)$ and $A = m\,\omega_{m}\ell^{m-1}\bigl(1 - R_{s}\ell^{2}/(6m)\bigr)$ to this order (the classical expansions in normal coordinates, cited from memory). Holding $V$ at its flat value requires $\ell = \ell_{0}(1 + \epsilon)$ with $m\epsilon = R_{s}\ell_{0}^{2}/(6(m+2))$, and then $A/A_{0} - 1 = (m - 1)\epsilon - R_{s}\ell_{0}^{2}/(6m) = -R_{s}\ell_{0}^{2}/(2m(m+2))$. On a slice of vanishing extrinsic curvature through the centre $R_{s} = 2G_{00}$, and $A_{0} = \Omega_{d-2}\ell^{d-2}$, so $\delta A|_{V} = -\Omega_{d-2}\ell^{d}G_{00}/((d-1)(d+1))$. Stationarity $\eta\,\delta A + \delta S_{\mathrm{matter}} = 0$ after dividing by the common factor $\Omega_{d-2}\ell^{d}/(d^{2} - 1)$ is $-\eta G_{00} + 2\pi\,\delta\langle T_{00}\rangle = 0$, i.e.\ $G_{00} = (2\pi/\eta)\,\delta\langle T_{00}\rangle$, and $2\pi/\eta = 8\pi G$ exactly when $\eta = 1/(4G)$. The passage from the $00$ component in every frame at every point to the tensor equation, with $\Lambda$ entering undetermined, is Jacobson's, step (J16) of Fact Entanglement equilibrium and the Einstein equation (Jacobson 2016), and is not redone here. The script checks the radial integral, the fixed-volume coefficient and the cancellation of $1/(d^{2} - 1)$ for $d = 3, 4, 5, 6, 10$. None of (a), (b), (c) follows from (i)-(iii): (a) is a statement about the number of ultraviolet degrees of freedom per area, which in the series is the calibration residue; (b) is a statement about the modular flow of a region in a gravitational field of nonvanishing field strength, for which the series' regularity premises hold only at Killing horizons; and (c) is the first law and maximal entanglement for the fields in a small ball at an arbitrary point, whereas (i) and (ii) hold for any faithful Gibbs state of a finite system and are proved here for the boundary-mode windows, which sit on the stretched singularity or at Killing horizons. The algebra therefore does not supply the state-side input of the argument either; it exhibits the two properties on its own windows. Conversion to the store's convention. Write $g^{\circ}$ for the metric of (iv), of signature $(-,+,\ldots,+)$, and $g = -g^{\circ}$, of signature $(+,-,\ldots,-)$. The Christoffel symbols are unchanged by $g^{\circ} \to -g^{\circ}$, hence so is the $(0,2)$ Ricci tensor $\Ric^{\circ}$ of the sphere-positive convention; the store's $\Ric$ is $-\Ric^{\circ}$ (this is the convention in which de Sitter space has $\Ric = \Lambda g$: from $\Ric^{\circ} = \Lambda g^{\circ}$ one gets $\Ric = -\Lambda g^{\circ} = \Lambda g$). The scalar curvature is unchanged, $R = g^{ab}\Ric_{ab} = (-g^{\circ ab})(-\Ric^{\circ}_{ab}) = R^{\circ}$, and $T_{ab}$ is unchanged as a covariant tensor (for a perfect fluid $u_{a} = -u^{\circ}_{a}$, so $(\rho + p)u^{\circ}_{a}u^{\circ}_{b} + p\,g^{\circ}_{ab} = (\rho + p)u_{a}u_{b} - p\,g_{ab}$). Substituting into $\Ric^{\circ} - \tfrac12 R^{\circ}g^{\circ} + \Lambda g^{\circ} = 8\pi G\,T$ gives $-\Ric + \tfrac12 R\,g - \Lambda g = 8\pi G\,T$, that is $\Ric - \tfrac12 R\,g + \Lambda g = -8\pi G\,T$. In four dimensions its trace is $-R + 4\Lambda = -8\pi G\,\tau$ with $\tau = g^{ab}T_{ab}$, so $R = 4\Lambda + 8\pi G\,\tau$, and then $\Ric = (\tfrac12 R - \Lambda)\,g - 8\pi G\,T = (\Lambda + 4\pi G\,\tau)\,g - 8\pi G\,T$: the form $\Ric + 8\pi G\,T = (\Lambda + 4\pi G\,\tau)\,g$ of clause (7) of The Einstein condition read as infinity-vacuum incidence. The $00$ component of the store's $\Ric - \tfrac12 R\,g$ is minus that of $G^{\circ}$, so the balance $G^{\circ}_{00} = (2\pi/\eta)\,\delta\langle T_{00}\rangle$ reads $\Ric_{00} - \tfrac12 R\,g_{00} = -(2\pi/\eta)\,\delta\langle T_{00}\rangle$ there.
check.py::check_mode_algebracheck.py::check_first_lawcheck.py::check_equilibriumcheck.py::check_small_ball_balanceRun them on a clone of the repository: python -m tp check-one synthesis.boundary-mode-first-law-of-entanglement --store store
Leon Butler (direction); Claude Opus 5.5 (proposal and drafting); Claude Opus 5.5 (notation pass, imaginary units resolved by the unit principle (U1 to U6), version 7); Claude Opus 5.5 (GA rewrite (declared outside_ga), version 7); Claude Opus 5.5 (GTG pass: declaration narrowed (clause (iv) kept in components; no GTG derivation of the small-ball expansions), version 7).