I am new to Mathematica. So I have read the documentation for comparing expressions in Mathematica and I still don't get the SameQ (===) function. Let me give you a short example:
2+2 === 4
True
Log[x*x] === 2*Log[x]
False
I hope I'm not seeing something here. Help is much appreciated!