eq24
ProvedQAlgorithms.Papers.Independent.Support50.P15.eq24Let be Hermitian on a positive finite-dimensional space, let be finite, and set and , with Boltzmann constant one. The energy is differentiable and
Here observable variance is . Every full-rank density matrix equals the thermal state of at temperature one. Heat capacity is defined as the energy derivative; the displayed variance identity is a conclusion.
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P15
noncomputable section
attribute [local instance] Classical.propDecidable
open scoped Matrix ComplexConjugate ENNReal Matrix.Norms.L2Operator
open Filter MeasureTheory
namespace QAlgorithms.Papers.Independent.Support50.P15
open QAlgorithms.Papers.Independent.Information100.P56 (entropy)
/-- Eq. (24), PDF p.9: the derivative identity at strictly positive finite temperature. -/
theorem eq24 {d : ℕ} (hd : 0 < d) (h : Matrix (Fin d) (Fin d) ℂ)
(hh : h.IsHermitian) (t : ℝ) (ht : 0 < t) :
HasDerivAt (thermalExpectedEnergy h) (stateObservableVariance (thermalFinite h t) (((t : ℂ)⁻¹) • h)) t ∧
deriv (thermalExpectedEnergy h) t = stateObservableVariance (thermalFinite h t) (((t : ℂ)⁻¹) • h) ∧
deriv (thermalExpectedEnergy h) t = stateObservableVariance (thermalFinite h t) h / t ^ 2 ∧
deriv (thermalExpectedEnergy h) t = surprisalVariance (thermalFinite h t) ∧
(∀ a : EntropyState d, fullRank a.val → thermalFinite (-cfc Real.log a.val) 1 = a.val) := by sorry
end QAlgorithms.Papers.Independent.Support50.P15
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every positive natural number , every Hermitian complex matrix , and every real , define the normalized exponential
These are total functions of real , using division by zero equal to . For matrices , put , and put
using spectral functional calculus and . The function has derivative at , and
In addition, every positive semidefinite matrix of trace with satisfies .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.