Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§5.4.3 — the double commutant of ⨁JInJ⊗MdJ\bigoplus_J I_{n_J}\otimes M_{d_J}⨁J​InJ​​⊗MdJ​​ is the algebra itself

Proved
BaconThesis.Commutant.double_commutant

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

linear-algebrap2o-gran-per-chapterp2o-plan-bookp2o-v1quantum-informationrepresentation-theory

Let J\mathcal JJ be a finite set of irrep labels with degeneracies nJ≥1n_J\ge1nJ​≥1 and irrep dimensions dJ≥1d_J\ge1dJ​≥1, let WWW be a unitary from Cι\mathbb C^{\iota}Cι onto ⨁JCnJ⊗CdJ\bigoplus_J\mathbb C^{n_J}\otimes\mathbb C^{d_J}⨁J​CnJ​⊗CdJ​, and let

A={W†(⨁JInJ⊗XJ)W:XJ∈MdJ}.A=\Bigl\{W^\dagger\Bigl(\bigoplus_J I_{n_J}\otimes X_J\Bigr)W : X_J\in M_{d_J}\Bigr\}.A={W†(J⨁​InJ​​⊗XJ​)W:XJ​∈MdJ​​}.

Then the commutant of the commutant of AAA is AAA:

(A′)′=A.(A')'=A .(A′)′=A.

Together with (5.39) this says that AAA and A′A'A′ determine each other: an algebra of the form (5.38) is recovered from its commutant.

Formalization Note The commutant is Mathlib's Set.centralizer.

Differences from the source:

  • reading: "the commutant of the commutant of an algebra is itself the algebra" (said of the OSR algebra, a †-closed algebra containing the identity) → A in the decomposed form (5.38); reason: by the cited Theorem 5.4.1 every †-closed algebra containing the identity has this form, and the sentence is not true of arbitrary algebras (the upper-triangular 2 × 2 matrices have commutant ℂI and double commutant M₂)
  • encoding: A ≅ ⊕J I{n_J} ⊗ M_{d_J} → A = {W† (⊕J I{n_J} ⊗ X_J) W} for an explicit unitary W; reason: the basis change of Theorem 5.4.1 made explicit; same instances
  • encoding: irreps J ∈ 𝒥 of Theorem 5.4.1 (each irrep present, with a degeneracy n_J and a dimension d_J) → hypotheses ∀ J, 0 < n J and ∀ J, 0 < d J; reason: the book's irreps and degeneracies are nonzero; an empty block would contribute nothing to any operator, so no instance changes
Preamble
import Mathlib
import Definitions.Def_BaconThesis_Commutant_algebraA
Formal statement
namespace BaconThesis.Commutant

/-- **The double commutant of `⊕_J I_{n_J} ⊗ M_{d_J}` is the algebra itself.**
Bacon, *Decoherence, Control, and Symmetry in Quantum Computers*, arXiv:quant-ph/0305025v1,
§5.4.3, p.80 (PDF p.97): "The commutant of the commutant of an algebra is itself the algebra
`(A′)′ = A`", stated there for the algebras of the form (5.38).

Let `𝒥` be a finite set of irrep labels with degeneracies `n_J ≥ 1` and irrep dimensions
`d_J ≥ 1`, let `W` be a unitary from `ℂ^ι` onto `⊕_J ℂ^{n_J} ⊗ ℂ^{d_J}`, and let
`A = {W† (⊕_J I_{n_J} ⊗ X_J) W : X_J ∈ M_{d_J}}`. Then `(A′)′ = A`.

**Formalization Note.** The commutant is Mathlib's `Set.centralizer`. The book states the double
commutant property for the OSR algebra, a †-closed algebra containing the identity, which
Theorem 5.4.1 (cited) puts in the form (5.38); that form is the hypothesis here. -/
theorem double_commutant {𝒥 ι : Type} [Fintype 𝒥] [DecidableEq 𝒥] [Fintype ι] [DecidableEq ι]
    (n d : 𝒥 → ℕ) (hn : ∀ J, 0 < n J) (hd : ∀ J, 0 < d J)
    (W : Matrix (Σ J : 𝒥, Fin (n J) × Fin (d J)) ι ℂ)
    (hW₁ : W.conjTranspose * W = 1) (hW₂ : W * W.conjTranspose = 1) :
    Set.centralizer (Set.centralizer (algebraA n d W)) = algebraA n d W := by sorry

end BaconThesis.Commutant
Source
Bacon, Decoherence, Control, and Symmetry in Quantum Computers, arXiv:quant-ph/0305025v1, §5.4.3, p.80 (PDF p.97)
Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 1, 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