Provedmachine-checked: its own exact check passesid singularity.deficit-theorem-cost-descent-exactly, version 4
For any pinching $E$ and density matrix $\rho$, $S(E(\rho)) - S(\rho) = \rel{\rho}{E(\rho)} \geq 0$, with equality exactly when $\rho = E(\rho)$.
Descent here means discarding the parts of a quantum state that link different sectors, keeping only the blocks along the diagonal. The theorem says the entropy gained by doing so equals a standard measure of how distinguishable the original state is from its descended version. The gain is never negative, and it is zero only when there was nothing to discard.
Let $E$ be the pinching by any complete family of orthogonal projectors ($\EN$ included) and $\rho$ a density matrix. Then $E$ is idempotent, trace-preserving, and self-adjoint for the Hilbert-Schmidt pairing, and \[ S\bigl(E(\rho)\bigr) - S(\rho) \;=\; \rel{\rho}{E(\rho)} \;\geq\; 0 , \] with $S$ the von Neumann entropy and $D$ the relative entropy, and with equality if and only if $\rho = E(\rho)$. The level discrepancy of Step 6b is this quantity: not a slogan but a relative entropy, computed once and for all.
Idempotency and trace preservation are the orthogonality and completeness of the $\Pi_\varepsilon$. Self-adjointness: $\tr(E(a)\,b) = \sum_\varepsilon \tr(\Pi_\varepsilon a \Pi_\varepsilon b) = \sum_\varepsilon \tr(a\, \Pi_\varepsilon b \Pi_\varepsilon) = \tr(a\,E(b))$ by cyclicity of the trace. The key step: $E(\rho)$ commutes with every $\Pi_\varepsilon$, hence so does every function of it, hence $E\bigl(\log E(\rho)\bigr) = \log E(\rho)$; self-adjointness with $b = \log E(\rho)$ then gives \[ \tr\bigl(\rho \log E(\rho)\bigr) \;=\; \tr\bigl(E(\rho) \log E(\rho)\bigr) , \] whence $\rel{\rho}{E\rho} = \tr\rho\log\rho - \tr\rho\log E\rho = -S(\rho) + S(E\rho)$. Nonnegativity and the equality case are Klein's inequality, the single classical input of the theorem [NielsenChuang, \S 11.3]. The script verifies the structural clauses on a generic rational matrix and the key identity, in moment form $\tr\bigl(\rho\,(E\rho)^m\bigr) = \tr\bigl(E\rho\,(E\rho)^m\bigr)$, on the model's scrambled two-pair state, in exact arithmetic.
none
verify_T05.pycheck.py::check_pinching_structurecheck.py::check_key_lemma_moment_formcheck.py::check_entropy_identity_exactRun them on a clone of the repository: python -m tp check-one singularity.deficit-theorem-cost-descent-exactly --store store
Leon Butler (idea, direction and review); Claude Fable 5 (mathematics and drafting).