Difference between revisions of "Package borderbasis"
From ApCoCoAWiki
Line 44: | Line 44: | ||
input: poly F, list of terms OO, list of poly Prebasis | input: poly F, list of terms OO, list of poly Prebasis | ||
output: record with two fields Quotients and Remainder | output: record with two fields Quotients and Remainder | ||
+ | </pre> | ||
+ | [[BorderDivAlgForCoeffs]] | ||
+ | <pre> | ||
+ | BorderDivAlgForCoeffs(P,F,OO,Prebasis): applies BorderDivAlg to form | ||
+ | a list La in P such that F has a presentation of form | ||
+ | F=La[1]*OO[1]+...+La[Mu]*OO[Mu]+H, H in <Prebasis>. | ||
+ | input: poly F, list of terms OO, list of poly Prebasis | ||
+ | output: list of polys of length Mu=len(OO) | ||
+ | </pre> | ||
+ | [[BBRing]] | ||
+ | <pre> | ||
+ | BBRing(OO): creates the (standard) bb poly ring of OO. | ||
+ | input: list of terms OO in K[x[1..N]] | ||
+ | output: the ring K[c_ij] of OO | ||
+ | </pre> | ||
+ | [[GenMultMat]] | ||
+ | <pre> | ||
+ | GenMultMat(BBS,OO): computes the generic multiplication matrices with respect to the order ideal OO. | ||
+ | input: BBS the bb poly ring of OO, OO order ideal in K[x[1..N]] | ||
+ | output: matrices of size Mu x Mu over the ring BBS=K[c_{ij}] | ||
+ | </pre> | ||
+ | [[IthGenMultMat]] | ||
+ | <pre> | ||
+ | IthGenMultMat(BBS,OO,I): computes the generic multiplication matrix | ||
+ | for x[I] with respect to the order ideal OO. | ||
+ | input: I pos integer, OO order ideal in K[x[1..N]], BBS the bb poly ring of OO | ||
+ | output: matrix of size Mu x Mu over the ring BBS=K[c_{ij}] | ||
+ | </pre> | ||
+ | [[GenHomMultMat]] | ||
+ | <pre> | ||
+ | GenHomMultMat(BBS,OO): computes the generic homog. mult. matrices with respect to the order ideal OO. | ||
+ | input: BBS the bb poly ring of OO, OO order ideal in K[x[1..N]] | ||
+ | output: matrices of size Mu x Mu over the ring BBS=K[c_{ij}] | ||
+ | </pre> | ||
+ | [[IthGenHomMultMat]] | ||
+ | <pre> | ||
+ | IthGenHomMultMat(BBS,OO,I): computes the generic homog. mult. matrix | ||
+ | for x[I] with respect to the order ideal OO. | ||
+ | input: I pos integer, OO order ideal in K[x[1..N]], BBS the bb poly ring of OO | ||
+ | output: matrix of size Mu x Mu over the ring BBS=K[c_{ij}] | ||
+ | </pre> | ||
+ | [[GenDfMultMat]] | ||
+ | <pre> | ||
+ | GenDfMultMat(BBS,OO): computes the generic deg-filt mult. matrices with respect to the order ideal OO. | ||
+ | input: BBS the bb poly ring of OO, OO order ideal in K[x[1..N]] | ||
+ | output: matrices of size Mu x Mu over the ring BBS=K[c_{ij}] | ||
+ | </pre> | ||
+ | [[IthGenDfMultMat]] | ||
+ | <pre> | ||
+ | IthGenDfMultMat(BBS,OO,I): computes the generic deg-filt mult. matrix | ||
+ | for x[I] with respect to the order ideal OO. | ||
+ | input: I pos integer, OO order ideal in K[x[1..N]], BBS the bb poly ring of OO | ||
+ | output: matrix of size Mu x Mu over the ring BBS=K[c_{ij}] | ||
+ | </pre> | ||
+ | [[BBscheme]] | ||
+ | <pre> | ||
+ | BBscheme(BBS,OO): computes the defining equations of the border basis scheme | ||
+ | using the commutators of the multiplication matrices. | ||
+ | input: OO is an order ideal, BBS is the bb poly ring of OO | ||
+ | output: an ideal in the ring BBS = K[c_{ij}] | ||
+ | </pre> | ||
+ | [[IdealOfBBScheme]] | ||
+ | <pre> | ||
+ | IdealOfBBScheme(BBS,OO): the same as BBscheme(BBS,OO). | ||
+ | </pre> | ||
+ | [[DfBBscheme]] | ||
+ | <pre> | ||
+ | DfBBscheme(BBS,OO): computes the defining equations of the deg-filt BB scheme | ||
+ | using the commutators of the multiplication matrices. | ||
+ | input: OO is an order ideal, BBS is the bb poly ring of OO | ||
+ | output: an ideal in the ring BBS = K[c_{ij}] | ||
+ | </pre> | ||
+ | [[IdealOfDfBBscheme]] | ||
+ | <pre> | ||
+ | IdealOfDfBBscheme(BBS,OO): the same as DfBBscheme(BBS,OO). | ||
+ | </pre> | ||
+ | [[HomBBscheme]] | ||
+ | <pre> | ||
+ | HomBBscheme(BBS,OO): compute the defining equations of the homog. BB scheme | ||
+ | using the commutators of the generic homog mult matrices. | ||
+ | input: OO order ideal, BBS is the bb poly ring of OO | ||
+ | output: an ideal in the ring BBS = K[c_{ij}] | ||
+ | </pre> | ||
+ | [[IdealOfHomBBscheme]] | ||
+ | <pre> | ||
+ | IdealOfHomBBscheme(BBS,OO): the same as HomBBscheme(BBS,OO). | ||
+ | </pre> | ||
+ | [[RingOfFamily]] | ||
+ | <pre> | ||
+ | RingOfFamily(OO): forms the ring of universal bb family. | ||
+ | input: OO is an order ideal in K[x[1..N]] | ||
+ | output: the ring of univ bb family K[c_ij,x[1..N]] | ||
</pre> | </pre> | ||
Revision as of 00:17, 18 November 2022
This article is about a function from ApCoCoA-2. If you are looking for the ApCoCoA-1 version of it, see Category:ApCoCoA-1:Package borderbasis. |
This page describes the borderbasis
package. The package contains various functions for computing with border bases of order ideals in a polynomial ring P=K[x_1,...,x_n] over a field K. We refer the book [M. Kreuzer and L. Robbiano, Computational Commutative Algebra 2, Springer-Verlag, Berlin, 2005] for more details about border bases. For a complete list of functions, see also Category:Package borderbasis.
The Global Alias of the package is BB
.
List of the main functions
IsOrderIdeal(OO): checks whether OO is an order ideal. input: OO a non-empty set of terms in K[x[1..N]] output: boolean value for checking OO being an order ideal
IndexO(P,T,OO): returns index of a term in K[x[1..N]]w.r.t an order ideal OO. input: T a term in P= K[x[1..N]], OO an oder ideal in P output: the index of T w.r.t. OO
Border(OO): computes the border of an order ideal. input: list of terms output: list of terms in ascending order
Box(P,D): computes the 'box' order ideal of type D=[D1,..,DN]. input: list of integers D of length NumIndets(P), P=K[x[1..N]] output: list of terms (sorted w.r.t. current TO)
BBasisForOI(F,OO): computes the border basis of the ideal I=<F> with respect to the order ideal OO, gives an error messages if no border basis exists, uses the O_sigma(I) border basis and the BB transformation. input: list of poly F, list of terms OO output: list of poly
BorderDivAlg(P,F,OO,Prebasis): applies the Border Division Algorithm w.r.t. the order ideal OO and the border prebasis Prebasis to the polynomial F and returns a record with fields Quotients and Remainder where Remainder is the normal OO-remainder of F. input: poly F, list of terms OO, list of poly Prebasis output: record with two fields Quotients and Remainder
BorderDivAlgForCoeffs(P,F,OO,Prebasis): applies BorderDivAlg to form a list La in P such that F has a presentation of form F=La[1]*OO[1]+...+La[Mu]*OO[Mu]+H, H in <Prebasis>. input: poly F, list of terms OO, list of poly Prebasis output: list of polys of length Mu=len(OO)
BBRing(OO): creates the (standard) bb poly ring of OO. input: list of terms OO in K[x[1..N]] output: the ring K[c_ij] of OO
GenMultMat(BBS,OO): computes the generic multiplication matrices with respect to the order ideal OO. input: BBS the bb poly ring of OO, OO order ideal in K[x[1..N]] output: matrices of size Mu x Mu over the ring BBS=K[c_{ij}]
IthGenMultMat(BBS,OO,I): computes the generic multiplication matrix for x[I] with respect to the order ideal OO. input: I pos integer, OO order ideal in K[x[1..N]], BBS the bb poly ring of OO output: matrix of size Mu x Mu over the ring BBS=K[c_{ij}]
GenHomMultMat(BBS,OO): computes the generic homog. mult. matrices with respect to the order ideal OO. input: BBS the bb poly ring of OO, OO order ideal in K[x[1..N]] output: matrices of size Mu x Mu over the ring BBS=K[c_{ij}]
IthGenHomMultMat(BBS,OO,I): computes the generic homog. mult. matrix for x[I] with respect to the order ideal OO. input: I pos integer, OO order ideal in K[x[1..N]], BBS the bb poly ring of OO output: matrix of size Mu x Mu over the ring BBS=K[c_{ij}]
GenDfMultMat(BBS,OO): computes the generic deg-filt mult. matrices with respect to the order ideal OO. input: BBS the bb poly ring of OO, OO order ideal in K[x[1..N]] output: matrices of size Mu x Mu over the ring BBS=K[c_{ij}]
IthGenDfMultMat(BBS,OO,I): computes the generic deg-filt mult. matrix for x[I] with respect to the order ideal OO. input: I pos integer, OO order ideal in K[x[1..N]], BBS the bb poly ring of OO output: matrix of size Mu x Mu over the ring BBS=K[c_{ij}]
BBscheme(BBS,OO): computes the defining equations of the border basis scheme using the commutators of the multiplication matrices. input: OO is an order ideal, BBS is the bb poly ring of OO output: an ideal in the ring BBS = K[c_{ij}]
IdealOfBBScheme(BBS,OO): the same as BBscheme(BBS,OO).
DfBBscheme(BBS,OO): computes the defining equations of the deg-filt BB scheme using the commutators of the multiplication matrices. input: OO is an order ideal, BBS is the bb poly ring of OO output: an ideal in the ring BBS = K[c_{ij}]
IdealOfDfBBscheme(BBS,OO): the same as DfBBscheme(BBS,OO).
HomBBscheme(BBS,OO): compute the defining equations of the homog. BB scheme using the commutators of the generic homog mult matrices. input: OO order ideal, BBS is the bb poly ring of OO output: an ideal in the ring BBS = K[c_{ij}]
IdealOfHomBBscheme(BBS,OO): the same as HomBBscheme(BBS,OO).
RingOfFamily(OO): forms the ring of universal bb family. input: OO is an order ideal in K[x[1..N]] output: the ring of univ bb family K[c_ij,x[1..N]]
List of support functions
LinPart(P,F): computes the homogeneous part of degree 1. input: P = Poly ring, F = Poly or list of Poly output: Poly or list of Poly
RLF(P,F): RLF of a polynomial returns its linear form which vanishes at the origin, independently of the grading. RLF of a list of poly or an ideal I returns the reduced GB of the ideal generatd by the RLF of the Gens of I. input: P = Poly ring, F = Poly or list of Poly or ideal output: Poly or list of Poly
CoeffPoly(P,T,F,X): find the 'multivariate' coefficient of a term in a poly. input: P = Poly ring, T term, F poly, X set of indets output: polynomial coefficent of T in F such that no coefficient is in <X>
DF(P,F): degree form of a polynomial F. input: P = Poly ring, F poly output: Poly
Ccolumn(BBS, J): contructs the column (C[1,J],...,C[Mu,J])^{tr}. input: BBS is the bb poly ring, J In 1..Nu output: a (Mu x 1)-matrix of indets
HomCcolumn(BBS,J,OO): contructs the 'homogeneous' column (D[1,J],...,D[Mu,J])^{tr} where D[I,J]=C[I,J] if Deg(t_i)=Deg(b_j) and D[I,J]=0 otherwise. input: BBS is the bb poly ring, J In 1..Nu, OO order ideal output: a (Mu x 1)-matrix of indets
IsListOfTerms(L): checks if a list is a list of terms. input: non-empty LIST of POLY output: TRUE if L is a list of terms, FALSE otherwise
ArrDeg(BBS, OO, opt L): computes the triple [indet, arrow-degree, arrow] of the indeterminates in L. input: BBS is the bb poly ring, L list of indets of BBS, OO order ideal output: [indet, arrow-degree, arrow]
TotArrDeg(BBS, OO, opt L): computes the triple [indet, Total arrow-degree, arrow] of the indeterminates in L. input: BBS is the bb poly ring, L list of indets of BBS, OO order ideal output: [indet, Total arrow-degree, arrow]
NonNegTotArrDeg(BBS, OO, opt L): computes the indets with non-negative total-arrow-degree. input: BBS is the bb poly ring, L list of indets of BBS, OO order ideal output: list of indets";
PositiveArrow(BBS, OO, opt L): computes the indets with positive total-arrow-degree. input: BBS is the bb poly ring, L list of indets of BBS, OO order ideal output: list of indets
ZeroTotArrDeg(BBS, OO, opt L): computes the indets with zero total-arrow-degree. input: BBS is the bb poly ring, L list of indets of BBS, OO order ideal output: list of indets
InteriorCij(BBS,OO): computes the indeterminates in BBS associated to the interior terms in OO input: OO order ideal, BBS is the bb poly ring output: list of interior indets
Example for computations
- See also: BB.Border