Macaulay2 » Documentation
Packages » ComprehensiveGBs » comprehensiveGBOnGraph
next | previous | forward | backward | up | index | toc

comprehensiveGBOnGraph -- parametrized systems from a graph

Description

Let $G=(V,E)$ be graph and fix a positive integer $d$. Consider the parameterized polynomial systems $F=\{f_e\}_{e\in E}\subseteq K[\lambda_e\:e\in E][x_{v,k}:v\in V,1\leq k \leq d]$, where $K\in \{\mathbb{C},\mathbb{R}\}$ and \[ f_{ij}=\sum_{k=1}^{d}(x_{i,k}-x_{j,k})^2 -\lambda_{ij}. \] The function comprehensiveGBOnGraph returns the polynomial systems $F$ and a comprehensive Gröbner system of $F$.

i1 : (F, GG) = comprehensiveGBOnGraph({{1,2,3}, {(1,2),(2,3),(3,1)}}, 1, ReduceStrata => true);
i2 : netList F

     +------------------------------+
     | 2                  2         |
o2 = |x    - 2x   x    + x    - w   |
     | 1,1     1,1 2,1    2,1    1,2|
     +------------------------------+
     | 2                  2         |
     |x    - 2x   x    + x    - w   |
     | 2,1     2,1 3,1    3,1    2,3|
     +------------------------------+
     | 2                  2         |
     |x    - 2x   x    + x    - w   |
     | 1,1     1,1 3,1    3,1    3,1|
     +------------------------------+
i3 : GG_0

             2                  2                              2       2    
o3 = ({0}, {w    - 2w   w    + w    - 2w   w    - 2w   w    + w   }, {w    -
             1,2     1,2 2,3    2,3     1,2 3,1     2,3 3,1    3,1     1,2  
     ------------------------------------------------------------------------
                  2                              2
     2w   w    + w    - 2w   w    - 2w   w    + w   })
       1,2 2,3    2,3     1,2 3,1     2,3 3,1    3,1

o3 : Sequence

The graph may also be given as a graph object.

i4 : needsPackage "Graphs";
i5 : (F, GG) = comprehensiveGBOnGraph(completeGraph 3, 1, ReduceStrata => true);
i6 : netList F

     +------------------------------+
     | 2                  2         |
o6 = |x    - 2x   x    + x    - w   |
     | 0,1     0,1 1,1    1,1    0,1|
     +------------------------------+
     | 2                  2         |
     |x    - 2x   x    + x    - w   |
     | 0,1     0,1 2,1    2,1    0,2|
     +------------------------------+
     | 2                  2         |
     |x    - 2x   x    + x    - w   |
     | 1,1     1,1 2,1    2,1    1,2|
     +------------------------------+

See also

Ways to use comprehensiveGBOnGraph:

  • comprehensiveGBOnGraph(List,ZZ)

For the programmer

The object comprehensiveGBOnGraph is a method function with options.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/ComprehensiveGBs.m2:955:0.