In the book I am reading I have been given multiple definitions of the identity relation, they are,
a=b if a and b are identical
a=b if a and b refer to the same object
and for the negation of identity I was given,
- a=b is false if a and b refer to different objects.
I am confused because 1 and 2 seem like they mean different things. With definition 1 you could have two different objects, one named 'a' and one named 'b', but with the exact same properties so that they are identical and a=b would be true however a=b would also be false by definition 3 since they are two different objects. I think I might be misinterpreting the definition of 'identical' since no proper definition was given in the book.
Could you please tell me which definition is the correct one?
One of the properties of $a$ is the object to which it refers. That is, if both $a$ and $b$ have all the same properties, then they refer to the same object.
We can relax this and talk about equivalence classes of objects, but the logical identity is as strict as one can make. If there is any property that discriminates between the two of them, they aren't identical.