Problem and result in one line



If I define
integ(f,x):='integrate(f,x)=integrate(f,x);
I can type
integ(x^2,x) and get the problem and the result written in one line.
How can I do something similar with simple reductions, for instance
6/3=2
or
sqrt(4)=2
?

Yours,
Poul Riis