New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
relabelled DynkinDiagram can has weird index set #24385
Comments
Reviewer: Travis Scrimshaw |
comment:1
This is not a bug as the ordering of the index set (which the ordering does not matter because it is a set) is determined by the vertices of the Dynkin diagram. |
comment:2
I guess my problem stems from the fact that index_set returns a tuple which is implicitly ordered. I think either it should return a set as its name suggest or the ordering should be consistent. |
comment:3
One needs an implicit ordering for the Cartan matrix. Also, anyone who does stuff with Lie/Coxeter types that I know would want this to be called There is no loss of generality for fixing an order, but why should one order be preferred over another? You are also getting different relabelings because the types are different too, so there is not really an inconsistency. |
comment:4
If you view Dynkin diagram as a directed graph then there are basically two orderings, right? But the thing is that there is a fixed ordering hidden in |
Usually relabeling works nice but when one wants to relabel with symbolic variables the index set is in wrong order. The index set of the associated CartanType is however correct.
Component: combinatorics
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/24385
The text was updated successfully, but these errors were encountered: