# ApCoCoA-1:Weyl.WNR

From ApCoCoAWiki

## Weyl.WNR

Computes normal remainder of a Weyl polynomial F with respect

to a polynomial L or a set of polnomials in the list L.

### Syntax

Weyl.WNR(F:POLY,G:LIST/POLY):POLY

### Description

Computes normal remainder of a Weyl polynomial F with respect to a polynomial L or a set of polynomials in the list L.

If L is Groebner basis then this function is used for ideal membership problem.

**F: ** a Weyl polynomial in normal form.

**L: ** a Weyl polynomial or a list of Weyl polynomials.

Output is a remainder R as a weyl polynomial using normal remainder algorithm in Weyl algebra A_n.

#### Example

W3::=ZZ/(7)[x[1..3],d[1..3]]; Use W3; F1:=-d[1]^3d[2]^5d[3]^5+x[2]^5; F2:=-3x[2]d[2]^5d[3]^5+x[2]d[1]^3; F3:=-2d[1]^4d[2]^5-x[1]d[2]^7+x[3]^3d[3]^5; L:=[F1,F2,F3]; Weyl.WNR(F1,L); 0 ------------------------------- Weyl.WNR(F1,Gens(Ideal(F2,F3))); -d[1]^3d[2]^5d[3]^5 + x[2]^5 ------------------------------- Weyl.WNR(x[2]^5-d[1]^3,L); x[2]^5 - d[1]^3 ------------------------------- Weyl.WNR(x[2]^5-d[1]^3d[2]^7d[3]^6,F1); -x[2]^5d[2]^2d[3] - 3x[2]^4d[2]d[3] + x[2]^5 + x[2]^3d[3] -------------------------------

*Note:* All polynomials that are not in normal form should be first converted in to normal form using Weyl.WNormalForm(L), otherwise you may get unexpected results.

### See also