Some faulty integration: integrate(a^(1/4)/(x^8-1),x) -- following examples are from mapleok.input in1867a:=integrate(1/(z^2-1)*(1-(I*z)^(1/2))^(1/2), z) in1869a:=integrate(1/(z^2-1)*(1-1/(I*z)^(1/2))^(1/2), z) in1870a:=integrate(1/(z^2-1)/(1+(I*z)^(1/2))^(1/2), z)
They are returning 0, which is obviously incorrect. Also in1724a:=integrate(-z^2/(z^2-1)*(1-(I*z)^(1/2))^(1/2), z) is wrong, although its return value is not 0. The problem happens in "pairsum" in irexpand.spad. This "pairsum" function tries to avoid cases like both x^(1/n) and (-x)^(1/n) (where n is even) appears in result. Take "integrate(a^(1/4)/(x^8-1),x)" for example, in order to solve "?^4+a/4096" appeared in "split internalIntegrate(a^(1/4)/(x^8-1),x)", "lg2func" uses "zeroOf" to introduce (-a)^(1/4) which causes "pairsum" to return empty result. I suggest: 1. Add a warning/error in "pairsum" when it tries to return empty. 2. We can handle cases like "?^4+a" "?^4+a*?^2+b" in "lg2func" better. -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To post to this group, send email to fricas-devel@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/CAGBJN93UMzAehRuyyMFbp8afRXf%3DBsbKpKF2Jbnkrd7kb9r86Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.