Canonical: https://knowlpedia.com/shared-foundations/set/

# Set

A fundamental object determined entirely by which elements it contains.

In axiomatic set theory, **set** and the membership relation \(\in\) are primitive notions. The axiom of **extensionality** determines equality by membership: for sets \(A,B\),
\[
A=B \iff \forall x\,\bigl(x\in A \Leftrightarrow x\in B\bigr).
\]

## Axiomatic role

Extensionality is not a complete axiomatization of set theory. Other axioms specify which sets exist and how sets may be formed.

## Remarks

Many basic constructions in set theory are specified by describing their elements, such as [union](https://knowlpedia.com/shared-foundations/union/), [intersection](https://knowlpedia.com/shared-foundations/intersection/), and the [power set](https://knowlpedia.com/shared-foundations/power-set/).

## Examples

- The set of natural numbers \(\mathbb{N}\) (see [natural numbers](https://knowlpedia.com/shared-foundations/natural-numbers/)).
- For a real number \(a\), the singleton \(\{a\}=\{x : x=a\}\) is the set containing exactly the element \(a\).
