Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4 — finite Davies-generator detailed balance

Open
QAlgorithms.Papers.Independent.Intake100.P34.davies_detailed_balance

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let d>0d>0d>0, H=H∗H=H^*H=H∗, and let the finite self-adjoint couplings be Qj(k)Q_j^{(k)}Qj(k)​, with positive inverse temperatures βj\beta_jβj​. For every Bohr difference ω\omegaω, assume hj(ω)≥0h_j(\omega)\ge0hj​(ω)≥0, hjkl(−ω)=e−βjωhjlk(ω)h_j^{kl}(-\omega)=e^{-\beta_j\omega}h_j^{lk}(\omega)hjkl​(−ω)=e−βj​ωhjlk​(ω), and sj(ω)=sj(ω)∗s_j(\omega)=s_j(\omega)^*sj​(ω)=sj​(ω)∗. Construct Vj(k)(ω)=∑μ−ν=ωPνQj(k)PμV_j^{(k)}(\omega)=\sum_{\mu-\nu=\omega}P_\nu Q_j^{(k)}P_\muVj(k)​(ω)=∑μ−ν=ω​Pν​Qj(k)​Pμ​ from the spectral projections of HHH, and set Tj=∑k,l,ωsjkl(ω)Vj(k)(ω)∗Vj(l)(ω)T_j=\sum_{k,l,\omega}s_j^{kl}(\omega)V_j^{(k)}(\omega)^*V_j^{(l)}(\omega)Tj​=∑k,l,ω​sjkl​(ω)Vj(k)​(ω)∗Vj(l)​(ω) and Φj(X)=∑k,l,ωhjkl(ω)Vj(k)(ω)∗XVj(l)(ω)\Phi_j(X)=\sum_{k,l,\omega}h_j^{kl}(\omega)V_j^{(k)}(\omega)^*XV_j^{(l)}(\omega)Φj​(X)=∑k,l,ω​hjkl​(ω)Vj(k)​(ω)∗XVj(l)​(ω). Then

Lj=i[Tj,⋅]−12{Φj(1),⋅}+ΦjL_j=i[T_j,\cdot]-\tfrac12\{\Phi_j(1),\cdot\}+\Phi_jLj​=i[Tj​,⋅]−21​{Φj​(1),⋅}+Φj​

satisfies detailed balance for ρj=e−βjH/tr⁡(e−βjH)\rho_j=e^{-\beta_jH}/\operatorname{tr}(e^{-\beta_jH})ρj​=e−βj​H/tr(e−βj​H). In particular TjT_jTj​ is self-adjoint, Φj\Phi_jΦj​ is CP and ρj\rho_jρj​-self-adjoint, each LjL_jLj​ generates a QDS and fixes ρj\rho_jρj​, and their sum generates a QDS. This is the finite algebraic Davies construction; no microscopic limit identification is assumed.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P34
Formal statement
noncomputable section

open scoped BigOperators Matrix ComplexConjugate ENNReal NNReal Matrix.Norms.L2Operator ComplexOrder

open MeasureTheory Filter

attribute [local instance] Classical.propDecidable Classical.decEq

namespace QAlgorithms.Papers.Independent.Intake100.P34

open QAlgorithms (IsDensityMatrix)

open QAlgorithms.Papers.Independent.Dependency50.P16 (sandwich)

open QAlgorithms.Papers.Independent.Information100.P26 (Mat commutant scalars)

open QAlgorithms.Papers.Independent.Information100.P30 (MatrixMap IsPositiveMap)

open QAlgorithms.Papers.Independent.Information100.P56 (entropy)

open QAlgorithms.Papers.Independent.Information100.P69 (Faithful)

open QAlgorithms.Papers.Independent.Bridge50.P37 (hsAdjoint)

open QAlgorithms.Papers.Independent.Claimed50.P15
  (evaluate finiteRelativeEntropyNats entropyObservable)

open QAlgorithms.Papers.Independent.Claimed50.P43 (chaotic)

/-- PDF p.3: complex linear superoperators. -/
local notation "GeneratorMap" => fun d : ℕ => MatrixMap (Fin d) (Fin d)

/-- PDF pp.15–16, (30)–(33): finite spectral Davies generators satisfy DB and KMS.
No conclusion identifies them with an arbitrary alleged microscopic weak-coupling limit. -/
theorem davies_detailed_balance {d M : ℕ} (D : DaviesData d M) :
    (∀ j, (daviesT D j).IsHermitian ∧
      QAlgorithms.Entanglement.IsCompletelyPositive (daviesPhi D j) ∧
      weightedAdjoint (qdsGibbsDensity D.H (D.beta j)) (daviesPhi D j) = daviesPhi D j ∧
      DetailedBalance (qdsGibbsDensity D.H (D.beta j)) (daviesGenerator D j)) ∧
    IsQDS (∑ j, daviesGenerator D j) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P34

end
Source
Entropic fluctuations of quantum dynamical semigroups, arXiv:1305.4409v2, PDF p. 16, §4
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every pair of natural numbers d,Md,Md,M and every datum DDD comprising d>0d>0d>0, Hermitian HHH, natural numbers njn_jnj​, Hermitian Qj,kQ_{j,k}Qj,k​, positive βj\beta_jβj​, and matrix functions hj,sjh_j,s_jhj​,sj​ with hj(w)≥0h_j(w)\ge0hj​(w)≥0, sj(w)=sj(w)†s_j(w)=s_j(w)^\daggersj​(w)=sj​(w)†, and hj(−w)kl=e−βjwhj(w)lkh_j(-w)_{kl}=e^{-\beta_jw}h_j(w)_{lk}hj​(−w)kl​=e−βj​whj​(w)lk​ on Ω(H)\Omega(H)Ω(H), the following assertions hold. Here E(H)E(H)E(H) is the set of real parts of characteristic roots of HHH, Ω(H)=E(H)−E(H)\Omega(H)=E(H)-E(H)Ω(H)=E(H)−E(H), and

Pμ=1{μ}(H),Bj,k(w)=∑μ,ν∈E(H)μ−ν=wPνQj,kPμ,Tj=∑k,l<nj∑w∈Ω(H)sj(w)klBj,k(w)†Bj,l(w),P_\mu=\mathbf1_{\{\mu\}}(H),\quad B_{j,k}(w)=\sum_{\substack{\mu,\nu\in E(H)\\\mu-\nu=w}}P_\nu Q_{j,k}P_\mu,\quad T_j=\sum_{k,l<n_j}\sum_{w\in\Omega(H)} s_j(w)_{kl}B_{j,k}(w)^\dagger B_{j,l}(w),Pμ​=1{μ}​(H),Bj,k​(w)=μ,ν∈E(H)μ−ν=w​∑​Pν​Qj,k​Pμ​,Tj​=k,l<nj​∑​w∈Ω(H)∑​sj​(w)kl​Bj,k​(w)†Bj,l​(w), Φj(X)=∑k,l<nj∑w∈Ω(H)hj(w)klBj,k(w)†XBj,l(w),Lj(X)=i(TjX−XTj)−12(Φj(Id)X+XΦj(Id))+Φj(X),σj=e−βjHtr⁡(e−βjH).\Phi_j(X)=\sum_{k,l<n_j}\sum_{w\in\Omega(H)} h_j(w)_{kl}B_{j,k}(w)^\dagger XB_{j,l}(w),\qquad L_j(X)=i(T_jX-XT_j)-\frac12\bigl(\Phi_j(I_d)X+X\Phi_j(I_d)\bigr)+\Phi_j(X), \quad \sigma_j=\frac{e^{-\beta_jH}}{\operatorname{tr}(e^{-\beta_jH})}.Φj​(X)=k,l<nj​∑​w∈Ω(H)∑​hj​(w)kl​Bj,k​(w)†XBj,l​(w),Lj​(X)=i(Tj​X−XTj​)−21​(Φj​(Id​)X+XΦj​(Id​))+Φj​(X),σj​=tr(e−βj​H)e−βj​H​.

For every j<Mj<Mj<M, TjT_jTj​ is Hermitian, Φj\Phi_jΦj​ is completely positive, and

Φj†(Xσj)σj−1=Φj(X)for every X.\Phi_j^\dagger(X\sigma_j)\sigma_j^{-1}=\Phi_j(X) \quad\text{for every }X.Φj†​(Xσj​)σj−1​=Φj​(X)for every X.

In addition, for each such jjj, σj\sigma_jσj​ is positive semidefinite with trace 111 and is positive definite; etLje^{tL_j}etLj​ is completely positive and sends IdI_dId​ to IdI_dId​ for every real t>0t>0t>0; Lj†(σj)=0L_j^\dagger(\sigma_j)=0Lj†​(σj​)=0; and there exist a Hermitian matrix KKK and a completely positive complex-linear map Ψ\PsiΨ such that, for every XXX,

Lj(X)=i(KX−XK)−12(Ψ(Id)X+XΨ(Id))+Ψ(X),Ψ†(Xσj)σj−1=Ψ(X).L_j(X)=i(KX-XK)-\frac12\bigl(\Psi(I_d)X+X\Psi(I_d)\bigr)+\Psi(X), \qquad \Psi^\dagger(X\sigma_j)\sigma_j^{-1}=\Psi(X).Lj​(X)=i(KX−XK)−21​(Ψ(Id​)X+XΨ(Id​))+Ψ(X),Ψ†(Xσj​)σj−1​=Ψ(X).

Finally, et∑jLje^{t\sum_jL_j}et∑j​Lj​ is completely positive and sends IdI_dId​ to itself for every real t>0t>0t>0. All matrix functions above use matrix functional calculus or the matrix exponential as appropriate; †\dagger† on linear maps means the Hilbert–Schmidt adjoint. Complete positivity here means that for every natural number rrr, including r=0r=0r=0, applying the map to each d×dd\times dd×d block of a positive semidefinite matrix indexed by {0,…,r−1}×{0,…,d−1}\{0,\ldots,r-1\}\times\{0,\ldots,d-1\}{0,…,r−1}×{0,…,d−1} produces a positive semidefinite matrix. The statement permits nj=0n_j=0nj​=0 and M=0M=0M=0; in the latter case its reservoir-indexed assertions are vacuous and its summed generator is zero.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me