Please help if there are any errors in this proof.
If a binary operation of multiplication on a nonvoid set $G$ is associative, and if all equations $xa=b$ and $ay=b$ have solutions $x$ and $y$ in $G$, then $G$ is a group.
Solution: First pick any element a' element of G. Then there exists an element u of G such that a'u= a' which is a solution to the equation. We must show that u is a left identity for all elements of G.
First we show left cancellation is possible. If there are two solutions for ax=b and ax'=b then ax=ax'and we must conclude that x=x'. Since if not x=x' then G cannot be a group. (Please help with this step in the proof, I am not convinced by its reasoning).
Now for all b of G, we have a'(ub)=a'b, using cancellation we have ub=b for all b of G, so u is a left identity. Use the equation xa= b for xa= u and this implies all a of G have a left inverse. These two properties makes G a group