Clifford Algebras #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
We construct the Clifford algebra of a module M
over a commutative ring R
, equipped with
a quadratic_form Q
.
Notation #
The Clifford algebra of the R
-module M
equipped with a quadratic_form Q
is
an R
-algebra denoted clifford_algebra Q
.
Given a linear morphism f : M → A
from a module M
to another R
-algebra A
, such that
cond : ∀ m, f m * f m = algebra_map _ _ (Q m)
, there is a (unique) lift of f
to an R
-algebra
morphism from clifford_algebra Q
to A
, which is denoted clifford_algebra.lift Q f cond
.
The canonical linear map M → clifford_algebra Q
is denoted clifford_algebra.ι Q
.
Theorems #
The main theorems proved ensure that clifford_algebra Q
satisfies the universal property
of the Clifford algebra.
ι_comp_lift
is the fact that the composition ofι Q
withlift Q f cond
agrees withf
.lift_unique
ensures the uniqueness oflift Q f cond
with respect to 1.
Additionally, when Q = 0
an alg_equiv
to the exterior_algebra
is provided as as_exterior
.
Implementation details #
The Clifford algebra of M
is constructed as a quotient of the tensor algebra, as follows.
- We define a relation
clifford_algebra.rel Q
ontensor_algebra R M
. This is the smallest relation which identifies squares of elements ofM
withQ m
. - The Clifford algebra is the quotient of the tensor algebra by this relation.
This file is almost identical to linear_algebra/exterior_algebra.lean
.
- of : ∀ {R : Type u_1} [_inst_1 : comm_ring R] {M : Type u_2} [_inst_2 : add_comm_group M] [_inst_3 : module R M] {Q : quadratic_form R M} (m : M), clifford_algebra.rel Q (⇑(tensor_algebra.ι R) m * ⇑(tensor_algebra.ι R) m) (⇑(algebra_map R (tensor_algebra R M)) (⇑Q m))
rel
relates each ι m * ι m
, for m : M
, with Q m
.
The Clifford algebra of M
is defined as the quotient modulo this relation.
The Clifford algebra of an R
-module M
equipped with a quadratic_form Q
.
Equations
Instances for clifford_algebra
- clifford_algebra.inhabited
- clifford_algebra.ring
- clifford_algebra.algebra
- clifford_algebra.algebra'
- clifford_algebra.is_scalar_tower
- clifford_algebra.smul_comm_class
- clifford_algebra.smul_comm_class'
- clifford_algebra.star_ring
- clifford_algebra_ring.clifford_algebra.comm_ring
- clifford_algebra_complex.clifford_algebra.comm_ring
- clifford_algebra.has_coe
The canonical linear map M →ₗ[R] clifford_algebra Q
.
Equations
As well as being linear, ι Q
squares to the quadratic form
Given a linear map f : M →ₗ[R] A
into an R
-algebra A
, which satisfies the condition:
cond : ∀ m : M, f m * f m = Q(m)
, this is the canonical lift of f
to a morphism of R
-algebras
from clifford_algebra Q
to A
.
Equations
- clifford_algebra.lift Q = {to_fun := λ (f : {f // ∀ (m : M), ⇑f m * ⇑f m = ⇑(algebra_map R A) (⇑Q m)}), ⇑(ring_quot.lift_alg_hom R) ⟨⇑(tensor_algebra.lift R) ↑f, _⟩, inv_fun := λ (F : clifford_algebra Q →ₐ[R] A), ⟨F.to_linear_map.comp (clifford_algebra.ι Q), _⟩, left_inv := _, right_inv := _}
If C
holds for the algebra_map
of r : R
into clifford_algebra Q
, the ι
of x : M
,
and is preserved under addition and muliplication, then it holds for all of clifford_algebra Q
.
See also the stronger clifford_algebra.left_induction
and clifford_algebra.right_induction
.
The symmetric product of vectors is a scalar
$aba$ is a vector.
Any linear map that preserves the quadratic form lifts to an alg_hom
between algebras.
See clifford_algebra.equiv_of_isometry
for the case when f
is a quadratic_form.isometry
.
Equations
- clifford_algebra.map Q₁ Q₂ f hf = ⇑(clifford_algebra.lift Q₁) ⟨(clifford_algebra.ι Q₂).comp f, _⟩
Two clifford_algebra
s are equivalent as algebras if their quadratic forms are
equivalent.
Equations
- clifford_algebra.equiv_of_isometry e = alg_equiv.of_alg_hom (clifford_algebra.map Q₁ Q₂ ↑e _) (clifford_algebra.map Q₂ Q₁ ↑(e.symm) _) _ _
If the quadratic form of a vector is invertible, then so is that vector.
Equations
- clifford_algebra.invertible_ι_of_invertible Q m = {inv_of := ⇑(clifford_algebra.ι Q) (⅟ (⇑Q m) • m), inv_of_mul_self := _, mul_inv_of_self := _}
For a vector with invertible quadratic form, $v^{-1} = \frac{v}{Q(v)}$
$aba^{-1}$ is a vector.
$a^{-1}ba$ is a vector.
The canonical image of the tensor_algebra
in the clifford_algebra
, which maps
tensor_algebra.ι R x
to clifford_algebra.ι Q x
.