PhysAtlasPhysics Math AtlasPublic atlas

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.

Among finite normalized trial weights, the supplied Gibbs profile reaches the checked free-energy lower bound.
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.

6 source-anchored steps326 nonempty lines across cited source files1 source file

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.

  1. 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 functionPhysAtlasFormalizations.StatisticalMechanics.finitePartitionFunctionBetaPhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 33–35
    • Positive-beta Gibbs weightPhysAtlasFormalizations.StatisticalMechanics.finiteGibbsWeightBetaPhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 38–40
    • Normalization of the matching beta Gibbs weightsPhysAtlasFormalizations.StatisticalMechanics.finiteGibbsWeightBeta_sum_eq_onePhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 139–149
    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.

  2. 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 definitionPhysAtlasFormalizations.StatisticalMechanics.finiteFreeEnergyFunctionalBetaPhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 55–58
    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.

  3. 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 nonnegativityPhysAtlasFormalizations.StatisticalMechanics.finite_probability_kl_divergence_nonnegPhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 76–104
    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.

  4. 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 boundPhysAtlasFormalizations.StatisticalMechanics.finite_gibbs_variational_bound_betaPhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 238–268
    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.

  5. 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 weightsPhysAtlasFormalizations.StatisticalMechanics.finiteFreeEnergyFunctionalBeta_gibbsWeight_eqPhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 278–332
    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.

  6. 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 boundPhysAtlasFormalizations.StatisticalMechanics.finiteGibbsWeightBeta_freeEnergy_lePhysAtlasFormalizations/StatisticalMechanics/GibbsVariationalPrinciple.lean · source lines 340–353
    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.

Exact checked target

Lean statement

PhysAtlasFormalizations@92780eb5827e
theorem 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 energy

How 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.

Current resultFinite Gibbs Free-Energy Attainment
3 connections

Used by

Results that build on this page

4 direct connections

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 connections

Sources

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.

Open source ↗

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
Evidence records1
Linked names12
Artifacts1
Supporting names6

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
Page IDformalization.statistical_mechanics.gibbs_variational_principle
Download page JSON

Expanded visual

Explanatory image · not evidence.

Open original in a new tab