Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Overlap of the canonical optimal resources

Open
QAlgorithms.Papers.Independent.Extend50.P08.optimal_resources_overlap

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

prove2quantum

For N≥1N\ge1N≥1 and d≥2d\ge2d≥2, let PμP_\muPμ​ be the physical Schur–Weyl isotypic projectors, with Specht dimensions dμd_\mudμ​ and multiplicities mμm_\mumμ​. Let vvv be any nonnegative unit principal eigenvector of the actual height-truncated teleportation matrix. Define g=(∑μmμ2)−1g=(\sum_\mu m_\mu^2)^{-1}g=(∑μ​mμ2​)−1, O=dN∑μgmμ/dμ PμO=\sqrt{d^N}\sum_\mu\sqrt{gm_\mu/d_\mu}\,P_\muO=dN​∑μ​gmμ​/dμ​​Pμ​, and O~=dN∑μvμPμ/dμmμ\widetilde O=\sqrt{d^N}\sum_\mu v_\mu P_\mu/\sqrt{d_\mu m_\mu}O=dN​∑μ​vμ​Pμ​/dμ​mμ​​. The vectors ∣Ψ⟩=(O⊗I)∣Ψ+⟩|\Psi\rangle=(O\otimes I)|\Psi^+\rangle∣Ψ⟩=(O⊗I)∣Ψ+⟩ and ∣Ψ~⟩=(O~⊗I)∣Ψ+⟩|\widetilde\Psi\rangle=(\widetilde O\otimes I)|\Psi^+\rangle∣Ψ⟩=(O⊗I)∣Ψ+⟩ are normalized and their root fidelity is

∣⟨Ψ∣Ψ~⟩∣=∑μvμmμ∑νmν2.|\langle\Psi|\widetilde\Psi\rangle|=\frac{\sum_\mu v_\mu m_\mu}{\sqrt{\sum_\nu m_\nu^2}}.∣⟨Ψ∣Ψ⟩∣=∑ν​mν2​​∑μ​vμ​mμ​​.

This compares the specified positive central-filter resources, rather than arbitrary states attaining the same performance.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P08
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder Matrix.Norms.L2Operator

namespace QAlgorithms.Papers.Independent.Extend50.P08

attribute [local instance] Classical.propDecidable Classical.decEq

/-- Lemma 7, PDF pp.14–15 Eq.(51): root fidelity of the two specific
normalized filtered Bell resources, with numerator v_mu m_mu. -/
theorem optimal_resources_overlap (d N : ℕ) (hd : 2 ≤ d) (hN : 0 < N)
    (v : Schur.Partition d N → ℝ) (hv : IsPrincipal v) :
    IsState (resource (by omega) (probabilisticFilter d N)) ∧
    IsState (resource (by omega) (deterministicFilter v)) ∧
    resourceOverlap (by omega) (probabilisticFilter d N) (deterministicFilter v) =
      (∑ mu : Schur.Partition d N, v mu * pbtSchurMultiplicity mu) /
        Real.sqrt (∑ nu : Schur.Partition d N, (pbtSchurMultiplicity nu) ^ 2) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P08

end
Source
Minimal Port-based Teleportation, arXiv:2111.05499v2, PDF p. 14, Lemma 7: overlap of optimal probabilistic and deterministic resources
Read-back

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

For every d,N∈Nd,N\in\mathbb Nd,N∈N with d≥2d\ge2d≥2 and N>0N>0N>0, let Pd,n\mathcal P_{d,n}Pd,n​ be the Young diagrams with nnn cells and at most ddd rows. For λ∈Pd,n\lambda\in\mathcal P_{d,n}λ∈Pd,n​, use its fixed cell numbering to form Rλ,Cλ⊆SnR_\lambda,C_\lambda\subseteq S_nRλ​,Cλ​⊆Sn​, the permutations preserving rows and columns, respectively, and define

(Yλ)g,h=∑a∈Rλ, b∈Cλg=habsgn⁡(b).(Y_\lambda)_{g,h} =\sum_{\substack{a\in R_\lambda,\ b\in C_\lambda\\g=hab}}\operatorname{sgn}(b).(Yλ​)g,h​=a∈Rλ​, b∈Cλ​g=hab​∑​sgn(b).

Let fλf_\lambdafλ​ be the complex dimension of its column span and QλQ_\lambdaQλ​ the orthogonal projection onto that span. Let LπL_\piLπ​ have entry 111 when g=πhg=\pi hg=πh, and zero otherwise, and write χλ(π)=tr⁡(LπQλ)\chi_\lambda(\pi)=\operatorname{tr}(L_\pi Q_\lambda)χλ​(π)=tr(Lπ​Qλ​). Let (Tπ)y,x=1(T_\pi)_{y,x}=1(Tπ​)y,x​=1 when y=x∘π−1y=x\circ\pi^{-1}y=x∘π−1, and zero otherwise, and define

Pλ=fλn!∑π∈Snχλ(π−1)Tπ.P_\lambda=\frac{f_\lambda}{n!}\sum_{\pi\in S_n}\chi_\lambda(\pi^{-1})T_\pi.Pλ​=n!fλ​​π∈Sn​∑​χλ​(π−1)Tπ​.

Let mλm_\lambdamλ​ be the number of fillings by 0,…,d−10,\ldots,d-10,…,d−1 weakly increasing along rows and strictly increasing down columns, and let

Hμ,ν=#{α∈Pd,N−1:α⊆μ, α⊆ν}.H_{\mu,\nu}= \#\{\alpha\in\mathcal P_{d,N-1}:\alpha\subseteq\mu,\ \alpha\subseteq\nu\}.Hμ,ν​=#{α∈Pd,N−1​:α⊆μ, α⊆ν}.

For every real v:Pd,N→Rv:\mathcal P_{d,N}\to\mathbb Rv:Pd,N​→R whose entries are nonnegative, whose squared entries sum to one, and for which vTHv≥wTHwv^{\mathsf T}Hv\ge w^{\mathsf T}HwvTHv≥wTHw for every real www whose squared entries sum to one, define

z=(∑μ∈Pd,Nmμ2)−1,Op=∑μ∈Pd,NdNz mμfμPμ,Ov=∑μ∈Pd,NdN vμfμmμPμ.z=\left(\sum_{\mu\in\mathcal P_{d,N}}m_\mu^2\right)^{-1}, \qquad O_{\mathrm p}=\sum_{\mu\in\mathcal P_{d,N}} \sqrt{d^N}\sqrt{\frac{z\,m_\mu}{f_\mu}}P_\mu, \qquad O_v=\sum_{\mu\in\mathcal P_{d,N}} \frac{\sqrt{d^N}\,v_\mu}{\sqrt{f_\mu m_\mu}}P_\mu.z=​μ∈Pd,N​∑​mμ2​​−1,Op​=μ∈Pd,N​∑​dN​fμ​zmμ​​​Pμ​,Ov​=μ∈Pd,N​∑​fμ​mμ​​dN​vμ​​Pμ​.

For a matrix OOO on {0,…,d−1}N\{0,\ldots,d-1\}^{N}{0,…,d−1}N, define the vector

r(O)=(O⊗I)(d−N/2∑x∈{0,…,d−1}N∣x,x⟩),r(O)=(O\otimes I) \left(d^{-N/2}\sum_{x\in\{0,\ldots,d-1\}^{N}}|x,x\rangle\right),r(O)=(O⊗I)​d−N/2x∈{0,…,d−1}N∑​∣x,x⟩​,

where ∣x,x⟩|x,x\rangle∣x,x⟩ is the coordinate unit vector. The theorem asserts

∥r(Op)∥=1,∥r(Ov)∥=1,∣⟨r(Op),r(Ov)⟩∣=∑μ∈Pd,Nvμmμ∑ν∈Pd,Nmν2.\|r(O_{\mathrm p})\|=1,\qquad \|r(O_v)\|=1,\qquad \left|\langle r(O_{\mathrm p}),r(O_v)\rangle\right| = \frac{\displaystyle\sum_{\mu\in\mathcal P_{d,N}}v_\mu m_\mu} {\displaystyle\sqrt{\sum_{\nu\in\mathcal P_{d,N}}m_\nu^2}}.∥r(Op​)∥=1,∥r(Ov​)∥=1,∣⟨r(Op​),r(Ov​)⟩∣=ν∈Pd,N​∑​mν2​​μ∈Pd,N​∑​vμ​mμ​​.

Here the overlap is the absolute value of the complex inner product, without squaring. All scalar divisions use inverse zero equal to zero.

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