Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 1: maximally entangled contraction

Proved
QAlgorithms.Papers.Independent.Intakenext100.P52.maximally_entangled_contraction

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

prove2quantum

Let III be a nonempty finite computational basis of cardinality ddd, and let ∣α⟩|\alpha\rangle∣α⟩ be a unit vector on this register. Put ∣ϕ⟩=d−1/2∑i∈I∣i,i⟩|\phi\rangle=d^{-1/2}\sum_{i\in I}|i,i\rangle∣ϕ⟩=d−1/2∑i∈I​∣i,i⟩. With registers ordered 1,2,31,2,31,2,3, destructive contraction of the first two registers gives

(⟨ϕ∣12⊗I3)(∣α⟩1⊗∣ϕ⟩23)=d−1∣α⟩3.(\langle\phi|_{12}\otimes I_3)(|\alpha\rangle_1\otimes|\phi\rangle_{23})=d^{-1}|\alpha\rangle_3.(⟨ϕ∣12​⊗I3​)(∣α⟩1​⊗∣ϕ⟩23​)=d−1∣α⟩3​.

The factor 1/d1/d1/d is retained: this is the subnormalized branch vector, rather than its normalized conditional state.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P52
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate

namespace QAlgorithms.Papers.Independent.Intakenext100.P52

open QAlgorithms.Papers.Independent.Information100.P21 (Vec)

open QAlgorithms.Papers.Independent.Gap20.P01 (applyRect)

/-- Lemma 1, PDF p.3: the displayed output is a destructive bra contraction,
not a normalized conditional state or a projector retaining registers 1 and 2. -/
theorem maximally_entangled_contraction {I : Type*} [Fintype I] [Nonempty I] [DecidableEq I]
    (alpha : Vec I) (halpha : IsState alpha) :
    teleportContraction alpha (finiteMaxEntangled I) (finiteMaxEntangled I) =
      ((Fintype.card I : ℂ)⁻¹) • alpha := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P52

end
Source
An introduction to measurement based quantum computation, arXiv:quant-ph/0508124v2, PDF p. 3, Lemma 1: maximally entangled contraction
Read-back

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

For every finite nonempty index type III with decidable equality and every vector α∈CI\alpha\in\mathbb C^Iα∈CI with Euclidean norm 111, let D=∣I∣D=|I|D=∣I∣ and let ΩI(i,j)=D−1/2\Omega_I(i,j)=D^{-1/2}ΩI​(i,j)=D−1/2 if i=ji=ji=j and 000 otherwise. The vector obtained by contracting α\alphaα and one copy of ΩI\Omega_IΩI​ against another copy of ΩI\Omega_IΩI​ equals D−1αD^{-1}\alphaD−1α; explicitly, for every ℓ∈I\ell\in Iℓ∈I,

∑i,j∈IΩI(i,j)‾ αi ΩI(j,ℓ)=αℓD.\sum_{i,j\in I}\overline{\Omega_I(i,j)}\,\alpha_i\,\Omega_I(j,\ell) =\frac{\alpha_\ell}{D}.i,j∈I∑​ΩI​(i,j)​αi​ΩI​(j,ℓ)=Dαℓ​​.

The statement includes D=1D=1D=1.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me