I stumbled on the following bug in limit.
Let f and x in f(x) both be unassigned names:
Maple answers 0, but should obviously return unevaluated.
It seems that when it doesn’t know enough about f(x), then it returns zero:
returns 0, but should return infinity (or unevaluated).
The procedure for limit is complicated. I didn’t get very far in tracking the bug, but did find that
correctly returns FAIL. `limit/series` is called from within `limit/limit` which in
turn is called from limit.
The bug
may be due to the following feature
which e.g. results in
I would prefer that all three returned unevaluated.