(new) exquo and therefore gcd cannot handle UP(x, EXPR INT) --Bill Page, Mon, 11 Jul 2005 15:56:25 -0500 reply
Update of bug #10530 (project axiom):Status: None => transferred
Type: UnivariatePolynomial(x,Expression Integer)
Gives 1, while the correct answer should be
Type: UnivariatePolynomial(x,Expression Integer) gcd((x-2^a)::UP(x, EXPR INT), simplify((x-2^a)*(x+2^a))::UP(x, EXPR INT)) gives 1, while the correct answer should be x-2^a, as given by gcd((x-2^a)::UP(x, EXPR INT),((x-2^a)*(x+2^a))::UP(x, EXPR INT)) A workaround is presented on [EXPR_GCD]? Internal Cause In EXPR INT, gcdPrimitive(p1:SUPP,p2:SUPP)$PGCD fails. Thu 09/30/2004 at 09:31, comment #3 Excuse me, I was to quick again. Here is the (hopefully correct) anaylysis: exquo(simplify((A-2^a)*(A+2^a))::UP(A,EXPR INT),(A-2^a)::UP(A,EXPR INT)) calls Thus, in our case, at one point p1 is It would be interesting to see how MuPAD? or Aldor handle this. Martin Rubey Wed 09/29/2004 at 16:20, comment #2:The instance of exquo involved is the one in SMP. Sorry, this is not correct. It is in FIELD (for EXPR INT) Martin Rubey Wed 09/29/2004 at 16:02, comment #1:I should have added:
Type: Union(Expression Integer,...)
Type: Union("failed",...)
I'm afraid that this cannot be fixed easily, since there is no general mechanism to determine whether an expression is zero or not, which is needed in exquo. The instance of exquo involved is the one in SMP. The problem seems to be that Axiom does not always treat
Type: Domain
Type: UnivariatePolynomial(x,Expression Integer)
Type: Expression Integer
Type: Expression Integer
Type: UnivariatePolynomial(x,Expression Integer)
Type: UnivariatePolynomial(x,Expression Integer)
Type: UnivariatePolynomial(x,Expression Integer)
Type: Union(Expression Integer,...)
Type: UnivariatePolynomial(x,Expression Integer)
Type: UnivariatePolynomial(x,Expression Integer)
Type: UnivariatePolynomial(x,Expression Integer)
Type: Expression Integer
Type: Expression Integer
Type: Expression Integer
Type: Boolean
Comments from wyscc: Martin wrote: I'm afraid that this cannot be fixed easily, since there is no general mechanism to determine whether an expression is zero or not, which is needed in exquo. Your analysis seems to be the correct diagnosis. The problem has nothing to do with |