Statistical mechanics · PhysLib theorem
Finite Boltzmann Probabilities Sum to One
For a finite, nonempty canonical ensemble with measurable singletons, the sum of PhysLib's canonical probabilities over all microstates equals one.
What it says
What the theorem says
The proof unfolds each probability into an exponential weight over Z, combines the common denominator across the finite sum, and substitutes the finite-sum definition of the partition function. Positivity of Z supplies the nonzero denominator needed to reduce Z/Z to one.
Context
Why it matters
A finite canonical ensemble becomes a probability model only after its Boltzmann weights are proved to normalize, making this the entry point for every later expectation and entropy calculation.
Inside the proof
Proof architecture
The proof unfolds each probability into an exponential weight over Z, combines the common denominator across the finite sum, and substitutes the finite-sum definition of the partition function. Positivity of Z supplies the nonzero denominator needed to reduce Z/Z to one.
Step 1
Unfold the probabilities
Every state probability is replaced by its exponential Boltzmann weight divided by the same mathematical partition function.
p_i=e^-βE_i/Z
Show the Lean ingredients
simp_rw [probability]Step 2
Combine the finite sum
Because the denominator is common, the finite sum becomes the sum of all weights divided by Z.
Σp_i=(Σe^-βE_i)/Z
Show the Lean ingredients
Finset.sum_divStep 3
Identify and cancel the partition function
The numerator is precisely PhysLib's finite partition function, and positivity lets the quotient cancel to one.
Z/Z=1
Show the Lean ingredients
mathematicalPartitionFunction_of_fintypemathematicalPartitionFunction_pos_finiteAuthoritative formal type
Exact PhysLib statement
CanonicalEnsemble.sum_probability_eq_one {ι : Type} [Fintype ι] [MeasurableSpace ι] (𝓒 : CanonicalEnsemble ι) [MeasurableSingletonClass ι] [𝓒.IsFinite] [Nonempty ι] (T : Temperature) : ∑ i, 𝓒.probability T i = 1This 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 resultFinite Boltzmann Probabilities Sum to Oneis related toNonnegativity of Finite Canonical Entropy
- Related resultFinite Boltzmann Probabilities Sum to Oneis related toMean Energy of a Canonical Two-State System
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.sum_probability_eq_onePhyslib.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.



