Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1: exact two-body algebra

Open
QAlgorithms.Papers.Independent.Intakenext100.P38.twoBody_exact

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

prove2quantum

Let nnn denote the number of qubits, with computational basis indexed by {0,1}n\{0,1\}^n{0,1}n. Write PxyzP_{xyz}Pxyz​ for the unnormalized sum of distinct phase-zero Pauli words with xxx copies of XXX, yyy copies of the standard Y=(0−ii0)Y=\left(\begin{smallmatrix}0&-i\\i&0\end{smallmatrix}\right)Y=(0i​−i0​), and zzz copies of ZZZ. All Lie closures, linear spans, and dimensions below are over R\mathbb RR; commutators are [A,B]=AB−BA[A,B]=AB-BA[A,B]=AB−BA.

Write un\mathfrak u_nun​ for the skew-Hermitian commutant of the qubit-permuting representation of SnS_nSn​, sn\mathfrak s_nsn​ for its total-trace-zero subalgebra, and dn=[un,un]\mathfrak d_n=[\mathfrak u_n,\mathfrak u_n]dn​=[un​,un​] for its derived algebra, equivalently the algebra with independently traceless multiplicity blocks.

Let G2={P100,P010,P002}G_2=\{P_{100},P_{010},P_{002}\}G2​={P100​,P010​,P002​} and let g2=Lie⁡R{iH:H∈G2}\mathfrak g_2=\operatorname{Lie}_{\mathbb R}\{iH:H\in G_2\}g2​=LieR​{iH:H∈G2​} be its actual dynamical Lie algebra.

For 0≤2μ≤n0\le2\mu\le n0≤2μ≤n, define

Cμ=∑a+b+c=μ(2a)!(2b)!(2c)!a!b!c!P2a,2b,2c.C_\mu=\sum_{a+b+c=\mu}\frac{(2a)!(2b)!(2c)!}{a!b!c!}P_{2a,2b,2c}.Cμ​=a+b+c=μ∑​a!b!c!(2a)!(2b)!(2c)!​P2a,2b,2c​.

In particular C0=IC_0=IC0​=I. For n≥2n\ge2n≥2,

g2=dn+span⁡R{iC1},dim⁡span⁡R{iC1}=1,\mathfrak g_2=\mathfrak d_n+\operatorname{span}_{\mathbb R}\{iC_1\},\qquad \dim\operatorname{span}_{\mathbb R}\{iC_1\}=1,g2​=dn​+spanR​{iC1​},dimspanR​{iC1​}=1,

and this central line lies in z(un)\mathfrak z(\mathfrak u_n)z(un​). Consequently g2\mathfrak g_2g2​ is semi-universal and subspace controllable. For n≥4n\ge4n≥4 it is not universal up to a global phase.

This identifies the exact relative-phase direction that remains accessible. The non-universality qualification corrects the unqualified abstract: at n=2,3n=2,3n=2,3 the central line is the only traceless central direction.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P38
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakenext100.P38

open scoped BigOperators

open QAlgorithms.Papers.Independent.Support50.P30
  (QnnOperator qubitPermutationMatrix PermutationEquivariant)

attribute [local instance] LieRing.ofAssociativeRing

/-- PDF pp.4–6, Theorem 1, (24)–(25): exact algebra and generated central line.
Source correction: nonuniversality only for n>=4; n=2,3 have only one traceless
central direction and are universal. The abstract's 'no control' is replaced by
this precise central line. -/
theorem twoBody_exact {n : ℕ} (hn : 2 ≤ n) :
    (g2 n).toSubmodule = centerlessSymmetricAlgebra n ⊔ centralSpan n 1 ∧
    centralSpan n 1 ≤ algebraCenter (symmetricUnitaryAlgebra n) ∧
    Module.finrank ℝ (centralSpan n 1) = 1 ∧
    IsSemiUniversal (g2 n).toSubmodule ∧
    IsSubspaceControllable (g2 n).toSubmodule ∧
    (4 ≤ n → ¬ IsEquivariantlyUniversal (g2 n).toSubmodule) := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P38

end
Source
On the universality of SnS_nSn​-equivariant kkk-body gates, arXiv:2303.00728v2, PDF p. 4, Theorem 1 / abstract: exact two-body dynamical Lie algebra
Read-back

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

For every natural number n≥2n\ge2n≥2, let Sn(x,y,z)S_n(x,y,z)Sn​(x,y,z) denote the sum of all nnn-fold Pauli tensor products with exactly xxx factors XXX, yyy factors YYY, and zzz factors ZZZ, and identity factors elsewhere. Let un\mathfrak u_nun​ be the real span of all skew-Hermitian matrices on nnn-bit strings that commute with every permutation of the tensor factors, let dn\mathfrak d_ndn​ be the real span of all commutators AB−BAAB-BAAB−BA with A,B∈unA,B\in\mathfrak u_nA,B∈un​, and let sn\mathfrak s_nsn​ be the real span of the elements of un\mathfrak u_nun​ having trace zero. Let g2\mathfrak g_2g2​ be the smallest real Lie subalgebra, with bracket AB−BAAB-BAAB−BA, containing iSn(1,0,0)iS_n(1,0,0)iSn​(1,0,0), iSn(0,1,0)iS_n(0,1,0)iSn​(0,1,0), and iSn(0,0,2)iS_n(0,0,2)iSn​(0,0,2). Put C1=2(Sn(2,0,0)+Sn(0,2,0)+Sn(0,0,2))C_1=2\bigl(S_n(2,0,0)+S_n(0,2,0)+S_n(0,0,2)\bigr)C1​=2(Sn​(2,0,0)+Sn​(0,2,0)+Sn​(0,0,2)) and Z1=span⁡R{iC1}Z_1=\operatorname{span}_{\mathbb R}\{iC_1\}Z1​=spanR​{iC1​}. Then, simultaneously, the underlying real subspace of g2\mathfrak g_2g2​ equals dn+Z1\mathfrak d_n+Z_1dn​+Z1​; Z1Z_1Z1​ is contained in the real span of those elements of un\mathfrak u_nun​ commuting with every element of un\mathfrak u_nun​; dim⁡RZ1=1\dim_{\mathbb R}Z_1=1dimR​Z1​=1; and dn⊆g2⊆un\mathfrak d_n\subseteq\mathfrak g_2\subseteq\mathfrak u_ndn​⊆g2​⊆un​. Moreover, for every nonzero Hermitian idempotent EEE that commutes with all tensor-factor permutations and every element of un\mathfrak u_nun​, and for which every Hermitian idempotent FFF with these same commutation properties satisfying FE=FFE=FFE=F is either 000 or EEE, every B∈dnB\in\mathfrak d_nB∈dn​ admits an M∈g2M\in\mathfrak g_2M∈g2​ with EM=EBEM=EBEM=EB. Finally, if n≥4n\ge4n≥4, the conjunction sn⊆g2⊆un\mathfrak s_n\subseteq\mathfrak g_2\subseteq\mathfrak u_nsn​⊆g2​⊆un​ does not hold.

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me