I recently learned about equivalence relations and how equality between integers is an example of an equivalence relation. I also learned that operations such as addition (and possibly relations like equality) may be defined differently on different objects.
Consider the set of ordered pairs of natural numbers, $S=\mathbb{N}\times\mathbb{N}$. Then following is an equivalence relation on $S$:
Let $(a,b),(c,d)\in S$. Then $(a,b)R(c,d)$ if $a+d=b+c$.
I was wondering if we can define equality between elements of $S$ by the above relation. I suppose that we typically define equality on $S=\mathbb{N}\times\mathbb{N}$ as we do in $\mathbb{R}^2$:
Let $(a,b),(c,d)\in S$. Then $(a,b)=(c,d)$ if $a=c$ and $b=d$.
According to Wikipedia Definition of Equality, $x=y$ if and only if, given any predicate $P$, $P(x)$ if and only if $P(y)$. Would the following be an example to show that the definition of equality as $(a,b)=(c,d)$ if $a+d=b+c$ is invalid?
Under this definition of equality for elements of $S$, $(2,3)=(4,5)$. If $P$ is the predicate, $s\in S$ has first coordinate $2$, then $P(2,3)$ is true but $P(4,5)$ is false.
If so, would the only acceptable definition of equality in $S$ be $(a,b)=(c,d)$ if $a=c$ and $b=d$? This question Defining an Equality appears to be relevant but I am not sure how to interpret I.4.
Thank you for your help. I would appreciate an explanation suitable for a undergraduate like myself.