Coherence First Law

rigorous

Overview

This derivation shows that the first law of thermodynamics — energy is conserved — is not a separate physical principle but a direct consequence of coherence conservation.

The first law states that changes in a system’s internal energy equal the heat added minus the work done. It is one of the most tested and trusted laws in all of science. But thermodynamics textbooks typically present it as an empirical generalization. Here it is derived from a single axiom.

The approach. The derivation identifies energy with coherence and decomposes energy exchange into two channels based on the framework’s interaction classification:

The result. The first law follows as an accounting identity once coherence conservation and the interaction type decomposition are in place. The derivation also recovers the zeroth law (transitivity of thermal equilibrium), the Clausius relation connecting heat and entropy, and standard thermodynamic temperature — all without additional postulates.

Why this matters. Energy conservation is often treated as a foundational assumption. Showing it follows from a deeper principle (coherence conservation) unifies energy conservation with information-theoretic constraints and reveals the structural origin of the work-heat distinction.

An honest caveat. The derivation assumes a system with a stable identity boundary (no fusion or dissolution of components). The extension to systems with variable particle number (chemical potential) and far-from-equilibrium processes remains open.

Statement

Theorem. The first law of thermodynamics dU=δQδWdU = \delta Q - \delta W is a direct consequence of coherence conservation (Axiom 1) when coherence exchanges between a system and its environment are decomposed into entropy-preserving channels (work) and entropy-generating channels (heat). The decomposition is structurally determined by the Three Interaction Types classification. No structural postulates beyond the three axioms are required.

Derivation

Step 1: Internal Coherence Energy

Definition 1.1. Let A=(ΣA,IA,BA)\mathcal{A} = (\Sigma_\mathcal{A}, I_\mathcal{A}, \mathcal{B}_\mathcal{A}) be a composite observer system — a collection of observers and their relational invariants. The internal coherence energy of A\mathcal{A} is the total coherence content:

UA=C(A)U_\mathcal{A} = \mathcal{C}(\mathcal{A})

where C\mathcal{C} is the coherence measure from Coherence Conservation (Axiom 1). This includes both the individual observer coherences and the relational coherence between them:

UA=iAC(Oi)+i<jC(Oi:Oj)+(higher-order terms)U_\mathcal{A} = \sum_{i \in \mathcal{A}} \mathcal{C}(\mathcal{O}_i) + \sum_{i < j} \mathcal{C}(\mathcal{O}_i : \mathcal{O}_j) + \text{(higher-order terms)}

where C(Oi:Oj)=C(Oi)+C(Oj)C(OiOj)\mathcal{C}(\mathcal{O}_i : \mathcal{O}_j) = \mathcal{C}(\mathcal{O}_i) + \mathcal{C}(\mathcal{O}_j) - \mathcal{C}(\mathcal{O}_i \cup \mathcal{O}_j) is the relational coherence (Relational Invariants, Theorem 2.1).

Proposition 1.2. UA>0U_\mathcal{A} > 0 for any non-trivial system, and UAU_\mathcal{A} is conserved for an isolated system.

Proof. Positivity follows from C>0\mathcal{C} > 0 on non-empty subsets (Coherence Conservation, axiom C2). Conservation for an isolated system is Axiom 1: Ctotal\mathcal{C}_{\text{total}} is constant on Cauchy slices. If A\mathcal{A} does not exchange coherence with its complement, C(A)\mathcal{C}(\mathcal{A}) is independently constant. \square

Step 2: Coherence Exchange Channels

Definition 2.1. When system A\mathcal{A} interacts with its environment Aˉ\bar{\mathcal{A}}, coherence is exchanged through interaction events classified by Three Interaction Types. Each interaction event transfers coherence across the boundary BA\mathcal{B}_\mathcal{A}.

Definition 2.2 (Work channel — Type I passage). A work exchange δW\delta W is coherence transferred via Type I interactions (phase passage), in which:

The work done by A\mathcal{A} on Aˉ\bar{\mathcal{A}} during a process is:

δW=Type I eventsδCout(I)\delta W = \sum_{\text{Type I events}} \delta\mathcal{C}_{\text{out}}^{(I)}

where δCout(I)\delta\mathcal{C}_{\text{out}}^{(I)} is the coherence transferred outward from A\mathcal{A} in each Type I interaction.

Proposition 2.3 (Work is entropy-preserving). Type I exchanges do not change the entropy of A\mathcal{A} relative to any external observer.

Proof. By Entropy (Theorem 4.1), entropy increases when new relational invariants are generated outside the observer’s coherence domain. Type I interactions generate no new relational invariants (Three Interaction Types, Proposition 4.2 — only phase is exchanged). Therefore ΔSA=0\Delta S_A = 0 for a purely Type I process. \square

Definition 2.4 (Heat channel — Type III resonance). A heat exchange δQ\delta Q is coherence transferred via Type III interactions (resonance), in which:

The heat transferred into A\mathcal{A} during a process is:

δQ=Type III eventsδCin(III)\delta Q = \sum_{\text{Type III events}} \delta\mathcal{C}_{\text{in}}^{(III)}

where δCin(III)\delta\mathcal{C}_{\text{in}}^{(III)} is the net coherence gained by A\mathcal{A} from each Type III interaction (which may be positive or negative depending on direction).

Proposition 2.5 (Heat is entropy-generating). Type III exchanges generically increase entropy.

Proof. Type III interactions generate new relational invariants (Three Interaction Types, Definition 4.4). By Entropy (Theorem 4.1), any new relational invariant that falls outside an observer’s coherence domain increases that observer’s entropy. Since external observers generically cannot access the newly created correlations between A\mathcal{A} and Aˉ\bar{\mathcal{A}}, entropy increases. \square

Remark (Type II interactions). Type II interactions (fusion) change A\mathcal{A}‘s identity — components merge or reorganize. This changes UAU_\mathcal{A} discontinuously by changing what "A\mathcal{A}" means. For the first law, we restrict to processes where A\mathcal{A}‘s identity is stable (no fusion or dissolution). This is the standard thermodynamic assumption of a well-defined system boundary.

Step 3: The First Law

Theorem 3.1 (Coherence First Law). For a composite system A\mathcal{A} with stable identity, undergoing interactions with its environment Aˉ\bar{\mathcal{A}}:

dUA=δQδW\boxed{dU_\mathcal{A} = \delta Q - \delta W}

where dUAdU_\mathcal{A} is the change in internal coherence energy, δQ\delta Q is the heat (coherence exchanged via entropy-generating channels), and δW\delta W is the work (coherence exchanged via entropy-preserving channels).

Proof. By Axiom 1 (Coherence Conservation), the total coherence C(A)+C(Aˉ)+C(A:Aˉ)\mathcal{C}(\mathcal{A}) + \mathcal{C}(\bar{\mathcal{A}}) + \mathcal{C}(\mathcal{A}:\bar{\mathcal{A}}) is constant. For an infinitesimal process:

dC(A)+dC(Aˉ)+dC(A:Aˉ)=0d\mathcal{C}(\mathcal{A}) + d\mathcal{C}(\bar{\mathcal{A}}) + d\mathcal{C}(\mathcal{A}:\bar{\mathcal{A}}) = 0

The change in A\mathcal{A}‘s internal coherence is:

dUA=dC(A)dU_\mathcal{A} = d\mathcal{C}(\mathcal{A})

This change is the net result of all coherence exchanges across BA\mathcal{B}_\mathcal{A}. Partition these exchanges by interaction type:

dUA=δCin(I)δCout(I)Type I (work)+δCin(III)δCout(III)Type III (heat)dU_\mathcal{A} = \underbrace{\delta\mathcal{C}_{\text{in}}^{(I)} - \delta\mathcal{C}_{\text{out}}^{(I)}}_{\text{Type I (work)}} + \underbrace{\delta\mathcal{C}_{\text{in}}^{(III)} - \delta\mathcal{C}_{\text{out}}^{(III)}}_{\text{Type III (heat)}}

With the sign conventions δW=δCout(I)δCin(I)\delta W = \delta\mathcal{C}_{\text{out}}^{(I)} - \delta\mathcal{C}_{\text{in}}^{(I)} (work done by A\mathcal{A}, positive when coherence leaves via Type I) and δQ=δCin(III)δCout(III)\delta Q = \delta\mathcal{C}_{\text{in}}^{(III)} - \delta\mathcal{C}_{\text{out}}^{(III)} (heat transferred into A\mathcal{A}, positive when coherence enters via Type III):

dUA=δQδWdU_\mathcal{A} = \delta Q - \delta W

This is the first law. \square

Remark (Exactness). dUdU is an exact differential (it depends only on the state of A\mathcal{A}), while δQ\delta Q and δW\delta W are inexact (they depend on the process — specifically, on which interaction types mediate the exchange). This matches the standard thermodynamic structure exactly.

Step 4: Coherence Temperature

Definition 4.1. The coherence temperature of system A\mathcal{A} relative to observer AA is:

TC=(SAUA)1T_\mathcal{C} = \left(\frac{\partial S_A}{\partial U_\mathcal{A}}\right)^{-1}

where SA=C(A)CA(A)S_A = \mathcal{C}(\mathcal{A}) - \mathcal{C}_A(\mathcal{A}) is the entropy of A\mathcal{A} relative to AA (Entropy, Definition 3.1).

Proposition 4.2 (Positivity of temperature). TC>0T_\mathcal{C} > 0 for any bounded observer AA and non-trivial system A\mathcal{A}.

Proof. By Entropy (Theorem 4.1), SA0S_A \geq 0 and generically SA>0S_A > 0. Increasing UAU_\mathcal{A} (adding coherence to A\mathcal{A}) generically increases SAS_A (the inaccessible portion increases because AA cannot track all the added coherence). Therefore SA/UA>0\partial S_A / \partial U_\mathcal{A} > 0, giving TC>0T_\mathcal{C} > 0. \square

Remark. Temperature is observer-indexed because entropy is observer-indexed. Two observers AA and BB with different coherence domains may assign different temperatures to the same system. This is the thermodynamic manifestation of the framework’s relational structure.

Step 5: The Clausius Relation

Theorem 5.1 (Clausius relation). For a reversible process (one where all entropy increase is attributable to heat exchange):

δQ=TCdSA\delta Q = T_\mathcal{C} \, dS_A

Proof. By Definition 4.1, TC=(SA/UA)1T_\mathcal{C} = (\partial S_A / \partial U_\mathcal{A})^{-1}, so dSA=dUA/TCdS_A = dU_\mathcal{A} / T_\mathcal{C} when the process is quasi-static (infinitesimally close to equilibrium at each step).

For a reversible process, all entropy change comes from heat exchange: dSA=δQ/TCdS_A = \delta Q / T_\mathcal{C} (no spontaneous entropy generation). Therefore δQ=TCdSA\delta Q = T_\mathcal{C} \, dS_A. \square

Corollary 5.2 (Combined first-second law). For reversible processes:

dU=TCdSδWdU = T_\mathcal{C} \, dS - \delta W

This combines the first law (Theorem 3.1) with the Clausius relation (Theorem 5.1).

Step 6: Recovery of Standard Thermodynamics

Proposition 6.1 (Standard first law recovery). Under the uniform-coherence assumption (already used in Entropy, Proposition 8.1 to recover Boltzmann entropy), the coherence first law reduces to the standard first law dU=δQδWdU = \delta Q - \delta W with:

Proof. Energy identification. The coherence cost of one minimal loop is \hbar (Action and Planck’s Constant, Definition 3.2), so the energy per coherence unit is E0=ωE_0 = \hbar\omega. Internal coherence energy maps to internal energy: U=UAE0U = U_\mathcal{A} \cdot E_0.

Entropy identification. Under uniform coherence distribution, SA=kBlnΩS_A = k_B \ln \Omega (Entropy, Proposition 8.1), where kBk_B is the proportionality constant between coherence units and thermodynamic units.

Temperature identification. TC=(SA/UA)1T_\mathcal{C} = (\partial S_A / \partial U_\mathcal{A})^{-1}. With SA=kBlnΩS_A = k_B \ln\Omega and UAU_\mathcal{A} in coherence units, the standard conversion gives T=TCE0/kBT = T_\mathcal{C} \cdot E_0 / k_B in kelvin. The standard relation 1/T=S/U1/T = \partial S / \partial U (in physical units) is recovered. \square

Step 7: Zeroth Law and Thermal Equilibrium

Proposition 7.1 (Zeroth Law from coherence equilibrium). If system A\mathcal{A} is in thermal equilibrium with system B\mathcal{B}, and B\mathcal{B} is in thermal equilibrium with system C\mathcal{C}, then A\mathcal{A} is in thermal equilibrium with C\mathcal{C}. That is, thermal equilibrium is transitive.

Proof. Thermal equilibrium between A\mathcal{A} and B\mathcal{B} means no net coherence exchange: δQAB=0\delta Q_{\mathcal{A} \to \mathcal{B}} = 0. By the Clausius relation (Theorem 5.1), this requires TC(A)=TC(B)T_\mathcal{C}^{(\mathcal{A})} = T_\mathcal{C}^{(\mathcal{B})} (equal temperatures, since any temperature difference drives net heat flow from hot to cold by the second law).

Similarly, B\mathcal{B}-C\mathcal{C} equilibrium gives TC(B)=TC(C)T_\mathcal{C}^{(\mathcal{B})} = T_\mathcal{C}^{(\mathcal{C})}. By transitivity of equality: TC(A)=TC(C)T_\mathcal{C}^{(\mathcal{A})} = T_\mathcal{C}^{(\mathcal{C})}, so A\mathcal{A} and C\mathcal{C} are in thermal equilibrium. \square

Remark. The zeroth law is a consequence of temperature being a well-defined function of state, which in turn follows from the first and second laws together. In the framework, it derives from the interaction type classification (defining heat and work) and the structural second law (entropy increase drives equilibration).

Consistency Model

Theorem 8.1. Two S1S^1 minimal observers exchanging coherence via Type I and Type III interactions satisfy the first law.

Model: A=(S1,QA,ωA)\mathcal{A} = (S^1, Q_A, \omega_A) and Aˉ=(S1,QAˉ,ωAˉ)\bar{\mathcal{A}} = (S^1, Q_{\bar{A}}, \omega_{\bar{A}}).

Verification:

Physical Interpretation

Framework conceptStandard thermodynamics
Internal coherence UA=C(A)U_\mathcal{A} = \mathcal{C}(\mathcal{A})Internal energy UU
Type I coherence exchangeWork WW
Type III coherence exchangeHeat QQ
Coherence temperature TCT_\mathcal{C}Thermodynamic temperature TT
Axiom 1 (coherence conservation)Energy conservation
Interaction type classificationWork-heat decomposition
Observer-indexed entropyEntropy SS
Clausius relation δQ=TCdS\delta Q = T_\mathcal{C} dSStandard Clausius relation

Connection to Existing Derivations

PrerequisiteWhat it provides
Coherence ConservationTotal coherence conserved (Axiom 1) — the energy conservation law
Three Interaction TypesClassification into Type I (work) and Type III (heat) channels
EntropySA=CCAS_A = \mathcal{C} - \mathcal{C}_A (inaccessible coherence), second law
Action and Planck’s Constant\hbar as coherence cost unit, E=ωE = \hbar\omega
Relational InvariantsRelational coherence C(O1:O2)\mathcal{C}(\mathcal{O}_1:\mathcal{O}_2)

Rigor Assessment

Fully rigorous:

Uses the same assumptions as upstream rigorous derivations:

No structural postulates needed. The entire derivation follows from Axiom 1, the interaction type classification, and existing rigorous results (entropy, action).

Assessment: Rigorous. The first law dU=δQδWdU = \delta Q - \delta W is proved cleanly from Axiom 1 with no additional structural postulates. The work-heat decomposition is structurally determined by the exhaustive interaction type classification. The temperature identification and standard thermodynamics recovery (Proposition 6.1) use only assumptions already present in the rigorous upstream derivations. The consistency model verifies all results. The derivation requires no new structural postulates — the most economical of all the thermodynamics derivations.

Step 8: Free Energy as Constrained Coherence

Remark 8.1 (Thermodynamic potentials as constrained coherence optimizations). The standard thermodynamic potentials arise naturally as Legendre transforms of the internal coherence energy UAU_\mathcal{A}, each corresponding to constraining one intensive variable by coupling the system to an external coherence reservoir.

The framework identifications are: U=U = total coherence energy (Theorem 3.1), T=(S/U)1T = (\partial S / \partial U)^{-1} (Definition 4.1), S=S = inaccessible coherence (Entropy, Definition 3.1), P=P = coherence pressure (the rate of coherence change with respect to domain volume), V=V = coherence domain volume.

Helmholtz free energy. F=UTSF = U - TS is the coherence available for work when the observer’s environment fixes the temperature (thermal contact with a coherence reservoir). Minimizing FF at constant TT is equivalent to maximizing the total coherence of system plus environment — this is coherence conservation (Axiom 1) with a thermal constraint. The natural variable set is (T,V)(T, V): the system exchanges entropy freely with the reservoir but its volume is fixed.

Gibbs free energy. G=UTS+PVG = U - TS + PV is the coherence available when both temperature and pressure are externally fixed. This is relevant for phase transitions — crystallization events in the bootstrap (Bootstrap) where the system restructures at fixed intensive conditions. The equilibrium condition ΔG=0\Delta G = 0 determines phase boundaries as loci where two coherence configurations have equal constrained coherence.

Grand potential. Ω=UTSμN\Omega = U - TS - \mu N is the relevant potential when particle number varies — open systems exchanging minimal observers with the environment. Here μ\mu (the chemical potential) is the coherence cost of adding one minimal observer to A\mathcal{A}, and NN is the observer count.

Each Legendre transform corresponds to constraining one intensive variable (T,P,μ)(T, P, \mu) by coupling to an external coherence reservoir, converting the corresponding extensive variable (S,V,N)(S, V, N) from a free parameter to one determined by equilibrium. The transform structure is:

Potential=Ui(intensivei)(extensivei)\text{Potential} = U - \sum_i (\text{intensive}_i)(\text{extensive}_i)

where the sum runs over the constrained pairs. The Maxwell relations (e.g., (T/V)S=(P/S)V(\partial T / \partial V)_S = -(\partial P / \partial S)_V) follow from the equality of mixed partial derivatives of U(S,V,N)U(S, V, N) and carry no additional content beyond the smoothness of the coherence energy function.

Open Gaps

  1. Chemical potential: For systems with variable particle number, the first law extends to dU=TdSPdV+μdNdU = TdS - PdV + \mu dN. The coherence analog of μ\mu is the coherence cost of adding a minimal observer to A\mathcal{A} — this should be derivable from the bootstrap mechanism.

  2. Non-equilibrium thermodynamics: The first law holds for arbitrary processes, not just quasi-static ones. The framework should extend to far-from-equilibrium coherence dynamics, connecting to fluctuation theorems.

  3. Negative temperature: In standard thermodynamics, population-inverted systems have T<0T < 0. In the framework, this corresponds to systems where adding coherence decreases entropy — which requires a bounded state space where most microstates are already accessible. Whether the framework permits such configurations is an open question.

Addressed Gaps

  1. Free energy and Legendre transformsResolved: Helmholtz F=UTSF = U - TS, Gibbs G=UTS+PVG = U - TS + PV, and grand potential Ω=UTSμN\Omega = U - TS - \mu N are identified as constrained coherence optimizations, each arising from coupling to an external coherence reservoir that fixes one intensive variable. See Remark 8.1.