So I was considering the following idea. Let a generalized Ring $gR$ be a set equipped with two operations $$u_1, u_2$$
Such that $gR$ is a group with the operation $u_1$ and the operation $u_2$ distributes over $u_1$ (given by):
$$ u_2(a,u_1(b,c)) = u_1(u_2(a,b), u_2(a,c)) $$
Further, $u_2$ is associative, closed, and has an identity element $s$ that isn't the same as the identity $t$ of $u_1$ (this is a bit artificial of a requirement now that I think about it).
I wrote some code to begin automatically finding groups, and then finding generalized rings that exist over these groups:
https://github.com/frogeyedpeas/RingWarrior/blob/master/findingRings.py
But... only abelian groups appear to support any type of ring structure (with some of them supporting an explosion of different rings for the same underlying group).
Why is this the case? I know the original definition for rings is that the group over which it is built is abelian. But my computer program appears to suggest that abelian groups ARE the only type of structure that could possibly support a ring like object over them.
Is there a way to prove that?
To make it clear what I wish to prove:
Given a set $X$ such that there are two binary operations
$$ u_1, u_2 $$
Defined and closed over elements in the set. Such that for any $a,b,c \in X$
$$ u_1(u_1(a,b),c) = u_1(a,u_1(b,c)) \ \text{associative}$$ $$ u_2(u_2(a,b),c) = u_2(a,u_2(b,c)) \ \text{associative}$$ $$ u_2(c,u_1(a,b)) = u_1(u_2(c,a),u_2(c,b)) \ \text{distributive}$$
And there exist identity elements $t,s$ such that $t \ne s$ and
$$ u_1(t,a) = a \forall a \in X$$ $$ u_2(s,a) = a \forall a \in X$$
And for each element $m \in X$ there exists a unique $n(m) \in X$ such that
$$ u_1(m,n(m)) = u_1(n(m),m) = t$$
I wish to show that this implies that $u_1$ is a commutative operation.
$$ u_1(a,b) = u_1(b,a) \forall a,b \in X$$
Since experimentally that is what appears to be suggested