I'm teaching myself algebra (programmer by profession), and I wanted to clear a constant doubt that I'm having.
My doubt arose from the self-study of algebraic structures- Groups, Fields and Rings and these SE hits:
What are the differences between rings, groups, and fields?
Let's use the partial definition of a group as:
A group is a set of elements $E$ with an operation $\circ{}$ to combine the elements of $E$....
Most of the answers above use addition, subtraction, multiplication, and division as the operation $\circ$ to explain these concepts. Is there some special reason behind this other than illustration purposes? My programmer brain wonders why can't I use any lambda with binary arity instead, of course, as long as it follows the definitional requirements of the particular structure? Say, lambda x,y: math.log(x,y)
.
That leads to the last related question- an integer ring $Z_m$ consists of:
- The set $Z_m$ = $\{0, 1, ..., m-1\}$
- Two operations $+$, and $\times$ such that ....
By now, I know that the inverse of operation $+$ exists, but not necessarily for $\times$ for an integer ring. Then, can I assume that there are rings out there that could be working with different sets and operations that are not even remotely close to the arithmetic operations of addition and multiplication?