All proofs
Project-declaredLean 4.32.0 · mathlib@81a5d257c8e4

Heat Capacity eq deriv mean Energy Beta

CanonicalEnsemble.heatCapacity_eq_deriv_meanEnergyBeta

Plain-language statement

Relates C_V = dU/dT to dU/dβ. C_V = dU/dβ * (-1/(kB T²)).

Exact Lean statement

lemma heatCapacity_eq_deriv_meanEnergyBeta
    (𝓒 : CanonicalEnsemble ι) (T : Temperature) (hT_pos : 0 < T.val)
    (hU_deriv :
      HasDerivWithinAt (𝓒.meanEnergyBeta)
        (derivWithin (𝓒.meanEnergyBeta) (Set.Ioi 0) (T.β : ℝ))
        (Set.Ioi 0) (T.β : ℝ)) :
    𝓒.heatCapacity T
      = (derivWithin (𝓒.meanEnergyBeta) (Set.Ioi 0) (T.β : ℝ))
        * (-1 / (kB * (T.val : ℝ)^2))

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
lemma heatCapacity_eq_deriv_meanEnergyBeta    (𝓒 : CanonicalEnsemble ι) (T : Temperature) (hT_pos : 0 < T.val)    (hU_deriv :      HasDerivWithinAt (𝓒.meanEnergyBeta)        (derivWithin (𝓒.meanEnergyBeta) (Set.Ioi 0) (T.β : ))        (Set.Ioi 0) (T.β : )) :    𝓒.heatCapacity T      = (derivWithin (𝓒.meanEnergyBeta) (Set.Ioi 0) (T.β : ))        * (-1 / (kB * (T.val : )^2)) := by  have h_U_eq_comp : (𝓒.meanEnergy_T) = fun t :  => (𝓒.meanEnergyBeta) (betaFromReal t) := by    funext t    simp [meanEnergy_T, meanEnergyBeta, betaFromReal]  have h_UD : UniqueDiffWithinAt  (Set.Ioi (0 : )) (T.val : ) :=    isOpen_Ioi.uniqueDiffWithinAt hT_pos  unfold heatCapacity  rw [h_U_eq_comp]  exact (chain_rule_T_beta (F := 𝓒.meanEnergyBeta) T hT_pos hU_deriv).derivWithin h_UD
Project
Physlib
License
Apache-2.0
Commit
dd43e9e65791
Source
Physlib/StatisticalMechanics/CanonicalEnsemble/Lemmas.lean:421-437

Reuse this declaration

Bring the exact result into your workflow

The import identifies the source module. Your project still needs the pinned package dependency shown on this page.

What this badge means

This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.

Continue in this project

Related declarations

Project-declaredLean 4.32.0

Adiabatic relation log

adiabatic_relation_log

Plain-language statement

Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record
Project-declaredLean 4.32.0

Adiabatic relation Ua Ub Va Vb

adiabatic_relation_UaUbVaVb

Plain-language statement

Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.

physicsquantum field theoryrelativity

Source project: Physlib

Person-level attribution pending.

View proof record