Siegel's Fields §IIA: 3-vectors as traceless hermitian matrices
DefinitionSiegelFields_SpinDefsBasic objects of Siegel's treatment of rotations and spin (Fields, §IIA1–IIA2, pp. 110–115).
- The matrix (p. 112).
- A matrix is a 3-vector if and (p. 111).
- The book's basis (p. 111): for
and for the standard basis vectors . 4. For , the real matrix with entries
which is the matrix of in the basis when is unitary.
These definitions are shared by every statement of the mission.
Formalization Note Components are indexed by Fin 3 , so the book's are v 0, v 1, v 2. rotationOf is defined for every matrix; the theorems restrict to unitary or special unitary .
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
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:
- is the matrix with entries , , , .
- A complex matrix is called a 3-vector exactly when equals its conjugate transpose and its trace (sum of diagonal entries) is . No other condition is imposed; is a 3-vector.
- For a real triple the matrix is times the matrix with rows and . Here is the real square root, coerced to , and its inverse is taken in (it is nonzero, so no junk value arises).
- () is applied to the triple with a in slot and elsewhere.
- For any complex matrix (no unitarity assumed) is the real matrix whose entry is the real part of , where is the conjugate transpose. The imaginary part of that trace is discarded by definition.
The indices run over , not .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.