Entropy A eq entropy Z
MicroHamiltonian.entropy_A_eq_entropy_Z
Plain-language statement
The two definitions of entropy, in terms of T or β = 1 / T, are equivalent.
Exact Lean statement
theorem entropy_A_eq_entropy_Z (T : ℝ) (hT : T ≠ 0)
(hZne : H.partitionZ d (1 / T) ≠ 0)
(hZint : ((1 / T : ℝ) : ℂ) ∈ interior (H.ZComplexConvergenceDomain d)) :
entropyS H d T = entropySβ H d (1 / T)Formal artifact
Lean source
theorem entropy_A_eq_entropy_Z (T : ℝ) (hT : T ≠ 0) (hZne : H.partitionZ d (1 / T) ≠ 0) (hZint : ((1 / T : ℝ) : ℂ) ∈ interior (H.ZComplexConvergenceDomain d)) : entropyS H d T = entropySβ H d (1 / T) := by have hZdiff : DifferentiableAt ℝ (H.partitionZ d) (1 / T) := (H.contDiffAt_partitionZ_of_mem_interior_convergenceDomain d hZint).differentiableAt (by simp) dsimp [entropyS, entropySβ, internalU, partitionZT] unfold helmholtzA erw [deriv_mul] rw [deriv_neg'', neg_mul, one_mul, neg_add_rev, neg_neg, mul_neg, add_comm] congr 1 simp_rw [partitionZT] have hdc := deriv_comp (h := fun T ↦ T⁻¹) (h₂ := fun β => Real.log (H.partitionZ d β)) T ?_ ?_ unfold Function.comp at hdc simp only [hdc, one_div, deriv_inv', mul_neg, neg_inj] field_simp ring_nf --Show the differentiability side-goals · rw [← one_div] fun_prop (disch := assumption) · fun_prop (disch := assumption) · fun_prop · simp_rw [partitionZT] fun_prop (disch := assumption)- Project
- Physlib
- License
- Apache-2.0
- Commit
- dd43e9e65791
- Source
- Physlib/StatisticalMechanics/MicroCanonicalEnsemble/ThermoQuantities.lean:133-157
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
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.
Source project: Physlib
Person-level attribution pending.
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.
Source project: Physlib
Person-level attribution pending.
Deriv Within mean Energy Beta eq neg variance
CanonicalEnsemble.derivWithin_meanEnergy_Beta_eq_neg_variance
Plain-language statement
(∂U/∂β) = -Var(E) for finite systems.
Source project: Physlib
Person-level attribution pending.