Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Supplemental complex and real connected-generation lemma

Open
QAlgorithms.Papers.Independent.Extend50.P10.smLemmaII3_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.21, SM Lemma II.3, including both complex and real conclusions. -/
theorem smLemmaII3_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. 21, SM Lemma II.3: connected Hamiltonian generates both Lie algebras
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, suppose that H∗=HH^*=HH∗=H and that the graph with vertices {0,…,D−1}\{0,\ldots,D-1\}{0,…,D−1}, in which distinct i,ji,ji,j are adjacent when Hij≠0H_{ij}\ne0Hij​=0 or Hji≠0H_{ji}\ne0Hji​=0, is connected. The intersection of all complex linear subspaces containing HHH and every complex diagonal matrix and closed under [A,B]=AB−BA[A,B]=AB-BA[A,B]=AB−BA is then the entire complex matrix space. Also, every complex D×DD\times DD×D matrix AAA belongs to the intersection of all real linear subspaces containing iHiHiH and every idiag⁡(v)i\operatorname{diag}(v)idiag(v), v∈RDv\in\mathbb R^Dv∈RD, and closed under commutators if and only if A∗=−AA^*=-AA∗=−A. This includes D=1D=1D=1, whose graph is connected without 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