Below is an example of a periodic Lie algebra (a periodization of sl3) with five generators and seven random quadratic relations.
i1 : L = lieAlgebra({a,b,c,d,e}, field=>ZZ/7) o1 = L o1 : LieAlgebra |
i2 : Q = L/apply(7,i->randomLie(2)) o2 = Q o2 : LieAlgebra |
i3 : dimsLie 8 o3 = {5, 3, 5, 3, 5, 3, 5, 3} o3 : List |
i4 : randomLie({4,0}) o4 = (-2)(d e e a) - (e e e a) + (-3)(e e e d) o4 : Q |