RECOGNITION ENCYCLOPEDIA COMPILED 2026-08-06 · PUBLIC EDITION · SOURCES: 1 LEAN MODULE

Foundation Thermodynamics

Foundation thermodynamics derives temperature and the canonical ensemble from the ledger's cost structure and an observer's finite resolution, not from a separate thermal postulate.

Foundation Thermodynamics

Foundation thermodynamics is the part of Recognition Science that derives temperature, entropy, energy, and the canonical ensemble from the ledger's cost structure and an observer's finite resolution. The ledger itself has a definite state at each tick; temperature is not a property of that state. Temperature is a property of an observer's coarse-grained description. When an observer with resolution K sees only K entries of an N-entry ledger, the remaining N-K entries are unseen. The observer's effective description of those unseen entries is the canonical ensemble, and the Lagrange multiplier that enforces the conserved log-charge constraint is temperature.

The state functions are defined directly from the ledger. Entropy is the total defect, the sum of J-costs over all entries. Energy is the log-charge, the sum of the logarithms of the entries. These are not new physical assumptions; they are repackagings of quantities already established in the framework. The equilibrium state is one where every entry equals exp(σ/N), where σ is the log-charge. At that state the entropy is N times J(exp(σ/N)), which simplifies to N times (cosh(σ/N) minus 1). Temperature is defined as the derivative of equilibrium entropy with respect to energy, which evaluates to sinh(σ/N). This is the RS temperature.

The module proves the thermodynamic identities that connect these definitions. The first law holds as a derivative identity: the derivative of equilibrium entropy equals the temperature. The third law holds as a zero condition: at zero log-charge, both temperature and equilibrium entropy are zero. Specific heat is positive everywhere, which is a stability condition, and it is the derivative of temperature. The Boltzmann weight is exp(-entropy), and it is positive for every configuration. Thermal equilibrium between two systems is defined by equal temperatures, which is equivalent to equal ratios of log-charge to system size.

The module is explicit about what it does not establish. There is no second law declaration in this file. The total defect, which is the entropy, is established to be non-increasing along variational trajectories. That is the opposite sign from a conventional second law. The intended observer-side rescue, where entropy increases from the observer's coarse-grained perspective, is stated but not established. Absolute zero is also unreachable: a variational trajectory that starts with nonzero log-charge never reaches zero log-charge.

THEOREM rs_temperature · first_law · IndisputableMonolith/Foundation/Thermodynamics.lean

THEOREM rs_entropy · IndisputableMonolith/Foundation/Thermodynamics.lean

THEOREM rs_energy · IndisputableMonolith/Foundation/Thermodynamics.lean

THEOREM first_law · IndisputableMonolith/Foundation/Thermodynamics.lean

THEOREM full_defect_monotone · IndisputableMonolith/Foundation/Thermodynamics.lean

What this page does not claim

No second law of thermodynamics is established in this module. No claim is made that absolute zero is reachable by any variational trajectory. No claim is made that temperature is a property of the ledger itself rather than of an observer's description.

Verify this page

Every tagged claim above names its theorem. To check one yourself rather than trust this page, elaborate the source module with Lean 4 and audit its axiom basis:

$ lake env lean IndisputableMonolith/Foundation/Thermodynamics.lean
expected axiom basis: [propext, Classical.choice, Quot.sound] (the Lean kernel's standard three; no RS-specific axioms)

A page whose claims cannot be reproduced this way does not ship. In production, every anchor links to the exact declaration in the public source release, and this block carries the build receipt for the page itself.

Derived articles

This page is generated by a question-recursion engine: the questions its answers raise become the next pages. The current agenda, with open targets marked red:

MACHINE LAYER · GROUNDED CLAIM TABLE · CLICK TO EXPAND