Re: [sage-devel] conjugacy_classes_representatives() order seems to be random?

2022-07-12 Thread Josh Mundinger
Alright, thank you. On Tuesday, July 12, 2022 at 2:08:42 AM UTC-4 dim...@gmail.com wrote: > > > On Tue, 12 Jul 2022, 02:37 Josh Mundinger, wrote: > >> When I run conjugacy_classes_representatives() on a sufficiently large >> permutation group, it seems that the order

[sage-devel] conjugacy_classes_representatives() order seems to be random?

2022-07-11 Thread Josh Mundinger
When I run conjugacy_classes_representatives() on a sufficiently large permutation group, it seems that the ordering that representatives are produced in does not match that of conjugacy_classes(), and in fact changes with repeated evaluations. Here is some sample code, running conjugacy_classe

[sage-devel] Error: Lie algebra cohomology of subalgebras

2022-05-10 Thread Josh Mundinger
The Lie algebra method g.chevalley_eilenberg_complex() returns an error when g is at least certain Lie subalgebras. Here is an example: {{{ g = lie_algebras.sl(QQ,2) E,F,H = g.basis() n = g.subalgebra([F,H]) n.chevalley_eilenberg_complex() }}} The error is a KeyError, but it is not clear to me exa