On the doc page for Lie subalgebras (
https://doc.sagemath.org/html/en/reference/algebras/sage/algebras/lie_algebras/subalgebra.html)
  
there is an example getting a subalgebra of sl3:

sl3 = LieAlgebra(QQ, cartan_type=['A',2])
D = sl3.derived_subalgebra()

This throws the error 

TypeError: unsupported operand parent(s) for <: 'Coroot lattice of the Root 
system of type ['A', 2]' and 'Root lattice of the Root system of type ['A', 
2]'

The error persists when calculating general subalgebras (e.g. trying 
sl3.subalgebra(list(sl3.e())) ) and seems to be related to the classical 
Lie algebra, as I can get subalgebras working fine with, for example, the 
Heisenberg algebra (see first example on the doc page).

I am running SageMath version 8.9, Release Date: 2019-09-29 with system 
details:

Operating System: Ubuntu 18.04.4 LTS
                     Kernel: Linux 5.4.0-42-generic
          Architecture: x86-64

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/a139ed00-5400-48a0-95a7-9ef48301420fn%40googlegroups.com.

Reply via email to