-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Milestone
Description
This patch provides an implementation of the subword complex:
Fix a Coxeter system (W,S). Let Q = be a finite word in S and pi in W.
The subword complex Delta(Q,pi) is then defined to be the simplicial complex with vertices being {0,...,n-1}, (n = len(Q), one vertex for each letter in Q) and with facets given by all (indices of) subwords Q' of Q for which Q\Q' is a reduced expression for pi.
sage: W = CoxeterGroup(['A',2],index_set=[1,2])
sage: w = W.from_reduced_word([1,2,1])
sage: C = SubwordComplex([2,1,2,1,2],w); C
Subword complex of type ['A', 2] for Q = [2, 1, 2, 1, 2] and pi = 121
sage: C.facets()
{(1, 2), (3, 4), (0, 4), (2, 3), (0, 1)}
Component: combinatorics
Keywords: subword complex, simplicial complex
Author: Christian Stump
Branch/Commit: 17518c1
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/11010