Quaternions as a normed algebra #
In this file we define the following structures on the space ℍ := ℍ[ℝ]
of quaternions:
- inner product space;
- normed ring;
- normed space over
ℝ
.
We show that the norm on ℍ[ℝ]
agrees with the euclidean norm of its components.
Notation #
The following notation is available with open Quaternion
or open scoped Quaternion
:
ℍ
: quaternions
Tags #
quaternion, normed ring, normed space, normed algebra
Space of quaternions over a type. Implemented as a structure with four fields:
re
, im_i
, im_j
, and im_k
.
Equations
- Quaternion.termℍ = Lean.ParserDescr.node `Quaternion.termℍ 1024 (Lean.ParserDescr.symbol "ℍ")
Instances For
Equations
- Quaternion.instInnerReal = { inner := fun (a b : Quaternion ℝ) => (a * star b).re }
Equations
- Quaternion.instNormedAddCommGroupReal = InnerProductSpace.Core.toNormedAddCommGroup
Equations
- One or more equations did not get rendered due to their size.
Equations
- Quaternion.instCoeComplexReal = { coe := Quaternion.coeComplex }
Coercion ℂ →ₐ[ℝ] ℍ
as an algebra homomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
Quaternion.norm_piLp_equiv_symm_equivTuple
(x : Quaternion ℝ)
:
‖(WithLp.equiv 2 (Fin 4 → ℝ)).symm ((Quaternion.equivTuple ℝ) x)‖ = ‖x‖
The norm of the components as a euclidean vector equals the norm of the quaternion.
QuaternionAlgebra.linearEquivTuple
as a LinearIsometryEquiv
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
theorem
Quaternion.linearIsometryEquivTuple_symm_apply
(a : EuclideanSpace ℝ (Fin 4))
:
Quaternion.linearIsometryEquivTuple.symm a = { re := a 0, imI := a 1, imJ := a 2, imK := a 3 }
@[simp]
theorem
Quaternion.linearIsometryEquivTuple_apply
(a : Quaternion ℝ)
:
Quaternion.linearIsometryEquivTuple a = !₂[a.re, a.imI, a.imJ, a.imK]