Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Connected Hamiltonian generates complex and real Lie algebras

Open
QAlgorithms.Papers.Independent.Extend50.P10.mainLemma2_connectedGeneration

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

prove2quantum

Let D≥1D\ge1D≥1 and let H∈MD(C)H\in M_D(\mathbb C)H∈MD​(C) be Hermitian. Its index graph, with an edge between distinct indices i,ji,ji,j whenever Hij≠0H_{ij}\ne0Hij​=0, is assumed connected. Write dD\mathfrak d_DdD​ for all complex diagonal matrices and dR,D\mathfrak d_{\mathbb R,D}dR,D​ for all real diagonal matrices. Then

Lie⁡C(dD∪{H})=gl(D,C),Lie⁡R(idR,D∪{iH})=u(D).\operatorname{Lie}_{\mathbb C}(\mathfrak d_D\cup\{H\})=\mathfrak{gl}(D,\mathbb C),\qquad \operatorname{Lie}_{\mathbb R}(i\mathfrak d_{\mathbb R,D}\cup\{iH\})=\mathfrak u(D).LieC​(dD​∪{H})=gl(D,C),LieR​(idR,D​∪{iH})=u(D).

Here u(D)={A:A†=−A}\mathfrak u(D)=\{A:A^\dagger=-A\}u(D)={A:A†=−A}. The result describes both the complex generated algebra and its real unitary form, including the singleton case.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P10
Formal statement
noncomputable section

open scoped Matrix

open QAlgorithms

open QAlgorithms.Schur

open QAlgorithms.Papers.Independent.Information100.P44 (matrixUnit)

namespace QAlgorithms.Papers.Independent.Extend50.P10

attribute [local instance] Classical.propDecidable

/-- PDF p.6, Main Lemma 2: a connected Hermitian Hamiltonian and the full
complex Cartan generate gl(D,C); their imaginary real form generates u(D). -/
theorem mainLemma2_connectedGeneration (D : ℕ) (_hD : 1 ≤ D)
    (H : Matrix (Fin D) (Fin D) ℂ) (hH : PathConnectedHamiltonian H) :
    generatedLie ℂ (complexDiagonals D ∪ {H}) = ⊤ ∧
    ∀ A : Matrix (Fin D) (Fin D) ℂ,
      A ∈ generatedLie ℝ (imaginaryRealDiagonals D ∪ {Complex.I • H}) ↔
        A.conjTranspose = -A := by sorry

end QAlgorithms.Papers.Independent.Extend50.P10

end
Source
Speeding up Learning Quantum States through Group Equivariant Convolutional Quantum Ansätze, arXiv:2112.07611v3, PDF p. 6, Main Lemma 2: connected Hamiltonian plus diagonal controls
Read-back

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

For every natural number D≥1D\ge1D≥1 and every complex D×DD\times DD×D matrix HHH, assume H∗=HH^*=HH∗=H and that the graph on {0,…,D−1}\{0,\ldots,D-1\}{0,…,D−1}, joining distinct i,ji,ji,j when Hij≠0H_{ij}\ne0Hij​=0 or Hji≠0H_{ji}\ne0Hji​=0, is connected. Then the smallest complex linear subspace containing HHH and all complex diagonal matrices and closed under [A,B]=AB−BA[A,B]=AB-BA[A,B]=AB−BA is the entire space of complex D×DD\times DD×D matrices. Moreover, for every complex D×DD\times DD×D matrix AAA, membership in the smallest real linear subspace containing iHiHiH and all matrices idiag⁡(v)i\operatorname{diag}(v)idiag(v), with v∈RDv\in\mathbb R^Dv∈RD, and closed under the same commutator is equivalent to A∗=−AA^*=-AA∗=−A. Each smallest subspace means the intersection of all subspaces satisfying the specified conditions. The case D=1D=1D=1 is included, with connectivity requiring no edges.

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

    Confirmed by the moderator at approval.

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