Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Siegel's Fields §IIA: 3-vectors as traceless hermitian 2×22\times22×2 matrices

Definition
SiegelFields_SpinDefs

by LG · Sep 25, 2026 · Mathlib 0df444a (Lean v4.33.1)

lie-groupsmathematical-physicsspin

Basic objects of Siegel's treatment of rotations and spin (Fields, §IIA1–IIA2, pp. 110–115).

  1. The matrix C=(0−ii0)C=\begin{pmatrix}0&-i\\ i&0\end{pmatrix}C=(0i​−i0​) (p. 112).
  2. A matrix V∈M2(C)V\in M_2(\mathbb C)V∈M2​(C) is a 3-vector if V†=VV^\dagger=VV†=V and tr⁡V=0\operatorname{tr}V=0trV=0 (p. 111).
  3. The book's basis (p. 111): for v=(v1,v2,v3)∈R3v=(v_1,v_2,v_3)\in\mathbb R^3v=(v1​,v2​,v3​)∈R3
V(v)=12(v1v2−iv3v2+iv3−v1),V(v)=\frac1{\sqrt2}\begin{pmatrix}v_1& v_2-iv_3\\ v_2+iv_3&-v_1\end{pmatrix},V(v)=2​1​(v1​v2​+iv3​​v2​−iv3​−v1​​),

and Ei=V(ei)E_i=V(e_i)Ei​=V(ei​) for the standard basis vectors eie_iei​. 4. For U∈M2(C)U\in M_2(\mathbb C)U∈M2​(C), the real 3×33\times33×3 matrix R(U)R(U)R(U) with entries

R(U)ij=Re⁡tr⁡(Ei U Ej U†),R(U)_{ij}=\operatorname{Re}\operatorname{tr}\big(E_i\,U\,E_j\,U^\dagger\big),R(U)ij​=Retr(Ei​UEj​U†),

which is the matrix of V↦UVU†V\mapsto UVU^\daggerV↦UVU† in the basis E1,E2,E3E_1,E_2,E_3E1​,E2​,E3​ when UUU is unitary.

These definitions are shared by every statement of the mission.

Formalization Note Components are indexed by Fin 3 ={0,1,2}=\{0,1,2\}={0,1,2}, so the book's V1,V2,V3V^1,V^2,V^3V1,V2,V3 are v 0, v 1, v 2. rotationOf is defined for every 2×22\times22×2 matrix; the theorems restrict to unitary or special unitary UUU.

Definition code
import Mathlib


open Matrix Complex

namespace SiegelFields

/-- The imaginary, hermitian matrix `C = [[0, -i], [i, 0]]` (Siegel, *Fields*, §IIA1, p. 112). -/
def matC : Matrix (Fin 2) (Fin 2) ℂ := !![0, -I; I, 0]

/-- A 2×2 complex matrix represents a 3-vector when it is hermitian and traceless
(Siegel, *Fields*, §IIA1, p. 111: `V = V†`, `tr V = 0`). -/
def IsThreeVector (V : Matrix (Fin 2) (Fin 2) ℂ) : Prop :=
  V.IsHermitian ∧ V.trace = 0

/-- The book's basis (§IIA1, p. 111):
`V = (1/√2) [[V¹, V² - i V³], [V² + i V³, -V¹]]`, with components indexed `0, 1, 2`. -/
noncomputable def vecToMatrix (v : Fin 3 → ℝ) : Matrix (Fin 2) (Fin 2) ℂ :=
  ((Real.sqrt 2 : ℂ)⁻¹) •
    !![(v 0 : ℂ), (v 1 : ℂ) - I * (v 2 : ℂ); (v 1 : ℂ) + I * (v 2 : ℂ), -(v 0 : ℂ)]

/-- The `i`-th basis 3-vector as a 2×2 matrix, `E_i = vecToMatrix (e_i)`. -/
noncomputable def basisMatrix (i : Fin 3) : Matrix (Fin 2) (Fin 2) ℂ :=
  vecToMatrix (Pi.single i 1)

/-- The real 3×3 matrix of the transformation `V ↦ U V U†` in the book's basis:
`R(U)_{ij} = Re tr(E_i U E_j U†)`. -/
noncomputable def rotationOf (U : Matrix (Fin 2) (Fin 2) ℂ) : Matrix (Fin 3) (Fin 3) ℝ :=
  Matrix.of fun i j => (trace (basisMatrix i * U * basisMatrix j * Uᴴ)).re

end SiegelFields
Source
W. Siegel, *Fields*, arXiv:hep-th/9912205v3 (2005), https://arxiv.org/abs/hep-th/9912205, Chapter II (Spin), Section A (Two components), §IIA1 pp. 110–112 and §IIA2 p. 114
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic), same agent as the drafter (non-blind)

Non-blind read-back. This read-back was written by the same agent that drafted the Lean statement, with full knowledge of the source text and of the intended meaning. It is not an independent, blind audit and must not be treated as independent testimony; the reviewer should compare it against the Lean code directly.

The file declares the following objects, all over the complex numbers:

  • CCC is the 2×22\times22×2 matrix with entries C11=0C_{11}=0C11​=0, C12=−iC_{12}=-iC12​=−i, C21=iC_{21}=iC21​=i, C22=0C_{22}=0C22​=0.
  • A 2×22\times22×2 complex matrix VVV is called a 3-vector exactly when VVV equals its conjugate transpose and its trace (sum of diagonal entries) is 000. No other condition is imposed; V=0V=0V=0 is a 3-vector.
  • For a real triple v=(v0,v1,v2)v=(v_0,v_1,v_2)v=(v0​,v1​,v2​) the matrix V(v)V(v)V(v) is 12\frac{1}{\sqrt2}2​1​ times the matrix with rows (v0, v1−iv2)(v_0,\ v_1-iv_2)(v0​, v1​−iv2​) and (v1+iv2, −v0)(v_1+iv_2,\ -v_0)(v1​+iv2​, −v0​). Here 2\sqrt22​ is the real square root, coerced to C\mathbb CC, and its inverse is taken in C\mathbb CC (it is nonzero, so no junk value arises).
  • EiE_iEi​ (i∈{0,1,2}i\in\{0,1,2\}i∈{0,1,2}) is VVV applied to the triple with a 111 in slot iii and 000 elsewhere.
  • For any 2×22\times22×2 complex matrix UUU (no unitarity assumed) R(U)R(U)R(U) is the real 3×33\times33×3 matrix whose (i,j)(i,j)(i,j) entry is the real part of tr⁡(EiUEjU†)\operatorname{tr}(E_i U E_j U^\dagger)tr(Ei​UEj​U†), where U†U^\daggerU† is the conjugate transpose. The imaginary part of that trace is discarded by definition.

The indices run over {0,1,2}\{0,1,2\}{0,1,2}, not {1,2,3}\{1,2,3\}{1,2,3}.

Human review
  • Endorsed by Shuze Chen · Sep 26, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 26, 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