Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passverified 2026-08-03 (gpt-5.6-sol-codex-subscription)
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.

ι(Dn)=ι(n!)i<n+1(1)i/ι(i!)\iota(D_n) = \iota(n!)\sum_{i<n+1}(-1)^{i}/\iota(i!), with the term at i=0i = 0 equal to 11 and D0=1D_0 = 1

Statement

For every nNn \in \mathbb{N}, in R\mathbb{R},

ι(Dn)  =  ι(n!)i<n+1(1)iι(i!),\iota(D_n) \;=\; \iota(n!)\sum_{i<n+1}\frac{(-1)^{i}}{\iota(i!)},

where DnD_n is the derangement number (The derangement number DnD_n: the number of bijections of an nn-element set with no fixed point), n!n! the factorial (The factorial n!n! and the falling factorial nkn^{\underline{k}}, defined by recursion in N\mathbb{N}) and ι\iota the canonical natural (The canonical natural ι(n)=n1F\iota(n) = n \cdot 1_F of a field). Each division is legitimate because i!0i! \ne 0, hence ι(i!)0\iota(i!) \ne 0.

The index runs from 00, and the term at i=0i = 0 is (1)0/ι(0!)=1(-1)^{0}/\iota(0!) = 1. At n=0n = 0 the identity reads ι(D0)=ι(0!)1=1\iota(D_0) = \iota(0!)\cdot 1 = 1, which agrees with D0=1D_0 = 1; at n=1n = 1 it reads ι(D1)=1(11)=0\iota(D_1) = 1\cdot(1-1) = 0; and at n=2n = 2 it reads ι(D2)=2(11+1/2)=1\iota(D_2) = 2\cdot(1-1+1/2) = 1.

Since ι\iota is injective, the identity determines DnD_n as a natural number (Laws of finite sums and products in N\mathbb{N}, and ι(k<nak)=k<nι(ak)\iota\big(\sum_{k<n} a_k\big) = \sum_{k<n} \iota(a_k), clause 7).

Facts & Assumptions

Given: A natural number nn, the set X:=Bij(n)X := \operatorname{Bij}(n) of bijections of nn onto itself, and, for ana \in n, the set Aa:={fX:f(a)=a}A_a := \{\, f \in X : f(a) = a \,\} of bijections fixing aa.

[L1]

Bij(S)\operatorname{Bij}(S) is finite with Bij(S)=S!\lvert\operatorname{Bij}(S)\rvert = \lvert S\rvert! for every finite SS (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, The factorial n!n! and the falling factorial nkn^{\underline{k}}, defined by recursion in N\mathbb{N}); in particular X=n!\lvert X\rvert = n! and n=n\lvert n\rvert = n (The cardinality A\lvert A\rvert of a finite set).

[L3]

Der(n)=XanAa\operatorname{Der}(n) = X \setminus \bigcup_{a \in n}A_a, since a bijection of nn is a derangement exactly when it fixes no point (The derangement number DnD_n: the number of bijections of an nn-element set with no fixed point, Injection, surjection, bijection).

[L4]

For a finite sieve family (Aa)an(A_a)_{a\in n} in XX with A=XA_\varnothing=X, the complementary identity is ιXanAa=JP(n)(1)JιAJ\iota|X\setminus\bigcup_{a\in n}A_a|=\sum_{J\in\mathcal P(n)}(-1)^{|J|}\iota|A_J| (Inclusion and exclusion: ιiIAi=JI(1)J+1ιAJ\iota\lvert\bigcup_{i \in I} A_i\rvert = \sum_{\varnothing \ne J \subseteq I}(-1)^{\lvert J\rvert + 1}\,\iota\lvert A_J\rvert, together with the complementary form counting the elements in none of the AiA_i, clause 2).

[L9]

R\mathbb{R} is an ordered field, so division by a nonzero element is available (Ordered field, Field); and (1)0=1(-1)^{0} = 1 (Integer powers ama^m).

Proof

technique · direct
1.1

The ambient set and the sieve family. X=Bij(n)X = \operatorname{Bij}(n) is finite with X=n!\lvert X\rvert = n! by [L1], the sets AaA_a for ana \in n are subsets of XX, and Der(n)\operatorname{Der}(n) is the complement in XX of their union by [L3].

L1L2L3construct
1.2

The intersections are bijection sets of a smaller set. For JnJ \subseteq n the map ff ⁣ ⁣(nJ)f \mapsto f\!\restriction\!(n\setminus J) is a bijection of AJA_J onto Bij(nJ)\operatorname{Bij}(n\setminus J). Indeed a bijection ff of nn fixing every point of JJ has f[J]=Jf[J] = J, hence f[nJ]=nJf[n\setminus J] = n \setminus J by injectivity, so its restriction is a bijection of nJn\setminus J; conversely a bijection gg of nJn\setminus J extends by the identity on JJ to a bijection of nn fixing every point of JJ, and the two constructions are mutually inverse. For J=J = \varnothing both sides are XX, by the stipulation of [L2].

L1L2L3construct
1.3

Hence AJ=nJ!=(nJ)!\lvert A_J\rvert = \lvert n\setminus J\rvert! = (n - \lvert J\rvert)! for every JnJ \subseteq n, by [L1] applied to nJn\setminus J and by [L7].

L1L7
2.1

The sieve. Applying [L4] to the family of step 1.1 and substituting step 1.3, ι(Dn)=ιDer(n)=JP(n)(1)Jι((nJ)!)\iota(D_n) = \iota\lvert\operatorname{Der}(n)\rvert = \sum_{J \in \mathcal{P}(n)}(-1)^{\lvert J\rvert}\,\iota\big((n-\lvert J\rvert)!\big).

step 1.1step 1.2step 1.3L4
3.1

Grouping the subsets of nn by size. Splitting along the partition of [L5] and using the constant clause of [L6] on each block, where the summand depends on JJ only through J=i\lvert J\rvert = i, gives ι(Dn)=i<n+1ι(ni)(1)iι((ni)!)\iota(D_n) = \sum_{i<n+1}\iota\binom{n}{i}\,(-1)^{i}\,\iota\big((n-i)!\big).

step 2.1L5L6
4.1

Each coefficient collapses. For i<n+1i < n+1, that is ini \le n, [L8] gives ι(ni)ι((ni)!)=ι(n!)/ι(i!)\iota\binom{n}{i}\,\iota\big((n-i)!\big) = \iota(n!)/\iota(i!), so the ii-th summand of step 3.1 is (1)iι(n!)/ι(i!)(-1)^{i}\,\iota(n!)/\iota(i!); scaling the sum by the constant ι(n!)\iota(n!) through [L6] gives ι(Dn)=ι(n!)i<n+1(1)i/ι(i!)\iota(D_n) = \iota(n!)\sum_{i<n+1}(-1)^{i}/\iota(i!).

step 3.1L6L8L9

Remarks

Depends on

Used by

Dependency tree · next 3 levels

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