Re: Using AlgebraicRules

*To*: mathgroup at smc.vnet.net*Subject*: [mg8830] Re: [mg8816] Using AlgebraicRules*From*: Daniel Lichtblau <danl>*Date*: Mon, 29 Sep 1997 02:39:55 -0400*Sender*: owner-wri-mathgroup at wolfram.com

Welsh Justin wrote: > > I'm using Mathmatica's AlgebraicRules to define an extensive set of > transformation rules and variables. I'm then applying this set of rules to > various expressions. I then want to apply the same set of transformation > rules to a different set of expressions at a later time. Running > AlgebraicRules[eqns, vars] to set up the transformation rules takes a lot of > time because of the large number of transformation rules. Right now I'm > having to run AlgebraicRules every time I begin a Mathematica session. > > Is there a way to either save the set of transformation rules so that I can > apply them to new expressions later without rerunning AlgebraicRules or are > there tricks to setting up AlgebraicRules so that it runs faster? > Thanks--Justin If you are using version 3 of Mathematica it is likely that you would be better served by GroebnerBasis instead of AlgebraicRules (which still exists but is no longer supported). One then uses PolynomialReduce instead of, say, ReplaceAll. You would not need to recompute the Groebner basis each time you start a new session; you could do it once and thereafter use Get to load the result from a file. Daniel Lichtblau Wolfram Research danl at wolfram.com