Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
The above "answer" should probably be a comment elsewhere. In any case, it's worth noting that while $Pr(G) \leq 5/8$ when $G$ is a group (and there are various other values below $5/8$ that are not the commuting probability for any group $G$) the commuting probability of a semigroup can be anything. This is proved <a href="www-rohan.sdsu.edu/~vadim/ps.pdf">here</a>.