AFTD Auto-Formalizing Theoretical Domains

quantum_commutator_jacobi_identity

theoremverifiedformalization

For any three continuous linear operators A, B, C on a complex inner product space E, their commutators satisfy the Jacobi identity: ⁅A, ⁅B, C⁆⁆ + ⁅B, ⁅C, A⁆⁆ + ⁅C, ⁅A, B⁆⁆ = 0.

Statement

theorem quantum_commutator_jacobi_identity {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E]
    (A B C : E →L[ℂ] E) :
    ⁅A, ⁅B, C⁆⁆ + ⁅B, ⁅C, A⁆⁆ + ⁅C, ⁅A, B⁆⁆ = 0
Formalizes
Hall, Quantum Theory for Mathematicians, Chapter 3; Reed & Simon, Methods of Modern Mathematical Physics I, ch. VIII
Verified
06 Oct 2026
Axioms
Classical.choiceQuot.soundpropext

Read back from the Lean

For any type $E$ equipped with the structure of a normed additive commutative group and a complex inner product space, and for any three continuous (bounded) $\mathbb{C}$-linear maps $A, B, C : E \toL[ℂ] E$, the Jacobi identity holds for their Lie bracket (commutator): ⁅A, ⁅B, C⁆⁆ + ⁅B, ⁅C, A⁆⁆ + ⁅C, ⁅A, B⁆⁆ = 0, where 0 is the zero continuous linear map on $E$.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

The Jacobi identity for continuous linear operators follows by expanding the Lie bracket into operator multiplication. Rewriting each commutator bracket ⁅X, Y⁆ as X * Y - Y * X yields twelve triple products that cancel in pairs under the axioms of an associative ring.

  1. The Jacobi identity reduces to an algebraic identity in terms of operator multiplication: A * (B * C - C * B) - (B * C - C * B) * A + B * (C * A - A * C) - (C * A - A * C) * B + C * (A * B - B * A) - (A * B - B * A) * C = 0.

    Rewriting with Ring.lie_def replaces each commutator bracket ⁅X, Y⁆ with the difference of products X * Y - Y * X, translating the operator Lie algebra identity into an identity in the underlying associative ring of continuous linear operators.

    line 5

    uses Ring.lie_def

      simp only [Ring.lie_def]
  2. The algebraic sum of operator products evaluates to 0. automation

    The noncomm_ring tactic expands the expressions using the distributive and associative laws of ring multiplication. Each of the six triple products (ABC, ACB, BAC, BCA, CAB, CBA) appears exactly once with a positive sign and once with a negative sign, so all twelve terms cancel in pairs.

    line 6

      noncomm_ring
Ring.lie_def
In any ring, the Lie bracket ⁅x, y⁆ is defined as the commutator x * y - y * x.

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- The commutator bracket on continuous linear operators satisfies the Jacobi identity. -/theorem quantum_commutator_jacobi_identity {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℂ E]    (A B C : E →L[ℂ] E) :    ⁅A, ⁅B, C⁆⁆ + ⁅B, ⁅C, A⁆⁆ + ⁅C, ⁅A, B⁆⁆ = 0 := by  simp only [Ring.lie_def]  noncomm_ring
See it in the graphDiscuss this resultChallenge it