Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passjudge 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.

A finite set AA with A=n\lvert A\rvert = n has exactly n!n! bijections onto itself, and n!n! bijections onto any set of the same cardinality

Statement

Let AA be a finite set with n:=An := \lvert A\rvert and write

Bij(A):={f:AA : f is a bijection}.\operatorname{Bij}(A) := \{\, f : A \to A \ :\ f \text{ is a bijection} \,\}.

Then Bij(A)\operatorname{Bij}(A) is finite and Bij(A)=n!\lvert\operatorname{Bij}(A)\rvert = n! (The factorial n!n! and the falling factorial nkn^{\underline{k}}, defined by recursion in N\mathbb{N}).

More generally, for finite sets XX and YY write Bij(X,Y)\operatorname{Bij}(X,Y) for the set of bijections XYX \to Y. If X=Y=n\lvert X\rvert = \lvert Y\rvert = n then Bij(X,Y)\operatorname{Bij}(X,Y) is finite with n!n! elements, and if XY\lvert X\rvert \ne \lvert Y\rvert then Bij(X,Y)=\operatorname{Bij}(X,Y) = \varnothing.

Facts & Assumptions

Given: Finite sets AA, XX, YY, with n=An = \lvert A\rvert.

[L1]

Inj(B,A)=AB\lvert\operatorname{Inj}(B,A)\rvert = \lvert A\rvert^{\underline{\lvert B\rvert}}, and Inj(B,A)\operatorname{Inj}(B,A) is finite (The number of injections from a kk-element set into an nn-element set is nkn^{\underline{k}}).

[L4]

Cardinality (The cardinality A\lvert A\rvert of a finite set): a bijection transports finiteness and cardinality, and for finite XX, YY one has X=Y\lvert X\rvert = \lvert Y\rvert if and only if XYX \approx Y.

[L5]

Maps (Injection, surjection, bijection, Equinumerous sets, ABA \approx B and ABA \preceq B): composites and inverses of bijections are bijections, and every bijection is an injection.

Proof

technique · direct
1.1

The two sets coincide: Bij(A)=Inj(A,A)\operatorname{Bij}(A) = \operatorname{Inj}(A,A). Every bijection is an injection, and by [L2] every injection AAA \to A is a bijection, AA being finite.

L2L5
2.1

Hence Bij(A)\operatorname{Bij}(A) is finite with Bij(A)=Inj(A,A)=nn=n!\lvert\operatorname{Bij}(A)\rvert = \lvert\operatorname{Inj}(A,A)\rvert = n^{\underline{n}} = n!, by [L1] with B=AB = A and by [L3].

step 1.1L1L3
3.1

The two-set form. Suppose X=Y=n\lvert X\rvert = \lvert Y\rvert = n. Then XYX \approx Y by [L4], so fix a bijection u:YXu : Y \to X. The map gugg \mapsto u \circ g sends Bij(X,Y)\operatorname{Bij}(X,Y) into Bij(X,X)=Bij(X)\operatorname{Bij}(X,X) = \operatorname{Bij}(X) and has the two-sided inverse hu1hh \mapsto u^{-1}\circ h, so it is a bijection; hence Bij(X,Y)\operatorname{Bij}(X,Y) is finite with Bij(X,Y)=Bij(X)=n!\lvert\operatorname{Bij}(X,Y)\rvert = \lvert\operatorname{Bij}(X)\rvert = n! by step 2.1 and [L4]. If instead XY\lvert X\rvert \ne \lvert Y\rvert then X≉YX \not\approx Y by [L4], so no bijection XYX \to Y exists at all.

step 2.1L4L5
4.1

The first assertion is step 2.1 and the second is step 3.1.

step 2.1step 3.1

Remarks

  • No group vocabulary is used or needed. Bij(A)\operatorname{Bij}(A) is written here as a set of bijections. Composition makes it a group, and that structure, together with the name symmetric group, is introduced in The symmetric group Sym(X)\operatorname{Sym}(X): the bijections of a set XX under composition later in the reading order; the pointer is orientation only and nothing above rests on it. The count n!n! proved here is what a later page needs in order to say that the symmetric group on nn letters has n!n! elements.

  • Why this is on the main page and not among the examples. Later pages consume this count, and an examples page is a leaf that nothing else may depend on.

  • The two-set form costs one line and is used immediately. The closed formula for (nk)\binom{n}{k} counts the bijections between an initial segment and an arbitrary kk-element subset, which is exactly Bij(X,Y)\operatorname{Bij}(X,Y) with XYX \ne Y.

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 65 results over 24 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