Bug: RSK Kills Kernel

asked 1 year ago

yeetcode gravatar image

I am using Sage 10.0 on an M2 Silicon chip Macbook Air 13'.

Method of replicating bug: I accidentally used RSK on an element of SymmetricGroup(n) instead of an object of Permutation class. I don't think it's intended to work on the former, but this always kills the kernel for some reason. The entire notebook needs rerunning after that.

Preview: (hide)

Comments

Bugs should be reported at https://github.com/sagemath/sage/issues

Max Alekseyev gravatar imageMax Alekseyev ( 1 year ago )

There is no rsk method on element of SymmetricGroup(n):

sage: s=SymmetricGroup(4).random_element()
sage: t=Permutations(4).random_element()
sage: t.robinson_schensted()
[[[1, 2], [3, 4]], [[1, 3], [2, 4]]]
sage: s.r[TAB]
FrédéricC gravatar imageFrédéricC ( 1 year ago )

@FrédéricC I remarked the same above. However, in this case, RSK should return a ValueError, and not kill the kernel instead. @Max Alekseyev thanks, I'll report my finding there.

yeetcode gravatar imageyeetcode ( 1 year ago )