quaternion_spinor_projector
A unit quaternion rotates a spinor and its Bloch projector consistently.
Statement
theorem quaternion_spinor_projector (q : Fin 4 → ℝ) (b : Fin 3 → ℝ)
(u : Fin 2 → ℂ) (hq : (∑ i, (q i)^2) = 1)
(hu : ∀ i j, u i * star (u j) = (1 + pauli_bloch_matrix b) i j / 2) :
∀ i j, ((quaternion_spinor_matrix q).mulVec u) i *
star (((quaternion_spinor_matrix q).mulVec u) j) =
(1 + pauli_bloch_matrix ((quaternion_bloch_rotation q).mulVec b)) i j / 2- Source
- arXiv:2611.19367v1, Lemma 3, quaternion reference spinor construction.
- Verified
- 18 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 5
- quaternion_spinor_matrixThe complex two by two matrix associated with four quaternion coordinates.
- quaternion_bloch_rotationThe homogeneous real 3 by 3 rotation matrix associated with four quaternion coordinates.
- pauli_bloch_matrixThe Hermitian two by two Pauli matrix corresponding to a real three-dimensional Bloch vector.
- quaternion_spinor_pauli_conjugationQuaternion spinor conjugation rotates a Pauli Bloch matrix by the associated real quaternion rotation.
- quaternion_spinor_unitary_scaledThe quaternion spinor matrix is unitary up to the squared quaternion norm.
- Used by 1
- quaternion_reference_spinor_familyA fixed reference spinor acted on by a fixed quaternion and a varying quaternion gives a continuous odd spinor family with the displayed…
The proof, explained
Under the correspondence between unit quaternions, SU(2) spinor matrices, and SO(3) Bloch rotations, transforming a spinor u by the matrix U rotates its Bloch vector b accordingly. The proof expresses the projector of u in matrix form as V = (1/2)(I + B) and shows that the projector of the rotated spinor U u equals the conjugation U V U†. Using the unitarity of U and the Pauli conjugation identity U B U† = C, this conjugation evaluates to (1/2)(I + C), confirming consistency entrywise.
Define the spinor matrix U, the Bloch matrices B and C, and the projector matrix V of the spinor u.
We introduce local abbreviations: U is the 2 × 2 spinor matrix for the quaternion q; B is the Pauli-Bloch matrix for the vector b; C is the Pauli-Bloch matrix for the rotated Bloch vector (quaternion_bloch_rotation q) b; and V is the 2 × 2 outer product matrix with entries Vᵢⱼ = uᵢ ūⱼ.
let U := quaternion_spinor_matrix q let B := pauli_bloch_matrix b let C := pauli_bloch_matrix ((quaternion_bloch_rotation q).mulVec b) let V : Matrix (Fin 2) (Fin 2) ℂ := Matrix.of (fun i j => u i * star (u j))
V = (1/2) • (1 + B)
By matrix extensionality (`ext i j`), the matrix equality holds if and only if each entry satisfies Vᵢⱼ = (1/2) (1 + B)ᵢⱼ. This entrywise relation is precisely the hypothesis `hu`, rewriting division by 2 as multiplication by 2⁻¹.
uses
div_eq_mul_inv,mul_commhave hV : V = (2 : ℂ)⁻¹ • (1 + B) := by ext i j simpa [V, B, div_eq_mul_inv, mul_comm] using hu i j
The outer product matrix of the transformed spinor U u equals U * V * U†.
By matrix extensionality, the (i, j)-th entry of the left-hand side is (U u)ᵢ (U u)ⱼ* = (∑ₖ Uᵢₖ uₖ)(∑ₗ Uⱼₗ uₗ)*. Expanding sums over Fin 2 and distributing complex conjugation using `simp`, and simplifying the resulting polynomial products in the commutative ring ℂ using `ring`, shows this matches the (i, j)-th entry ∑_{k,l} Uᵢₖ (uₖ ūₗ) Uⱼₗ* of U * V * U†.
uses
Matrix.mulVec,dotProduct,Matrix.mul_apply,Matrix.conjTranspose_apply,Fin.sum_univ_two,map_add,map_mulhave houter : Matrix.of (fun i j => (U.mulVec u) i * star ((U.mulVec u) j)) = U * V * U.conjTranspose := by ext i j simp [V, Matrix.mulVec, dotProduct, Matrix.mul_apply, Matrix.conjTranspose_apply, Fin.sum_univ_two, map_add, map_mul] ring
U * U† = 1, so U is unitary.
The lemma `quaternion_spinor_unitary_scaled q` gives U * U† = (∑ᵢ qᵢ²) • I. Since q is a unit quaternion (`hq`, ∑ᵢ qᵢ² = 1), the scalar factor is 1, so U * U† = 1.
uses
quaternion_spinor_unitary_scaledhave hU : U * U.conjTranspose = 1 := by simpa [U, hq] using quaternion_spinor_unitary_scaled q
U * B * U† = C
Conjugating the Pauli-Bloch matrix B by U yields the Pauli-Bloch matrix C of the rotated vector, by the lemma `quaternion_spinor_pauli_conjugation q b`.
uses
quaternion_spinor_pauli_conjugationhave hrot : U * B * U.conjTranspose = C := by simpa [U, B, C] using quaternion_spinor_pauli_conjugation q b
U * V * U† = (1/2) • (1 + C)
Substituting V = (1/2) • (1 + B), we pull the scalar factor 1/2 outside the matrix products using `Matrix.mul_smul` and `Matrix.smul_mul`. Distributing matrix multiplication over addition via `Matrix.mul_add` and `Matrix.add_mul` gives U * (1 + B) * U† = U * U† + U * B * U†. Substituting U * U† = 1 from `hU` and U * B * U† = C from `hrot` reduces this to 1 + C.
uses
Matrix.mul_smul,Matrix.smul_mul,Matrix.mul_add,Matrix.add_mulhave hfinal : U * V * U.conjTranspose = (2 : ℂ)⁻¹ • (1 + C) := by rw [hV] simp only [Matrix.mul_smul, Matrix.smul_mul] congr 1 calc U * (1 + B) * U.conjTranspose = U * U.conjTranspose + U * B * U.conjTranspose := by simp [Matrix.mul_add, Matrix.add_mul] _ = 1 + C := by rw [hU, hrot]
For all indices i and j, the (i, j)-th entry of the rotated spinor projector equals (1 + C)ᵢⱼ / 2.
Fix indices i and j. Combining `houter` and `hfinal` shows that the outer product matrix of U u equals (1/2) • (1 + C). Applying `congrArg` with the entry evaluation function A ↦ Aᵢⱼ extracts the (i, j)-th entry of both sides, and rewriting multiplication by 2⁻¹ back to division by 2 concludes the theorem.
uses
congrArg,div_eq_mul_inv,mul_commintro i j have hentry := congrArg (fun A : Matrix (Fin 2) (Fin 2) ℂ => A i j) (houter.trans hfinal) simpa [U, C, div_eq_mul_inv, mul_comm] using hentry
div_eq_mul_inv- Division is defined as multiplication by the inverse: a / b = a * b⁻¹
mul_comm- Multiplication is commutative: a * b = b * a
Matrix.mulVec- Matrix-vector multiplication: (M v)ᵢ = ∑ⱼ Mᵢⱼ vⱼ
dotProduct- The dot product of two vectors: v ⬝ w = ∑ᵢ vᵢ wᵢ
Matrix.mul_apply- The (i, k)-th entry of a matrix product M * N is ∑ⱼ Mᵢⱼ Nⱼₖ
Matrix.conjTranspose_apply- The (j, i)-th entry of the conjugate transpose M† is the complex conjugate of Mᵢⱼ
Fin.sum_univ_two- A sum over Fin 2 evaluates to f(0) + f(1)
map_add- A homomorphism preserves addition: f(x + y) = f(x) + f(y)
map_mul- A homomorphism preserves multiplication: f(x * y) = f(x) * f(y)
quaternion_spinor_unitary_scaled- The spinor matrix U of a quaternion q satisfies U * U† = (∑ᵢ qᵢ²) • I
quaternion_spinor_pauli_conjugation- Conjugating the Pauli-Bloch matrix of b by the spinor matrix of q yields the Pauli-Bloch matrix of the rotated vector R_q b
Matrix.mul_smul- Scalar multiplication factors out of matrix multiplication on the right: M * (a • N) = a • (M * N)
Matrix.smul_mul- Scalar multiplication factors out of matrix multiplication on the left: (a • M) * N = a • (M * N)
Matrix.mul_add- Matrix multiplication distributes over addition on the left: L * (M + N) = L * M + L * N
Matrix.add_mul- Matrix multiplication distributes over addition on the right: (L + M) * N = L * N + M * N
congrArg- Applying a function to equal values preserves equality: if a₁ = a₂ then f(a₁) = f(a₂)
- In Lean, vectors are modeled as functions `Fin 2 → ℂ` rather than column matrices, so the identity $(U u)(U u)^\dagger = U (u u^\dagger) U^\dagger$ is proved by expanding entrywise over `Fin 2` using `simp` and algebraic simplification with `ring`.
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
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
theorem quaternion_spinor_projector (q : Fin 4 → ℝ) (b : Fin 3 → ℝ) (u : Fin 2 → ℂ) (hq : (∑ i, (q i)^2) = 1) (hu : ∀ i j, u i * star (u j) = (1 + pauli_bloch_matrix b) i j / 2) : ∀ i j, ((quaternion_spinor_matrix q).mulVec u) i * star (((quaternion_spinor_matrix q).mulVec u) j) = (1 + pauli_bloch_matrix ((quaternion_bloch_rotation q).mulVec b)) i j / 2 := by let U := quaternion_spinor_matrix q let B := pauli_bloch_matrix b let C := pauli_bloch_matrix ((quaternion_bloch_rotation q).mulVec b) let V : Matrix (Fin 2) (Fin 2) ℂ := Matrix.of (fun i j => u i * star (u j)) have hV : V = (2 : ℂ)⁻¹ • (1 + B) := by ext i j simpa [V, B, div_eq_mul_inv, mul_comm] using hu i j have houter : Matrix.of (fun i j => (U.mulVec u) i * star ((U.mulVec u) j)) = U * V * U.conjTranspose := by ext i j simp [V, Matrix.mulVec, dotProduct, Matrix.mul_apply, Matrix.conjTranspose_apply, Fin.sum_univ_two, map_add, map_mul] ring have hU : U * U.conjTranspose = 1 := by simpa [U, hq] using quaternion_spinor_unitary_scaled q have hrot : U * B * U.conjTranspose = C := by simpa [U, B, C] using quaternion_spinor_pauli_conjugation q b have hfinal : U * V * U.conjTranspose = (2 : ℂ)⁻¹ • (1 + C) := by rw [hV] simp only [Matrix.mul_smul, Matrix.smul_mul] congr 1 calc U * (1 + B) * U.conjTranspose = U * U.conjTranspose + U * B * U.conjTranspose := by simp [Matrix.mul_add, Matrix.add_mul] _ = 1 + C := by rw [hU, hrot] intro i j have hentry := congrArg (fun A : Matrix (Fin 2) (Fin 2) ℂ => A i j) (houter.trans hfinal) simpa [U, C, div_eq_mul_inv, mul_comm] using hentry