Basis on a quaternion-like algebra #
Main definitions #
QuaternionAlgebra.Basis A c₁ c₂ c₃
: a basis for a subspace of anR
-algebraA
that has the same algebra structure asℍ[R,c₁,c₂,c₃]
.QuaternionAlgebra.Basis.self R
: the canonical basis forℍ[R,c₁,c₂,c₃]
.QuaternionAlgebra.Basis.compHom b f
: transform a basisb
by an AlgHomf
.QuaternionAlgebra.lift
: Define anAlgHom
out ofℍ[R,c₁,c₂,c₃]
by its action on the basis elementsi
,j
, andk
. In essence, this is a universal property. Analogous toComplex.lift
, but takes a bundledQuaternionAlgebra.Basis
instead of just aSubtype
as the amount of data / proofs is non-negligible.
A quaternion basis contains the information both sufficient and necessary to construct an
R
-algebra homomorphism from ℍ[R,c₁,c₂,c₃]
to A
; or equivalently, a surjective
R
-algebra homomorphism from ℍ[R,c₁,c₂,c₃]
to an R
-subalgebra of A
.
Note that for definitional convenience, k
is provided as a field even though i_mul_j
fully
determines it.
- i : A
The first imaginary unit
- j : A
The second imaginary unit
- k : A
The third imaginary unit
Instances For
There is a natural quaternionic basis for the QuaternionAlgebra
.
Equations
Instances For
Equations
Intermediate result used to define QuaternionAlgebra.Basis.liftHom
.
Equations
Instances For
A QuaternionAlgebra.Basis
implies an AlgHom
from the quaternions.
Equations
Instances For
Two R
-algebra morphisms from a quaternion algebra are equal if they agree on i
and j
.
Two R
-algebra morphisms from the quaternions are equal if they agree on i
and j
.