Bug: RSK Kills Kernel

asked 2024-02-22 14:34:15 +0200

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.

edit retag flag offensive close merge delete

Comments

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

Max Alekseyev gravatar imageMax Alekseyev ( 2024-02-22 17:32:18 +0200 )edit

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 ( 2024-02-22 17:45:46 +0200 )edit

@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 ( 2024-02-23 10:43:54 +0200 )edit