Linear-path integral representation of relative entropy
OpenQAlgorithms.Papers.Independent.Support50.P17.linearPathLet and be square complex matrices on the same nonzero finite-dimensional Hilbert space. Their traces need not agree and may be singular. Put and use natural spectral logarithms. The real scalar function is integrable on , and
At a zero eigenvalue the endpoint logarithm is assigned zero for this integrand; changing that single endpoint value does not change the integral. The entropy itself uses the zero-weight spectral convention.
This is the separately displayed linear specialization (12); it does not replace the deferred arbitrary-path assertion.
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P17
noncomputable section
open MeasureTheory
open scoped Matrix ComplexOrder Matrix.Norms.L2Operator
namespace QAlgorithms.Papers.Independent.Support50.P17
attribute [local instance] Classical.propDecidable Classical.decEq
-- Reuse the exact frozen support predicate and signed, unnormalised entropy.
open QAlgorithms.Papers.Independent.Dependency50.P21 (IsSupported relativeEntropy)
/-- PDF pp.4–5, Lemma 1, displayed linear-path identity (12), independently of
its under-specified arbitrary-path claim. A may be singular; equal trace is not assumed.
Integrability of the actual real scalar integrand is part of the conclusion. -/
theorem linearPath {I : Type*} [Fintype I] [DecidableEq I] [Nonempty I]
(A B : Matrix I I ℂ) (hA : A.PosSemidef) (hB : B.PosDef) :
let f : ℝ → ℝ := fun s =>
((B - A) * cfc Real.log (A + (s : ℂ) • (B - A))).trace.re
IntegrableOn f (Set.Icc (0 : ℝ) 1) ∧
relativeEntropy A B =
(((A - B).trace.re + ((B - A) * cfc Real.log B).trace.re -
∫ s in Set.Icc (0 : ℝ) 1, f s : ℝ) : EReal) := by sorry
end QAlgorithms.Papers.Independent.Support50.P17
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every finite, nonempty index type with decidable equality, every positive semidefinite complex matrix , and every positive definite complex matrix indexed by , define , with the matrix logarithm given by continuous functional calculus and scalar value . Then is Lebesgue integrable on , and
where the right side is embedded into the extended reals and , since is invertible. No equality of traces is assumed, and may be singular, including .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.