The axiom of extensionality is one of the fundamental axioms of set theory. Basically, it postulates the condition, by which two sets can be equal. This condition can be described as follows: if any two sets have exactly the same members, then these sets are equal. A formal notation of the extensionality axiom can be written as:
that, if simplified, gives , which, by extensionality, implies
Note, that the axiom itself only works in one way - it implies that two sets are equal if they have the same elements, but does not provide the converse, i.e. any two equal sets have the same elements. Proving the converse requires giving a precise definition of equality, which in different cases can be done differently. [1] However, generally, the converse fact can always be considered true, as the equality of two sets means that they are the same one thing, obviously consisting of a fixed selection of objects.
Sometimes the extensionality axiom itself can be used to define equality, in which case the converse is simply stated by the axiom.