Documentation

TauCeti.Algebra.Quaternion.Basis

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 #

theorem QuaternionAlgebra.Basis.i_mul_j_add_j_mul_i {R : Type u_1} {A : Type u_2} [CommRing R] [Ring A] [Algebra R A] {c₁ c₂ c₃ : R} (q : Basis A c₁ c₂ c₃) :
q.i * q.j + q.j * q.i = c₂ • q.j

The anticommutator of the generators i and j of a quaternion basis.

theorem QuaternionAlgebra.Basis.i_mul_k_add_k_mul_i {R : Type u_1} {A : Type u_2} [CommRing R] [Ring A] [Algebra R A] {c₁ c₂ c₃ : R} (q : Basis A c₁ c₂ c₃) :
q.i * q.k + q.k * q.i = c₂ • q.k

The anticommutator of the generators i and k of a quaternion basis.

theorem QuaternionAlgebra.Basis.j_mul_k_add_k_mul_j {R : Type u_1} {A : Type u_2} [CommRing R] [Ring A] [Algebra R A] {c₁ c₂ c₃ : R} (q : Basis A c₁ c₂ c₃) :
q.j * q.k + q.k * q.j = (c₂ * c₃) • 1

The anticommutator of the generators j and k of a quaternion basis.

theorem QuaternionAlgebra.Basis.commute_liftHom {R : Type u_1} {A : Type u_2} [CommRing R] [Ring A] [Algebra R A] {c₁ c₂ c₃ d₁ d₂ d₃ : R} (B₁ : Basis A c₁ c₂ c₃) (B₂ : Basis A d₁ d₂ d₃) (hii : Commute B₁.i B₂.i) (hij : Commute B₁.i B₂.j) (hji : Commute B₁.j B₂.i) (hjj : Commute B₁.j B₂.j) (x : QuaternionAlgebra R c₁ c₂ c₃) (y : QuaternionAlgebra R d₁ d₂ d₃) :
Commute (B₁.liftHom x) (B₂.liftHom y)

Two quaternion bases of the same algebra whose generators i and j commute pairwise induce commuting algebra maps out of the corresponding quaternion algebras.