AFTD Auto-Formalizing Theoretical Domains

quaternion_bloch_rotation

def

The homogeneous real 3 by 3 rotation matrix associated with four quaternion coordinates.

Statement

def quaternion_bloch_rotation (q : Fin 4 → ℝ) : Matrix (Fin 3) (Fin 3) ℝ
Source
arXiv:2611.19367v1, Lemma 3, quaternion-to-rotation parametrization.
Verified
17 Nov 2026
Axioms
none listed
Used by 6

Lean source view module on GitHub

open scoped Matrix

def quaternion_bloch_rotation (q : Fin 4 → ℝ) : Matrix (Fin 3) (Fin 3) ℝ :=
  !![q 0^2+q 1^2-q 2^2-q 3^2, 2*(q 1*q 2-q 0*q 3), 2*(q 1*q 3+q 0*q 2);
     2*(q 1*q 2+q 0*q 3), q 0^2-q 1^2+q 2^2-q 3^2, 2*(q 2*q 3-q 0*q 1);
     2*(q 1*q 3-q 0*q 2), 2*(q 2*q 3+q 0*q 1), q 0^2-q 1^2-q 2^2+q 3^2]
See it in the graphDiscuss this resultChallenge it