AbelianQ

AbelianQ[L]
gives True if the Lie algebra L is abelian and False otherwise.
  • The Lie algebra L can be provided either from their structure constants or their infinitesimal generator representation.
In[1]:=
Click for copyable input
Let the Lie algebra
In[2]:=
Click for copyable input
Out[2]=
obviously this is an abelian one. Indeed,
In[3]:=
Click for copyable input
Out[3]=
 
In[1]:=
Click for copyable input
Let the Lie algebra
In[2]:=
Click for copyable input
it is evident from its commutator table that it is abelian:
Indeed,
In[4]:=
Click for copyable input
Out[4]=