Macaulay2 » Documentation
Packages » MatrixSchubert :: isCartwrightSturmfels
next | previous | forward | backward | up | index | toc

isCartwrightSturmfels -- whether a permutation is Cartwright-Sturmfels

Synopsis

Description

Given a permutation in 1-line notation, checks if the permutation is Cartwright-Sturmfels. By [CDG22], the matrix Schubert variety $X_w$ is Cartwright-Sturmfels if and only if $w$ avoids all of the patterns $\{12543, 13254, 13524, 13542, 21543, 125364, 125634, 215364, 215634, 315264, 315624, 315642\}$.

i1 : w = {7,2,5,8,1,3,6,4}

o1 = {7, 2, 5, 8, 1, 3, 6, 4}

o1 : List
i2 : isCartwrightSturmfels w

o2 = false
i3 : v = {1,6,9,2,4,7,3,5,8}

o3 = {1, 6, 9, 2, 4, 7, 3, 5, 8}

o3 : List
i4 : isCartwrightSturmfels v

o4 = false

Ways to use isCartwrightSturmfels :

For the programmer

The object isCartwrightSturmfels is a method function.