Statistical mechanics · PhysLib theorem
Helmholtz Free Energy of a Product Ensemble
For two PhysLib canonical ensembles at the same temperature, with finite Boltzmann measures, nonzero base measures, and matching phase-space units, PhysLib proves that the Helmholtz free energy of their noninteracting product ensemble is the sum of the component free energies.
What it says
What the theorem says
PhysLib's product ensemble has a partition function equal to the product of the component partition functions. Positivity permits the logarithm to split, converting the product into an additive Helmholtz free energy.
Context
Why it matters
The result formalizes the familiar composition law for independent canonical systems and exposes the precise partition-function and phase-space assumptions behind the free-energy sum.
Inside the proof
Proof architecture
The proof invokes PhysLib's product rule for partition functions, establishes positivity of both factors, splits the logarithm of their product, and distributes the common thermodynamic prefactor.
Step 1
Factor the partition function
For the product ensemble with matching phase-space units, PhysLib's earlier theorem identifies the combined partition function with the product of the two factors.
Z₁₂(T) = Z₁(T) Z₂(T)
Show the Lean ingredients
partitionFunction_addStep 2
Establish positivity
The component partition functions are strictly positive, which supplies the nonzero hypotheses needed to split the logarithm.
Z₁(T) > 0, Z₂(T) > 0
Show the Lean ingredients
partitionFunction_posStep 3
Split the logarithm
Positivity allows the logarithm of the product partition function to become the sum of the component logarithms.
log(Z₁Z₂) = log Z₁ + log Z₂
Show the Lean ingredients
Real.log_mulStep 4
Distribute the free-energy prefactor
Multiplication by the common factor −kBT distributes over the logarithmic sum, giving one Helmholtz free energy for each component.
−kBT log(Z₁Z₂) = F₁(T) + F₂(T)
Show the Lean ingredients
ringsimp [helmholtzFreeEnergy, mul_comm, mul_assoc]Authoritative formal type
Exact PhysLib statement
CanonicalEnsemble.helmholtzFreeEnergy_add {ι ι1 : Type} [MeasurableSpace ι] [MeasurableSpace ι1] (𝓒 : CanonicalEnsemble ι) (𝓒1 : CanonicalEnsemble ι1) (T : Temperature) [MeasureTheory.IsFiniteMeasure (𝓒.μBolt T)] [MeasureTheory.IsFiniteMeasure (𝓒1.μBolt T)] [NeZero 𝓒.μ] [NeZero 𝓒1.μ] (h : 𝓒.phaseSpaceunit = 𝓒1.phaseSpaceunit) : (𝓒 + 𝓒1).helmholtzFreeEnergy T = 𝓒.helmholtzFreeEnergy T + 𝓒1.helmholtzFreeEnergy 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.
3 direct connections
- Related resultHeat Capacity from Energy Fluctuationsis related toHelmholtz Free Energy of a Product Ensemble
- Related resultHelmholtz Free Energy of a Product Ensembleis related toCanonical Ensemble: F = U − TS
- Related resultHelmholtz Free Energy of a Product Ensembleis related toInverse Temperature as an Entropy–Energy Derivative Ratio
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 map3 direct connectionsProvenance and verification
Sources and technical checks
Show declaration provenance and Lean checks
CanonicalEnsemble.helmholtzFreeEnergy_addPhyslib.StatisticalMechanics.CanonicalEnsemble.Basic6bd0b4b99d3dsorryAx 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.




