Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§2.4: impossibility of perfect quantum majority

Proved
QAlgorithms.Papers.Independent.Gap48.P23.no_perfect_majority

by Goku · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Work in finite-dimensional complex Hilbert spaces with the indicated computational bases. A channel is a fixed completely positive trace-preserving map, independent of the unknown word xxx and common basis UUU. Write ρxU=U⊗n∣x⟩⟨x∣U†⊗n\rho_x^U=U^{\otimes n}|x\rangle\langle x|U^{\dagger\otimes n}ρxU​=U⊗n∣x⟩⟨x∣U†⊗n. For an input promise PPP, let Ff,P(Φ)F_{f,P}(\Phi)Ff,P​(Φ) be the minimum of ⟨f(x)∣U†Φ(ρxU)U∣f(x)⟩\langle f(x)|U^\dagger\Phi(\rho_x^U)U|f(x)\rangle⟨f(x)∣U†Φ(ρxU​)U∣f(x)⟩ over every allowed xxx and U∈U(d)U\in U(d)U∈U(d), and let Ff,PF_{f,P}Ff,P​ be its supremum over channels. An omitted PPP means all words. Boolean functions use d=2d=2d=2; positive odd nnn is imposed whenever symmetry and equivariance of a Boolean function are required.

Let n≥3n\ge3n≥3 be odd. Every channel Φ\PhiΦ fails on some word and basis:

∀Φ ∃x,U:Φ(ρxU)≠U∣MAJ⁡n(x)⟩⟨MAJ⁡n(x)∣U†.\forall\Phi\ \exists x,U:\quad \Phi(\rho_x^U)\ne U|\operatorname{MAJ}_n(x)\rangle\langle\operatorname{MAJ}_n(x)|U^\dagger.∀Φ ∃x,U:Φ(ρxU​)=U∣MAJn​(x)⟩⟨MAJn​(x)∣U†.

This is an obstruction to exact ideal output equality for every input.

This is the stated interface for the corresponding result of the paper.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P23
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Gap48.P23

open MeasureTheory

open scoped ComplexConjugate Matrix ComplexOrder

attribute [local instance] Classical.propDecidable

attribute [local instance] Classical.decEq

-- Exact frozen coordinate helpers; no paper-local redeclarations.

open QAlgorithms.Papers.Independent.Information100.P58 (Word)

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

open QAlgorithms.Papers.Independent.Information100.P63 (tensorPower)

/-- PDF pp.13-14, section 2.4: every fixed CPTP map fails exact ideal equality
on some input and common basis, for every odd n>=3. -/
theorem no_perfect_majority (n : ℕ) (hn : 3 ≤ n) (hodd : Odd n)
    (Phi : Superop (Word n 2) (Fin 2)) (hPhi : IsChannel Phi) :
    ∃ x : Word n 2, ∃ U : Matrix.unitaryGroup (Fin 2) ℂ,
      Phi (encodedInput U.val x) ≠ targetDensity U.val (majority n x) := by sorry

end QAlgorithms.Papers.Independent.Gap48.P23

end
Source
Quantum majority vote, arXiv:2211.11729v1, PDF p. 13, §2.4: impossibility of perfect quantum majority
Read-back

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

For every odd natural number n≥3n\ge3n≥3 and every map Φ\PhiΦ from complex matrices indexed by binary words x:{0,…,n−1}→{0,1}x:\{0,\ldots,n-1\}\to\{0,1\}x:{0,…,n−1}→{0,1} to 2×22\times22×2 complex matrices that has a finite Kraus representation

Φ(X)=∑ℓ=0s−1KℓXKℓ†,∑ℓ=0s−1Kℓ†Kℓ=I,\Phi(X)=\sum_{\ell=0}^{s-1}K_\ell X K_\ell^\dagger, \qquad \sum_{\ell=0}^{s-1}K_\ell^\dagger K_\ell=I,Φ(X)=ℓ=0∑s−1​Kℓ​XKℓ†​,ℓ=0∑s−1​Kℓ†​Kℓ​=I,

there exist a binary word xxx and a 2×22\times22×2 unitary matrix UUU such that

Φ ⁣(U⊗n∣x⟩⟨x∣(U†)⊗n)≠U∣fn(x)⟩⟨fn(x)∣U†,\Phi\!\left(U^{\otimes n}|x\rangle\langle x|(U^\dagger)^{\otimes n}\right) \ne U|f_n(x)\rangle\langle f_n(x)|U^\dagger,Φ(U⊗n∣x⟩⟨x∣(U†)⊗n)=U∣fn​(x)⟩⟨fn​(x)∣U†,

where fn(x)=1f_n(x)=1fn​(x)=1 if nnn is strictly less than twice the number of ones in xxx, and fn(x)=0f_n(x)=0fn​(x)=0 otherwise. The vectors are coordinate basis vectors, and (U⊗n)y,x=∏iUyi,xi(U^{\otimes n})_{y,x}=\prod_iU_{y_i,x_i}(U⊗n)y,x​=∏i​Uyi​,xi​​.

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

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 22, 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