A quotient operation is exact when multiplication by every nonzero right factor can be undone by division by that factor.
Right multiplication followed by division by a nonzero factor cancels.
Instances
Exact division implies right cancellation by a nonzero factor.
Exact division and commutative-ring laws rule out nonzero products vanishing.
A nonzero element witnesses that a lightweight ring is nontrivial.
The additive inverse of one is nonzero in a nontrivial lightweight ring.
Total exact quotient wrapper. The zero denominator is a documented junk input and returns zero.
Instances For
Exact division by zero takes the stable junk branch.
A nonzero exact quotient is the underlying quotient operation.
The wrapper cancels a nonzero exact right factor under ExactDivLaws.
Integer Euclidean division is exact on nonzero right multiples.
Every Lean.Grind.Field supplies the exact-division law.