Question: why odetest verified solution when implicit but not explicit?

I wanted to trick odetest and see what it does. I gave it solution to ode with IC. The solution was in form of implicit solution.

odetest verified it.

Then I solved for y(x) from the implicit solution and passed each now explicit solution to odetest, now it does not verify either one. (two explicit solutions resulted)

I would have thought that odetest to not verify the implicit solution as well. Is this a bug or an expected behavior when using implicit?

Does this mean, to be safe, one should try to solve for y(x) explicitly before using odetest? But sometimes this can be expensive or not possible nor practical to do as implicit solution can be complicated to solve for y(x).

Maple 2025.2 on windows 10.

Firewall now suddently will not let me upload a worksheet again for some reason. Firewall did not have a problem yesterday, but today it complained.

So here code and screen shot

restart;
ode:=2*y(x) + 2*x*y(x)^2 + (2*x + 2*x^2*y(x))*diff(y(x), x) = 0;
IC:=y(0) = 1;
maple_sol:=dsolve([ode,IC]);
#                         maple_sol := ()

my_sol_1:=x*y(x)*(2+y(x)*x)=0;
odetest(my_sol_1,[ode,IC])

#                             [0, 0]

PDEtools:-Solve(my_sol_1,y(x));
map(X->odetest(X,[ode,IC]),[%])

#   [[0, 1], [0, undefined]]

Please Wait...