On Fri, May 31, 2013 at 04:45:13PM -0400, Mark Shimozono wrote: > Anyone understand the behavior > > sage: RR^2 in Groups() > False > > Certainly (RR^2,+) should be a group.
Abstractly speaking, yes, RR^2 is a group. But on a computer you need to specify what the notations are for the operations otherwise you can't call those operations to do anything useful. So Sage makes the distinction between additive and multiplicative groups. Which indeed means that there is a lot of duplication between the hierarchy of categories for additive groups and multiplicative groups. Only the notation differ ("+", "-", "zero", ...). > Generally how does one handle the notational difference > between additive and multiplicative groups? > I just want to deal with all groups the same way. It's a can of worm; as far as I know no system has a good way to handle this. Probably the easiest for your application would be to have an adapter/view that would take a multiplicative group and wrap it as an additive group, or the converse. Cheers, Nicolas -- Nicolas M. ThiƩry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-combinat-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.