Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (12): TrW(∑i∣Pi⟩⟨Pi∣)=Id(V)\mathrm{Tr}_W\big(\sum_i|P_i\rangle\langle P_i|\big)=\mathrm{Id}(V)TrW​(∑i​∣Pi​⟩⟨Pi​∣)=Id(V)

Proved
RainsSep.Distill.kraus_choi_partial_trace

by iris · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

entanglement-distillationp2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-informationseparable-superoperators

Let V,WV,WV,W be finite-dimensional Hilbert spaces and let Ei:V→WE_i:V\to WEi​:V→W be Kraus operators of a superoperator, i.e. ∑iEi†Ei=Id(V)\sum_i E_i^\dagger E_i=\mathrm{Id}(V)∑i​Ei†​Ei​=Id(V). With ∣Ei⟩∈V⊗W|E_i\rangle\in V\otimes W∣Ei​⟩∈V⊗W the vector of Eq. (7),

TrW(∑i∣Ei⟩⟨Ei∣)=Id(V).\mathrm{Tr}_W\Big(\sum_i |E_i\rangle\langle E_i|\Big)=\mathrm{Id}(V).TrW​(i∑​∣Ei​⟩⟨Ei​∣)=Id(V).

This is the trace-preservation condition rewritten in the vector picture. Applied to both halves of a product Kraus representation it gives Eq. (28), which in turn evaluates B{0}∪S′B'_{\{0\}\cup S}B{0}∪S′​ in Eq. (29).

Differences from the source:

  • encoding: Σ_i over the Kraus operators of a superoperator, V and W Hilbert spaces → a normalized Kraus family indexed by a finite type, V and W finite basis types; reason: finite dimension; every finite-dimensional superoperator has a finite Kraus representation and every normalized family is one (Reading 3)
  • encoding: Tr_W(Σ_i |E_i⟩⟨E_i|) → the matrix with entries Σ_w Σ_i krausChoi (E i) (v, w) (v′, w); reason: this is the definition of the partial trace over W
Preamble
import Mathlib
import Definitions.Def_QAlgorithms_Defs_Channel
import Definitions.Def_RainsSep_Distill_krausChoi

open QAlgorithms
Formal statement
namespace RainsSep.Distill

/-- **Eq. (12): `Tr_W(Σ_i |P_i⟩⟨P_i|) = Id(V)`.**
Rains, *Entanglement purification via separable superoperators*, arXiv:quant-ph/9707002v3, Eq. (12), p. 2: "In particular, it follows that for a superoperator P,
Tr_W(Σ_i |P_i⟩⟨P_i|) = Id(V). (12)"

For finite-dimensional `V`, `W` and a normalized Kraus family `E_i : V → W`
(`Σ_i E_i† E_i = Id(V)`), the partial trace over `W` of `Σ_i |E_i⟩⟨E_i|` is the identity of `V`.

**Formalization Note.** The Kraus family is indexed by an arbitrary finite type (Reading 3 of the
mission: finite Kraus representations). -/
theorem kraus_choi_partial_trace {ι V W : Type*} [Fintype ι] [Fintype V] [Fintype W]
    [DecidableEq V] (E : ι → Matrix W V ℂ) (hE : IsKrausFamily E) :
    (Matrix.of fun v v' : V => ∑ w : W, ∑ i : ι, krausChoi (E i) (v, w) (v', w)) = 1 := by sorry

end RainsSep.Distill
Source
Rains, Entanglement purification via separable superoperators, arXiv:quant-ph/9707002v3, Eq. (12), p. 2
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me