# Axiom of extensionality

In axiomatic set theory and the branches of logic, mathematics, and computer science that use it, the axiom of extensionality, or axiom of extension, is one of the axioms of Zermelo-Fraenkel set theory.

In the formal language of the Zermelo-Fraenkel axioms, the axiom reads:

[itex]\forall A, \forall B: A=B \iff (\forall C: C \in A \iff C \in B)[itex]

or in words:

Given any set A and any set B, A is equal to B if and only if, given any set C, C is a member of A if and only if C is a member of B.

(It's not really essential that C here be a set — but in ZF, everything is. See Ur-elements below for when this is violated.)

To understand this axiom, note that the clause in parentheses in the symbolic statement above simply states that A and B have precisely the same members. Thus, what the axiom is really saying is that two sets are equal iff they have precisely the same members. The essence of this is:

A set is determined uniquely by its members.

The axiom of extensionality can be used with any statement of the form [itex]\exist A, \forall B: B \in A \iff P(B)[itex], where P is any unary predicate that does not mention A or B, to define a unique set [itex]A[itex] whose members are precisely the sets satisfying the predicate [itex]P[itex]. We can then introduce a new symbol for [itex]A[itex]; it's in this way that definitions in ordinary mathematics ultimately work when their statements are reduced to purely set-theoretic terms.

The axiom of extensionality is generally considered uncontroversial, and it or an equivalent appears in just about any alternative axiomatisation of set theory. However, it may require modifications for some purposes, as below.

## In predicate logic without equality

The axiom given above assumes that equality is a primitive symbol in predicate logic. Some treatments of axiomatic set theory prefer to do without this, and instead treat the above statement not as an axiom but as a definition of equality. Then it's necessary to include the usual axioms of equality from predicate logic as axioms about this defined symbol, and it becomes these axioms that are referred to as the axioms of extensionality.

## In set theory with ur-elements

An ur-element is a member of a set that is not itself a set. In the Zermelo-Fraenkel axioms, there are no ur-elements, but some alternative axiomatisations of set theory have them. Ur-elements can be treated as a different logical type from sets; in this case, [itex]B \in A[itex] makes no sense if [itex]A[itex] is an ur-element, so the axiom of extensionality simply applies only to sets.

Alternatively, in untyped logic, we can require [itex]B \in A[itex] to be false whenever [itex]A[itex] is an ur-element. In this case, the usual axiom of extensionality would imply that every ur-element is equal to the empty set. To avoid this, we can modify the axiom of extensionality to apply only to nonempty sets, so that it reads:

[itex]\forall A, \forall B, \exist C: C \in A \implies (A = B \iff (\forall D: D \in A \iff D \in B)). [itex]

That is:

Given any set A and any set B, if A is a nonempty set (that is, if there exists a member C of A), then A and B are equal iff they have precisely the same members.fr:Axiome d'extensionnalité
##### Navigation

Academic Kids Menu

• Art and Cultures
• Art (http://www.academickids.com/encyclopedia/index.php/Art)
• Architecture (http://www.academickids.com/encyclopedia/index.php/Architecture)
• Cultures (http://www.academickids.com/encyclopedia/index.php/Cultures)
• Music (http://www.academickids.com/encyclopedia/index.php/Music)
• Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
• Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
• Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
• Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
• Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
• Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
• History (http://www.academickids.com/encyclopedia/index.php/History)
• Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
• Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
• Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
• Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
• Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
• Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
• United States (http://www.academickids.com/encyclopedia/index.php/United_States)
• Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
• World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
• Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
• Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
• Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
• Science (http://www.academickids.com/encyclopedia/index.php/Science)
• Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
• Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
• Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
• Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
• Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
• Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
• Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
• Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
• Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
• Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
• Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
• Government (http://www.academickids.com/encyclopedia/index.php/Government)
• Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
• Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
• Space and Astronomy
• Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
• Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
• Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
• Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
• Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
• US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

• Home Page (http://academickids.com/encyclopedia/index.php)
• Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

• Clip Art (http://classroomclipart.com)