Many integrals fail to verify their results in V 13.3 compared to V 13.2.1.
So I am asking for help to determine why. It is possible that my function which verifies the antiderivative is not doing a good job and that the result is correct or may be something changed in V 13.3 Integrate to cause this? Or could this possibly be a bug?
Is there a workaround to make V 13.3. verify the result? Feel free to change the code below as needed which does the verification check.
This is just small sample of 5 integrals. First screen shot of the notebook. You see in V 13.3 all 5 integrals failed to verify and same 5 integrals passed the check.
Here is the source code:
(*basic function to verify result of Mathematica Integrate command*)
(*possible it can give false negative*)
(*version July 5, 2023*)
verify[anti_,integrand_,x_]:=Module[{tmp},
If[PossibleZeroQ[RootReduce[Cancel[Together[D[anti,x]-integrand]]]],Return[True,Module]];
tmp=D[anti,x]-integrand;
If[FreeQ[Simplify[tmp],x],Return[True,Module]];
tmp=D[Simplify[anti],x]-integrand;
If[FreeQ[Simplify[tmp],x],Return[True,Module]];
tmp=Simplify[D[anti,x]]-integrand;
If[FreeQ[Simplify[tmp],x],Return[True,Module]];
tmp=Assuming[Element[x,Reals],Simplify[D[anti,x]]-integrand];
If[FreeQ[Simplify[tmp],x],Return[True,Module]];
tmp=Assuming[x>0,Simplify[D[anti,x]]-integrand];
If[FreeQ[Simplify[tmp],x],Return[True,Module]];
tmp=Assuming[x<0,Simplify[D[anti,x]]-integrand];
If[FreeQ[Simplify[tmp],x],Return[True,Module]];
tmp=FullSimplify[D[anti,x]]-integrand;
If[FreeQ[Simplify[tmp],x],Return[True,Module]];
False
];
lst = {Sqrt[1 + x]/(1 - x)^(3/2), (1 + a*x)^(3/2)/
Sqrt[1 - a*x], (1 - x)^(7/2)/Sqrt[1 + x], (1 - x)^(5/2)/
Sqrt[1 + x], (1 - x)^(3/2)/Sqrt[1 + x]};
(verify[Integrate[#, x], #, x] &) /@ lst