Halmos mentions the following:
Axiom of extension: Two sets are equal if and only [emphasized] if they have the same elements.
My understanding of Axiom of Extension as presented above is as following:
Axiom of Extension is independent of the Axioms of Equality in first-order logic with equality. A set might (or must always?) also have an intension which determines its extension. So two equal sets (by Equality Axioms) logically implies that they must have the same intension as well as extension, doesn’t it? Now, Axiom of Extension makes a logically unprovable remark that a set’s extension is all that matters.
Please fix my understanding.
Also, is “if and only if” required in Halmos’ statement? Cuz according to Jech,
If $X$ and $Y$ have the same elements, then $X=Y$ …
The converse … is an axiom of predicate calculus.
I’ve never come across this axiom. So help!