Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Qubit resource overlap identity and limit

Open
QAlgorithms.Papers.Independent.Extend50.P08.qubit_resources_overlap_limit

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

prove2quantum

Let N≥1N\ge1N≥1. For qubit Young diagrams use the principal vector vμ=2sin⁡(π(μ1−μ2+1)/(N+2))/N+2v_\mu=2\sin(\pi(\mu_1-\mu_2+1)/(N+2))/\sqrt{N+2}vμ​=2sin(π(μ1​−μ2​+1)/(N+2))/N+2​ and the canonical optimal probabilistic and deterministic filters of (A5),(A9). Their root fidelity RNR_NRN​ satisfies

RN=2N+26(N+1)(N+3)∑k=0⌊N/2⌋(N−2k+1)sin⁡ ⁣(π(N−2k+1)N+2),RN⟶6π.R_N=\frac{2}{N+2}\sqrt{\frac6{(N+1)(N+3)}}\sum_{k=0}^{\lfloor N/2\rfloor}(N-2k+1)\sin\!\left(\frac{\pi(N-2k+1)}{N+2}\right),\qquad R_N\longrightarrow\frac{\sqrt6}{\pi}.RN​=N+22​(N+1)(N+3)6​​k=0∑⌊N/2⌋​(N−2k+1)sin(N+2π(N−2k+1)​),RN​⟶π6​​.

Here k=N/2−jk=N/2-jk=N/2−j reindexes the parity-respecting source spin set. The stated vector is a nonnegative unit principal vector. The full lemma’s unrestricted maximum clause is separately deferred; this item records exactly its identity and limit subresult.

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 8, PDF pp.15–16 Eq.(56) and its limit clause only.
The unrestricted rounded-decimal maximum is separately deferred. -/
theorem qubit_resources_overlap_limit :
    (∀ N : ℕ, 0 < N → IsPrincipal (qubitPrincipal N) ∧
      qubitResourceOverlap N = qubitOverlapFormula N) ∧
    Filter.Tendsto qubitResourceOverlap Filter.atTop (nhds (Real.sqrt 6 / Real.pi)) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P08

end
Source
Minimal Port-based Teleportation, arXiv:2111.05499v2, PDF p. 15, Lemma 8, Eq.(56) and limit clause: qubit optimal-resource overlap
Read-back

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

For each natural number NNN, let P2,N\mathcal P_{2,N}P2,N​ be the Young diagrams with NNN cells and at most two rows, and write λ0,λ1\lambda_0,\lambda_1λ0​,λ1​ for the lengths of their first two rows, taking a missing row to have length zero. Define

vN(λ)=2N+2 sin⁡ ⁣(π(λ0−λ1+1)N+2).v_N(\lambda)= \frac{2}{\sqrt{N+2}}\, \sin\!\left(\frac{\pi(\lambda_0-\lambda_1+1)}{N+2}\right).vN​(λ)=N+2​2​sin(N+2π(λ0​−λ1​+1)​).

For any diagram λ\lambdaλ with nnn cells and at most two rows, use its fixed cell numbering to define the row-preserving and column-preserving permutation sets Rλ,Cλ⊆SnR_\lambda,C_\lambda\subseteq S_nRλ​,Cλ​⊆Sn​, and let

(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, QλQ_\lambdaQλ​ the orthogonal projection onto that span, LπL_\piLπ​ the matrix with entry 111 when g=πhg=\pi hg=πh, and χλ(π)=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λ​ count fillings by 0,10,10,1 weakly increasing along rows and strictly increasing down columns. Set

zN=(∑μ∈P2,Nmμ2)−1,Op,N=∑μ∈P2,N2NzNmμfμPμ,Od,N=∑μ∈P2,N2N vN(μ)fμmμPμ.z_N=\left(\sum_{\mu\in\mathcal P_{2,N}}m_\mu^2\right)^{-1}, \quad O_{\mathrm p,N}= \sum_{\mu\in\mathcal P_{2,N}} \sqrt{2^N}\sqrt{\frac{z_Nm_\mu}{f_\mu}}P_\mu, \quad O_{\mathrm d,N}= \sum_{\mu\in\mathcal P_{2,N}} \frac{\sqrt{2^N}\,v_N(\mu)}{\sqrt{f_\mu m_\mu}}P_\mu.zN​=​μ∈P2,N​∑​mμ2​​−1,Op,N​=μ∈P2,N​∑​2N​fμ​zN​mμ​​​Pμ​,Od,N​=μ∈P2,N​∑​fμ​mμ​​2N​vN​(μ)​Pμ​.

For either filter OOO, put

rN(O)=(O⊗I)(2−N/2∑x∈{0,1}N∣x,x⟩),aN=∣⟨rN(Op,N),rN(Od,N)⟩∣,r_N(O)=(O\otimes I) \left(2^{-N/2}\sum_{x\in\{0,1\}^{N}}|x,x\rangle\right), \qquad a_N=\left|\langle r_N(O_{\mathrm p,N}),r_N(O_{\mathrm d,N})\rangle\right|,rN​(O)=(O⊗I)​2−N/2x∈{0,1}N∑​∣x,x⟩​,aN​=∣⟨rN​(Op,N​),rN​(Od,N​)⟩∣,

with kets the coordinate unit vectors and all zero denominators interpreted using inverse zero equal to zero. For N>0N>0N>0, define Hμ,νH_{\mu,\nu}Hμ,ν​ to be the number of diagrams with N−1N-1N−1 cells and at most two rows contained in both μ\muμ and ν\nuν. The theorem asserts that, for every N>0N>0N>0, vN(μ)≥0v_N(\mu)\ge0vN​(μ)≥0 for every μ\muμ, ∑μvN(μ)2=1\sum_\mu v_N(\mu)^2=1∑μ​vN​(μ)2=1, and

wTHw≤vNTHvNfor every real w with ∑μwμ2=1,w^{\mathsf T}Hw\le v_N^{\mathsf T}Hv_N \quad\text{for every real }w\text{ with }\sum_\mu w_\mu^2=1,wTHw≤vNT​HvN​for every real w with μ∑​wμ2​=1,

and also that

aN=2N+26(N+1)(N+3)∑k=0⌊N/2⌋(N−2k+1)sin⁡ ⁣(π(N−2k+1)N+2).a_N= \frac{2}{N+2} \sqrt{\frac{6}{(N+1)(N+3)}} \sum_{k=0}^{\lfloor N/2\rfloor} (N-2k+1) \sin\!\left(\frac{\pi(N-2k+1)}{N+2}\right).aN​=N+22​(N+1)(N+3)6​​k=0∑⌊N/2⌋​(N−2k+1)sin(N+2π(N−2k+1)​).

Finally, the sequence aNa_NaN​, defined for every natural NNN, converges to 6/π\sqrt6/\pi6​/π as N→∞N\to\inftyN→∞. The normalization, maximizing property, and finite-sum identity are asserted only for positive NNN.

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