Return equality from Mathematica function
问题 I have a function that returns equalities, which I want to print, for example, x==y, or 2x+5==10. These usually have no meaning for mathematica, it cannot simplify it furhter. However, sometimes the both sides are equal, but I want to be able to print the equality in unevaluated form: that is, I want Mathematica to print x==x, and not True. A very simple example: Print[printableEqual[x,y]] should print x==y, while Print[printableEqual[x,x]] should print x==x Edit: The reason is that I have a