Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Definitions for A Quantum Fluctuation Theorem

Definition
QAlgorithms_Papers_Independent_Intakethird100_P15

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of A Quantum Fluctuation Theorem (arXiv:cond-mat/0007360) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • RealSpectralHamiltonian: PDF p.2, (1): a spectral presentation of a self-adjoint Hamiltonian real in b. The operator is multiplication by energy on {f : L2 | energy * f belongs to L2}, transported through transform. Real basis images specify the SAME conjugation for all Hamiltonians; no boundedness or pure-point condition is imposed here.
  • IsSpectralStep: PDF p.2, (2): the spectral meaning of exp(+i tau H / hbar). This is an actual spectral-integral specification of a unitary, not a reversal axiom.
  • chronologicalEvolution: PDF p.2, (2): chronological list action, the first list entry acting first.
  • sliceTime: Midpoint of a uniform slicing of cycles periods, at the symmetry origin. Using n+1 slices avoids any natural division by zero.
  • CyclicDrive: PDF p.2, (1)--(3): real, periodic, reflection-symmetric drive at its symmetry origin, evolved for a natural number of full cycles. hamiltonian is spectral data for the actual time-dependent Hamiltonian. Representations of identical Hamiltonians are chosen consistently. slices are specified by the positive-sign exponential in (2); evolution_limit asserts its strong limit is the given unitary.
  • IsInitialEnergyBasis: PDF pp.2--3, (4): the complete b basis diagonalizes the initial Hamiltonian. The spectral support equation entails that each basis vector lies in its maximal domain and has eigenvalue energy i, including all eigenvalue multiplicities.
  • heatTrace: PDF p.3, (5): the scalar heat trace, only used with a summability guard.
  • HasFiniteHeatTraces: PDF p.4 after (13): finite heat trace at EVERY positive inverse temperature.
  • spectralGibbsWeight: PDF p.3: normalized canonical probability on a possibly infinite spectral basis. This extends Information100.P44.gibbsWeight, whose domain is only Fin d; the finite specialization is checked below. Heat-trace summability guards all uses.
  • preparedWorkLaw: PDF p.3, (8): atomic work law for specified initial weights. The pair is (initial, final); work is FINAL minus INITIAL, for the same observable.
  • workLaw: PDF p.3, (8): the actual canonical two-measurement law.
  • qTerm: PDF pp.3--4, (10): one term of the UNNORMALIZED spectral trace. It equals exp(lambda epsilon_g) |U_ga|^2 exp(-(lambda+beta)epsilon_a).
  • generatingTrace: PDF p.3, (10)--(11): the spectral trace Q, not Q/Z. All theorems using its values explicitly assert convergence in their domain.
  • CommonTraceDomain: PDF p.3, (11): the three series whose values occur in the KMS-like identity. Unconditional complex summability excludes the default value of a divergent tsum.
  • bathObservedEnergy: PDF pp.5--6, (22)--(23): product-basis spectrum of H_bath tensor I + I tensor O.
  • bathPreparation: PDF pp.5--6: independent canonical bath and system-O preparation. The system probabilities are determined by O and beta, rather than freely chosen.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P37
import Definitions.Def_QAlgorithms_Papers_Independent_Information100_P44
import Definitions.Def_QAlgorithms_Papers_Independent_Support21_P03

/-!
# Kurchan, A Quantum Fluctuation Theorem (cond-mat/0007360v2)

The measurable spectral representation below represents a real self-adjoint Hamiltonian
as multiplication by a real function, on its maximal multiplication domain. It permits
unbounded operators and continuous intermediate spectra. Only the measured observable
has a countable complete eigenbasis. No time-reversal identity is assumed of the drive.
The strong-limit hypothesis is the well-defined infinitesimal-slicing evolution of (2).
New spectral interfaces are local to this paper. Generic transition probabilities,
measure reflection and extended expectation are imported from the pinned accepted
library. The finite Gibbs definition is imported and matched by the countable
spectral extension below; a finite-dimensional replacement would lose source scope.
-/

namespace QAlgorithms.Papers.Independent.Intakethird100.P15

open MeasureTheory Filter
open QAlgorithms.Papers.Independent.Information100.P37 (transition)
open QAlgorithms.Papers.Independent.Support21.P03 (reflectedLaw)
open QAlgorithms.Papers.Independent.Next46.P01 (extendedExpectation)
open scoped ENNReal Topology

universe u v w

variable {E : Type u} [NormedAddCommGroup E] [InnerProductSpace ℂ E] [CompleteSpace E]
variable {ι : Type v} {Ω : Type w} [MeasurableSpace Ω]

/-- PDF p.2, (1): a spectral presentation of a self-adjoint Hamiltonian real in `b`.
The operator is multiplication by `energy` on {f : L2 | energy * f belongs to L2},
transported through `transform`. Real basis images specify the SAME conjugation
for all Hamiltonians; no boundedness or pure-point condition is imposed here. -/
structure RealSpectralHamiltonian (b : HilbertBasis ι ℂ E) where
  measure : Measure Ω
  energy : Ω → ℝ
  energy_measurable : Measurable energy
  transform : E ≃ₗᵢ[ℂ] Lp ℂ 2 measure
  real_basis : ∀ i, ∀ᵐ x ∂measure, (transform (b i) x).im = 0

/-- PDF p.2, (2): the spectral meaning of exp(+i tau H / hbar).
This is an actual spectral-integral specification of a unitary, not a reversal axiom. -/
def IsSpectralStep (b : HilbertBasis ι ℂ E) (H : RealSpectralHamiltonian (Ω := Ω) b)
    (tau hbar : ℝ) (V : E ≃ₗᵢ[ℂ] E) : Prop :=
  ∀ x y : E, inner ℂ x (V y) =
    ∫ s, star (H.transform x s) *
      Complex.exp (Complex.I * ((tau / hbar * H.energy s : ℝ) : ℂ)) *
      H.transform y s ∂H.measure

/-- PDF p.2, (2): chronological list action, the first list entry acting first. -/
def chronologicalEvolution (L : List (E ≃ₗᵢ[ℂ] E)) : E ≃ₗᵢ[ℂ] E :=
  L.foldl (fun A B => A.trans B) (LinearIsometryEquiv.refl ℂ E)

/-- Midpoint of a uniform slicing of `cycles` periods, at the symmetry origin.
Using n+1 slices avoids any natural division by zero. -/
noncomputable def sliceTime (period : ℝ) (cycles n : ℕ) (r : Fin (n + 1)) : ℝ :=
  ((r.val : ℝ) + 1 / 2) * ((cycles : ℝ) * period / ((n + 1 : ℕ) : ℝ))

/-- PDF p.2, (1)--(3): real, periodic, reflection-symmetric drive at its symmetry
origin, evolved for a natural number of full cycles. `hamiltonian` is spectral data
for the actual time-dependent Hamiltonian. Representations of identical Hamiltonians
are chosen consistently. `slices` are specified by the positive-sign exponential
in (2); `evolution_limit` asserts its strong limit is the given unitary. -/
structure CyclicDrive (b : HilbertBasis ι ℂ E) where
  period : ℝ
  period_pos : 0 < period
  hbar : ℝ
  hbar_pos : 0 < hbar
  cycles : ℕ
  hamiltonian : ℝ → RealSpectralHamiltonian (Ω := Ω) b
  periodic : ∀ t, hamiltonian (t + period) = hamiltonian t
  reflection : ∀ t, hamiltonian (-t) = hamiltonian t
  slices : ∀ n : ℕ, Fin (n + 1) → E ≃ₗᵢ[ℂ] E
  slices_spec : ∀ n r, IsSpectralStep b
    (hamiltonian (sliceTime period cycles n r))
    ((cycles : ℝ) * period / ((n + 1 : ℕ) : ℝ)) hbar (slices n r)
  evolution : E ≃ₗᵢ[ℂ] E
  evolution_limit : ∀ x : E,
    Tendsto (fun n => chronologicalEvolution (List.ofFn (slices n)) x)
      atTop (𝓝 (evolution x))

/-- PDF pp.2--3, (4): the complete `b` basis diagonalizes the initial Hamiltonian.
The spectral support equation entails that each basis vector lies in its maximal
domain and has eigenvalue `energy i`, including all eigenvalue multiplicities. -/
def IsInitialEnergyBasis (b : HilbertBasis ι ℂ E)
    (d : CyclicDrive (Ω := Ω) b) (energy : ι → ℝ) : Prop :=
  ∀ i, ∀ᵐ s ∂(d.hamiltonian 0).measure,
    ((d.hamiltonian 0).energy s : ℂ) * (d.hamiltonian 0).transform (b i) s =
      (energy i : ℂ) * (d.hamiltonian 0).transform (b i) s

/-- PDF p.3, (5): the scalar heat trace, only used with a summability guard. -/
noncomputable def heatTrace (energy : ι → ℝ) (t : ℝ) : ℝ :=
  ∑' i, Real.exp (-t * energy i)

/-- PDF p.4 after (13): finite heat trace at EVERY positive inverse temperature. -/
def HasFiniteHeatTraces (energy : ι → ℝ) : Prop :=
  ∀ t : ℝ, 0 < t → Summable (fun i => Real.exp (-t * energy i))

/-- PDF p.3: normalized canonical probability on a possibly infinite spectral basis.
This extends Information100.P44.gibbsWeight, whose domain is only Fin d; the
finite specialization is checked below. Heat-trace summability guards all uses. -/
noncomputable def spectralGibbsWeight (energy : ι → ℝ) (beta : ℝ) (i : ι) : ℝ :=
  Real.exp (-beta * energy i) / heatTrace energy beta

/-- PDF p.3, (8): atomic work law for specified initial weights.
The pair is (initial, final); work is FINAL minus INITIAL, for the same observable. -/
noncomputable def preparedWorkLaw (b : HilbertBasis ι ℂ E) (U : E ≃ₗᵢ[ℂ] E)
    (energy weights : ι → ℝ) : Measure ℝ :=
  Measure.sum (fun p : ι × ι =>
    ENNReal.ofReal (weights p.1 * transition (fun g a => inner ℂ (b g) (U (b a))) p.2 p.1) •
      Measure.dirac (energy p.2 - energy p.1))

/-- PDF p.3, (8): the actual canonical two-measurement law. -/
noncomputable def workLaw (b : HilbertBasis ι ℂ E) (U : E ≃ₗᵢ[ℂ] E)
    (energy : ι → ℝ) (beta : ℝ) : Measure ℝ :=
  preparedWorkLaw b U energy (spectralGibbsWeight energy beta)

/-- PDF pp.3--4, (10): one term of the UNNORMALIZED spectral trace.
It equals exp(lambda epsilon_g) |U_ga|^2 exp(-(lambda+beta)epsilon_a). -/
noncomputable def qTerm (b : HilbertBasis ι ℂ E) (U : E ≃ₗᵢ[ℂ] E)
    (energy : ι → ℝ) (beta : ℝ) (z : ℂ) (p : ι × ι) : ℂ :=
  Complex.exp (z * ((energy p.2 - energy p.1 : ℝ) : ℂ)) *
    (transition (fun g a => inner ℂ (b g) (U (b a))) p.2 p.1 * Real.exp (-beta * energy p.1) : ℝ)

/-- PDF p.3, (10)--(11): the spectral trace Q, not Q/Z.
All theorems using its values explicitly assert convergence in their domain. -/
noncomputable def generatingTrace (b : HilbertBasis ι ℂ E) (U : E ≃ₗᵢ[ℂ] E)
    (energy : ι → ℝ) (beta : ℝ) (z : ℂ) : ℂ :=
  ∑' p : ι × ι, qTerm b U energy beta z p

/-- PDF p.3, (11): the three series whose values occur in the KMS-like identity.
Unconditional complex summability excludes the default value of a divergent tsum. -/
def CommonTraceDomain (b : HilbertBasis ι ℂ E) (U : E ≃ₗᵢ[ℂ] E)
    (energy : ι → ℝ) (beta : ℝ) (z : ℂ) : Prop :=
  Summable (qTerm b U energy beta z) ∧
  Summable (qTerm b U energy beta (-z - (beta : ℂ))) ∧
  Summable (qTerm b U energy beta (-star z - (beta : ℂ)))

/-- PDF pp.5--6, (22)--(23): product-basis spectrum of H_bath tensor I + I tensor O. -/
def bathObservedEnergy {B S : Type*} (bathEnergy : B → ℝ) (systemO : S → ℝ)
    (p : B × S) : ℝ :=
  bathEnergy p.1 + systemO p.2

/-- PDF pp.5--6: independent canonical bath and system-O preparation.
The system probabilities are determined by O and beta, rather than freely chosen. -/
noncomputable def bathPreparation {B S : Type*} (bathEnergy : B → ℝ)
    (systemO : S → ℝ) (beta : ℝ) (p : B × S) : ℝ :=
  spectralGibbsWeight bathEnergy beta p.1 * spectralGibbsWeight systemO beta p.2

/-! Sanity examples: conventions and domains, not proofs of the paper's results. -/

example : chronologicalEvolution ([] : List (E ≃ₗᵢ[ℂ] E)) =
    LinearIsometryEquiv.refl ℂ E := rfl

example (period : ℝ) (n : ℕ) (r : Fin (n + 1)) : sliceTime period 0 n r = 0 := by
  simp [sliceTime]

example (energy : ι → ℝ) (beta : ℝ) (i : ι) :
    spectralGibbsWeight energy beta i = Real.exp (-beta * energy i) / heatTrace energy beta := rfl

example {n : ℕ} (energy : Fin n → ℝ) (beta : ℝ) (i : Fin n) :
    spectralGibbsWeight energy beta i =
      QAlgorithms.Papers.Independent.Information100.P44.gibbsWeight energy beta i := by
  simp [spectralGibbsWeight, heatTrace, tsum_fintype,
    QAlgorithms.Papers.Independent.Information100.P44.gibbsWeight]

example (b : HilbertBasis ι ℂ E) (U : E ≃ₗᵢ[ℂ] E) (en : ι → ℝ)
    (beta : ℝ) (p : ι × ι) :
    qTerm b U en beta 0 p =
      (transition (fun g a => inner ℂ (b g) (U (b a))) p.2 p.1 * Real.exp (-beta * en p.1) : ℝ) := by
  simp [qTerm]

example (P : Measure ℝ) : extendedExpectation P (fun _ => 0) = 0 := by
  simp [extendedExpectation]

example {B S : Type*} (eb : B → ℝ) (o : S → ℝ) (a g : B × S) :
    bathObservedEnergy eb o g - bathObservedEnergy eb o a =
      (eb g.1 + o g.2) - (eb a.1 + o a.2) := rfl

end QAlgorithms.Papers.Independent.Intakethird100.P15
Source
A Quantum Fluctuation Theorem, arXiv:cond-mat/0007360v2, https://arxiv.org/abs/cond-mat/0007360v2
Read-back

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

QAlgorithms.Papers.Independent.Intakethird100.P15.CommonTraceDomain

For an index type ι\iotaι, a complex Hilbert space EEE, a Hilbert basis (bi)i∈ι(b_i)_{i\in\iota}(bi​)i∈ι​, a surjective complex linear isometry U:E→EU:E\to EU:E→E, an arbitrary energy function ε:ι→R\varepsilon:\iota\to\mathbb Rε:ι→R, β∈R\beta\in\mathbb Rβ∈R, and z∈Cz\in\mathbb Cz∈C, define the family

qw(i,j)=ew(εj−εi)∣⟨bj,Ubi⟩∣2e−βεi((i,j)∈ι×ι).q_w(i,j)= e^{w(\varepsilon_j-\varepsilon_i)} \left|\langle b_j,U b_i\rangle\right|^2 e^{-\beta\varepsilon_i} \qquad ((i,j)\in\iota\times\iota).qw​(i,j)=ew(εj​−εi​)∣⟨bj​,Ubi​⟩∣2e−βεi​((i,j)∈ι×ι).

The stated condition means that all three complex families qzq_zqz​, q−z−βq_{-z-\beta}q−z−β​, and q−z‾−βq_{-\overline z-\beta}q−z−β​ are summable: their nets of finite partial sums converge in C\mathbb CC. There is no positivity assumption on β\betaβ or restriction on ε\varepsilonε. If ι\iotaι is empty, all three summability conditions hold.

QAlgorithms.Papers.Independent.Intakethird100.P15.CyclicDrive

For a complex Hilbert basis b=(bi)i∈ιb=(b_i)_{i\in\iota}b=(bi​)i∈ι​ of EEE and a measurable space Ω\OmegaΩ, a CyclicDrive consists of positive real numbers PPP and ℏ\hbarℏ, a natural number ccc, spectral data Ht=(μt,εt,Tt)H_t=(\mu_t,\varepsilon_t,T_t)Ht​=(μt​,εt​,Tt​) for every real ttt, surjective complex linear isometries Vn,r:E→EV_{n,r}:E\to EVn,r​:E→E for every natural number nnn and r∈{0,…,n}r\in\{0,\ldots,n\}r∈{0,…,n}, and a surjective complex linear isometry U:E→EU:E\to EU:E→E, satisfying the following requirements: each μt\mu_tμt​ is a measure on Ω\OmegaΩ, each εt:Ω→R\varepsilon_t:\Omega\to\mathbb Rεt​:Ω→R is measurable, and each Tt:E→L2(Ω,μt;C)T_t:E\to L^2(\Omega,\mu_t;\mathbb C)Tt​:E→L2(Ω,μt​;C) is a surjective complex linear isometry with Im⁡(Ttbi)=0\operatorname{Im}(T_tb_i)=0Im(Tt​bi​)=0 μt\mu_tμt​-almost everywhere for each iii; the entire spectral data satisfy Ht+P=HtH_{t+P}=H_tHt+P​=Ht​ and H−t=HtH_{-t}=H_tH−t​=Ht​ for every real ttt; writing Δn=cP/(n+1)\Delta_n=cP/(n+1)Δn​=cP/(n+1) and tn,r=(r+12)Δnt_{n,r}=(r+\tfrac12)\Delta_ntn,r​=(r+21​)Δn​, one has, for all n,rn,rn,r and all x,y∈Ex,y\in Ex,y∈E,

⟨x,Vn,ry⟩=∫Ω(Ttn,rx)(s)‾ e i(Δn/ℏ)εtn,r(s)(Ttn,ry)(s) dμtn,r(s);\langle x,V_{n,r}y\rangle = \int_\Omega \overline{(T_{t_{n,r}}x)(s)} \,e^{\,i(\Delta_n/\hbar)\varepsilon_{t_{n,r}}(s)} (T_{t_{n,r}}y)(s)\,d\mu_{t_{n,r}}(s);⟨x,Vn,r​y⟩=∫Ω​(Ttn,r​​x)(s)​ei(Δn​/ℏ)εtn,r​​(s)(Ttn,r​​y)(s)dμtn,r​​(s);

and, for every x∈Ex\in Ex∈E,

Vn,n∘⋯∘Vn,0(x)⟶Ux(n→∞).V_{n,n}\circ\cdots\circ V_{n,0}(x)\longrightarrow Ux \qquad(n\to\infty).Vn,n​∘⋯∘Vn,0​(x)⟶Ux(n→∞).

The convergence is pointwise in xxx in the topology of EEE. The value n=0n=0n=0 gives a single slice, and c=0c=0c=0 is allowed, in which case all slice times and durations are zero.

QAlgorithms.Papers.Independent.Intakethird100.P15.HasFiniteHeatTraces

For any index type ι\iotaι and function e:ι→Re:\iota\to\mathbb Re:ι→R, HasFiniteHeatTraces means that, for every real t>0t>0t>0, the family (e−tei)i∈ι(e^{-t e_i})_{i\in\iota}(e−tei​)i∈ι​ is summable in R\mathbb RR. There is no requirement at t=0t=0t=0 or at negative ttt, and the condition holds vacuously for an empty index type.

QAlgorithms.Papers.Independent.Intakethird100.P15.IsInitialEnergyBasis

For a complex Hilbert basis b=(bi)i∈ιb=(b_i)_{i\in\iota}b=(bi​)i∈ι​ of EEE, a cyclic drive ddd relative to bbb on a measurable space Ω\OmegaΩ, and any function e:ι→Re:\iota\to\mathbb Re:ι→R, let (μ0,ε0,T0)(\mu_0,\varepsilon_0,T_0)(μ0​,ε0​,T0​) denote the drive’s spectral data at time zero: ε0\varepsilon_0ε0​ is measurable, T0:E→L2(Ω,μ0;C)T_0:E\to L^2(\Omega,\mu_0;\mathbb C)T0​:E→L2(Ω,μ0​;C) is a surjective complex linear isometry, and each T0biT_0b_iT0​bi​ is almost everywhere real. Here the drive also supplies positive period and ℏ\hbarℏ, a natural cycle count, periodic and reflection symmetric spectral data, spectral slice isometries, and their pointwise limiting evolution. IsInitialEnergyBasis means that, for every i∈ιi\in\iotai∈ι,

ε0(s)(T0bi)(s)=ei(T0bi)(s)for μ0-almost every s.\varepsilon_0(s)(T_0b_i)(s)=e_i(T_0b_i)(s) \quad\text{for }\mu_0\text{-almost every }s.ε0​(s)(T0​bi​)(s)=ei​(T0​bi​)(s)for μ0​-almost every s.

The exceptional null set may depend on iii; no distinctness or ordering of the numbers eie_iei​ is required.

QAlgorithms.Papers.Independent.Intakethird100.P15.IsSpectralStep

For a complex Hilbert basis b=(bi)i∈ιb=(b_i)_{i\in\iota}b=(bi​)i∈ι​ of EEE, spectral data H=(μ,ε,T)H=(\mu,\varepsilon,T)H=(μ,ε,T) consisting of a measure on a measurable space Ω\OmegaΩ, a measurable real energy function, and a surjective complex linear isometry T:E→L2(Ω,μ;C)T:E\to L^2(\Omega,\mu;\mathbb C)T:E→L2(Ω,μ;C) taking each bib_ibi​ to an almost everywhere real function, arbitrary real numbers τ,ℏ\tau,\hbarτ,ℏ, and a surjective complex linear isometry V:E→EV:E\to EV:E→E, IsSpectralStep means that, for every x,y∈Ex,y\in Ex,y∈E,

⟨x,Vy⟩=∫Ω(Tx)(s)‾ e i(τ/ℏ)ε(s)(Ty)(s) dμ(s).\langle x,Vy\rangle = \int_\Omega \overline{(Tx)(s)} \,e^{\,i(\tau/\hbar)\varepsilon(s)} (Ty)(s)\,d\mu(s).⟨x,Vy⟩=∫Ω​(Tx)(s)​ei(τ/ℏ)ε(s)(Ty)(s)dμ(s).

Neither τ\tauτ nor ℏ\hbarℏ is required to be positive or nonzero. Division by zero is defined to be zero, so when ℏ=0\hbar=0ℏ=0 the exponential factor is 111.

QAlgorithms.Papers.Independent.Intakethird100.P15.RealSpectralHamiltonian

For a complex Hilbert basis b=(bi)i∈ιb=(b_i)_{i\in\iota}b=(bi​)i∈ι​ of EEE and a measurable space Ω\OmegaΩ, a RealSpectralHamiltonian consists of a measure μ\muμ on Ω\OmegaΩ, a measurable function ε:Ω→R\varepsilon:\Omega\to\mathbb Rε:Ω→R, and a surjective complex linear isometry T:E→L2(Ω,μ;C)T:E\to L^2(\Omega,\mu;\mathbb C)T:E→L2(Ω,μ;C), such that, for every i∈ιi\in\iotai∈ι, Im⁡(Tbi)(x)=0\operatorname{Im}(Tb_i)(x)=0Im(Tbi​)(x)=0 for μ\muμ-almost every xxx. The exceptional null set may depend on iii. No finiteness condition on μ\muμ or boundedness condition on ε\varepsilonε is imposed.

QAlgorithms.Papers.Independent.Intakethird100.P15.bathObservedEnergy

For arbitrary types BBB and SSS, functions EB:B→RE_B:B\to\mathbb REB​:B→R and O:S→RO:S\to\mathbb RO:S→R, and a pair p=(a,s)∈B×Sp=(a,s)\in B\times Sp=(a,s)∈B×S, this defines the real number

Eobs(a,s)=EB(a)+O(s).E_{\mathrm{obs}}(a,s)=E_B(a)+O(s).Eobs​(a,s)=EB​(a)+O(s).

No finiteness, countability, boundedness, or positivity assumptions are imposed. If either type is empty, there is no pair ppp to which the definition can be applied.

QAlgorithms.Papers.Independent.Intakethird100.P15.bathPreparation

For arbitrary types B,SB,SB,S, functions EB:B→RE_B:B\to\mathbb REB​:B→R and O:S→RO:S\to\mathbb RO:S→R, an arbitrary β∈R\beta\in\mathbb Rβ∈R, and p=(a,s)∈B×Sp=(a,s)\in B\times Sp=(a,s)∈B×S, put

ZB(β)=∑a′∈Be−βEB(a′),ZS(β)=∑s′∈Se−βO(s′).Z_B(\beta)=\sum_{a'\in B}e^{-\beta E_B(a')}, \qquad Z_S(\beta)=\sum_{s'\in S}e^{-\beta O(s')}.ZB​(β)=a′∈B∑​e−βEB​(a′),ZS​(β)=s′∈S∑​e−βO(s′).

This defines

w(a,s)=e−βEB(a)ZB(β)e−βO(s)ZS(β).w(a,s)= \frac{e^{-\beta E_B(a)}}{Z_B(\beta)} \frac{e^{-\beta O(s)}}{Z_S(\beta)}.w(a,s)=ZB​(β)e−βEB​(a)​ZS​(β)e−βO(s)​.

Both sums are total unordered real sums, taking value 000 when their families are not summable; real division by 000 also takes value 000. Consequently, a zero denominator makes the displayed product 000. No summability, normalization, or positivity hypothesis on β\betaβ is included. If BBB or SSS is empty, no pair ppp exists.

QAlgorithms.Papers.Independent.Intakethird100.P15.chronologicalEvolution

For a complex inner product space EEE and any finite list L=[V0,…,Vm−1]L=[V_0,\ldots,V_{m-1}]L=[V0​,…,Vm−1​] of surjective complex linear isometries E→EE\to EE→E, chronologicalEvolution is the surjective complex linear isometry

Vm−1∘⋯∘V0.V_{m-1}\circ\cdots\circ V_0.Vm−1​∘⋯∘V0​.

Thus the maps act in their listed order, starting with V0V_0V0​; the empty list gives the identity map.

QAlgorithms.Papers.Independent.Intakethird100.P15.generatingTrace

For an index type ι\iotaι, a complex Hilbert space EEE, a Hilbert basis (bi)i∈ι(b_i)_{i\in\iota}(bi​)i∈ι​, a surjective complex linear isometry U:E→EU:E\to EU:E→E, an arbitrary function ε:ι→R\varepsilon:\iota\to\mathbb Rε:ι→R, an arbitrary real number β\betaβ, and z∈Cz\in\mathbb Cz∈C, this defines

Tb,U,ε,β(z)=∑(i,j)∈ι×ιez(εj−εi)∣⟨bj,Ubi⟩∣2e−βεi.\mathcal T_{b,U,\varepsilon,\beta}(z) = \sum_{(i,j)\in\iota\times\iota} e^{z(\varepsilon_j-\varepsilon_i)} \left|\langle b_j,U b_i\rangle\right|^2 e^{-\beta\varepsilon_i}.Tb,U,ε,β​(z)=(i,j)∈ι×ι∑​ez(εj​−εi​)∣⟨bj​,Ubi​⟩∣2e−βεi​.

The sum is the unordered infinite sum in C\mathbb CC. No summability hypothesis is imposed: its value is 000 when the family is not summable, and an empty index set also gives 000. The expression is not divided by a heat trace.

QAlgorithms.Papers.Independent.Intakethird100.P15.generatingTrace_kmsSymmetry

Let EEE be a complex Hilbert space, Ω\OmegaΩ a measurable space, and b=(bi)i∈ιb=(b_i)_{i\in\iota}b=(bi​)i∈ι​ a Hilbert basis with ι\iotaι countable and nonempty. The cyclic drive has T>0T>0T>0, ℏ>0\hbar>0ℏ>0, C∈NC\in\mathbb NC∈N, and spectral data Ht=(μt,ht,Ft)H_t=(\mu_t,h_t,F_t)Ht​=(μt​,ht​,Ft​), where hth_tht​ is measurable and Ft:E→L2(μt;C)F_t:E\to L^2(\mu_t;\mathbb C)Ft​:E→L2(μt​;C) is a complex linear isometric bijection with every FtbiF_tb_iFt​bi​ real almost everywhere; Ht+T=HtH_{t+T}=H_tHt+T​=Ht​ and H−t=HtH_{-t}=H_tH−t​=Ht​. Its slice isometries Vn,rV_{n,r}Vn,r​, for 0≤r≤n0\le r\le n0≤r≤n, obey

⟨x,Vn,ry⟩=∫Ftn,rx(s)‾e i(Δn/ℏ)htn,r(s)Ftn,ry(s) dμtn,r(s),Δn=CTn+1,tn,r=(r+12)Δn,\langle x,V_{n,r}y\rangle = \int \overline{F_{t_{n,r}}x(s)} e^{\,i(\Delta_n/\hbar)h_{t_{n,r}}(s)} F_{t_{n,r}}y(s)\,d\mu_{t_{n,r}}(s), \quad \Delta_n=\frac{CT}{n+1},\quad t_{n,r}=(r+\tfrac12)\Delta_n,⟨x,Vn,r​y⟩=∫Ftn,r​​x(s)​ei(Δn​/ℏ)htn,r​​(s)Ftn,r​​y(s)dμtn,r​​(s),Δn​=n+1CT​,tn,r​=(r+21​)Δn​,

for all x,y∈Ex,y\in Ex,y∈E, and their chronological products converge on every vector to the supplied evolution UUU. Let κ\kappaκ also be countable and nonempty, let c=(cj)j∈κc=(c_j)_{j\in\kappa}c=(cj​)j∈κ​ be another Hilbert basis of EEE, and assume Im⁡⟨bi,cj⟩=0\operatorname{Im}\langle b_i,c_j\rangle=0Im⟨bi​,cj​⟩=0 for every i,ji,ji,j. For an arbitrary ε:κ→R\varepsilon:\kappa\to\mathbb Rε:κ→R, β>0\beta>0β>0, and z∈Cz\in\mathbb Cz∈C, define

qw(a,b)=ew(εb−εa)∣⟨cb,Uca⟩∣2e−βεa,T(w)=∑a,bqw(a,b).q_w(a,b)=e^{w(\varepsilon_b-\varepsilon_a)} |\langle c_b,Uc_a\rangle|^2e^{-\beta\varepsilon_a}, \qquad \mathcal T(w)=\sum_{a,b}q_w(a,b).qw​(a,b)=ew(εb​−εa​)∣⟨cb​,Uca​⟩∣2e−βεa​,T(w)=a,b∑​qw​(a,b).

Assume that qzq_zqz​, q−z−βq_{-z-\beta}q−z−β​, and q−z‾−βq_{-\overline z-\beta}q−z−β​ are all summable. Then

T(z)=T(−z−β)andT(z)=T(−z‾−β)‾.\mathcal T(z)=\mathcal T(-z-\beta) \quad\text{and}\quad \mathcal T(z)=\overline{\mathcal T(-\overline z-\beta)}.T(z)=T(−z−β)andT(z)=T(−z−β)​.

The energy function ε\varepsilonε is arbitrary, and C=0C=0C=0 is permitted.

QAlgorithms.Papers.Independent.Intakethird100.P15.heatTrace

For any index type ι\iotaι, any function e:ι→Re:\iota\to\mathbb Re:ι→R, and any real ttt, heatTrace is the real-valued total sum

Ze(t)=∑i∈ιe−tei.Z_e(t)=\sum_{i\in\iota}e^{-t e_i}.Ze​(t)=i∈ι∑​e−tei​.

No summability or positivity assumption on ttt is imposed. If the family is not summable in R\mathbb RR, this total sum is defined to be zero; an empty index type also gives zero.

QAlgorithms.Papers.Independent.Intakethird100.P15.preparedWorkLaw

For a complex Hilbert basis b=(bi)i∈ιb=(b_i)_{i\in\iota}b=(bi​)i∈ι​ of EEE, a surjective complex linear isometry U:E→EU:E\to EU:E→E, and arbitrary real-valued functions e,w:ι→Re,w:\iota\to\mathbb Re,w:ι→R, preparedWorkLaw is the measure on R\mathbb RR

∑(a,g)∈ι×ιmax⁡ ⁣{wa ∣⟨bg,Uba⟩∣2,0} δeg−ea,\sum_{(a,g)\in\iota\times\iota} \max\!\left\{w_a\,|\langle b_g,Ub_a\rangle|^2,0\right\} \,\delta_{e_g-e_a},(a,g)∈ι×ι∑​max{wa​∣⟨bg​,Uba​⟩∣2,0}δeg​−ea​​,

where the coefficients are regarded as nonnegative extended real numbers and δx\delta_xδx​ is the unit point mass at xxx. No nonnegativity or normalization condition on www, and no summability condition, is imposed; negative coefficients before conversion contribute zero. The resulting measure is not required to have total mass one or finite total mass.

QAlgorithms.Papers.Independent.Intakethird100.P15.qTerm

For a complex Hilbert basis b=(bi)i∈ιb=(b_i)_{i\in\iota}b=(bi​)i∈ι​ of EEE, a surjective complex linear isometry U:E→EU:E\to EU:E→E, an arbitrary function e:ι→Re:\iota\to\mathbb Re:ι→R, a real number β\betaβ, a complex number zzz, and an ordered pair (a,g)∈ι×ι(a,g)\in\iota\times\iota(a,g)∈ι×ι, qTerm is the complex number

e z(eg−ea) ∣⟨bg,Uba⟩∣2 e−βea,e^{\,z(e_g-e_a)} \,|\langle b_g,Ub_a\rangle|^2 \,e^{-\beta e_a},ez(eg​−ea​)∣⟨bg​,Uba​⟩∣2e−βea​,

with the real factors embedded in C\mathbb CC. No positivity assumption on β\betaβ, summability assumption, or normalization factor is included.

QAlgorithms.Papers.Independent.Intakethird100.P15.sliceTime

For any real number PPP, natural numbers c,nc,nc,n, and an index r∈{0,…,n}r\in\{0,\ldots,n\}r∈{0,…,n}, sliceTime is the real number

(r+12)cPn+1.\left(r+\frac12\right)\frac{cP}{n+1}.(r+21​)n+1cP​.

There is no positivity requirement on PPP, and c=0c=0c=0 and n=0n=0n=0 are included. For c=0c=0c=0 the value is zero; for n=0n=0n=0 the sole value is cP/2cP/2cP/2.

QAlgorithms.Papers.Independent.Intakethird100.P15.spectralGibbsWeight

For any index type ι\iotaι, function e:ι→Re:\iota\to\mathbb Re:ι→R, real number β\betaβ, and index i∈ιi\in\iotai∈ι, spectralGibbsWeight is

wi=e−βei∑j∈ιe−βej,w_i=\frac{e^{-\beta e_i}}{\displaystyle\sum_{j\in\iota}e^{-\beta e_j}},wi​=j∈ι∑​e−βej​e−βei​​,

where the denominator is the real-valued total sum, defined to be zero if the family is not summable. No positivity assumption on β\betaβ or summability assumption is imposed. If the denominator is zero, the quotient is defined to be zero.

QAlgorithms.Papers.Independent.Intakethird100.P15.workLaw

For a complex Hilbert basis b=(bi)i∈ιb=(b_i)_{i\in\iota}b=(bi​)i∈ι​ of EEE, a surjective complex linear isometry U:E→EU:E\to EU:E→E, a function e:ι→Re:\iota\to\mathbb Re:ι→R, and any real β\betaβ, workLaw is the measure

∑(a,g)∈ι×ιmax⁡ ⁣{e−βeaZe(β)∣⟨bg,Uba⟩∣2,0}δeg−ea,Ze(β)=∑j∈ιe−βej.\sum_{(a,g)\in\iota\times\iota} \max\!\left\{ \frac{e^{-\beta e_a}}{Z_e(\beta)} |\langle b_g,Ub_a\rangle|^2,0 \right\}\delta_{e_g-e_a}, \qquad Z_e(\beta)=\sum_{j\in\iota}e^{-\beta e_j}.(a,g)∈ι×ι∑​max{Ze​(β)e−βea​​∣⟨bg​,Uba​⟩∣2,0}δeg​−ea​​,Ze​(β)=j∈ι∑​e−βej​.

The denominator is the real-valued total sum, which is zero for a nonsummable family, and division by zero gives zero. No positivity assumption on β\betaβ or finite heat trace assumption is required; if Ze(β)=0Z_e(\beta)=0Ze​(β)=0, this definition gives the zero measure.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me