Statistical mechanics · PhysLib theorem
Temperature and Inverse-Temperature Entropy Formulas Agree
Under nonzero temperature, nonvanishing partition function, and interior convergence assumptions, PhysLib equates its temperature-based and inverse-temperature entropy formulas.
What it says
What the theorem says
One entropy expression is written through temperature-dependent free energy and another directly through inverse temperature; the theorem proves they coincide after β = 1/T.
Context
Why it matters
The theorem makes a delicate change of thermodynamic parameter explicit and retains the analytic assumptions needed for differentiating the partition function.
Inside the proof
Proof architecture
The checked derivation retains the domain conditions, expands both entropy definitions, and uses the chain-rule relation between temperature and inverse temperature to match them exactly.
Step 1
Keep the analytic hypotheses visible
Nonzero temperature, nonzero partition value, and interior convergence ensure the logarithmic and derivative expressions used by both definitions are legitimate.
T ≠ 0, Z(1/T) ≠ 0, 1/T ∈ interior(dom Z)
Show the Lean ingredients
hThZnehZintStep 2
Expand the temperature formula
The temperature-based entropy is unfolded through the free-energy definition, exposing the logarithmic partition term and its temperature derivative.
Show the Lean ingredients
entropyShelmholtzApartitionZStep 3
Match the inverse-temperature formula
After substituting β = 1/T and applying the derivative identities, the expanded temperature expression closes to PhysLib's direct β-entropy definition.
S(T) = Sβ(1/T)
Show the Lean ingredients
entropySβone_divfield_simpAuthoritative formal type
Exact PhysLib statement
MicroHamiltonian.entropy_A_eq_entropy_Z {D : Type} {H : MicroHamiltonian D} {d : D} (T : ℝ) (hT : T ≠ 0) (hZne : H.partitionZ d (1 / T) ≠ 0) (hZint : ↑(1 / T) ∈ interior (H.ZComplexConvergenceDomain d)) : H.entropyS d T = H.entropySβ d (1 / T)This is the theorem's exact Lean type. The diagrams and commentary are explanatory; the pinned statement and source are authoritative.
Recorded connections
How this result fits
A one-step view of the published results directly connected to this page.
1 direct connection
Only recorded public relationships are shown. A shared topic does not imply a dependency, and this is not a complete Lean proof-term dependency graph.
Open this result in the full theorem map1 direct connectionProvenance and verification
Sources and technical checks
Show declaration provenance and Lean checks
MicroHamiltonian.entropy_A_eq_entropy_ZPhyslib.StatisticalMechanics.MicroCanonicalEnsemble.ThermoQuantities6bd0b4b99d3dsorryAx reportedThe declaration footprint describes source layout, not proof difficulty or the size of its dependencies. The pinned checks verify the cited Lean theorem; semantic review remains a separate PhysAtlas judgment.



