what is the difference between an equal sign with another line above it and an equal sign with a triangle above it.

I was alway taught that the three lines symbolized identity

and that the equal sign with a traingle above it signified definition

when would you use the three lines instead of the equal sign with a traingle above it

right now I see them as being interchangeable which I think might be wrong...

thanks