I think it's sufficient for them to be linearly independent over the rationals, but this is again something that requires a non-trivial algorithm in the polys.
Aaron Meurer On Mon, Mar 5, 2012 at 1:38 AM, prateek papriwal <[email protected]> wrote: > agree . > sum of irrationals are unknown . nothing can be commented .. > > On Mon, Mar 5, 2012 at 9:30 AM, Chris Smith <[email protected]> wrote: >> >> sums of irrationals are unknown >> >> >>> (sqrt(2)+sqrt(3)).is_rational >> >>> (sqrt(3)+sqrt(5)).is_rational >> >> 2*irrational is irrational >> >> >>> (sqrt(3)+sqrt(3)).is_rational >> False >> >> When irrationals cancel, a rational remains >> >> >>> ((2-sqrt(2))+sqrt(2)).is_rational >> True >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/sympy?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
