The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V29. Representation theory and Lie theory

Mathlib.Algebra.Lie.Free

51 declarations. Mathlib docs · Source

Free Lie algebras

Given a commutative ring R and a type X we construct the free Lie algebra on X with coefficients in R together with its universal property.

Main definitions

  • FreeLieAlgebra
  • FreeLieAlgebra.lift
  • FreeLieAlgebra.of
  • FreeLieAlgebra.universalEnvelopingEquivFreeAlgebra

Implementation notes

Quotient of free non-unital, non-associative algebra

We follow [N. Bourbaki, Lie Groups and Lie Algebras, Chapters 1--3][bourbaki1975] and construct the free Lie algebra as a quotient of the free non-unital, non-associative algebra. Since we do not currently have definitions of ideals, lattices of ideals, and quotients for NonUnitalNonAssocSemiring, we construct our quotient using the low-level Quot function on an inductively-defined relation.

Alternative construction (needs PBW)

An alternative construction of the free Lie algebra on X is to start with the free unital associative algebra on X, regard it as a Lie algebra via the ring commutator, and take its smallest Lie subalgebra containing X. I.e.: LieSubalgebra.lieSpan R (FreeAlgebra R X) (Set.range (FreeAlgebra.ι R)).

However with this definition there does not seem to be an easy proof that the required universal property holds, and I don't know of a proof that avoids invoking the Poincaré–Birkhoff–Witt theorem. A related MathOverflow question is this one.

Tags

lie algebra, free algebra, non-unital, non-associative, universal property, forgetful functor, adjoint functor

ctor FreeLieAlgebra.Rel.below.leibniz_lie E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R]
  {motive : (a a_1 : FreeNonUnitalNonAssocAlgebra R X) → FreeLieAlgebra.Rel R X a a_1 → Prop}
  (a b c : FreeNonUnitalNonAssocAlgebra R X), FreeLieAlgebra.Rel.below ⋯

theorem FreeNonUnitalNonAssocAlgebra.lift.congr_simp E1 #

∀ (R : Type u_1) {X : Type u_2} {A : Type u_3} [inst : Semiring R] [inst_1 : NonUnitalNonAssocSemiring A]
  [inst_2 : Module R A] [inst_3 : IsScalarTower R A A] [inst_4 : SMulCommClass R A A],
  FreeNonUnitalNonAssocAlgebra.lift R = FreeNonUnitalNonAssocAlgebra.lift R

ctor FreeLieAlgebra.Rel.below.smul E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R]
  {motive : (a a_1 : FreeNonUnitalNonAssocAlgebra R X) → FreeLieAlgebra.Rel R X a a_1 → Prop} (t : R)
  {a b : FreeNonUnitalNonAssocAlgebra R X} (a_1 : FreeLieAlgebra.Rel R X a b),
  FreeLieAlgebra.Rel.below a_1 → motive a b a_1 → FreeLieAlgebra.Rel.below ⋯

ctor FreeLieAlgebra.Rel.below.lie_self E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R]
  {motive : (a a_1 : FreeNonUnitalNonAssocAlgebra R X) → FreeLieAlgebra.Rel R X a a_1 → Prop}
  (a : FreeNonUnitalNonAssocAlgebra R X), FreeLieAlgebra.Rel.below ⋯

ctor FreeLieAlgebra.Rel.below.add_right E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R]
  {motive : (a a_1 : FreeNonUnitalNonAssocAlgebra R X) → FreeLieAlgebra.Rel R X a a_1 → Prop}
  {a b : FreeNonUnitalNonAssocAlgebra R X} (c : FreeNonUnitalNonAssocAlgebra R X) (a_1 : FreeLieAlgebra.Rel R X a b),
  FreeLieAlgebra.Rel.below a_1 → motive a b a_1 → FreeLieAlgebra.Rel.below ⋯

ctor FreeLieAlgebra.Rel.below.mul_left E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R]
  {motive : (a a_1 : FreeNonUnitalNonAssocAlgebra R X) → FreeLieAlgebra.Rel R X a a_1 → Prop}
  (a : FreeNonUnitalNonAssocAlgebra R X) {b c : FreeNonUnitalNonAssocAlgebra R X} (a_1 : FreeLieAlgebra.Rel R X b c),
  FreeLieAlgebra.Rel.below a_1 → motive b c a_1 → FreeLieAlgebra.Rel.below ⋯

ctor FreeLieAlgebra.Rel.below.mul_right E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R]
  {motive : (a a_1 : FreeNonUnitalNonAssocAlgebra R X) → FreeLieAlgebra.Rel R X a a_1 → Prop}
  {a b : FreeNonUnitalNonAssocAlgebra R X} (c : FreeNonUnitalNonAssocAlgebra R X) (a_1 : FreeLieAlgebra.Rel R X a b),
  FreeLieAlgebra.Rel.below a_1 → motive a b a_1 → FreeLieAlgebra.Rel.below ⋯

inductive FreeLieAlgebra.Rel E1 #

(R : Type u) →
  (X : Type v) → [inst : CommRing R] → FreeNonUnitalNonAssocAlgebra R X → FreeNonUnitalNonAssocAlgebra R X → Prop

The quotient of lib R X by the equivalence relation generated by this relation will give us the free Lie algebra.

ctor FreeLieAlgebra.Rel.lie_self E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] (a : FreeNonUnitalNonAssocAlgebra R X), FreeLieAlgebra.Rel R X (a * a) 0

ctor FreeLieAlgebra.Rel.leibniz_lie E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] (a b c : FreeNonUnitalNonAssocAlgebra R X),
  FreeLieAlgebra.Rel R X (a * (b * c)) (a * b * c + b * (a * c))

ctor FreeLieAlgebra.Rel.smul E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] (t : R) {a b : FreeNonUnitalNonAssocAlgebra R X},
  FreeLieAlgebra.Rel R X a b → FreeLieAlgebra.Rel R X (t • a) (t • b)

ctor FreeLieAlgebra.Rel.add_right E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {a b : FreeNonUnitalNonAssocAlgebra R X}
  (c : FreeNonUnitalNonAssocAlgebra R X), FreeLieAlgebra.Rel R X a b → FreeLieAlgebra.Rel R X (a + c) (b + c)

ctor FreeLieAlgebra.Rel.mul_left E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] (a : FreeNonUnitalNonAssocAlgebra R X)
  {b c : FreeNonUnitalNonAssocAlgebra R X}, FreeLieAlgebra.Rel R X b c → FreeLieAlgebra.Rel R X (a * b) (a * c)

ctor FreeLieAlgebra.Rel.mul_right E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {a b : FreeNonUnitalNonAssocAlgebra R X}
  (c : FreeNonUnitalNonAssocAlgebra R X), FreeLieAlgebra.Rel R X a b → FreeLieAlgebra.Rel R X (a * c) (b * c)

theorem FreeLieAlgebra.Rel.addLeft E1 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] (a : FreeNonUnitalNonAssocAlgebra R X)
  {b c : FreeNonUnitalNonAssocAlgebra R X}, FreeLieAlgebra.Rel R X b c → FreeLieAlgebra.Rel R X (a + b) (a + c)

theorem FreeLieAlgebra.Rel.neg E1 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {a b : FreeNonUnitalNonAssocAlgebra R X},
  FreeLieAlgebra.Rel R X a b → FreeLieAlgebra.Rel R X (-a) (-b)

theorem FreeLieAlgebra.Rel.subLeft E1 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] (a : FreeNonUnitalNonAssocAlgebra R X)
  {b c : FreeNonUnitalNonAssocAlgebra R X}, FreeLieAlgebra.Rel R X b c → FreeLieAlgebra.Rel R X (a - b) (a - c)

theorem FreeLieAlgebra.Rel.subRight E1 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {a b : FreeNonUnitalNonAssocAlgebra R X}
  (c : FreeNonUnitalNonAssocAlgebra R X), FreeLieAlgebra.Rel R X a b → FreeLieAlgebra.Rel R X (a - c) (b - c)

theorem FreeLieAlgebra.Rel.smulOfTower E1 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {S : Type u_1} [inst_1 : SMulZeroClass S R] [IsScalarTower S R R]
  (t : S) (a b : FreeNonUnitalNonAssocAlgebra R X), FreeLieAlgebra.Rel R X a b → FreeLieAlgebra.Rel R X (t • a) (t • b)

def FreeLieAlgebra E3 #

(R : Type u) → Type v → [CommRing R] → Type (max u v)

If α is a type, and R is a commutative ring, then FreeLieAlgebra R α is the free Lie algebra over R generated by α. This is a Lie algebra over R equipped with a function FreeLieAlgebra.of R : α → FreeLieAlgebra R α which has the following universal property: if L is any Lie algebra over R, and f : α → L is any function, then this function is the composite of FreeLieAlgebra.of R and a unique Lie algebra homomorphism FreeLieAlgebra.lift R f : FreeLieAlgebra R α →ₗ⁅R⁆ L.

A typical element of FreeLieAlgebra R α is an R-linear combination of formal brackets of elements of α. For example if x and y are terms of type α and a and b are terms of type R then (3 * a * a) • ⁅⁅x, y⁆, x⁆ - (2 * b - 1) • ⁅y, x⁆ is a "typical" element of FreeLieAlgebra R α.

instance instInhabitedFreeLieAlgebra E0 #

(R : Type u) → (X : Type v) → [inst : CommRing R] → Inhabited (FreeLieAlgebra R X)

instance FreeLieAlgebra.instSMulOfIsScalarTower E0 #

(R : Type u) →
  (X : Type v) →
    [inst : CommRing R] →
      {S : Type u_1} → [inst_1 : SMulZeroClass S R] → [IsScalarTower S R R] → SMul S (FreeLieAlgebra R X)

instance FreeLieAlgebra.instIsCentralScalar E0 #

∀ (R : Type u) (X : Type v) [inst : CommRing R] {S : Type u_1} [inst_1 : SMulZeroClass S R]
  [inst_2 : SMulZeroClass Sᵐᵒᵖ R] [inst_3 : IsScalarTower S R R] [inst_4 : IsCentralScalar S R],
  IsCentralScalar S (FreeLieAlgebra R X)

instance FreeLieAlgebra.instZero E0 #

(R : Type u) → (X : Type v) → [inst : CommRing R] → Zero (FreeLieAlgebra R X)

instance FreeLieAlgebra.instAdd E0 #

(R : Type u) → (X : Type v) → [inst : CommRing R] → Add (FreeLieAlgebra R X)

instance FreeLieAlgebra.instNeg E0 #

(R : Type u) → (X : Type v) → [inst : CommRing R] → Neg (FreeLieAlgebra R X)

instance FreeLieAlgebra.instSub E0 #

(R : Type u) → (X : Type v) → [inst : CommRing R] → Sub (FreeLieAlgebra R X)

instance FreeLieAlgebra.instAddGroup E0 #

(R : Type u) → (X : Type v) → [inst : CommRing R] → AddGroup (FreeLieAlgebra R X)

instance FreeLieAlgebra.instAddCommSemigroup E0 #

(R : Type u) → (X : Type v) → [inst : CommRing R] → AddCommSemigroup (FreeLieAlgebra R X)

instance FreeLieAlgebra.instAddCommGroup E0 #

(R : Type u) → (X : Type v) → [inst : CommRing R] → AddCommGroup (FreeLieAlgebra R X)

instance FreeLieAlgebra.instModuleOfIsScalarTower E0 #

(R : Type u) →
  (X : Type v) →
    [inst : CommRing R] →
      {S : Type u_1} →
        [inst_1 : Semiring S] → [inst_2 : Module S R] → [IsScalarTower S R R] → Module S (FreeLieAlgebra R X)

instance FreeLieAlgebra.instLieRing E0 #

(R : Type u) → (X : Type v) → [inst : CommRing R] → LieRing (FreeLieAlgebra R X)

Note that here we turn the Mul coming from the NonUnitalNonAssocSemiring structure on lib R X into a Bracket on FreeLieAlgebra.

instance FreeLieAlgebra.instLieAlgebra E0 #

(R : Type u) → (X : Type v) → [inst : CommRing R] → LieAlgebra R (FreeLieAlgebra R X)

def FreeLieAlgebra.of E3 #

(R : Type u) → {X : Type v} → [inst : CommRing R] → X → FreeLieAlgebra R X

The embedding of X into the free Lie algebra of X with coefficients in the commutative ring R.

def FreeLieAlgebra.liftAux E0 #

(R : Type u) →
  {X : Type v} →
    [inst : CommRing R] →
      {L : Type w} →
        [inst_1 : LieRing L] →
          [inst_2 : LieAlgebra R L] → (X → CommutatorRing L) → FreeNonUnitalNonAssocAlgebra R X →ₙₐ[R] CommutatorRing L

An auxiliary definition used to construct the equivalence lift below.

theorem FreeLieAlgebra.liftAux_map_smul E1 #

∀ (R : Type u) {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L] (f : X → L)
  (t : R) (a : FreeNonUnitalNonAssocAlgebra R X),
  (FreeLieAlgebra.liftAux R f) (t • a) = t • (FreeLieAlgebra.liftAux R f) a

theorem FreeLieAlgebra.liftAux_map_add E1 #

∀ (R : Type u) {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L] (f : X → L)
  (a b : FreeNonUnitalNonAssocAlgebra R X),
  (FreeLieAlgebra.liftAux R f) (a + b) = (FreeLieAlgebra.liftAux R f) a + (FreeLieAlgebra.liftAux R f) b

theorem FreeLieAlgebra.liftAux_map_mul E1 #

∀ (R : Type u) {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L] (f : X → L)
  (a b : FreeNonUnitalNonAssocAlgebra R X),
  (FreeLieAlgebra.liftAux R f) (a * b) = ⁅(FreeLieAlgebra.liftAux R f) a, (FreeLieAlgebra.liftAux R f) b⁆

theorem FreeLieAlgebra.liftAux_spec E1 #

∀ (R : Type u) {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L] (f : X → L)
  (a b : FreeNonUnitalNonAssocAlgebra R X),
  FreeLieAlgebra.Rel R X a b → (FreeLieAlgebra.liftAux R f) a = (FreeLieAlgebra.liftAux R f) b

def FreeLieAlgebra.mk E1 #

(R : Type u) →
  {X : Type v} → [inst : CommRing R] → FreeNonUnitalNonAssocAlgebra R X →ₙₐ[R] CommutatorRing (FreeLieAlgebra R X)

The quotient map as a NonUnitalAlgHom.

def FreeLieAlgebra.lift E3 #

(R : Type u) →
  {X : Type v} →
    [inst : CommRing R] →
      {L : Type w} → [inst_1 : LieRing L] → [inst_2 : LieAlgebra R L] → (X → L) ≃ (FreeLieAlgebra R X →ₗ⁅R⁆ L)

The functor X ↦ FreeLieAlgebra R X from the category of types to the category of Lie algebras over R is adjoint to the forgetful functor in the other direction.

theorem FreeLieAlgebra.lift_symm_apply E0 #

∀ (R : Type u) {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L]
  (F : FreeLieAlgebra R X →ₗ⁅R⁆ L), (FreeLieAlgebra.lift R).symm F = ⇑F ∘ FreeLieAlgebra.of R

theorem FreeLieAlgebra.of_comp_lift E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L] (f : X → L),
  ⇑((FreeLieAlgebra.lift R) f) ∘ FreeLieAlgebra.of R = f

theorem FreeLieAlgebra.lift_unique E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L] (f : X → L)
  (g : FreeLieAlgebra R X →ₗ⁅R⁆ L), ⇑g ∘ FreeLieAlgebra.of R = f ↔ g = (FreeLieAlgebra.lift R) f

theorem FreeLieAlgebra.lift_of_apply E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L] (f : X → L)
  (x : X), ((FreeLieAlgebra.lift R) f) (FreeLieAlgebra.of R x) = f x

theorem FreeLieAlgebra.lift_comp_of E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L]
  (F : FreeLieAlgebra R X →ₗ⁅R⁆ L), (FreeLieAlgebra.lift R) (⇑F ∘ FreeLieAlgebra.of R) = F

theorem FreeLieAlgebra.hom_ext_iff E0 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L]
  {F₁ F₂ : FreeLieAlgebra R X →ₗ⁅R⁆ L}, F₁ = F₂ ↔ ∀ (x : X), F₁ (FreeLieAlgebra.of R x) = F₂ (FreeLieAlgebra.of R x)

theorem FreeLieAlgebra.hom_ext E1 #

∀ {R : Type u} {X : Type v} [inst : CommRing R] {L : Type w} [inst_1 : LieRing L] [inst_2 : LieAlgebra R L]
  {F₁ F₂ : FreeLieAlgebra R X →ₗ⁅R⁆ L}, (∀ (x : X), F₁ (FreeLieAlgebra.of R x) = F₂ (FreeLieAlgebra.of R x)) → F₁ = F₂

def FreeLieAlgebra.universalEnvelopingEquivFreeAlgebra E3 #

(R : Type u) →
  (X : Type v) → [inst : CommRing R] → UniversalEnvelopingAlgebra R (FreeLieAlgebra R X) ≃ₐ[R] FreeAlgebra R X

The universal enveloping algebra of the free Lie algebra is just the free unital associative algebra.

theorem FreeLieAlgebra.universalEnvelopingEquivFreeAlgebra_apply E0 #

∀ (R : Type u) (X : Type v) [inst : CommRing R] (a : UniversalEnvelopingAlgebra R (FreeLieAlgebra R X)),
  (FreeLieAlgebra.universalEnvelopingEquivFreeAlgebra R X) a =
    ((UniversalEnvelopingAlgebra.lift R) ((FreeLieAlgebra.lift R) (FreeAlgebra.ι R))) a

theorem FreeLieAlgebra.universalEnvelopingEquivFreeAlgebra_symm_apply E0 #

∀ (R : Type u) (X : Type v) [inst : CommRing R] (a : FreeAlgebra R X),
  (FreeLieAlgebra.universalEnvelopingEquivFreeAlgebra R X).symm a =
    ((FreeAlgebra.lift R) (⇑(UniversalEnvelopingAlgebra.ι R) ∘ FreeLieAlgebra.of R)) a