AFTD Auto-Formalizing Theoretical Domains

quaternion_spinor_pauli_conjugation

theoremverified

Quaternion spinor conjugation rotates a Pauli Bloch matrix by the associated real quaternion rotation.

Statement

theorem quaternion_spinor_pauli_conjugation (q : Fin 4 → ℝ) (b : Fin 3 → ℝ) :
    quaternion_spinor_matrix q * pauli_bloch_matrix b * (quaternion_spinor_matrix q).conjTranspose =
      pauli_bloch_matrix ((quaternion_bloch_rotation q).mulVec b)
Source
arXiv:2611.19367v1, Lemma 3, quaternion reference spinor construction.
Verified
18 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
Used by 1

The proof, explained

The proof proceeds by direct componentwise verification of the 2 × 2 matrix equality. By matrix extensionality and an exhaustive case split on the indices, the identity reduces to four complex entry equations, which further split into eight real scalar equations by separating real and imaginary parts. Expanding the definitions and matrix operations yields eight polynomial identities in the coordinates of q and b, all of which are closed by polynomial ring normalization.

  1. The matrix equality reduces to verifying four component equations, one for each index pair (i, j) ∈ {0, 1}².

    By matrix extensionality, two matrices are equal if and only if all their corresponding entries agree (ext i j). Because the matrices have dimension 2 × 2 with index type Fin 2, an exhaustive case analysis on both the row index i and column index j (fin_cases) splits the goal into the four concrete entries: (0, 0), (0, 1), (1, 0), and (1, 1).

    lines 4–5

      ext i j
      fin_cases i <;> fin_cases j <;>
  2. Each of the four matrix entry equations reduces to checking equality of its real and imaginary parts, producing eight real scalar equations.

    Two complex numbers are equal if and only if both their real parts and their imaginary parts are equal (Complex.ext). Applying this extensionality principle to each of the four entry equations doubles the number of subgoals to eight real equations.

    line 6

    uses Complex.ext

        apply Complex.ext <;>
  3. All eight real scalar equations hold identically as polynomial identities in the components of q and b. automation

    Simplification expands the definitions of the quaternion spinor matrix, the Pauli Bloch matrix, the quaternion rotation matrix, matrix multiplication, conjugate transposes, dot products, and finite summations over Fin 2 and Fin 3. This reduces each of the eight subgoals to an equality between real polynomials in the variables q 0, q 1, q 2, q 3 and b 0, b 1, b 2. The ring tactic then closes all eight goals by polynomial normalization.

    lines 7–10

    uses Matrix.mul_apply, Matrix.mulVec, Fin.sum_univ_three, Fin.sum_univ_two, Matrix.cons_val_two, Matrix.conjTranspose_apply, Complex.star_def, Complex.mul_re, Complex.mul_im, pow_two

        simp [quaternion_bloch_rotation, quaternion_spinor_matrix, pauli_bloch_matrix,
          Matrix.mul_apply, Matrix.mulVec, dotProduct, Fin.sum_univ_three, Fin.sum_univ_two,
          Matrix.cons_val_two, Matrix.conjTranspose_apply, Complex.star_def,
          Complex.mul_re, Complex.mul_im, pow_two] <;> ring
Complex.ext
Two complex numbers are equal if and only if their real parts are equal and their imaginary parts are equal.
Complex.mul_re
The real part of the product of two complex numbers z and w is z.re * w.re - z.im * w.im.
Complex.mul_im
The imaginary part of the product of two complex numbers z and w is z.re * w.im + z.im * w.re.
Complex.star_def
The star operation on the complex numbers is defined as standard complex conjugation.
Fin.sum_univ_two
The sum of a function over the two-element index type Fin 2 equals f(0) + f(1).
Fin.sum_univ_three
The sum of a function over the three-element index type Fin 3 equals f(0) + f(1) + f(2).
Matrix.conjTranspose_apply
The (j, i)-th entry of the conjugate transpose of a matrix M is the star conjugate of M i j.
Matrix.cons_val_two
The entry at index 2 of a vector constructed by prepending an element x to a tail u is the head of the tail of u.
Matrix.mul_apply
The (i, k)-th entry of the product of two matrices M and N is the sum ∑ j, M i j * N j k.
Matrix.mulVec
The product of a matrix and a vector, whose i-th component is the dot product of the i-th row with the vector.
pow_two
The square of an element a in a monoid equals a * a.

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

theorem quaternion_spinor_pauli_conjugation (q : Fin 4 → ℝ) (b : Fin 3 → ℝ) :    quaternion_spinor_matrix q * pauli_bloch_matrix b * (quaternion_spinor_matrix q).conjTranspose =      pauli_bloch_matrix ((quaternion_bloch_rotation q).mulVec b) := by  ext i j  fin_cases i <;> fin_cases j <;>    apply Complex.ext <;>    simp [quaternion_bloch_rotation, quaternion_spinor_matrix, pauli_bloch_matrix,      Matrix.mul_apply, Matrix.mulVec, dotProduct, Fin.sum_univ_three, Fin.sum_univ_two,      Matrix.cons_val_two, Matrix.conjTranspose_apply, Complex.star_def,      Complex.mul_re, Complex.mul_im, pow_two] <;> ring
See it in the graphDiscuss this resultChallenge it