Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Deduction rule for the fact that finite dimensional stratified Lie al…
Browse files Browse the repository at this point in the history
…gebras are nilpotent
  • Loading branch information
ehaka committed Aug 21, 2018
1 parent a1e1ace commit 14fcd30
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion src/sage/categories/graded_lie_algebras.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,28 @@ class Stratified(CategoryWithAxiom_over_base_ring):
sage: C = LieAlgebras(QQ).Graded().Stratified()
sage: TestSuite(C).run()
"""
pass
class FiniteDimensional(CategoryWithAxiom_over_base_ring):
r"""
Category of finite dimensional stratified Lie algebras.
TESTS::
sage: C = LieAlgebras(QQ).Graded().Stratified().FiniteDimensional()
sage: TestSuite(C).run()
"""

def extra_super_categories(self):
"""
Implements the fact that a finite dimensional stratified Lie
algebra is nilpotent.
EXAMPLES::
sage: C = LieAlgebras(QQ).Graded().Stratified().FiniteDimensional()
sage: C.extra_super_categories()
[Category of nilpotent Lie algebras over Rational Field]
sage: C is C.Nilpotent()
True
"""
from sage.categories.lie_algebras import LieAlgebras
return [LieAlgebras(self.base_ring()).Nilpotent()]

0 comments on commit 14fcd30

Please sign in to comment.