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=>[4,5,6,1,2,3]
[6,5,4,3,1,2]=>[4,5,6,1,2,3]
[6,5,4,3,2,1]=>[4,5,6,1,2,3]
click to show experimental identities
(only identities of compositions of up to three maps are shown)
Description
The upper bound in the Grassmann interval corresponding to the decorated permutation.
Let $I$ be the anti-exceedance set of a decorated permutation $w$. Let $v$ be the $k$-Grassmannian permutation determined by $v[k] = w^{-1}(I)$ and let $u$ be the permutation satisfying $u = wv$. Then $[u, v]$ is the Grassmann interval corresponding to $w$.
This map returns $v$.
Let $I$ be the anti-exceedance set of a decorated permutation $w$. Let $v$ be the $k$-Grassmannian permutation determined by $v[k] = w^{-1}(I)$ and let $u$ be the permutation satisfying $u = wv$. Then $[u, v]$ is the Grassmann interval corresponding to $w$.
This map returns $v$.
References
[1] Billey, S. C., Weaver, J. E. Criteria for smoothness of Positroid varieties via pattern avoidance, Johnson graphs, and spirographs arXiv:2207.06508
Properties
graded
Sage code
def anti_exceedance_positions(x): """ sage: x = DecoratedPermutation([5,4,1,2,7,6,9,-8,3]) sage: anti_exceedance_positions(x) [3, 4, 9, 6] """ pi = x.permutation() pi_inv = pi.inverse() x = list(x) n = len(pi) anti = [] for i in range(1, n+1): if i < pi_inv(i) or x[i-1] == i: anti.append(pi_inv(i)) return anti def to_grassmann_interval(x): """ sage: x = DecoratedPermutation([5,4,1,2,7,6,9,-8,3]) sage: to_grassmann_interval(x) ([1, 2, 6, 3, 5, 4, 7, 9, 8], [3, 4, 6, 9, 1, 2, 5, 7, 8]) """ n = len(x.permutation()) I = anti_exceedance_positions(x) x = list(x) u1 = [] u2 = [] v1 = [] v2 = [] for i in range(1, n+1): if i in I: v1.append(i) u1.append(abs(x[i-1])) else: v2.append(i) u2.append(abs(x[i-1])) return Permutation(u1+u2), Permutation(v1+v2) def mapping(x): return to_grassmann_interval(x)[1]
Weight
51
Created
Jul 21, 2022 at 11:26 by Martin Rubey
Updated
Jul 22, 2022 at 06:17 by Martin Rubey
searching the database
Sorry, this map was not found in the database.