Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Example 14 / Eqs.(58)–(59): counterexample to the earlier overlap rule

Open
QAlgorithms.Papers.Independent.Extend50.P17.overlap_counterexample

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

prove2quantum

For n=6n=6n=6, N=4N=4N=4, k=2k=2k=2 and an integer d≥1d\ge1d≥1, transpose the last two tensor factors and define normalized signals σ1=d−4V(2)[(45)(36)]\sigma_1=d^{-4}V^{(2)}[(45)(36)]σ1​=d−4V(2)[(45)(36)] and σ2=d−4V(2)[(35)(46)]\sigma_2=d^{-4}V^{(2)}[(35)(46)]σ2​=d−4V(2)[(35)(46)]. Then

Tr⁡(σ1σ2)=d−4.\operatorname{Tr}(\sigma_1\sigma_2)=d^{-4}.Tr(σ1​σ2​)=d−4.

For d≥2d\ge2d≥2 this differs from d−6d^{-6}d−6, the value predicted by the earlier overlap rule. Thus identical selected port sets do not by themselves determine the claimed earlier overlap value; the internal pairing structure matters.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P17
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Extend50.P17

open Filter MeasureTheory

open scoped BigOperators Matrix ComplexOrder Matrix.Norms.L2Operator

attribute [local instance] Classical.propDecidable

/-- PDF p.12, Example 14: true overlap d^-4, versus the incorrect earlier d^-6 rule. -/
theorem overlap_counterexample (d : ℕ) (hd : 1 ≤ d) :
    (mpbtSignal d 4 2 examplePortA * mpbtSignal d 4 2 examplePortB).trace =
      ((d : ℂ)^4)⁻¹ ∧
    (2 ≤ d → (mpbtSignal d 4 2 examplePortA * mpbtSignal d 4 2 examplePortB).trace ≠
      ((d : ℂ)^6)⁻¹) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P17

end
Source
Multiport based teleportation -- transmission of a large amount of quantum information, arXiv:2008.00856v3, PDF p. 12, Example 14 / Eqs.(58)–(59): counterexample to the earlier overlap rule
Read-back

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

For every natural number d≥1d\ge1d≥1, define a,b:{0,1}↪{0,1,2,3}a,b:\{0,1\}\hookrightarrow\{0,1,2,3\}a,b:{0,1}↪{0,1,2,3} by a(0)=2a(0)=2a(0)=2, a(1)=3a(1)=3a(1)=3, b(0)=3b(0)=3b(0)=3, and b(1)=2b(1)=2b(1)=2. Write [q]={0,…,q−1}[q]=\{0,\ldots,q-1\}[q]={0,…,q−1}, and let pa=(2    5)(3    4)p_a=(2\;\;5)(3\;\;4)pa​=(25)(34) and pb=(3    5)(2    4)p_b=(3\;\;5)(2\;\;4)pb​=(35)(24) be permutations of [6][6][6]. For c∈{a,b}c\in\{a,b\}c∈{a,b}, define a matrix ScS_cSc​, indexed by [d][4]×[d][2][d]^{[4]}\times[d]^{[2]}[d][4]×[d][2], by

(Sc)(u,v),(u′,v′)={(d4)−1,u∥v′=(u′∥v)∘pc−1,0,otherwise,(S_c)_{(u,v),(u',v')}= \begin{cases} (d^4)^{-1},&u\mathbin{\|}v'=(u'\mathbin{\|}v)\circ p_c^{-1},\\ 0,&\text{otherwise}, \end{cases}(Sc​)(u,v),(u′,v′)​={(d4)−1,0,​u∥v′=(u′∥v)∘pc−1​,otherwise,​

where ∥\|∥ denotes concatenation and the scalar is complex. Then both

tr⁡(SaSb)=(d4)−1and(d≥2 ⟹ tr⁡(SaSb)≠(d6)−1)\operatorname{tr}(S_aS_b)=(d^4)^{-1} \quad\text{and}\quad \bigl(d\ge2\ \Longrightarrow\ \operatorname{tr}(S_aS_b)\ne(d^6)^{-1}\bigr)tr(Sa​Sb​)=(d4)−1and(d≥2 ⟹ tr(Sa​Sb​)=(d6)−1)

hold in C\mathbb CC. The hypothesis permits d=1d=1d=1; the inequality assertion is conditional on d≥2d\ge2d≥2.

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