Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 4 (One-shot merging)

Open
QAlgorithms.Papers.Independent.Intake100.P01.one_shot_merging

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

prove2quantum

Let ∣ψ⟩ABR|\psi\rangle_{ABR}∣ψ⟩ABR​ be a finite-dimensional unit vector, d=dim⁡A>0d=\dim A>0d=dimA>0, and D>0D>0D>0 satisfy Tr⁡ρB2≤1/D\operatorname{Tr}\rho_B^2\le1/DTrρB2​≤1/D. For an integer 1≤L≤d1\le L\le d1≤L≤d, set N=⌊d/L⌋N=\lfloor d/L\rfloorN=⌊d/L⌋ and L′=d−NL<LL'=d-NL<LL′=d−NL<L. A Haar rotation of a fixed orthogonal decomposition into NNN rank-LLL blocks and a residual rank-L′L'L′ block gives quantum error QQQ with

EUQ≤b:=2Ldim⁡RD+2Ld.\mathbb E_U Q\le b:=2\sqrt{\frac{L\dim R}{D}}+\frac{2L}{d}.EU​Q≤b:=2DLdimR​​+d2L​.

There exists such a measurement with Q≤bQ\le bQ≤b and a completed merging protocol of entanglement cost −log⁡2L-\log_2L−log2​L, squared infidelity at most bbb, and complete-output trace-norm error at most 2b2\sqrt b2b​. All blocks map into the same LLL-dimensional Alice output; a zero residual rank gives a zero operator. Both Haar expectation and existence are asserted. This supplies a finite-block merging bound.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P01
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P01

open scoped Matrix ComplexConjugate Matrix.Norms.Elementwise

open MeasureTheory

open QAlgorithms.Papers.Independent.Gap20.P11 (IsLOCC productApply finTransport referenceInformation)

open QAlgorithms.Papers.Independent.Bridge50.P40
  (RankMergingCode OneWayMergingCode mergingFidelity SourceProtocolAchievable)

open QAlgorithms.Papers.Independent.Dependency50.P19
  (first marginalRA marginalRB motherTarget motherOutput sourceCopies swap mutualInformation)

open QAlgorithms.Papers.Independent.Information100.P67 (conditionalEntropy)

open QAlgorithms.Papers.Independent.Information100.P32 (purity)

open QAlgorithms.Papers.Independent.Advance50.P29 (weakTypicalProjector)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.6,8, Proposition 4: existence AND normalized Haar expectation,
including the rank-L projective decomposition and zero residual branch.
The displayed protocol error is full trace norm; its infidelity is at most (17). -/
theorem one_shot_merging {B R : Type} [Fintype B] [Fintype R]
    [Nonempty B] [Nonempty R] (d L : ℕ) (hd : 0 < d) (hL : 0 < L) (hLd : L ≤ d)
    (psi : EuclideanSpace ℂ (R × (Fin d × B))) (hpsi : IsState psi)
    (D : ℝ) (hD : 0 < D)
    (hpurity : purity (traceLeft (traceLeft (pureDensity psi))) ≤ 1 / D) :
    (∀ U : Matrix.unitaryGroup (Fin d) ℂ,
      IsKrausFamily (randomBlocks d L U) ∧
      ∀ j : Fin (d / L + 1),
        let E := (randomBlocks d L U j)ᴴ * randomBlocks d L U j
        E.IsHermitian ∧ E * E = E ∧
          Matrix.rank E = if j.val < d / L then L else d % L) ∧
    Integrable (fun U => mergingDecouplingError (pureDensity psi) (randomBlocks d L U))
      (Schur.unitaryHaar d) ∧
    (∫ U, mergingDecouplingError (pureDensity psi) (randomBlocks d L U)
      ∂(Schur.unitaryHaar d)) ≤ oneShotBound d L (Fintype.card R) D ∧
    ∃ U : Matrix.unitaryGroup (Fin d) ℂ,
      mergingDecouplingError (pureDensity psi) (randomBlocks d L U) ≤
        oneShotBound d L (Fintype.card R) D ∧
      CompletedMerging (pureDensity psi) (randomBlocks d L U)
        (oneShotBound d L (Fintype.card R) D) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P01

end
Source
Quantum state merging and negative information, arXiv:quant-ph/0512247v1, PDF p. 6, Proposition 4 (One-shot merging)
Read-back

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

Let B,RB,RB,R be finite nonempty types with specified finite enumerations, let d,Ld,Ld,L be positive natural numbers with L≤dL\le dL≤d, and let ψ∈CR×({0,…,d−1}×B)\psi\in\mathbb C^{R\times(\{0,\ldots,d-1\}\times B)}ψ∈CR×({0,…,d−1}×B) have Euclidean norm one. Put ρ=ψψ†\rho=\psi\psi^\daggerρ=ψψ†, let ρB\rho_BρB​ be its marginal obtained by summing over matching RRR and {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1} indices, and suppose D>0D>0D>0 is real with Re⁡tr⁡(ρB2)≤1/D\operatorname{Re}\operatorname{tr}(\rho_B^2)\le1/DRetr(ρB2​)≤1/D. For each unitary d×dd\times dd×d matrix UUU, define Pj=BjUP_j=B_jUPj​=Bj​U, 0≤j<⌊d/L⌋+10\le j<\lfloor d/L\rfloor+10≤j<⌊d/L⌋+1, where BjB_jBj​ selects the jjj-th block of LLL coordinates when j<⌊d/L⌋j<\lfloor d/L\rfloorj<⌊d/L⌋, and at the last index selects the remaining d mod Ld\bmod LdmodL coordinates into the first d mod Ld\bmod LdmodL rows, with its other rows zero. Let ρRA\rho_{RA}ρRA​ and ρR\rho_RρR​ be the marginals of ρ\rhoρ, set Cj=(IR⊗Pj)ρRA(IR⊗Pj)†C_j=(I_R\otimes P_j)\rho_{RA}(I_R\otimes P_j)^\daggerCj​=(IR​⊗Pj​)ρRA​(IR​⊗Pj​)†, pj=Re⁡tr⁡Cjp_j=\operatorname{Re}\operatorname{tr}C_jpj​=RetrCj​, and define

E(U)=∑j∥Cj−pj(ρR⊗ILL)∥1,b=2L ∣R∣D+2Ld,∥X∥1=Re⁡tr⁡cfc⁡⋅(X†X).\mathcal E(U)=\sum_j\left\|C_j-p_j\left(\rho_R\otimes\frac{I_L}{L}\right)\right\|_1, \qquad b=2\sqrt{\frac{L\,|R|}{D}}+\frac{2L}{d}, \quad \|X\|_1=\operatorname{Re}\operatorname{tr} \operatorname{cfc}_{\sqrt{\cdot}}(X^\dagger X).E(U)=j∑​​Cj​−pj​(ρR​⊗LIL​​)​1​,b=2DL∣R∣​​+d2L​,∥X∥1​=Retrcfc⋅​​(X†X).

The theorem asserts that every such UUU satisfies ∑jPj†Pj=Id\sum_jP_j^\dagger P_j=I_d∑j​Pj†​Pj​=Id​, and each Ej=Pj†PjE_j=P_j^\dagger P_jEj​=Pj†​Pj​ is Hermitian and idempotent, with rank LLL for j<⌊d/L⌋j<\lfloor d/L\rfloorj<⌊d/L⌋ and rank d mod Ld\bmod LdmodL otherwise. It also asserts that E\mathcal EE is integrable under normalized Haar measure on the unitary group and that ∫E(U) dU≤b\int\mathcal E(U)\,dU\le b∫E(U)dU≤b. Finally, there exists a unitary UUU with E(U)≤b\mathcal E(U)\le bE(U)≤b for which there exist isometries Vj:B→CL⊗C{0,…,d−1}×BV_j:B\to\mathbb C^L\otimes\mathbb C^{\{0,\ldots,d-1\}\times B}Vj​:B→CL⊗C{0,…,d−1}×B such that M(X)=∑j(Pj⊗Vj)X(Pj⊗Vj)†\mathcal M(X)=\sum_j(P_j\otimes V_j)X(P_j\otimes V_j)^\daggerM(X)=∑j​(Pj​⊗Vj​)X(Pj​⊗Vj​)† is both a channel and a finite local protocol. Channel means a finite Kraus representation complete on the input; the local protocol, after finite reindexing, is built recursively from identity maps and complete local Kraus measurements by either party with outcome dependent continuations. For Ω=(idR⊗M)(ρ)\Omega=(\mathrm{id}_R\otimes\mathcal M)(\rho)Ω=(idR​⊗M)(ρ) and the target τ\tauτ consisting of ρ\rhoρ and the dimension-LLL maximally entangled pair, ordered as R×(CL×(CL×({0,…,d−1}×B)))R\times(\mathbb C^L\times(\mathbb C^L\times(\{0,\ldots,d-1\}\times B)))R×(CL×(CL×({0,…,d−1}×B))), the conclusion requires 1−b≤F(Ω,τ)21-b\le F(\Omega,\tau)^21−b≤F(Ω,τ)2 and ∥Ω−τ∥1≤2b\|\Omega-\tau\|_1\le2\sqrt b∥Ω−τ∥1​≤2b​, where

F(X,Y)=Re⁡tr⁡cfc⁡⋅ ⁣(cfc⁡⋅(X) Y cfc⁡⋅(X)).F(X,Y)=\operatorname{Re}\operatorname{tr} \operatorname{cfc}_{\sqrt{\cdot}} \!\left(\operatorname{cfc}_{\sqrt{\cdot}}(X)\,Y\, \operatorname{cfc}_{\sqrt{\cdot}}(X)\right).F(X,Y)=Retrcfc⋅​​(cfc⋅​​(X)Ycfc⋅​​(X)).

The target has entries ρ(r,(a,b)),(s,(a′,b′))/L\rho_{(r,(a,b)),(s,(a',b'))}/Lρ(r,(a,b)),(s,(a′,b′))​/L when its two pair labels agree within each row and column, and zero otherwise. When LLL divides ddd, the family still includes its final, zero block, whose associated projector has rank zero.

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

    Confirmed by the moderator at approval.

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