Skip to content

Different behavior for reflections for matrix Coxeter group and Weyl groups #20027

@tscrim

Description

@tscrim

Currently, we have the following behavior:

sage: W = CoxeterGroup(['A',1])
sage: W.reflections()
[[-1]]
sage: W = WeylGroup(['A',1])
sage: W.reflections()
Finite family {[0 1]
[1 0]: (1, -1)}

In particular, the former returns a list of elements in the group, whereas the latter returns a family whose keys are elements in the group and whose values are roots. This leads to different iterator behaviors between the two. Since Weyl groups are a subcategory of Coxeter groups, we should make this behavior consistent.

Note, this was introduced by #11010 and is specific for the matrix implementation of CoxeterGroup. We can also lift this up to the category of (finite) Coxeter groups.

CC: @sagetrac-sage-combinat @nthiery @fchapoton @stumpc5 @anneschilling @sagetrac-mshimo @darijgr @jplab @dwbump

Component: combinatorics

Keywords: coxeter groups, reflections

Author: Travis Scrimshaw

Branch/Commit: 46565ec

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/20027

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions