Unfortunatly, 'rootsOf' is useful only in limited situations and
in other cases, like the one above leads to wrong results. Namely,
we need to work in the splitting field, which in case of roots of 1
is easy: corresponding splitting field is generated by root of
appropriate cyclotomic polynomial. In general 'rootsOf' may be
wrong for two reasons. First, 'rootOf' (used by 'rootsOf') leads
to correct result only if its argument is an irreducible polynomial.
But 'z^36 - 1' is reducible. Second, normally 'rootsOf' treats
roots in indepenent way which basically means that each single root
usually (that is for irreducible polynomial) is correct, but algebraic
structure that they generate may fail to be a field (so in particular
it is not the splitting field). In the case above, 'rootsOf'
notices that the polynomial is a binomial and uses special case code
which for irreducible polynomial would produce correct splitting
field. But first reason still applies, the polynomial is reducible
so produced algebraic structure is not a field. So you find a
zero divisor which leads to the error above.
> >
> > There is question how much coverage we get this way. That is,
> > are there useful simplifications that are missed by approach above?
> > And how frequently simplifications of that kind are applicable?
> >
> > Opinions? Anybody wants to make a package based on this?
>
> Well, nice to have but surely not a must. I guess you could provide one in a
> wink of an eye (if time allows :)
>
>
> >
> > BTW: if arguments to trigonometric functions are _not_ a rational
> > multiple of %pi, then 'normalize' is quite good at finding canonical
> > form, but frequently it is different from what users want.
> >
>
> --
> You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
fricas-devel...@googlegroups.com.
> To view this discussion visit
https://groups.google.com/d/msgid/fricas-devel/5700f5e4-5711-4e83-8f18-f19a0143dc57%40gmail.com.
--
Waldek Hebisch