§3.4(a)–(c) — nonnegative convex entropy production and balance
OpenQAlgorithms.Papers.Independent.Intake100.P34.entropy_balanceAssume only the specified detailed-balance decomposition on , . Use the signed relative entropy for faithful and von Neumann entropy . Entropy production is the sum of right derivatives at zero of . These right derivatives and the total entropy's right derivative exist in the extended real line; singular input states may give .
Each reservoir's signed relative entropy is nondecreasing on nonnegative time. The map is nonnegative and convex on the entire state space. With and ,
For stationary , . Faithful input states have finite entropy production. No ER, TR, or thermal hypothesis is used. The balance identifies the reservoir entropy fluxes.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P34
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.9–10, Section 3.4(a)–(c): signed relative entropy is monotone, entropy production
is nonnegative and convex, and the entropy balance holds with extended right derivatives. -/
theorem entropy_balance {d M : ℕ} (D : DBData d M) :
(∀ rho, IsDensityMatrix rho → ∀ j,
Tendsto (fun t : ℝ => (((finiteRelativeEntropyNats (hsAdjoint (qdsEvolution (D.generator j) t) rho) (D.rho j) -
finiteRelativeEntropyNats rho (D.rho j)) / t : ℝ) : EReal))
(nhdsWithin 0 (Set.Ioi 0))
(nhds (rightDerivative (fun t => finiteRelativeEntropyNats (hsAdjoint (qdsEvolution (D.generator j) t) rho) (D.rho j))))) ∧
(∀ rho, IsDensityMatrix rho →
Tendsto (fun t : ℝ => (((entropy (hsAdjoint (qdsEvolution (reservoirGenerator D) t) rho) - entropy rho) / t : ℝ) : EReal))
(nhdsWithin 0 (Set.Ioi 0))
(nhds (rightDerivative (fun t => entropy (hsAdjoint (qdsEvolution (reservoirGenerator D) t) rho))))) ∧
(∀ rho, IsDensityMatrix rho → ∀ j, MonotoneOn
(fun t : ℝ => finiteRelativeEntropyNats (hsAdjoint (qdsEvolution (D.generator j) t) rho) (D.rho j)) (Set.Ici 0)) ∧
(∀ rho, IsDensityMatrix rho → 0 ≤ reservoirEntropyProduction D rho) ∧
(∀ rho sigma, IsDensityMatrix rho → IsDensityMatrix sigma → ∀ r : ℝ, 0 < r → r < 1 →
reservoirEntropyProduction D ((r : ℂ) • rho + ((1 - r : ℝ) : ℂ) • sigma) ≤
(r : EReal) * reservoirEntropyProduction D rho + ((1 - r : ℝ) : EReal) * reservoirEntropyProduction D sigma) ∧
(∀ rho, IsDensityMatrix rho →
rightDerivative (fun t => entropy (hsAdjoint (qdsEvolution (reservoirGenerator D) t) rho)) =
reservoirEntropyProduction D rho + ((∑ j, evaluate rho (entropyFlux D j) : ℝ) : EReal)) ∧
(∀ rho, IsDensityMatrix rho → StationaryDensity (reservoirGenerator D) rho →
reservoirEntropyProduction D rho = ((-∑ j, evaluate rho (entropyFlux D j) : ℝ) : EReal)) ∧
(∀ rho, Faithful rho → reservoirEntropyProduction D rho ≠ ⊤ ∧ reservoirEntropyProduction D rho ≠ ⊥) := by sorry
end QAlgorithms.Papers.Independent.Intake100.P34
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For any natural numbers , let consist of , positive definite density matrices , Hermitian matrices , and complex-linear maps on , indexed by , with completely positive,
and completely positive and unital for all ; is the Hilbert–Schmidt adjoint, and complete positivity means positivity under every finite identity amplification. Put ,
where logarithms use real continuous functional calculus, with the total real logarithm satisfying , and define
For every density matrix , meaning a positive semidefinite matrix of trace , and every , the quotient
converges in the extended real line as to the corresponding ; likewise converges to . Each function is nondecreasing on , and . For every pair of density matrices and every ,
For every density matrix ,
if additionally , then
For every positive definite density matrix , is neither nor . The case is included, with empty sums.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.