/-
Copyright (c) 2026 Leonid Ryvkin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Leonid Ryvkin
-/
module
public import Mathlib.Algebra.Lie.BaseChange
public import Mathlib.Algebra.Lie.Derivation.Basic
public import Mathlib.RingTheory.Derivation.Lie
/-!
# LieDerivations of a Lie algebra created through BaseChange
When, given an `R`-algebra `A` and an `R`-Lie algebra `L` the (Lie algebra) basechange `A ⊗[R] L`,
both derivations of `A` and Lie derivations of `L` induce Lie derivations of `A ⊗[R] L`. Moreover,
both these procedures are Lie algebra homomorphisms themselves.
## Tags
lie algebra, extension of scalars, base change, derivation
-/
@[expose] public section
namespace Lie.Derivation
open TensorProduct
variable {R : Type*} [CommRing R]
variable {A : Type*} [CommRing A] [Algebra R A]
variable {L : Type*} [LieRing L] [LieAlgebra R L]
attribute [local instance 100] LieRing.ofAssociativeRing
variable (L) in
/-- A derivation of an associative `R`-algebra `A`, induces a Lie derivation of `A ⊗[R] L` for any
Lie algebra `L` over `R`.
Note that this map is even `A`-linear: see `Lie.Derivation.ofDerivation_smul`. -/
def ofDerivation : Derivation R A A →ₗ⁅R⁆ LieDerivation R (A ⊗[R] L) (A ⊗[R] L) where
toFun d :=
{ toFun := d.rTensor L
map_add' := by simp
map_smul' := by simp
leibniz' x y := by
simp only [LinearMap.coe_mk, AddHom.coe_mk]
refine x.inductionOn (fun _ l ↦ ?_) (fun _ _ h1 h2 ↦ ?_)
· refine y.inductionOn (fun _ l' ↦ ?_) (fun _ _ h1 h2 ↦ ?_)
· simp [← lie_skew l' l, -lie_skew, add_tmul, tmul_neg]
· simp [h1, h2, sub_add_sub_comm]
· simp [h1, h2, sub_add_sub_comm] }
map_add' _ _ := by ext; simp
map_smul' _ _ := by ext; simp
map_lie' {_ _} := by
ext z
refine z.inductionOn (by simp [sub_tmul]) (fun _ _ hx hy ↦ ?_)
simp_all
abel
@[simp]
lemma ofDerivation_apply (d : Derivation R A A) (x : A ⊗[R] L) :
ofDerivation L d x = d.toLinearMap.rTensor L x :=
rfl
lemma ofDerivation_comp_smul (d : Derivation R A A) (a : A) :
letI f : A → A ⊗[R] L →ₗ[R] A ⊗[R] L := DistribSMul.toLinearMap _ _
(ofDerivation L d).toLinearMap ∘ₗ f a = a • ofDerivation L d + f (d a) := by
ext
simp [smul_tmul', add_tmul, mul_comm]
lemma ofDerivation_leibniz (d : Derivation R A A) (a : A) (x : A ⊗[R] L) :
ofDerivation L d (a • x) = a • ofDerivation L d x + (d a) • x :=
DFunLike.congr_fun (ofDerivation_comp_smul d a) x
lemma ofDerivation_smul (d : Derivation R A A) (a : A) :
ofDerivation L (a • d) = a • ofDerivation L d := by
ext x
refine x.inductionOn (fun ?_ ?_ ↦ ?_) (fun _ _ h1 h2 ↦ ?_)
· simp [TensorProduct.smul_tmul']
· simp [map_add, h1, h2]
variable (A) in
/-- A Lie derivation of an `R-`Lie algebra `L`, induces a Lie derivation of `A ⊗[R] L` for any
Algebra `A` over `R`. -/
def ofLieDerivation : (LieDerivation R L L) →ₗ⁅R⁆ (LieDerivation R (A ⊗[R] L) (A ⊗[R] L)) where
toFun d :=
{ toFun := d.toLinearMap.lTensor A
map_add' := by simp
map_smul' := by simp
leibniz' x y := by
simp only [LinearMap.coe_mk, AddHom.coe_mk]
refine x.inductionOn ?_ ?_
· intros _ _
refine y.inductionOn ?_ ?_
· intros _ _
simp [LieAlgebra.ExtendScalars.bracket_tmul, tmul_sub, mul_comm]
· intros _ _ h1 h2
simp [h1, h2]
abel_nf
· intros _ _ h1 h2
simp [h1, h2]
abel_nf }
map_add' _ _ := by ext _; simp
map_smul' _ _ := by ext _; simp
map_lie' {_ _} := by
ext z
refine z.inductionOn (fun a l ↦ ?_) (fun _ _ hx hy ↦ ?_)
· simp [tmul_sub]
· simp_all [sub_add_sub_comm]
@[simp]
lemma ofLieDerivation_apply (d : LieDerivation R L L) (x : A ⊗[R] L) :
ofLieDerivation A d x = d.toLinearMap.lTensor A x :=
rfl
end Lie.Derivation
end
¤ Dauer der Verarbeitung: 0.230 Sekunden
¤
*© Formatika GbR, Deutschland