Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1: two maximally-entangled-state identities

Open
QAlgorithms.Papers.Independent.Bridge50.P37.maximally_entangled_identities

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Write MdM_dMd​ for complex d×dd\times dd×d matrices in fixed orthonormal bases; positive means positive semidefinite. All maps are complex-linear and all dimensions are positive integers. The symbols ∥⋅∥⋄\|\cdot\|_\diamond∥⋅∥⋄​, ∥⋅∥1\|\cdot\|_1∥⋅∥1​ and ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ denote the diamond, trace and spectral norms, respectively; ∗*∗ denotes the Hilbert--Schmidt adjoint. Choi matrices and maximally entangled projections use the normalized, reference-first convention.

Write Ωd=d−1/2∑i∣ii⟩\Omega_d=d^{-1/2}\sum_i|ii\rangleΩd​=d−1/2∑i​∣ii⟩ and ωd=∣Ωd⟩⟨Ωd∣\omega_d=|\Omega_d\rangle\langle\Omega_d|ωd​=∣Ωd​⟩⟨Ωd​∣. For every rectangular d2×d1d_2\times d_1d2​×d1​ matrix XXX,

(Id1⊗X)Ωd1=d2/d1 (XT⊗Id2)Ωd2.(I_{d_1}\otimes X)\Omega_{d_1}=\sqrt{d_2/d_1}\,(X^T\otimes I_{d_2})\Omega_{d_2}.(Id1​​⊗X)Ωd1​​=d2​/d1​​(XT⊗Id2​​)Ωd2​​.

For every Hermiticity-preserving map L:Md1→Md2L:M_{d_1}\to M_{d_2}L:Md1​​→Md2​​,

(idd1⊗L)(ωd1)=d2d1((ϑd1∘L∗∘ϑd2)⊗idd2)(ωd2).(\mathrm{id}_{d_1}\otimes L)(\omega_{d_1})=\frac{d_2}{d_1}\bigl((\vartheta_{d_1}\circ L^*\circ\vartheta_{d_2})\otimes\mathrm{id}_{d_2}\bigr)(\omega_{d_2}).(idd1​​⊗L)(ωd1​​)=d1​d2​​((ϑd1​​∘L∗∘ϑd2​​)⊗idd2​​)(ωd2​​).

Here L∗L^*L∗ is the Hilbert--Schmidt adjoint. These identities retain the normalization factors for unequal local dimensions.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P37
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder

open Filter MeasureTheory

-- Only the following exact definition bodies are reused from pinned accepted papers.

open QAlgorithms.Papers.Independent.Information100.P04 (gamma copies)

open QAlgorithms.Papers.Independent.Information100.P30 (MatrixMap IsPositiveMap)

open QAlgorithms.Papers.Independent.Information100.P50 (maxEigenvalue)

open QAlgorithms.Papers.Independent.Information100.P63 (Mat)

open QAlgorithms.Papers.Independent.Information100.P69 (diamond)

open QAlgorithms.Papers.Independent.Information100.P56 (normalizedChoi)

open QAlgorithms.Papers.Independent.Information100.P76 (swapMatrix)

open QAlgorithms.Papers.Independent.Next46.P39 (inverseSqrt)

namespace QAlgorithms.Papers.Independent.Bridge50.P37

attribute [local instance] Classical.propDecidable Classical.decEq

variable {A B C D : Type} [Fintype A] [Fintype B] [Fintype C] [Fintype D]
  [DecidableEq A] [DecidableEq B] [DecidableEq C] [DecidableEq D]

/-- Lemma 1, PDF p.4: rectangular vector identity AND the Hilbert--Schmidt adjoint identity.
The normalized vector gives sqrt(d2/d1); the normalized Choi matrix gives d2/d1. -/
theorem maximally_entangled_identities [Nonempty A] [Nonempty B] :
    (∀ X : Matrix B A ℂ,
      (Matrix.kronecker (1 : Mat A) X).mulVec (WithLp.ofLp (finiteMaxEntangled A)) =
        (Real.sqrt ((Fintype.card B : ℝ) / Fintype.card A) : ℂ) •
          (Matrix.kronecker X.transpose (1 : Mat B)).mulVec (WithLp.ofLp (finiteMaxEntangled B))) ∧
    (∀ L : MatrixMap A B, (∀ X : Mat A, X.IsHermitian → (L X).IsHermitian) →
      normalizedChoi L = (((Fintype.card B : ℝ) / Fintype.card A : ℝ) : ℂ) •
        tensorLinearMap ((basisTransposeLinearMap A).comp ((hsAdjoint L).comp (basisTransposeLinearMap B)))
          (LinearMap.id : MatrixMap B B) (normalizedEntangledProjection B)) := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P37

end
Source
Positivity of linear maps under tensor powers, arXiv:1502.05630v2, PDF p. 4, Lemma 1: two maximally-entangled-state identities
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For arbitrary finite nonempty types A,BA,BA,B, each equipped with decidable equality, put a=∣A∣a=|A|a=∣A∣, b=∣B∣b=|B|b=∣B∣, and let ωA∈CA×A\omega_A\in\mathbb C^{A\times A}ωA​∈CA×A, ωB∈CB×B\omega_B\in\mathbb C^{B\times B}ωB​∈CB×B have coordinates (ωA)ij=δij/a(\omega_A)_{ij}=\delta_{ij}/\sqrt a(ωA​)ij​=δij​/a​ and (ωB)ij=δij/b(\omega_B)_{ij}=\delta_{ij}/\sqrt b(ωB​)ij​=δij​/b​. The declaration asserts that every rectangular complex matrix XXX with rows indexed by BBB and columns by AAA satisfies

(IA⊗X)ωA=ba (XT⊗IB)ωB.(I_A\otimes X)\omega_A = \sqrt{\frac ba}\,(X^{\mathsf T}\otimes I_B)\omega_B.(IA​⊗X)ωA​=ab​​(XT⊗IB​)ωB​.

It also asserts that every complex-linear map L:MA(C)→MB(C)L:M_A(\mathbb C)\to M_B(\mathbb C)L:MA​(C)→MB​(C) satisfying L(H)=L(H)†L(H)=L(H)^\daggerL(H)=L(H)† whenever H=H†H=H^\daggerH=H† obeys

JL=ba ((τA∘L∗∘τB)⊗id⁡B)(ΩB).J_L=\frac ba\, \bigl((\tau_A\circ L^*\circ\tau_B)\otimes\operatorname{id}_B\bigr)(\Omega_B).JL​=ab​((τA​∘L∗∘τB​)⊗idB​)(ΩB​).

Here (JL)(i,u),(j,v)=L(Eij)uv/a(J_L)_{(i,u),(j,v)}=L(E_{ij})_{uv}/a(JL​)(i,u),(j,v)​=L(Eij​)uv​/a, ΩB=ωBωB†\Omega_B=\omega_B\omega_B^\daggerΩB​=ωB​ωB†​, τJ(Z)=ZT\tau_J(Z)=Z^{\mathsf T}τJ​(Z)=ZT, and

(L∗Z)ij=∑u,v∈BL(Eij)uv‾Zuv.(L^*Z)_{ij}=\sum_{u,v\in B}\overline{L(E_{ij})_{uv}}Z_{uv}.(L∗Z)ij​=u,v∈B∑​L(Eij​)uv​​Zuv​.

The tensor-map expression means that for any F:MB(C)→MA(C)F:M_B(\mathbb C)\to M_A(\mathbb C)F:MB​(C)→MA​(C),

(F⊗id⁡B)(Z)=∑u,v,s,t∈BZ(u,s),(v,t)F(Euv)⊗Est.(F\otimes\operatorname{id}_B)(Z) =\sum_{u,v,s,t\in B}Z_{(u,s),(v,t)}F(E_{uv})\otimes E_{st}.(F⊗idB​)(Z)=u,v,s,t∈B∑​Z(u,s),(v,t)​F(Euv​)⊗Est​.

No positivity or trace-preservation hypothesis on LLL is included.

Human review
  • Endorsed by Shuze Chen · Oct 29, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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