Subadditivity of von Neumann entropy
OpenQAlgorithms.Arunachalam.vnEntropy_subadditiveLet and be finite-dimensional Hilbert spaces and let be a density matrix (positive semidefinite, trace one) on . Write and for its reduced states and for the von Neumann entropy (with ). Then
This inequality is used to bound the mutual information between a concept and examples by times the information in one example.
Formalization Note is computed by the continuous functional calculus applied to ; Lean's gives the convention .
import Definitions.Def_QAlgorithms_Defs_Learning set_option autoImplicit false
namespace QAlgorithms.Arunachalam
open QAlgorithms.Learning
/-- Arunachalam p.162, Fact 7.3.10 (subadditivity of quantum entropy): for every bipartite
density matrix `ρ_AB` on `H_A ⊗ H_B`, `S(ρ_AB) ≤ S(ρ_A) + S(ρ_B)`, where `S(ρ) = −Tr(ρ log ρ)`
(log base 2, §7.3.1) and `ρ_A = Tr_B ρ_AB`, `ρ_B = Tr_A ρ_AB` are the partial traces. -/
theorem vnEntropy_subadditive {ι κ : Type*} [Fintype ι] [DecidableEq ι] [Fintype κ]
[DecidableEq κ] (ρ : Matrix (ι × κ) (ι × κ) ℂ) (hρ : IsDensityMatrix ρ) :
vnEntropy ρ ≤ vnEntropy (traceRight ρ) + vnEntropy (traceLeft ρ) := by
sorry
end QAlgorithms.Arunachalam
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let and be arbitrary finite types with decidable equality. Let be a complex square matrix indexed by , viewed as an operator on a bipartite system whose first factor is and second factor is . Assume is a density matrix: it is positive semidefinite and .
Two partial traces appear:
- The reduced matrix on the first factor, an matrix:
- The reduced matrix on the second factor, a matrix:
For any square matrix , the von Neumann entropy is defined as
where is the continuous functional calculus: is applied to the eigenvalues of the self-adjoint matrix . At we have , since the logarithm of is taken to be . For non-self-adjoint input the functional calculus returns the junk value , but , and are all Hermitian here.
The theorem asserts subadditivity:
If or is empty, then is the empty matrix with trace . The hypothesis is then unsatisfiable, so only nonempty matter.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.