smichr/sympy — comment on commit 25816c74a7c504428cfb112bbca883ff26804be8
File: sympy/simplify/sqrtdenest.py line 302
By pernici:

On Wed, Jan 4, 2012 at 12:32 PM, Christopher Smith <
reply@reply.github.com
> wrote:

> All the changes have been made and is_algebraic returns True for 1/(sqrt(2)
> + sqrt(3))**2 ... is that ok or should it not be a power higher than 1?
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/smichr/sympy/commit/25816c74a7c504428cfb112bbca883ff26804be8#commitcomment-836571
>

I do not have an example in which `_denester` denests with the addition of
these cases
(p.is_Pow and p.exp== -1, or p.is_Pow and p.exp.is_Integer); allowing
power higher than 1 is anyway
consistent with the name `is_algebraic`