The areas / V08. Multilinear algebra and forms
Mathlib.LinearAlgebra.CliffordAlgebra.Even
27 declarations. Mathlib docs · Source
The universal property of the even subalgebra
Main definitions
CliffordAlgebra.even Q: The even subalgebra ofCliffordAlgebra Q.CliffordAlgebra.EvenHom: The type of bilinear maps that satisfy the universal property of the even subalgebraCliffordAlgebra.even.lift: The universal property of the even subalgebra, which states that every bilinear mapfwithf v v = Q vandf u v * f v w = Q v • f u wis in unique correspondence with an algebra morphism fromCliffordAlgebra.even Q.
Implementation notes
The approach here is outlined in "Computing with the universal properties of the Clifford algebra and the even subalgebra" (to appear).
The broad summary is that we have two tricks available to us for implementing complex recursors on
top of CliffordAlgebra.lift: the first is to use morphisms as the output type, such as
A = Module.End R N which is how we obtained CliffordAlgebra.foldr; and the second is to use
N = (N', S) where N' is the value we wish to compute, and S is some auxiliary state passed
between one recursor invocation and the next.
For the universal property of the even subalgebra, we apply a variant of the first trick again by
choosing S to itself be a submodule of morphisms.
theorem CliffordAlgebra.EvenHom.mk.inj E1 #
∀ {R : Type u_1} {M : Type u_2} {inst : CommRing R} {inst_1 : AddCommGroup M} {inst_2 : Module R M}
{Q : QuadraticForm R M} {A : Type u_3} {inst_3 : Ring A} {inst_4 : Algebra R A} {bilin : M →ₗ[R] M →ₗ[R] A}
{contract : ∀ (m : M), (bilin m) m = (algebraMap R A) (Q m)}
{contract_mid : ∀ (m₁ m₂ m₃ : M), (bilin m₁) m₂ * (bilin m₂) m₃ = Q m₂ • (bilin m₁) m₃} {bilin_1 : M →ₗ[R] M →ₗ[R] A}
{contract_1 : ∀ (m : M), (bilin_1 m) m = (algebraMap R A) (Q m)}
{contract_mid_1 : ∀ (m₁ m₂ m₃ : M), (bilin_1 m₁) m₂ * (bilin_1 m₂) m₃ = Q m₂ • (bilin_1 m₁) m₃},
{ bilin := bilin, contract := contract, contract_mid := contract_mid } =
{ bilin := bilin_1, contract := contract_1, contract_mid := contract_mid_1 } →
bilin = bilin_1
def CliffordAlgebra.EvenHom.ctorIdx E1 #
{R : Type u_1} →
{M : Type u_2} →
{inst : CommRing R} →
{inst_1 : AddCommGroup M} →
{inst_2 : Module R M} →
{Q : QuadraticForm R M} →
{A : Type u_3} → {inst_3 : Ring A} → {inst_4 : Algebra R A} → CliffordAlgebra.EvenHom Q A → ℕ
theorem CliffordAlgebra.EvenHom.mk.injEq E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{Q : QuadraticForm R M} {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A] (bilin : M →ₗ[R] M →ₗ[R] A)
(contract : ∀ (m : M), (bilin m) m = (algebraMap R A) (Q m))
(contract_mid : ∀ (m₁ m₂ m₃ : M), (bilin m₁) m₂ * (bilin m₂) m₃ = Q m₂ • (bilin m₁) m₃) (bilin_1 : M →ₗ[R] M →ₗ[R] A)
(contract_1 : ∀ (m : M), (bilin_1 m) m = (algebraMap R A) (Q m))
(contract_mid_1 : ∀ (m₁ m₂ m₃ : M), (bilin_1 m₁) m₂ * (bilin_1 m₂) m₃ = Q m₂ • (bilin_1 m₁) m₃),
({ bilin := bilin, contract := contract, contract_mid := contract_mid } =
{ bilin := bilin_1, contract := contract_1, contract_mid := contract_mid_1 }) =
(bilin = bilin_1)
def CliffordAlgebra.even E3 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] → [inst_2 : Module R M] → (Q : QuadraticForm R M) → Subalgebra R (CliffordAlgebra Q)
The even submodule CliffordAlgebra.evenOdd Q 0 is also a subalgebra.
theorem CliffordAlgebra.even_toSubmodule E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(Q : QuadraticForm R M), Subalgebra.toSubmodule (CliffordAlgebra.even Q) = CliffordAlgebra.evenOdd Q 0
structure CliffordAlgebra.EvenHom E3 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
QuadraticForm R M → (A : Type u_3) → [inst_3 : Ring A] → [Algebra R A] → Type (max u_2 u_3)
The type of bilinear maps which are accepted by CliffordAlgebra.even.lift.
theorem CliffordAlgebra.EvenHom.ext_iff E0 #
∀ {R : Type u_1} {M : Type u_2} {inst : CommRing R} {inst_1 : AddCommGroup M} {inst_2 : Module R M}
{Q : QuadraticForm R M} {A : Type u_3} {inst_3 : Ring A} {inst_4 : Algebra R A} {x y : CliffordAlgebra.EvenHom Q A},
x = y ↔ x.bilin = y.bilin
theorem CliffordAlgebra.EvenHom.ext E1 #
∀ {R : Type u_1} {M : Type u_2} {inst : CommRing R} {inst_1 : AddCommGroup M} {inst_2 : Module R M}
{Q : QuadraticForm R M} {A : Type u_3} {inst_3 : Ring A} {inst_4 : Algebra R A} {x y : CliffordAlgebra.EvenHom Q A},
x.bilin = y.bilin → x = y
ctor CliffordAlgebra.EvenHom.mk E0 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
{Q : QuadraticForm R M} →
{A : Type u_3} →
[inst_3 : Ring A] →
[inst_4 : Algebra R A] →
(bilin : M →ₗ[R] M →ₗ[R] A) →
(∀ (m : M), (bilin m) m = (algebraMap R A) (Q m)) →
(∀ (m₁ m₂ m₃ : M), (bilin m₁) m₂ * (bilin m₂) m₃ = Q m₂ • (bilin m₁) m₃) →
CliffordAlgebra.EvenHom Q A
abbrev CliffordAlgebra.EvenHom.bilin E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
{Q : QuadraticForm R M} →
{A : Type u_3} →
[inst_3 : Ring A] → [inst_4 : Algebra R A] → CliffordAlgebra.EvenHom Q A → M →ₗ[R] M →ₗ[R] A
theorem CliffordAlgebra.EvenHom.contract E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{Q : QuadraticForm R M} {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A] (self : CliffordAlgebra.EvenHom Q A)
(m : M), (self.bilin m) m = (algebraMap R A) (Q m)
theorem CliffordAlgebra.EvenHom.contract_mid E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{Q : QuadraticForm R M} {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A] (self : CliffordAlgebra.EvenHom Q A)
(m₁ m₂ m₃ : M), (self.bilin m₁) m₂ * (self.bilin m₂) m₃ = Q m₂ • (self.bilin m₁) m₃
def CliffordAlgebra.EvenHom.compr₂ E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
{Q : QuadraticForm R M} →
{A : Type u_3} →
{B : Type u_4} →
[inst_3 : Ring A] →
[inst_4 : Ring B] →
[inst_5 : Algebra R A] →
[inst_6 : Algebra R B] → CliffordAlgebra.EvenHom Q A → (A →ₐ[R] B) → CliffordAlgebra.EvenHom Q B
Compose an EvenHom with an AlgHom on the output.
theorem CliffordAlgebra.EvenHom.compr₂_bilin E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{Q : QuadraticForm R M} {A : Type u_3} {B : Type u_4} [inst_3 : Ring A] [inst_4 : Ring B] [inst_5 : Algebra R A]
[inst_6 : Algebra R B] (g : CliffordAlgebra.EvenHom Q A) (f : A →ₐ[R] B),
(g.compr₂ f).bilin = g.bilin.compr₂ f.toLinearMap
def CliffordAlgebra.even.ι E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] → (Q : QuadraticForm R M) → CliffordAlgebra.EvenHom Q ↥(CliffordAlgebra.even Q)
The embedding of pairs of vectors into the even subalgebra, as a bilinear map.
instance CliffordAlgebra.instInhabitedEvenHomSubtypeMemSubalgebraEven E0 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
(Q : QuadraticForm R M) → Inhabited (CliffordAlgebra.EvenHom Q ↥(CliffordAlgebra.even Q))
theorem CliffordAlgebra.even.algHom_ext E1 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(Q : QuadraticForm R M) {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A]
⦃f g : ↥(CliffordAlgebra.even Q) →ₐ[R] A⦄,
(CliffordAlgebra.even.ι Q).compr₂ f = (CliffordAlgebra.even.ι Q).compr₂ g → f = g
Two algebra morphisms from the even subalgebra are equal if they agree on pairs of generators.
See note [partially-applied ext lemmas].
theorem CliffordAlgebra.even.algHom_ext_iff E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{Q : QuadraticForm R M} {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A]
{f g : ↥(CliffordAlgebra.even Q) →ₐ[R] A},
f = g ↔ (CliffordAlgebra.even.ι Q).compr₂ f = (CliffordAlgebra.even.ι Q).compr₂ g
def CliffordAlgebra.even.lift.aux E1 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
{Q : QuadraticForm R M} →
{A : Type u_3} →
[inst_3 : Ring A] →
[inst_4 : Algebra R A] → CliffordAlgebra.EvenHom Q A → ↥(CliffordAlgebra.even Q) →ₗ[R] A
The final auxiliary construction for CliffordAlgebra.even.lift. This map is the forwards
direction of that equivalence, but not in the fully-bundled form.
theorem CliffordAlgebra.even.lift.aux_apply E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{Q : QuadraticForm R M} {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A] (f : CliffordAlgebra.EvenHom Q A)
(x : ↥(CliffordAlgebra.even Q)),
(CliffordAlgebra.even.lift.aux f) x = (((CliffordAlgebra.foldr Q (CliffordAlgebra.even.lift.fFold✝ f) ⋯) (1, 0)) ↑x).1
theorem CliffordAlgebra.even.lift.aux_one E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{Q : QuadraticForm R M} {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A] (f : CliffordAlgebra.EvenHom Q A),
(CliffordAlgebra.even.lift.aux f) 1 = 1
theorem CliffordAlgebra.even.lift.aux_ι E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{Q : QuadraticForm R M} {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A] (f : CliffordAlgebra.EvenHom Q A)
(m₁ m₂ : M), (CliffordAlgebra.even.lift.aux f) (((CliffordAlgebra.even.ι Q).bilin m₁) m₂) = (f.bilin m₁) m₂
theorem CliffordAlgebra.even.lift.aux_algebraMap E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{Q : QuadraticForm R M} {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A] (f : CliffordAlgebra.EvenHom Q A)
(r : R), (CliffordAlgebra.even.lift.aux f) ((algebraMap R ↥(CliffordAlgebra.even Q)) r) = (algebraMap R A) r
theorem CliffordAlgebra.even.lift.aux_mul E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
{Q : QuadraticForm R M} {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A] (f : CliffordAlgebra.EvenHom Q A)
(x y : ↥(CliffordAlgebra.even Q)),
(CliffordAlgebra.even.lift.aux f) (x * y) = (CliffordAlgebra.even.lift.aux f) x * (CliffordAlgebra.even.lift.aux f) y
def CliffordAlgebra.even.lift E3 #
{R : Type u_1} →
{M : Type u_2} →
[inst : CommRing R] →
[inst_1 : AddCommGroup M] →
[inst_2 : Module R M] →
(Q : QuadraticForm R M) →
{A : Type u_3} →
[inst_3 : Ring A] →
[inst_4 : Algebra R A] → CliffordAlgebra.EvenHom Q A ≃ (↥(CliffordAlgebra.even Q) →ₐ[R] A)
Every algebra morphism from the even subalgebra is in one-to-one correspondence with a bilinear map that sends duplicate arguments to the quadratic form, and contracts across multiplication.
theorem CliffordAlgebra.even.lift_symm_apply_bilin E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(Q : QuadraticForm R M) {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A]
(F : ↥(CliffordAlgebra.even Q) →ₐ[R] A),
((CliffordAlgebra.even.lift Q).symm F).bilin = (CliffordAlgebra.even.ι Q).bilin.compr₂ F.toLinearMap
theorem CliffordAlgebra.even.lift_ι E0 #
∀ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
(Q : QuadraticForm R M) {A : Type u_3} [inst_3 : Ring A] [inst_4 : Algebra R A] (f : CliffordAlgebra.EvenHom Q A)
(m₁ m₂ : M), ((CliffordAlgebra.even.lift Q) f) (((CliffordAlgebra.even.ι Q).bilin m₁) m₂) = (f.bilin m₁) m₂