Maxwell's Demon and the Informational Sector in Biquaternionic Form (simplified)
----> Full version of this article
Claim. The demon's cycle is a closed loop through the framework's two sectors — work drawn from the material sector in the feedback step, the informational sector debited in the erasure step — and the accounting is exact: $W_{\rm net}=W_{\rm ext}-W_{\rm erase}\leq k_BT(I-H(D))\leq0$, because the mutual information $I$ with the gas can never exceed the memory's entropy $H(D)$, so the demon never gains.
Symbols: $k_B$ Boltzmann constant, $T$ bath temperature, $V$ box volume, $\mathcal Q$ heat, $\mathcal S$ entropy functional (nats), $h(\cdot)$ the binary entropy; $\tilde P_\Phi=i\frac Ec e_t+\vec p$ the gas's energy–momentum element in the material sector $\mathbb B_\Phi$; $\tilde{Ϛ}_{\Psi,D}=p_+\tilde\Pi_{\mathrm{id},1}(\vec u)+p_-\tilde\Pi_{\mathrm{id},2}(\vec u)$ the record, a classical bit in the informational sector $\mathbb B_\Psi$, with $\tilde\Pi_{\mathrm{id},1,2}(\vec u)=\frac12(e_t\pm i\vec u)$; $H(D)$ its entropy, $I=I(G\!:\!D)$ the mutual information with the gas bit $G$, $e$ the error probability, $H_2(e)$ the binary entropy of the error, $\Xi_{\vec u}$ the idempotent (dephasing) projection, $\mathcal E_{\vec u}$ the erasure map, $\tilde u$ a rotor, $W_{\rm ext}$ extracted work, $W_{\rm erase}$ erasure work; $c$ light speed.
The Load-Bearing Ideas
1. The device and the two sectors
Szilard's engine: one particle in a box of volume $V$ in contact with a bath at $T$, with a removable partition; the cycle has four steps — measurement (which half holds the particle, recorded), feedback (isothermal expansion from $V/2$ to $V$ against a piston on the empty half), restoration, and erasure of the record — with steps 1 and 2 creating the work and steps 3 and 4 returning the device to its initial state so the cycle is closed and the second law applies. The gas is material: $\tilde P_\Phi=i\frac Ec e_t+\vec p\in\mathbb B_\Phi$, whose timelike component is the energy, with the heat $\mathcal Q$ to the bath a change of it and the bath's entropy change $\mathcal Q/T$. The record is informational: $\tilde{Ϛ}_{\Psi,D}=p_+\tilde\Pi_{\mathrm{id},1}(\vec u)+p_-\tilde\Pi_{\mathrm{id},2}(\vec u)$, diagonal in the pointer basis so genuinely classical, with entropy $h(|p_+-p_-|)$ equal to the Shannon entropy of the pointer distribution. Work is drawn from the material sector in feedback and the informational sector is debited in erasure; the exchange rate is the temperature.
2. Measurement, correlation, and the definite record
The measurement must leave a record correlated with the gas; in the reversible account the correlation is created by a rotor conjugation $\tilde{Ϛ}_{\Psi}\mapsto\tilde u\tilde{Ϛ}_{\Psi}\tilde u^{*}$ with $\tilde u\tilde u^{*}=e_t$, which preserves the norm, produces no entropy and has vanishing Lyapunov spectrum — the same three properties a permutation of a classical joint distribution has. With $G$ uniform and the memory initialised to a standard value, the copy gives $I(G\!:\!D)=H(G)+H(D)-H(G,D)=\log2$: the gas's marginal is unchanged, the record's marginal is uniform, the joint entropy is unchanged, and the measurement has created one nat of mutual information. Averaged over outcomes the record is the maximally mixed state, $\tilde{Ϛ}_{\Psi,D}=\frac12e_t$ with norm $\frac14e_t$ and entropy $\log2$ — the more mixed the record, the larger its biquaternion norm and the more expensive its erasure; a biased record has $\mathcal S=h(\sqrt{1-4\,\mathrm{Sc}\langle\tilde{Ϛ}_{\Psi,D}\rangle_{\natural}})=h(|p_+-p_-|)\leq\log2$ and is cheaper. A demon that acts needs a definite record, obtained by the fully dephasing conditional expectation $\Xi_{\vec u}(\tilde{Ϛ}_{\Psi,D})=\tilde\Pi_{\mathrm{id},1}\tilde{Ϛ}_{\Psi,D}\tilde\Pi_{\mathrm{id},1}+\tilde\Pi_{\mathrm{id},2}\tilde{Ϛ}_{\Psi,D}\tilde\Pi_{\mathrm{id},2}$, idempotent and unital and not decreasing the entropy. So the cycle has two irreversible steps available — registration and erasure — and the second law requires at least one to pay.
3. Extractable work: the Szilard bound and its generalisation
The feedback converts correlation into work: with the record definite the particle is in one half with certainty, and the isothermal expansion gives $W_{\rm ext}=\int_{V/2}^{V}P\,\mathrm{d}V=k_BT\int_{V/2}^{V}\frac{\mathrm{d}V}{V}=k_BT\log2=0.6931471806\,k_BT$ using $P=k_BT/V$ for one particle. The entropy balance is exact: the gas gains $\delta S_{\rm gas}=k_B\log(V/(V/2))=k_B\log2$, the heat absorbed is $\mathcal Q=T\,\delta S_{\rm gas}=k_BT\log2$, and the bath loses the same, so gas plus bath is unchanged and the work is exactly the heat absorbed. For an imperfect record the Sagawa–Ueda bound gives $W_{\rm ext}\leq-\delta F_{\rm gas}+k_BT\,I$; since the ideal gas's internal energy is unchanged under isothermal expansion, $-\delta F_{\rm gas}=k_BT\log2$ and the bound is $W_{\rm ext}\leq k_BT\,I$, saturated by quasistatic feedback using all the correlation. For error probability $e$, $I=\log2-H_2(e)$ with $H_2(e)=-e\log e-(1-e)\log(1-e)$, verified numerically: $I(0)=\log2=0.6931472$, $I(0.1)=0.3680642$, $I(0.5)=0$. The measurement does not change the gas: with $H(G\mid D)=H_2(e)$ and $H(G)=\log2$, $I=\log2-H_2(e)$, so the demon's advantage is entirely in the conditional description, with the gas's unconditional state untouched and no thermodynamic entropy yet lowered.
4. Erasure, net work, and the ledger
Erasure is the non-unital channel $\mathcal E_{\vec u}:\tilde{Ϛ}_{\Psi,D}\mapsto\tilde\Pi_{\mathrm{id},1}(\vec u)$, whose entropy debit is $\delta\mathcal S=-\mathcal S(\tilde{Ϛ}_{\Psi,D})$ and whose material cost is $W_{\rm erase}\geq k_BT\log2$. The cycle being closed, $W_{\rm net}=W_{\rm ext}-W_{\rm erase}\leq k_BT\,I-k_BT\,H(D)$ with $H(D)=\mathcal S(\tilde{Ϛ}_{\Psi,D})$; since $I\leq H(D)$, with equality exactly when the record is a deterministic function of the gas, $W_{\rm net}\leq k_BT(I-H(D))\leq0$. Three regimes: a perfect demon ($e=0$) has $I=H(D)=\log2$, $W_{\rm ext}=W_{\rm erase}=k_BT\log2$ and $W_{\rm net}=0$; a noisy demon ($0<e<\frac12$) has $W_{\rm net}\leq-k_BT\,H_2(e)<0$ — at $e=0.1$ the guaranteed loss is $0.3250830\,k_BT$ per run; a useless demon ($e=\frac12$) has $I=0$ and $W_{\rm net}\leq-k_BT\log2$, paying erasure and extracting nothing.
| Step | Sector touched | Work done by the device | Heat exchanged with the bath |
|---|---|---|---|
| Correlation (measurement) | $\mathbb B_\Psi$ (record) | $0$ | $0$ |
| Feedback (isothermal expansion) | $\mathbb B_\Phi$ (gas, bath) | $+k_BT\log2$ | $-k_BT\log2$ (absorbed) |
| Restoration | $\mathbb B_\Phi$ | $0$ | $0$ |
| Erasure | $\mathbb B_\Psi$ (record) | $-k_BT\log2$ | $+k_BT\log2$ (released) |
| Total | $\mathbf{0}$ | $\mathbf{0}$ |
The work extracted in feedback is exactly returned in erasure, and the heat absorbed in expansion exactly released in reset, so the bath returns to its initial state; the correlation step is thermodynamically free, the joint entropy unchanged. If registration is charged instead of erasure — treating the idempotent projection as the irreversible step — the cost appears at the projection rather than the reset, and the ledger balances the same way.
5. Where the demon fails
Each step lands in one of the framework's two dynamical classes: correlation and feedback are reversible (permutation and rotor conjugation, isometries with vanishing spectrum, costing no total entropy), while registration and erasure are irreversible (the idempotent projection and the non-unital reset). The reversible rows balance exactly within themselves — the gas gains what the bath loses, and the memory's debit is the bath's credit — so at the close of the cycle the gas and record are back where they started and the total entropy is unchanged. The failure is structural, not incidental: the reversible steps create and consume correlation at no entropy cost, and the second law is satisfied by the irreversible step's payment. The framework supplies no coupling between the sectors — rotor conjugation acts within each — so the interaction that correlates gas and record is a physical input the algebra does not provide.
What the Article Does Not Claim
It does not derive the work bounds: the Szilard work, the Sagawa–Ueda bound, the Landauer cost and the ideal-gas and Clausius relations are imported from standard thermodynamics and information theory. It does not supply the gas–record coupling, fix the bath's temperature, or predict any violation of the second law in either direction. It does not use entanglement: the treatment is classical, the gas a classical one-particle gas, the record a classical bit, and the mutual information Shannon's. It does not claim the measurement lowers the gas's thermodynamic entropy: the advantage is in the conditional description only. It does not claim a losing demon can break even: noisy demons lose more the noisier they are. It does not claim the registration and erasure costs can both be avoided: the second law requires at least one payment.
Five-Sentence Summary
- The demon's Szilard cycle runs through both sectors, drawing work from the material one in feedback and debiting the informational one in erasure.
- Measurement creates $\log2$ of mutual information by a reversible correlation, while the record's averaged state is maximally mixed with entropy $\log2$.
- Feedback extracts at most $k_BT\,I$, with $I=\log2-H_2(e)$, saturating at $k_BT\log2$ for a perfect record.
- Erasure costs at least $k_BT\log2$, so the net work is bounded by $k_BT(I-H(D))\leq0$ and the demon never gains.
- The reversible steps are isometries that balance exactly, and the second law is paid by the irreversible registration or erasure.
One-Sentence Version
Maxwell's demon fails structurally: the reversible steps create and consume at most $k_BT\,I$ of work while erasure costs at least $k_BT\,H(D)$, and since $I\leq H(D)$ the cycle's net work can never be positive.
What This Simplification Omits
- The alternative registration accounting in full; the coarse-graining reading of the gas; the notation table and further reading; the summary's restatement; the second table of step classes.
Kept: the claim; the symbol list; the four-step device and two sectors; the correlation and the definite record; the Szilard and Sagawa–Ueda bounds with all numerical values; the ledger table; the three regimes; the structural failure; every non-claim.