Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Deterministic PBT fidelity from representation dimensions and multiplicities

Open
QAlgorithms.Papers.Independent.Extend50.P28.fidelityFormula

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

prove2quantum

Let n,d≥2n,d\ge2n,d≥2, let H=(Cd)⊗nH=(\mathbb C^d)^{\otimes n}H=(Cd)⊗n with its fixed computational orthonormal basis, and put N=n−1N=n-1N=n−1. For a=1,…,Na=1,\ldots,Na=1,…,N, let TaT_aTa​ be the last-factor partial transpose of the tensor permutation swapping aaa and nnn, and put ρ=∑aTa\rho=\sum_aT_aρ=∑a​Ta​. Write dηd_\etadη​ for the actual Specht dimension and mηm_\etamη​ for the multiplicity of that Specht module in the appropriate tensor permutation representation; these are defined by dimensions of actual intertwiner spaces. Put σa=d−NTa\sigma_a=d^{-N}T_aσa​=d−NTa​ and ρ~=∑aσa\widetilde\rho=\sum_a\sigma_aρ​=∑a​σa​. The standard deterministic PBT entanglement fidelity for NNN normalized maximally entangled resource pairs and the completed square-root measurement is the computed quantity Fn(d)=d−2∑aTr⁡(σaρ~−1/2σaρ~−1/2)F_n(d)=d^{-2}\sum_a\operatorname{Tr}(\sigma_a\widetilde\rho^{-1/2}\sigma_a\widetilde\rho^{-1/2})Fn​(d)=d−2∑a​Tr(σa​ρ​−1/2σa​ρ​−1/2). Every inverse half-power is the spectral support inverse, equal to zero on the kernel. A branch μ⊃α\mu\supset\alphaμ⊃α adds one box; both shapes have at most d rows. Then

Fn(d)=1dn+1∑α⊢n−2h(α)≤d(∑μ⊢n−1,μ⊃αh(μ)≤ddμmμ)2.F_n(d)=\frac{1}{d^{n+1}}\sum_{\substack{\alpha\vdash n-2\\h(\alpha)\le d}}\left(\sum_{\substack{\mu\vdash n-1,\,\mu\supset\alpha\\h(\mu)\le d}}\sqrt{d_\mu m_\mu}\right)^2.Fn​(d)=dn+11​α⊢n−2h(α)≤d​∑​​μ⊢n−1,μ⊃αh(μ)≤d​∑​dμ​mμ​​​2.

The outer sum remains outside the square, and the denominator is d^(N+2). The source rederives this result and credits independent work [28].

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P28
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P28

open scoped Matrix Matrix.Norms.L2Operator ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

local notation "Shape" => (fun k : ℕ => QAlgorithms.Schur.Partition k k)

local notation "Word" => (fun d n : ℕ => Fin n → Fin d)

/-- PDF p.24, Eq.(120): deterministic PBT entanglement fidelity. The sum
over physical lower shapes is outside the square; both multiplicities are actual
Specht occurrence counts. N=n-1, so d^(N+2)=d^(n+1). -/
theorem fidelityFormula (n d : ℕ) (hn : 2 ≤ n) (hd : 2 ≤ d) :
    pbtFidelity d (n - 1) =
      (∑ alpha : QAlgorithms.Schur.Partition d (n - 2),
        (∑ nu : QAlgorithms.Schur.Partition d (n - 1),
          if alpha.val.cells ⊆ nu.val.cells then
            Real.sqrt ((irrepDim nu : ℝ) * (tensorMultiplicity d nu : ℝ)) else 0) ^ 2) /
      (d : ℝ) ^ (n + 1) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P28

end
Source
Simplified formalism of the algebra of partially transposed permutation operators with applications, arXiv:1708.02434v2, PDF p. 24, Section 5.3 unnumbered main result
Read-back

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

Let n,dn,dn,d be natural numbers with n≥2n\ge2n≥2 and d≥2d\ge2d≥2. For a Young diagram λ\lambdaλ with rrr cells and zeroth column length at most ddd, use the fixed numbering of its cells by {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1}, and let Rλ,Cλ⊆SrR_\lambda,C_\lambda\subseteq S_rRλ​,Cλ​⊆Sr​ consist of the permutations preserving respectively cell rows and cell columns. Let Sλ⊆CSrS_\lambda\subseteq\mathbb C^{S_r}Sλ​⊆CSr​ be the range of the matrix Yλ(g,h)=∑a∈Rλ∑b∈Cλsgn⁡(b)1{g=hab}Y_\lambda(g,h)=\sum_{a\in R_\lambda}\sum_{b\in C_\lambda}\operatorname{sgn}(b)\mathbf1_{\{g=hab\}}Yλ​(g,h)=∑a∈Rλ​​∑b∈Cλ​​sgn(b)1{g=hab}​, let PλP_\lambdaPλ​ be the orthogonal projection onto SλS_\lambdaSλ​, and put sλ=dim⁡CSλs_\lambda=\dim_{\mathbb C}S_\lambdasλ​=dimC​Sλ​. Let Lσeh=eσhL_\sigma e_h=e_{\sigma h}Lσ​eh​=eσh​ and Tσex=ex∘σ−1T_\sigma e_x=e_{x\circ\sigma^{-1}}Tσ​ex​=ex∘σ−1​, the latter acting on the Euclidean space indexed by length-rrr words over {0,…,d−1}\{0,\ldots,d-1\}{0,…,d−1}. Define md(λ)m_d(\lambda)md​(λ) as the complex dimension of the space of complex linear maps F:Sλ→C{0,…,d−1}{0,…,r−1}F:S_\lambda\to\mathbb C^{\{0,\ldots,d-1\}^{\{0,\ldots,r-1\}}}F:Sλ​→C{0,…,d−1}{0,…,r−1} satisfying F(PλLσv)=TσF(v)F(P_\lambda L_\sigma v)=T_\sigma F(v)F(Pλ​Lσ​v)=Tσ​F(v) for every σ,v\sigma,vσ,v. To define the left side below, put N=n−1N=n-1N=n−1, and on length-N+1N+1N+1 words define Da(x,y)=1D_a(x,y)=1Da​(x,y)=1 precisely when xa=xNx_a=x_Nxa​=xN​, ya=yNy_a=y_Nya​=yN​, and xb=ybx_b=y_bxb​=yb​ for every b∉{a,N}b\notin\{a,N\}b∈/{a,N}, and Da(x,y)=0D_a(x,y)=0Da​(x,y)=0 otherwise. Set Ca=d−NDaC_a=d^{-N}D_aCa​=d−NDa​, C=∑a=0N−1CaC=\sum_{a=0}^{N-1}C_aC=∑a=0N−1​Ca​, L=f(C)L=f(C)L=f(C) by real continuous functional calculus for f(t)=1/tf(t)=1/\sqrt tf(t)=1/t​, with f(t)=0f(t)=0f(t)=0 for t≤0t\le0t≤0, and Fd(N)=d−2∑a=0N−1Re⁡tr⁡(CaLCaL)F_d(N)=d^{-2}\sum_{a=0}^{N-1}\operatorname{Re}\operatorname{tr}(C_aLC_aL)Fd​(N)=d−2∑a=0N−1​Retr(Ca​LCa​L). Then

Fd(n−1)=1d n+1∑α: ∣α∣=n−2colLen⁡α(0)≤d(∑ν: ∣ν∣=n−1colLen⁡ν(0)≤dα⊆νsν md(ν))2,F_d(n-1)= \frac{1}{d^{\,n+1}} \sum_{\substack{\alpha:\ |\alpha|=n-2\\ \operatorname{colLen}_\alpha(0)\le d}} \left( \sum_{\substack{\nu:\ |\nu|=n-1\\ \operatorname{colLen}_\nu(0)\le d\\ \alpha\subseteq\nu}} \sqrt{s_\nu\,m_d(\nu)} \right)^2,Fd​(n−1)=dn+11​α: ∣α∣=n−2colLenα​(0)≤d​∑​​ν: ∣ν∣=n−1colLenν​(0)≤dα⊆ν​∑​sν​md​(ν)​​2,

where the sums range over Young diagrams and α⊆ν\alpha\subseteq\nuα⊆ν means containment of their cell sets. The case n=2n=2n=2, with the empty diagram in the outer sum, 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