A Moufang loop is a loop satisfying the Moufang identities. Famously, these are diassociative -- the subloop generated by any two elements is associative (is a group) -- and more generally, they satisfy Moufang's theorem, that if any three elements associate, then so do anything they generate (i.e. they generate a group).
Separately, if you have an alternative algebra or ring, then multiplication in it also satisfies the Moufang identities, is also diassociative, and also satisfies the analogue of Moufang's theorem.
Now, in the case where every nonzero element has an inverse (as in the octonions), you could prove the latter by just appealing to Moufang's theorem for loops. But in general you can't do that.
So, something is going on here -- the Moufang identities, together with inverses, imply Moufang's theorem; and the Moufang identities, together with the existence of an addition operation that our multiplication distributes over, implies Moufang's theorem.
It seems really funny to me that in both these cases, these identities imply the same result, but in each case, we need a different auxiliary assumption to make it work.
So: Do the Moufang identities themselves imply Moufang's theorem? That is to say, if we have a magma (and let's say it has an identity because we may as well), and it satisfies the Moufang identities, does it automatically satisfy the analogue of Moufang's theorem, including being diassocative? Or is there some counterexample to this?
(And if the theorem doesn't hold in this setting, is there some simple additional assumption we could make, that would make it true, while also covering both the cases above?)
I'm really wondering about this because this seems like an obvious question to ask, whether we can unify these two settings, but I haven't seen an answer stated anywhere.
Thank you all!