On Tuesday, May 1, 2018 at 9:10:27 AM UTC-7, vdelecroix wrote: > > Dear all, > > How should be defined division in non-integral domains like Zmod(6)? The > following looks a bit incoherent to me > > PPS: people with access to magma are welcome to report! >
Magma complains about division by a non-unit. It does allow "div", but it also allows 5 div 2 in ZZ/6. I think the problem for "/" is division by a zero-divisor. Otherwise an answer can be returned in a structure where an inverse has been adjoined. The ZeroDivisionError is therefore spot-on, if you read it as an abbreviation of ZeroDivisorDivisionError. Using non-unit as abbreviation for zero-divisor in Z/nZ is pretty common too. I don't think a change is necessary. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.