# Difference between revisions of "ApCoCoA-1:BB.ASgens"

## borderbasis.ASgens

compute generators of vanishing ideal of border basis scheme

### Syntax

```\$borderbasis.ASgens(K:INT,OO:LIST):LIST
```

### Description

Computes the generators of the vanishing ideal of the border basis scheme corresponding to the lifting of the K-th element of the list returned by ASneighbors(OO). The input is an integer K in the range 1..Len(ASneighbors(OO)) and a list OO of terms that specify an order ideal. The output is a list of polynomials in the ring <formula>BBS=K[c_{ij}]</formula>.

#### Example

```Use Q[x,y,z];
ASgens(1, [1,x,y,z]);
[BBS :: c[1,5]c[2,1] - c[1,3]c[2,2] + c[1,4]c[3,1] - c[1,2]c[3,2] + c[1,2]c[4,1] - c[1,1]c[4,2],
BBS :: c[2,2]c[2,3] - c[2,1]c[2,5] - c[2,4]c[3,1] + c[2,2]c[3,2] - c[2,2]c[4,1] + c[2,1]c[4,2],
BBS :: c[3,2]^2 + c[2,2]c[3,3] - c[3,1]c[3,4] - c[2,1]c[3,5] - c[3,2]c[4,1] + c[3,1]c[4,2] - c[1,1],
BBS :: c[3,2]c[4,2] + c[2,2]c[4,3] - c[3,1]c[4,4] - c[2,1]c[4,5] + c[1,2]]
-------------------------------
```