Re: [sage-support] Subgroups of subgroups aren't subgroups?

2020-08-16 Thread Nils Bruin
On Sunday, August 16, 2020 at 4:22:22 AM UTC-7, Dima Pasechnik wrote: > > > I guess this has to do with Python hashing; objects are not checked > for `==` equality when you do {}, > but for equality w.r.t. to certain internal representation: > sage: g = libgap.SymmetricGroup(3) > sage: x =

Re: [sage-support] Subgroups of subgroups aren't subgroups?

2020-08-16 Thread Dima Pasechnik
On Sun, Aug 16, 2020 at 11:44 AM 'Peter Mueller' via sage-support wrote: > > I had a hard to track down error which eventually relied on sage permutation > groups behave odd in regard to subgroups. A subgroup y of a subgroup x of g > isn't always considered as a subgroup of g. Compare > > sage:

[sage-support] Subgroups of subgroups aren't subgroups?

2020-08-16 Thread 'Peter Mueller' via sage-support
I had a hard to track down error which eventually relied on sage permutation groups behave odd in regard to subgroups. A subgroup y of a subgroup x of g isn't always considered as a subgroup of g. Compare sage: g = SymmetricGroup(2) : x = g.subgroup([]) : y = x.subgroup([]) : x == y