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, denoted as ℍ[R]
.
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
- One or more equations did not get rendered due to their size.
Coercion from ℂ
to ℍ
.
Instances For
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
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]
@[simp]