Statistical mechanics · PhysLib theorem
Thermodynamic Entropy Equals Shannon Entropy for Finite Ensembles
Under PhysLib's finite-ensemble conventions, its thermodynamic entropy equals its Shannon entropy at the specified temperature.
What it says
What the theorem says
For a finite ensemble, PhysLib sets the continuous degrees-of-freedom correction to zero and the phase-space unit to one, making physical and canonical probabilities coincide. The thermodynamic definition then reduces to differential entropy, while a separate finite-sum lemma identifies differential entropy with Shannon entropy.
Context
Why it matters
The theorem pinpoints when thermodynamic entropy and the information-theoretic Shannon formula are literally the same quantity: PhysLib's discrete finite canonical convention.
Inside the proof
Proof architecture
For a finite ensemble, PhysLib sets the continuous degrees-of-freedom correction to zero and the phase-space unit to one, making physical and canonical probabilities coincide. The thermodynamic definition then reduces to differential entropy, while a separate finite-sum lemma identifies differential entropy with Shannon entropy.
Step 1
Remove finite correction factors
The IsFinite instance collapses the semiclassical correction data to zero degrees of freedom and a unit phase-space scale.
dof=0 and phaseSpaceUnit=1
Show the Lean ingredients
IsFinite.dof_eq_zeroIsFinite.phase_space_unit_eq_oneStep 2
Identify thermodynamic with differential entropy
After the probability logarithms agree, unfolding the definitions identifies thermodynamic entropy with PhysLib's differential entropy.
S_thermo=S_diff
Show the Lean ingredients
CanonicalEnsemble.thermodynamicEntropyh_logStep 3
Use the finite Shannon bridge
The finite integral-to-sum theorem identifies that same differential entropy with the Shannon sum, completing the equality.
S_diff=S_Shannon
Show the Lean ingredients
shannonEntropy_eq_differentialEntropyh_shannon.symmAuthoritative formal type
Exact PhysLib statement
CanonicalEnsemble.thermodynamicEntropy_eq_shannonEntropy {ι : Type} [Fintype ι] [MeasurableSpace ι] (𝓒 : CanonicalEnsemble ι) [MeasurableSingletonClass ι] [𝓒.IsFinite] (T : Temperature) : 𝓒.thermodynamicEntropy T = 𝓒.shannonEntropy TThis 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.
2 direct connections
- Related resultNonnegativity of Finite Canonical Entropyis related toThermodynamic Entropy Equals Shannon Entropy for Finite Ensembles
- Related resultShannon Entropy Bound in Finite Dimensionis related toThermodynamic Entropy Equals Shannon Entropy for Finite Ensembles
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 map2 direct connectionsProvenance and verification
Sources and technical checks
Show declaration provenance and Lean checks
CanonicalEnsemble.thermodynamicEntropy_eq_shannonEntropyPhyslib.StatisticalMechanics.CanonicalEnsemble.Finite6bd0b4b99d3dsorryAx 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.



