Skip to content

Commit

Permalink
isIntersectionOfSchubertDeterminantalIdeals<-->isIntersectionSchubIdeals
Browse files Browse the repository at this point in the history
Flipped roles of name and alias
  • Loading branch information
patriciajklein committed Nov 20, 2023
1 parent 2a57e75 commit c930ed5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions MatrixSchubert.m2
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export{
"schubDecompose" => "schubertDecompose",
"permSetOfASM", --documented ++
"permutationSetofASM" => "permSetOfASM",
"isIntersectionSchubIdeals", --documented ++
"isIntersectionOfSchubertDeterminantalIdeals" => "isIntersectionSchubIdeals",
"isIntersectionOfSchubertDeterminantalIdeals", --documented ++
"isIntersectionSchubIdeals" => "isIntersectionOfSchubertDeterminantalIdeals",
"isASMIdeal", --documented ++
"isASM", --documented ++
"isASMUnion", --documented ++
Expand Down
4 changes: 2 additions & 2 deletions MatrixSchubert/MatrixSchubertConstructions.m2
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,8 @@ permSetOfASM Matrix := List => A -> (
--TODO: docs and tests
--TODO: input validation/type checking
-------------------------------------------
isIntersectionSchubIdeals = method()
isIntersectionSchubIdeals Ideal := Boolean => I -> (
isIntersectionOfSchubertDeterminantalIdeals = method()
isIntersectionOfSchubertDeterminantalIdeals Ideal := Boolean => I -> (
isIntersection := true;
if (I == radical(I)) then {
schubDecomp := apply(schubertDecompose I, i-> schubertDeterminantalIdeal(i, CoefficientRing => coefficientRing(ring I)));
Expand Down
8 changes: 4 additions & 4 deletions MatrixSchubert/MatrixSchubertConstructionsDOC.m2
Original file line number Diff line number Diff line change
Expand Up @@ -962,12 +962,12 @@ doc ///

doc ///
Key
isIntersectionSchubIdeals
(isIntersectionSchubIdeals, Ideal)
isIntersectionOfSchubertDeterminantalIdeals
(isIntersectionOfSchubertDeterminantalIdeals, Ideal)
Headline
whether an ideal is the intersection of Schubert determinantal ideals
Usage
isIntersectionSchubIdeals I
isIntersectionOfSchubertDeterminantalIdeals I
Inputs
I:Ideal
Outputs
Expand All @@ -990,7 +990,7 @@ doc ///
Example
A = matrix{{0,0,1,0,0},{1,0,0,0,0},{0,1,-1,1,0},{0,0,0,0,1},{0,0,1,0,0}};
J = schubertDeterminantalIdeal A;
isIntersectionSchubIdeals J
isIntersectionOfSchubertDeterminantalIdeals J
///

doc ///
Expand Down
14 changes: 7 additions & 7 deletions MatrixSchubert/MatrixSchubertTests.m2
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,9 @@ assert(schubertDecompose schubertDeterminantalIdeal I == {{1, 2, 3, 4}})
--permSetOfASM--
assert(permSetOfASM I == {{1, 2, 3, 4}})

--isIntersectionSchubIdeals--
assert(isIntersectionSchubIdeals schubertDeterminantalIdeal w == true );
assert(isIntersectionSchubIdeals schubertDeterminantalIdeal I == true );
--isIntersectionOfSchubertDeterminantalIdeals--
assert(isIntersectionOfSchubertDeterminantalIdeals schubertDeterminantalIdeal w == true );
assert(isIntersectionOfSchubertDeterminantalIdeals schubertDeterminantalIdeal I == true );

--isASMIdeal--
assert(isASMIdeal schubertDeterminantalIdeal w == true );
Expand Down Expand Up @@ -891,14 +891,14 @@ assert(permSetOfASM I == {{3, 5, 1, 2, 4}, {5, 2, 3, 1, 4}, {4, 2, 5, 1, 3}, {3,
///

TEST ///
--isIntersectionSchubIdeals--
--isIntersectionOfSchubertDeterminantalIdeals--
w = {2,1,6,3,5,4};
I = matrix{{0,0,1,0,0},{0,1,-1,1,0},{1,-1,1,0,0},{0,1,0,-1,1},{0,0,0,1,0}};
PI = matrix{{0,0,1,0,0},{0,1,-1,1,0},{1,-1,1,0,0},{0,1,0,-1,0},{0,0,0,1,0}};

assert(isIntersectionSchubIdeals schubertDeterminantalIdeal w == true );
assert(isIntersectionSchubIdeals schubertDeterminantalIdeal I == true );
assert(isIntersectionSchubIdeals schubertDeterminantalIdeal PI == true);
assert(isIntersectionOfSchubertDeterminantalIdeals schubertDeterminantalIdeal w == true );
assert(isIntersectionOfSchubertDeterminantalIdeals schubertDeterminantalIdeal I == true );
assert(isIntersectionOfSchubertDeterminantalIdeals schubertDeterminantalIdeal PI == true);
///

TEST ///
Expand Down

0 comments on commit c930ed5

Please sign in to comment.