Alphabeta Math
DefinitionDefinition: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)judge pass (z-ai/glm-5.2)audited 2026-07-29
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

The cardinality A\lvert A\rvert of a finite set

Definition

Throughout this page N\mathbb{N} is the set of von Neumann naturals (The natural numbers N\mathbb{N} (von Neumann)): 0=0 = \varnothing, σ(n)=n{n}\sigma(n) = n \cup \{n\}, and n={mN:m<n}n = \{\, m \in \mathbb{N} : m < n \,\} is itself the set of its predecessors, the order being the additive order of Order on the natural numbers identified with membership in On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n. Write ABA \approx B when a bijection ABA \to B exists (Equinumerous sets, ABA \approx B and ABA \preceq B, Injection, surjection, bijection). A set AA is finite when AnA \approx n for some nNn \in \mathbb{N} (Finite, countably infinite, countable, uncountable).

Definition. Let AA be a finite set. Then there is exactly one nNn \in \mathbb{N} with AnA \approx n, and we write

A:=that n,\lvert A\rvert := \text{that } n,

the cardinality, or number of elements, of AA. The notation A\lvert A\rvert is defined for finite AA only, and its value is a natural number.

Why exactly one, which is the whole content of the definition. At least one such nn exists: that is literally what "AA is finite" says. At most one exists: if AnA \approx n and AmA \approx m with n,mNn, m \in \mathbb{N}, then nAn \approx A, because the inverse of a bijection is a bijection, and hence nmn \approx m, because a composition of bijections is a bijection (Injection, surjection, bijection); and nmn \approx m forces n=mn = m by claim 3 of The pigeonhole principle on N\mathbb{N}. So A\lvert A\rvert names a single natural number and not a family of choices.

Four consequences, proved here because everything on this page uses them.

(a) n=n\lvert n\rvert = n for every nNn \in \mathbb{N}. The identity map idn\mathrm{id}_n is a bijection nnn \to n, so nnn \approx n; thus nn is finite and the unique natural equinumerous with it is nn itself.

(b) =0\lvert\varnothing\rvert = 0, and a finite AA satisfies A=0\lvert A\rvert = 0 if and only if A=A = \varnothing. Since 0=0 = \varnothing, part (a) gives =0\lvert\varnothing\rvert = 0. Conversely, if A=0\lvert A\rvert = 0 then there is a bijection f:Af : A \to \varnothing; were some aAa \in A, the value f(a)f(a) would be an element of \varnothing, and \varnothing has none, so A=A = \varnothing.

(c) Transport along a bijection. If AA is finite and f:ABf : A \to B is a bijection, then BB is finite and B=A\lvert B\rvert = \lvert A\rvert. Indeed BAB \approx A through f1f^{-1} and AAA \approx \lvert A\rvert, so BAB \approx \lvert A\rvert by transitivity.

(d) Equality of cardinalities is equinumerosity. For finite AA and BB: A=B\lvert A\rvert = \lvert B\rvert if and only if ABA \approx B. If the cardinalities agree then AA=BBA \approx \lvert A\rvert = \lvert B\rvert \approx B; conversely ABA \approx B gives B=A\lvert B\rvert = \lvert A\rvert by (c).

Remarks

  • N\mathbb{N} contains 00 here, and that is not a detail. Every index range on this page starts at 00, a one-element set has cardinality 1={0}1 = \{0\}, and A\lvert A\rvert is never a positive-integer-only object. A statement about A\lvert A\rvert that is true only for A1\lvert A\rvert \ge 1 must say so.

  • A\lvert A\rvert is a natural number, not a cardinal number. The theory of cardinals (Cardinal (initial ordinal) and cardinality ) is developed much later in the library and nothing here uses it, or any cardinal arithmetic: the pointer is orientation only. What makes the notation legitimate at this point in the reading order is exactly claim 3 of The pigeonhole principle on N\mathbb{N}, and nothing more.

  • What the definition does not supply. It asserts that some bijection AAA \to \lvert A\rvert exists; it does not single one out, and nothing in the library does. Two sets can have equal cardinality with no distinguished bijection between them, which is the point of the counterexample on this page's companion.

Depends on

Used by

…and 106 more results.

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 41 results over 21 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources