Quaternion bases: anticommutators and commuting generators #
Mathlib's QuaternionAlgebra.Basis A c₁ c₂ c₃ records elements i j k of an R-algebra A
satisfying the relations of ℍ[R,c₁,c₂,c₃], and QuaternionAlgebra.Basis.liftHom is the
algebra map ℍ[R,c₁,c₂,c₃] →ₐ[R] A they induce. This file computes the anticommutators of the
generators i j k, which vanish when c₂ = 0, and shows that two such bases of the same
algebra whose generators commute pairwise induce algebra maps with commuting images. That is the
hypothesis Algebra.TensorProduct.lift needs to assemble the two maps into one out of the tensor
product, as TauCeti/Algebra/Quaternion/TensorProduct.lean does for the common slot lemma.
Main results #
QuaternionAlgebra.Basis.i_mul_j_add_j_mul_i,QuaternionAlgebra.Basis.i_mul_k_add_k_mul_i, andQuaternionAlgebra.Basis.j_mul_k_add_k_mul_j: the anticommutators of the generators.QuaternionAlgebra.Basis.commute_liftHom: two quaternion bases of one algebra whose generators commute pairwise induce commuting algebra maps.
Two quaternion bases of the same algebra whose generators i and j commute pairwise induce
commuting algebra maps out of the corresponding quaternion algebras.