Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1 (Commuting generators)

Open
QAlgorithms.Papers.Independent.Extend50.P01.commuting_generators

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

prove2quantum

Let U:S→U(2n)U:S\to U(2^n)U:S→U(2n) be a unitary representation of a group, and let GGG be Hermitian. Then

(∀θ∈R ∀s∈S, [e−iθG,Us]=0)⟺(∀s∈S, [G,Us]=0).\bigl(\forall\theta\in\mathbb R\ \forall s\in S,\ [e^{-i\theta G},U_s]=0\bigr)\quad\Longleftrightarrow\quad\bigl(\forall s\in S,\ [G,U_s]=0\bigr).(∀θ∈R ∀s∈S, [e−iθG,Us​]=0)⟺(∀s∈S, [G,Us​]=0).

The equivalence concerns all real angles, rather than a single selected gate angle. It transfers gate equivariance to a condition on the generator.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P01
Formal statement
noncomputable section

open scoped Matrix Kronecker ComplexConjugate Matrix.Norms.L2Operator Manifold ContDiff

open MeasureTheory

namespace QAlgorithms.Papers.Independent.Extend50.P01

attribute [local instance] Classical.propDecidable Classical.decEq

-- PDF pp.3,8: reuse the accepted operator type, exp(-itH), and A X A†.
-- Notation specializes the imported interfaces without introducing duplicate declarations.

local notation "Op" => (fun n : ℕ => QAlgorithms.Papers.Independent.Information100.P21.Op (Qubits n))

local notation "evolve" => QAlgorithms.Papers.Independent.Information100.P32.evolution

local notation "conjugate" => QAlgorithms.conjSuperop

-- PDF pp.3,10–11: the imported quadratic form is Re(psi† A psi).

local notation "expectation" => QAlgorithms.Papers.Independent.Information100.P21.quad

-- PDF pp.5,16–19: accepted active-wire operator, with identities on all spectators.

local notation "onWire" => QAlgorithms.Papers.Independent.Advance50.P49.onWire

-- PDF p.5: the imported phase-free Pauli tensor uses 0=I,1=X,2=Y,3=Z.

local notation "pauliWord" => QAlgorithms.Papers.Independent.Gap48.P33.pauliWord

/-- PDF p.8, Proposition 1: universal angle and symmetry quantifiers on the left of iff. -/
theorem commuting_generators {S : Type*} [Group S] (n : ℕ) (U : S →* Op n)
    (hU : ∀ s, U s ∈ Matrix.unitaryGroup (Qubits n) ℂ) (G : Op n) (hG : G.IsHermitian) :
    (∀ (theta : ℝ) (s : S), Commute (evolve G theta) (U s)) ↔ ∀ s, Commute G (U s) := by sorry

end QAlgorithms.Papers.Independent.Extend50.P01

end
Source
Exploiting symmetry in variational quantum machine learning, arXiv:2205.06217v1, PDF p. 8, Proposition 1 (Commuting generators)
Read-back

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

For every group SSS, every natural number nnn, every multiplicative map U:S→M{0,1}n(C)U:S\to M_{\{0,1\}^n}(\mathbb C)U:S→M{0,1}n​(C) satisfying U(1)=IU(1)=IU(1)=I and U(st)=U(s)U(t)U(st)=U(s)U(t)U(st)=U(s)U(t), with every U(s)U(s)U(s) unitary, and every Hermitian matrix GGG indexed by nnn-bit strings, the following equivalence holds:

(∀θ∈R, ∀s∈S, e−iθGU(s)=U(s)e−iθG)  ⟺  (∀s∈S, GU(s)=U(s)G).\bigl(\forall\theta\in\mathbb R,\ \forall s\in S,\ e^{-i\theta G}U(s)=U(s)e^{-i\theta G}\bigr) \iff \bigl(\forall s\in S,\ GU(s)=U(s)G\bigr).(∀θ∈R, ∀s∈S, e−iθGU(s)=U(s)e−iθG)⟺(∀s∈S, GU(s)=U(s)G).

No positivity assumption on nnn is imposed; n=0n=0n=0 is included.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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