Physics formalizations · Formalized result
Finite Gibbs Free-Energy Attainment
For positive inverse temperature, finite Gibbs weights attain the checked free-energy minimum among normalized nonnegative trial distributions.
Detailed visual description
A finite ladder of separated energy levels supports several translucent probability profiles. The highlighted Gibbs profile descends to a broad shallow basin, showing attainment without using a narrow unique-minimizer well. The finite scene does not depict a thermodynamic limit, phase transition, quantum Gibbs state, or equality-if-and-only-if result.
First read
The theorem in plain language
The result
For positive inverse temperature, finite Gibbs weights attain the checked free-energy minimum among normalized nonnegative trial distributions.
Assumptions, conventions, and scope · 9 notes
Conventions
- The strongest checked theorem assumes 0 < beta.
- Trial probabilities are nonnegative and normalized in the Gibbs variational bound.
- The beta partition function is the finite sum of exp(-beta * E_i) over the selected state set.
- Zero-probability terms are handled in Lean under Real.log 0 = 0; public wording still needs review against the standard 0 log 0 boundary convention.
- The theorem package proves attainment at the explicitly supplied normalized Gibbs weights only; it does not prove uniqueness, an equality-iff/minimizer-iff characterization, strictness, log-partition maximization, a thermodynamic limit, continuous state space, ensemble equivalence, or phase-transition result.
What this result does not claim
- Does not prove a thermodynamic-limit theorem.
- Does not prove ensemble equivalence or phase-transition behavior.
- Does not prove a continuous-state or measure-theoretic Gibbs variational principle.
- Does not prove uniqueness of a minimizer, an equality-iff/minimizer-iff characterization, strictness, or log-partition maximization.
Inside the formalization
How the finite Gibbs free-energy bound is attained
A source-bound walkthrough of finite positive-beta Gibbs weights, their normalization, the KL nonnegativity bridge, the free-energy lower bound, and attainment by the explicitly supplied Gibbs distribution.
Proof story
Six source-anchored stages
The retained finite-state source first constructs normalized positive-beta Gibbs weights, then transports finite KL nonnegativity into a free-energy lower bound and evaluates that same functional at the supplied Gibbs weights. The final comparison proves attainment only; it does not prove uniqueness, equality-if-and-only-if, strictness, a thermodynamic limit, or phase-transition behavior.
Primary path · step 1 of 6
Build and normalize the beta Gibbs weights
Zβ = Σᵢ exp(−βEᵢ), qᵢ = exp(−βEᵢ)/Zβ, Σᵢ qᵢ = 1
The finite partition function collects the Boltzmann factors for the selected states. Dividing each positive exponential by the matching positive partition function gives the supplied beta Gibbs weights, whose finite sum is proved to be one.
Lean anchors · 3 declarations
- Positive-beta partition function
PhysAtlasFormalizations.PhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 33–35StatisticalMechanics. finitePartitionFunctionBeta - Positive-beta Gibbs weight
PhysAtlasFormalizations.PhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 38–40StatisticalMechanics. finiteGibbsWeightBeta - Normalization of the matching beta Gibbs weights
PhysAtlasFormalizations.PhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 139–149StatisticalMechanics. finiteGibbsWeightBeta_ sum_ eq_ one
The matching finite partition sum normalizes positive Boltzmann factors into one complete probability allocation. Detailed visual description
The finite partition function collects the Boltzmann factors for the selected states. Dividing each positive exponential by the matching positive partition function gives the supplied beta Gibbs weights, whose finite sum is proved to be one. This image explains the proof organization and is not formal or semantic evidence.
- Positive-beta partition function
Primary path · step 2 of 6
State the positive-beta free-energy functional
Fβ(p) = Σᵢ pᵢEᵢ + β⁻¹ Σᵢ pᵢ log pᵢ
The retained definition combines finite mean energy with the logarithmic probability contribution scaled by the inverse temperature. This is a finite classical probability-vector functional, not a thermodynamic-limit or quantum-state construction.
Lean anchors · 1 declaration
- Finite beta free-energy definition
PhysAtlasFormalizations.PhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 55–58StatisticalMechanics. finiteFreeEnergyFunctionalBeta
Mean energy and the inverse-temperature-weighted logarithmic contribution are kept visible as distinct inputs. Detailed visual description
The retained definition combines finite mean energy with the logarithmic probability contribution scaled by the inverse temperature. This is a finite classical probability-vector functional, not a thermodynamic-limit or quantum-state construction. This image explains the proof organization and is not formal or semantic evidence.
- Finite beta free-energy definition
Primary path · step 3 of 6
Use finite KL nonnegativity
D(p ‖ q) = Σᵢ pᵢ log(pᵢ/qᵢ) ≥ 0
For a nonnegative normalized trial vector and a strictly positive normalized reference vector, the finite KL expression is nonnegative. This is the inequality bridge used later; the presentation does not turn it into an equality characterization.
Lean anchors · 1 declaration
- Finite probability-vector KL nonnegativity
PhysAtlasFormalizations.PhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 76–104StatisticalMechanics. finite_ probability_ kl_ divergence_ nonneg
The finite mismatch can reach the floor, but the retained theorem never lets it pass below zero. Detailed visual description
For a nonnegative normalized trial vector and a strictly positive normalized reference vector, the finite KL expression is nonnegative. This is the inequality bridge used later; the presentation does not turn it into an equality characterization. This image explains the proof organization and is not formal or semantic evidence.
- Finite probability-vector KL nonnegativity
Primary path · step 4 of 6
Transport the KL bound to positive beta
−β⁻¹ log Zβ ≤ Fβ(p)
Scaling the energy by positive beta reduces the result to the inverse-temperature-one bound, then multiplication by the nonnegative inverse of beta returns the stated finite free-energy lower bound for every admissible trial vector.
Lean anchors · 1 declaration
- Positive-beta Gibbs variational lower bound
PhysAtlasFormalizations.PhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 238–268StatisticalMechanics. finite_ gibbs_ variational_ bound_ beta
The retained positive-beta theorem places every finite nonnegative normalized trial at or above the same lower-bound value. Detailed visual description
Scaling the energy by positive beta reduces the result to the inverse-temperature-one bound, then multiplication by the nonnegative inverse of beta returns the stated finite free-energy lower bound for every admissible trial vector. This image explains the proof organization and is not formal or semantic evidence.
- Positive-beta Gibbs variational lower bound
Primary path · step 5 of 6
Evaluate the functional at the supplied Gibbs weights
Fβ(q) = −β⁻¹ log Zβ
Substituting the explicitly constructed beta Gibbs weights makes each logarithm split into a scaled-energy term and the partition logarithm. Normalization then cancels the energy contribution and leaves the lower-bound value exactly.
Lean anchors · 1 declaration
- Free-energy value at the matching Gibbs weights
PhysAtlasFormalizations.PhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 278–332StatisticalMechanics. finiteFreeEnergyFunctionalBeta_ gibbsWeight_ eq
This evaluates one explicitly supplied finite Gibbs distribution; it does not characterize every equality case. Detailed visual description
Substituting the explicitly constructed beta Gibbs weights makes each logarithm split into a scaled-energy term and the partition logarithm. Normalization then cancels the energy contribution and leaves the lower-bound value exactly. This image explains the proof organization and is not formal or semantic evidence.
- Free-energy value at the matching Gibbs weights
Primary path · step 6 of 6
Conclude finite attainment
Fβ(q) ≤ Fβ(p)
Rewriting the supplied Gibbs value by the exact evaluation theorem exposes the lower bound already proved for every admissible trial vector. The result establishes attainment by these weights but neither uniqueness nor an equality-if-and-only-if characterization.
Lean anchors · 1 declaration
- Supplied beta Gibbs weights attain the finite lower bound
PhysAtlasFormalizations.PhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 340–353StatisticalMechanics. finiteGibbsWeightBeta_ freeEnergy_ le
The final source theorem compares the supplied Gibbs allocation with every admissible finite trial without claiming uniqueness. Detailed visual description
Rewriting the supplied Gibbs value by the exact evaluation theorem exposes the lower bound already proved for every admissible trial vector. The result establishes attainment by these weights but neither uniqueness nor an equality-if-and-only-if characterization. This image explains the proof organization and is not formal or semantic evidence.
- Supplied beta Gibbs weights attain the finite lower bound
Exact checked target
Lean statement
PhysAtlasFormalizations@92780eb5827etheorem finiteGibbsWeightBeta_freeEnergy_le {ι : Type*} (states : Finset ι)
(beta : ℝ) (p energy : ι → ℝ) {Z : ℝ}
(hbeta : 0 < beta)
(hp : ∀ i ∈ states, 0 ≤ p i)
(hp_sum : states.sum p = 1)
(hZ : Z = finitePartitionFunctionBeta states beta energy)
(hZ_pos : 0 < Z) :
finiteFreeEnergyFunctionalBeta states beta
(finiteGibbsWeightBeta beta energy Z) energy ≤
finiteFreeEnergyFunctionalBeta states beta p energyHow to read the footprint: It measures retained source size, not proof difficulty or quality.
The diagrams explain the proof structure; the exact Lean statement above is the checked object.
Recorded connections
How this result fits
A one-step view of the published results directly connected to this page.
Used by
Results that build on this page
4 direct connections
- Theorem collectionFinite Gibbs Free-Energy Attainmentbelongs toFinite Statistical Mechanics
- Scientific prerequisiteFinite Gibbs Free-Energy AttainmentprecedesFinite Canonical Log-Partition Derivative
- Scientific prerequisiteFinite Gibbs Free-Energy AttainmentprecedesFinite XY Global Rotation Invariance
- Scientific prerequisiteFinite Gibbs Free-Energy AttainmentprecedesFinite Lieb-Yngvason Accessibility Scaffold
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 map4 direct connectionsSources
Reviewed sources and further reading
Finite statistical-mechanics variational density source
Reviewed source supporting the statement, conventions, or physical context on this page.
Source notes
Reviewed source context for variational free energy, normalized trial density/probability weights, Boltzmann weights, and partition functions. The accepted page boundary is the finite classical probability-vector free-energy lower bound and supplied-Gibbs-weight attainment result.
KL/Gibbs inequality source
Reviewed source context for finite discrete KL-divergence nonnegativity supporting the mathematical inequality route to the finite lower-bound and supplied-weight attainment result.
Open source ↗Lean evidence
What Lean checked
The walkthrough declarations come first. Additional linked names and scope boundaries stay in the technical index.
4 walkthrough declarations shown · 8 additional linked names.
Walkthrough declaration preview
PhysAtlasFormalizations.StatisticalMechanics. finiteGibbsWeightBeta_ freeEnergy_ le PhysAtlasFormalizations.StatisticalMechanics. finiteGibbsWeightBeta_ sum_ eq_ one PhysAtlasFormalizations.StatisticalMechanics. finite_ probability_ kl_ divergence_ nonneg PhysAtlasFormalizations.StatisticalMechanics. finite_ gibbs_ variational_ bound_ beta
Technical evidence details8 more names · 5 scope boundaries
Additional linked declarations
PhysAtlasFormalizations.StatisticalMechanics. finiteFreeEnergyFunctionalBeta_ gibbsWeight_ eq PhysAtlasFormalizations.StatisticalMechanics. finiteFreeEnergyFunctional_ scaled_ energy_ eq_ beta_ mul PhysAtlasFormalizations.StatisticalMechanics. finiteGibbsWeightBeta_ eq_ scaled_ energy PhysAtlasFormalizations.StatisticalMechanics. finiteGibbsWeight_ pos PhysAtlasFormalizations.StatisticalMechanics. finiteGibbsWeight_ sum_ eq_ one PhysAtlasFormalizations.StatisticalMechanics. finitePartitionFunctionBeta_ eq_ scaled_ energy PhysAtlasFormalizations.StatisticalMechanics. finite_ gibbs_ variational_ bound PhysAtlasFormalizations.StatisticalMechanics. finite_ weighted_ klFun_ nonneg
Scope boundaries
- Does not establish semantic alignment with any textbook source.
- Does not prove a continuous-state or measure-theoretic Gibbs variational principle.
- Does not prove a thermodynamic-limit theorem.
- Does not prove ensemble equivalence or phase-transition behavior.
- Does not prove uniqueness of a minimizer, an equality-iff/minimizer-iff characterization, strictness, or log-partition maximization.
Proof bodies, checker logs, and local paths are not part of this public view.
Technical details and page dataPage identifier and JSON
formalization.statistical_mechanics.gibbs_variational_principle





