Zero-divisor
An element in a ring is a left zero-divisor iff there exists an element
in such that .
An element in a ring is a right zero-divisor iff there exists an element
in such that .
The left case describes the 2-input function
having the first parameter fixed at . This forms a function . Lambda calculus would call this partial application.
Proof
The proposition is easily grasped in the contrapose: if composes on
the left with distinct elements and to produce the same element
(i.e. not injective), then is a left zero-divisor. The reverse
implication is also true.
Proof. Forward case. Assume . Then and . As and are distinct elements, 's inverse does not bring
to zero, and so we have found a non-zero element which
composes to produce zero.
Reverse case. If is a left zero-divisor,
then there is a non-zero element such that . And so
both and map to the same element (not
injective).
Intuition
Below, the function with lambda type
is partially applied, , and the resulting function of type has its mapping drawn out:
What is interesting to note is that the non-injectivity imposed by the double
mapping to ()
creates two "holes" in the co-domain. The second hole arises
arises as there are two elements and which map to . So the co-domain holes come in pairs. This is the essence of the
proposition: for every co-domain position (non-zero) that the mapping doubles up
on, there will be another doubling up at .
Injectivity implies inverse exist
If has finite elements, then the injectivity of the partial implies that has a right-inverse.
Rings introduce more jargon to describe this idea:
Not a left zero-divisor iff a two-sided unit (if is finite)
Proof.Let be one of the finite
elements of . If is not a left zero-divisor then the partial is injective by the proposition above. Injectivity implies
surjectivity when is finite. has a left-inverse, which is the
element that it maps to . The partial function is both injective and surjective so is a bijection and thus invertible.
TODO: how to know that the inverting function maps to an element of ?
With both inverses, is a two-sided unit.
When is not assumed to be finite, the discussion is more subtle. See
p123 in Aluffi for more details.