Overview of the RegularChains[FastArithmeticTools] Subpackage of RegularChains - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Factorization and Solving Equations : RegularChains : FastArithmeticTools Subpackage : RegularChains/FastArithmeticTools

Overview of the RegularChains[FastArithmeticTools] Subpackage of RegularChains

Calling Sequence

RegularChains[FastArithmeticTools][command](arguments)

command(arguments)

Description

• 

The RegularChains[FastArithmeticTools] subpackage contains a collection of commands for computing with regular chains in prime characteristic using asymptotically fast algorithms.

• 

Most of the commands of this package implements core operations on regular chains such as regularity test and polynomial GCD modulo a regular chain. However, these commands have several constraints. On top of the characteristic issue (mentioned above) the current regular chain must have dimension zero or one. There is only one exception: the command RegularGcdBySpecializationCube which makes no assumption on dimension.

• 

In order to call one of the commands of this subpackage the characteristic of the polynomial ring must be a prime number p satisfying the following properties. First, it should not be greater than 962592769. Secondly, the number p-1 should be divisible by a sufficiently large power of 2. 2^20 is often sufficient. The best prime number p under these constraints is 469762049 for which p-1 writes 2^26 * 7.  If this power of 2 is not large enough, then a clean error is returned.

• 

The commands IteratedResultantDim0 and IteratedResultantDim1 compute the iterated resultant of a polynomial w.r.t. a regular chain of dimension 0 and 1, respectively.

• 

The commands NormalFormDim0 and ReduceCoefficientsDim0 compute the normal form of a polynomial w.r.t. a zero-dimensional regular chain.

• 

The commands NormalizePolynomialDim0 and NormalizeRegularChainDim0 normalize a polynomial (w.r.t. a zero-dimensional regular chain) and a regular chain (w.r.t. itself).

• 

The commands RandomRegularChainDim0 and RandomRegularChainDim1 compute random regular chains of given degrees.

• 

The command RegularizeDim0 tests whether a polynomial is invertible modulo a zero-dimensional regular chain.

• 

The commands RegularGcdBySpecializationCube, ResultantBySpecializationCube and SubresultantChainSpecializationCube compute resultants and polynomial GCDs modulo a regular chain using fast evaluation and interpolation.

List of RegularChains[FastArithmeticTools] Subpackage Commands

  

The following is the list of the available commands.

BivariateModularTriangularize

IteratedResultantDim0

IteratedResultantDim1

NormalFormDim0

NormalizePolynomialDim0

NormalizeRegularChainDim0

RandomRegularChainDim0

RandomRegularChainDim1

ReduceCoefficientsDim0

RegularGcdBySpecializationCube

RegularizeDim0

ResultantBySpecializationCube

SubresultantChainSpecializationCube

 

 

Examples

withRegularChains:

withFastArithmeticTools:

withChainTools:

Define a ring of polynomials.

p:=962592769;vars:=x1,x2,x3,x4:R:=PolynomialRingvars,p:

p:=962592769

(1)

Randomly generating (dense) regular chain and polynomial

N:=nopsvars:dg:=3:degs:=seq4,i=1..N:pol:=randpolyvars,dense,degree=dg+randmodpmodp:tc:=RandomRegularChainDim0vars,degs,p:Equationstc,R:

Compute the iterated resultant of pol w.r.t. tc

r1:=IteratedResultantDim0pol,tc,R

r1:=446889812

(2)

Compare with the generic algorithm (non-fast and non-modular algorithm) of the command IteratedResultant.

r2:=IteratedResultantpol,tc,R

r2:=446889812

(3)

The results computed IteratedResultantDim0 and IteratedResultant are equivalent.

Expandr1r2modp

0

(4)

Define another ring of polynomials.

p:=962592769:vars:=x,y,z:N:=nopsvars:

R:=PolynomialRingvars,p:

Generate a regular chain and a random polynomial.

c1:=z2+286748183z+134705551:

c2:=y2+914706789yz+686506773y+823875308z+417988453:

c3:=x2+224047618xyz+197329999xy+838274835xz+792563861x+600038529yz+434770098y+251400283z+918968185:

lf:=c1,c2,c3:

tc:=Chainlf,EmptyR,R:

lf:=x+c1c2c3,c1c2c1c3,1+c1c2c3:

dg:=10:

q1:=randpolyvars,dense,degree=dg+randmodpmodp:

q2:=randpolyvars,dense,degree=dg+randmodpmodp:

q3:=randpolyvars,dense,degree=dg+randmodpmodp:

r:=randpolyvars,dense,degree=dg+randmodpmodp:

f:=q1c1+q2c2+q3c3+r:

Compute the normal form of f.

nf1:=NormalFormDim0f,tc,R

nf1:=432179496xyz+155101383xy+315413769xz+363972937yz+26151892x+177373407y+488081781z+187723363

(5)

Compare with the generic algorithm (non-fast and non-modular algorithm) of the command NormalForm.

nf2:=NormalFormf,tc,R

nf2:=432179496xyz+155101383xy+315413769xz+363972937yz+26151892x+177373407y+488081781z+187723363

(6)

The results computed by NormalFormDim0 and NormalForm are equivalent.

nf1nf2modp

0

(7)

See Also

module, RegularChains, UsingPackages, with

References

  

X. Li and M. Moreno Maza. "Efficient implementation of polynomial arithmetic in a multilevel programming environment." Proc. International Congress of Mathematical Software, p.12-23, LNCS Vol.4151, Springer, 2006.

  

X. Li, M. Moreno Maza and E. Schost. "Fast arithmetic for triangular sets: from theory to practice." ISSAC'2007, ACM Press. p.269-276, 2007.

  

X. Li and M. Moreno Maza. "Multithreaded parallel implementation of arithmetic operations modulo a triangular set." PASCO'2007, ACM Press, p.53-59, 2007.

  

A. Filatei, X. Li, M. Moreno Maza and E. Schost. "Implementation techniques for fast polynomial arithmetic in a high-level programming environment." ISSAC'2006, p.93-100, ACM Press, 2006.

  

X. Li, M. Moreno Maza, R. Rasheed and E. Schost. "High-Performance Symbolic Computation in a Hybrid Compiled-Interpreted Programming Environment." Proc. 2008 International Conference on Computational Science and Applications, IEEE Computer Society, pp 331--341 2008.

  

X. Li, M. Moreno Maza, R. Rasheed and E. Schost. "The Modpn library: Bringing fast polynomial arithmetic into Maple." Proc. 2008 Milestones in Computer Algebra, Stonehaven Bay, Trinidad and Tobago, 2008.

  

X. Li, M. Moreno Maza and W. Pan. "Computations modulo regular chains." Technical Report, University of Western Ontario, 2009.


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam