Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 3: orthogonality of the full Lie closure

Open
QAlgorithms.Papers.Independent.Intakenext100.P38.twoBody_orthogonal

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.

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, every M∈g2M\in\mathfrak g_2M∈g2​, and each 0≤2μ≤n0\le2\mu\le n0≤2μ≤n with μ≠1\mu\ne1μ=1,

Tr⁡(MCμ)=0.\operatorname{Tr}(MC_\mu)=0.Tr(MCμ​)=0.

Here MMM is already skew-Hermitian. The conclusion covers all nested commutators and real combinations, rather than just the original generators.

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 p.14, Corollary 3: orthogonality for every matrix in the full Lie closure.
M is already skew-Hermitian; no additional factor i is inserted. -/
theorem twoBody_orthogonal {n : ℕ} (hn : 2 ≤ n)
    (M : QnnOperator n) (hM : M ∈ g2 n) (mu : ℕ) (hmu : 2 * mu ≤ n) (hne : mu ≠ 1) :
    Matrix.trace (M * centralElement n mu) = 0 := 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. 14, corollary3
Read-back

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

Let n≥2n\ge2n≥2 be a natural number. For nonnegative integers x,y,zx,y,zx,y,z, let Sx,y,zS_{x,y,z}Sx,y,z​ be the unnormalized sum of all nnn-fold Pauli tensor products with exactly xxx factors XXX, yyy factors YYY, and zzz factors ZZZ, and identity factors elsewhere; an empty sum is zero. Let g2\mathfrak g_2g2​ be the smallest real Lie subalgebra of the complex matrices on {0,1}n\{0,1\}^n{0,1}n, with bracket AB−BAAB-BAAB−BA, containing iS1,0,0iS_{1,0,0}iS1,0,0​, iS0,1,0iS_{0,1,0}iS0,1,0​, and iS0,0,2iS_{0,0,2}iS0,0,2​. For every M∈g2M\in\mathfrak g_2M∈g2​ and every natural number μ\muμ satisfying 2μ≤n2\mu\le n2μ≤n and μ≠1\mu\ne1μ=1, define

Cn,μ=∑a,b,c≥0a+b+c=μ(2a)!(2b)!(2c)!a! b! c! S2a,2b,2c.C_{n,\mu} =\sum_{\substack{a,b,c\ge0\\a+b+c=\mu}} \frac{(2a)!(2b)!(2c)!}{a!\,b!\,c!}\,S_{2a,2b,2c}.Cn,μ​=a,b,c≥0a+b+c=μ​∑​a!b!c!(2a)!(2b)!(2c)!​S2a,2b,2c​.

Then tr⁡(MCn,μ)=0\operatorname{tr}(MC_{n,\mu})=0tr(MCn,μ​)=0 as a complex-number equality. In particular, μ=0\mu=0μ=0 is permitted, where Cn,0=IC_{n,0}=ICn,0​=I and the conclusion is tr⁡(M)=0\operatorname{tr}(M)=0tr(M)=0.

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