Hi *, A terrible bug in differentiation. axiom D(sin(z)^2+cos(z)^2, z)
Type: Expression(Integer) axiom D(simplify(sin(z)^2+cos(z)^2), z)
Type: Expression(Integer) BUT axiom D(1, z)
Type: Expression(Integer) axiom D(simplify(cosh(z)^2-sinh(z)^2), z)
Type: Expression(Integer)
axiom D(1::Expression(Integer),z)
Type: Expression(Integer) In Axiom it is important to know the type of the arguments to a function. In this case you gave the D function a PositveInteger? and is does not have a path to coerce PositiveInteger? -> Expression(Integer). Whenever you see the message about exposed and unexposed library functions the meaning is that you didn't match the type of the arguments and the interpreter couldn't get there from here. The coercion/conversion tower in the interpreter is not well defined and sometimes it needs help. Tim
|