Question: What is a simple yet precise definition for "=" as a binary relation?
My try: I find two definitions for "equality relation" which seems to be contradictory.
The first one I learnt in school is that equality is what is called an equivalence relation, that is, it satisfies three axioms: Reflexivity, Symmetry, Transitivity.
The second definition contains an axiom of extensionality.
The third definition I heard contains this additional axiom: $x=y$ implies $P(x)=P(y)$
Thanks to the comments, I also learnt a definition using first-order logics:
These equality axioms are:
- Reflexivity.
- Substitution for functions.
- Substitution for formulas.
This is close to the things I am looking for. However, this definition looks weird as the second axiom is a special case of the third. Axiomatic system usually don't use redundant axioms.