Cancellation laws [01CE]
- September 30, 2026
- Marcelo Fiore, Jon Sterling
Cancellation properties of the natural numbers [01CB]
- September 30, 2026
- Marcelo Fiore, Jon Sterling
Both the additive and multiplicative monoids of the natural numbers satisfy cancellation laws.
- The additive cancellation law: k+m = k+n \implies m=n.
- The multiplicative cancellation law: k\not =0 \land k\cdot m = k\cdot n \implies m = n
The multiplicative cancellation law requires the side condition that k\not =0, because we have 0\cdot m =0\cdot n for all m,n. We will see shortly how to formulate cancellation laws generally in a way that accounts for such side conditions.
Definition Cancellation, cancellable elements [01CC]
- September 30, 2026
- Marcelo Fiore, Jon Sterling
A binary operation \bullet \colon A\times A\to A is said to allow cancellation on the left by an element c:A when c\bullet x = c\bullet y implies x=y for all x,y. Similarly, \bullet is said to allow cancellation on the right by an element c:A when x\bullet c = y\bullet c implies x=y for all x,y.
We say that an element c is cancellable on the (left, right) when \bullet allows cancellation (on the left, on the right) by c. When an element is cancellable on both the left and the right, we just say that it is cancellable.
Example Cancellation for list append [01CD]
- September 30, 2026
- Marcelo Fiore, Jon Sterling
The append operation on lists allows cancellation by any list on both the left and the right.