On Wed, Nov 23, 2022 at 05:21:42PM +0800, Qian Yun wrote:
> FYI, it can be correctly solved by "mrv_limit" which uses Gruntz
> algorithm. However I don't know why this code path is not enabled
> for this function. (see "is_exp_log" in limitps.spad).
>
> - Qian
>
> (1) -> )expose MrvLimitPackage
> MrvLimitPackage is now explicitly exposed in frame frame1
> (1) -> f := D(log(tan(%pi/2*tanh(x))), x);
>
> Type:
> Expression(Integer)
> (2) -> mrv_limit(f, x=%plusInfinity)
>
> (2) 2
This is due to 'tan'. Termination of Gruntz algorithm depends
on having exp-log function, for trigonometric functions
Gruntz may fail. This is easy case, but ATM we have no way
to distinguish it from problematic cases.
--
Waldek Hebisch