Everything in Sections 760 is rebuilt here from five primitives, without appeal to outside theorems.
The primitives are the diagonal, idempotents, an involution, the cone of squares, and a derivation.
Matrix algebras are generated by complete systems of matrix units, which are idempotents together with composition.
States are positive normalised functionals, and the Born rule is their form.
Dynamics is a one-parameter group of \(*\)-automorphisms. Its generator is a \(*\)-derivation, and every derivation of a matrix algebra is inner: the term that would obstruct this vanishes because \(e_{11}^2=e_{11}\). This gives the Hamiltonian, unitarity and the Schrödinger equation.
Noether’s theorem is the vanishing of a derivation on a generator, and energy conservation is \([H,H]=0\).
Relative entropy is non-negative by \(\log x\le x-1\).
Typicality follows from Gaussian moments of order four.
Temperature is the discrete derivative of a binomial count.
All constructions are carried out on finite stages \(M_n\), consistent with Section 316.17.
| Primitive | Form | Component of \((\mathcal A,\omega ,\vartheta ,D)\) |
| diagonal | \(\Delta _X(x)=(x,x)\); composition; \(\mathbb N=\{1\}^{*}\) | \(\mathcal A\) |
| idempotent | \(e^2=e\), \(e+(1-e)=1\) | partitions in \(\mathcal A\) |
| involution | \(\vartheta ^2=\mathrm {id}\), antimultiplicative | \(\vartheta \) (\(*\)) |
| cone | sums of squares \(\ge 0\); order | \(\omega \) (positivity) |
| derivation | \(D(ab)=D(a)b+aD(b)\) | \(D\) |
The derivation is itself obtained from idempotents through \(\varepsilon ^2=0\), \(\varepsilon =\Pi _OE\Pi _U\) (Section 321.1).
\(\mathbb N=\{1\}^{*}\) by the diagonal and least fixed points. Then \(\mathbb Z\) is the quotient of pairs by \((a,b)\sim (c,d)\iff a+d=b+c\), and \(\mathbb Q\) the quotient of fractions. Finally \(\mathbb R\) is the quotient of Cauchy sequences of \(\mathbb Q\), with order from the cone, and every bounded set has a supremum. Adjoining \(i\) with \(i^2=-1\) gives \(\mathbb C\), with conjugation as the involution (Section 459).
A complete system of matrix units is a family \(e_{ij}\), \(1\le i,j\le n\), with
A state is a linear \(\omega :M_n\to \mathbb C\) with \(\omega (X^{*}X)\ge 0\) and \(\omega (1)=1\). The form \(\langle A,B\rangle =\operatorname {Tr}(A^{*}B)\) is non-degenerate, so
For \(A=A^{*}\) in \(M_n\), the function \(v\mapsto \langle v,Av\rangle \) on the unit sphere is bounded, so it has a supremum (Stage 1), attained by compactness. A maximiser \(v_1\) satisfies \(Av_1=\lambda _1v_1\), by vanishing of the first variation along \(v_1+\varepsilon w\) with \(w\perp v_1\). The complement \(v_1^{\perp }\) is invariant under \(A\), and induction gives
Symmetries. A symmetry is a \(*\)-automorphism \(\alpha \) of \(M_n\): it preserves composition, the involution and the cone. Homogeneity of time makes evolution a group, \(\alpha _{t+s}=\alpha _t\alpha _s\), continuous in \(t\). In finite dimension a continuous group of linear maps is differentiable, and the generator \(\delta =\frac {d}{dt}\alpha _t|_{t=0}\) satisfies
Every derivation is inner. Let \(K=\sum _k\delta (e_{k1})e_{1k}\). Expanding with the matrix-unit relations and the Leibniz rule,
Unitary evolution. Exponentiating the derivation (Section 357),
Spectral invariance. \(U\rho U^{*}=\sum r_kUP_kU^{*}\) has the same eigenvalues, so \(S(\rho (t))=S(\rho )\).
An observable \(G=G^{*}\) is conserved if \(\alpha _t(G)=G\) for all \(t\), that is, \(\delta (G)=0\). Then:
Scalar inequality. \(\exp \) solves \(Df=f\), \(f(0)=1\); \(f(0)=f(0)^2\) fixes \(f(0)=1\) as the nonzero idempotent. From the series, \(e^y>1\) for \(y>0\), and \(e^{-y}=1/e^y\), so \(g(y)=e^y-1-y\) has \(g'\) of the sign of \(y\) and a strict minimum \(g(0)=0\). With \(x=e^y\),
Klein. With \(\rho =\sum r_i\Pi ^\rho _i\), \(\sigma =\sum s_j\Pi ^\sigma _j\) (Stage 4) and \(P_{ij}=\operatorname {Tr}(\Pi ^\rho _i\Pi ^\sigma _j)\), doubly stochastic because both families resolve \(1\):
Consequences. \(I(S\!:\!B)=D(\rho _{SB}\|\rho _S\otimes \rho _B)\ge 0\); \(S(\gamma _\beta )-S(\rho )=D(\rho \|\gamma _\beta )\ge 0\) at equal energy, a constraint meaningful by Stage 6; and \(\delta S=\delta \langle K\rangle \) by stationarity of \(D\) at its minimum.
Gaussian vectors. On a subspace \(\mathcal H_R\) of dimension \(d_R\), let \(g\) have density \(\pi ^{-d_R}e^{-\|g\|^2}\); normalisation is \(\int _{\mathbb R}e^{-x^2}dx=\sqrt \pi \) (Section 357). The density depends on \(\|g\|\) only. Coordinates are independent, with \(\mathbb E|g_i|^2=1\) and \(\mathbb E|g_i|^4=2\), and the phases average every other monomial to zero:
Random states. Let \(\psi =g/\|g\|\). Since the density depends only on \(\|g\|\), the direction \(\psi \) is independent of \(r=\|g\|\), so \(\mathbb E[gg^{*}]=\mathbb E[r^2]\,\mathbb E[\psi \psi ^{*}]\), and similarly at fourth order. Taking traces gives \(\mathbb Er^2=d_R\) and \(\mathbb Er^4=d_R(d_R+1)\), hence
Mean and fluctuation. For \(\mathcal H_R\subseteq \mathcal H_S\otimes \mathcal H_B\), let \(\rho _S=\operatorname {Tr}_B\psi \psi ^{*}\), \(\Omega _S=\operatorname {Tr}_B\Pi _R/d_R\) and \(\Omega _B=\operatorname {Tr}_S\Pi _R/d_R\). Then \(\mathbb E\rho _S=\Omega _S\). Writing \(\operatorname {Tr}\rho _S^2=\operatorname {Tr}[(\psi \psi ^{*})^{\otimes 2}F_S]\) and \(F=F_SF_B\),
Bath. Let the bath be \(N\) binary partitions, the stage \(M_{2^N}\), with \(H_B=\varepsilon \sum _{a=1}^Nn_a\) and \(n_a\in \{0,1\}\). Its level \(k\) has degeneracy \(\binom Nk\), the multisets of Section 584. Let the system have \(H_S=\varepsilon \sum _mm\,\Pi ^S_m\) with \(m\) bounded, and let \(\mathcal H_R\) be the eigenspace of total energy \(\varepsilon K\).
Reduced mean.
Entropy derivative. With \(S_B(k)=\log \binom Nk\), the discrete derivative is exact:
With Stages 5–9, every input of the four laws of thermodynamics is internal:
| Law | Statement | Stages used |
| zeroth | equal \(\beta \); equivalence of equilibrium | 9, Stage 1 (quotients) |
| first | \(\Delta E_S=W+Q\) | 5, 6 |
| second | \(\Delta S_S-\beta Q=I+D\ge 0\) | 5 (spectral invariance), 7 |
| third | \(P^2=P\) unreachable from full rank | 2, 5 (rank invariance) |
| Gibbs state | typical reduced state | 8, 9 |
| first law of entanglement | \(\delta S=\delta \langle K\rangle \) | 7 |
| Result | Uses | Floor |
| \(\mathbb N,\mathbb Z,\mathbb Q,\mathbb R\) | quotients, Cauchy sequences | diagonal, cone |
| \(M_n\) | matrix units | idempotent, diagonal, involution |
| Born rule | \(\omega (X)=\operatorname {Tr}\rho X\) | cone, trace form |
| spectral theorem | supremum, first variation | cone, idempotent |
| inner derivations | \(e_{11}\delta (e_{11})e_{11}=0\) | derivation, idempotent |
| unitarity | \(e^{-iHt}\), \(|e^{-i\lambda t}|=1\) | derivation, involution |
| Noether | \(\delta (G)=0\iff [H,G]=0\) | derivation |
| energy conservation | \([H,H]=0\) | \(A-A=0\) |
| Klein | \(\log x\le x-1\), doubly stochastic | derivation, cone, idempotent |
| typicality | Gaussian fourth moments | cone, involution (phases) |
| temperature | \(\Delta \log \binom Nk\) | diagonal (counting) |