Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck 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!), with the term at i=0 equal to 1 and D0=1

Statement

For every n∈N, in R,

ι(Dn)  =  ι(n!)∑i<n+1(−1)iι(i!),

where Dn is the derangement number (The derangement number Dn: the number of bijections of an n-element set with no fixed point), n! the factorial (The factorial n! and the falling factorial nk‾, defined by recursion in N) and ι the canonical natural (The canonical natural ι(n)=n⋅1F of a field). Each division is legitimate because i!≠0, hence ι(i!)≠0.

The index runs from 0, and the term at i=0 is (−1)0/ι(0!)=1. At n=0 the identity reads ι(D0)=ι(0!)⋅1=1, which agrees with D0=1; at n=1 it reads ι(D1)=1⋅(1−1)=0; and at n=2 it reads ι(D2)=2⋅(1−1+1/2)=1.

Since ι is injective, the identity determines Dn as a natural number (Laws of finite sums and products in N, and ι(∑k<nak)=∑k<nι(ak), clause 7).

Facts & Assumptions

Given: A natural number n, the set X:=Bij⁡(n) of bijections of n onto itself, and, for a∈n, the set Aa:={ f∈X:f(a)=a } of bijections fixing a.

[L3]

Der⁡(n)=X∖⋃a∈nAa, since a bijection of n is a derangement exactly when it fixes no point (The derangement number Dn: the number of bijections of an n-element set with no fixed point, Injection, surjection, bijection).

[L4]

For a finite sieve family (Aa)a∈n in X with A∅=X, the complementary identity is ι∣X∖⋃a∈nAa∣=∑J∈P(n)(−1)∣J∣ι∣AJ∣ (Inclusion and exclusion: ι∣⋃i∈IAi∣=∑∅≠J⊆I(−1)∣J∣+1 ι∣AJ∣, together with the complementary form counting the elements in none of the Ai, clause 2).

[L5]
[L9]

R is an ordered field, so division by a nonzero element is available (Ordered field, Field); and (−1)0=1 (Integer powers am).

Proof

technique · direct
1.1

The ambient set and the sieve family. X=Bij⁡(n) is finite with ∣X∣=n! by [L1], the sets Aa for a∈n are subsets of X, and Der⁡(n) is the complement in X of their union by [L3].

L1L2L3construct
1.2

The intersections are bijection sets of a smaller set. For J⊆n the map f↦f ⁣↾ ⁣(n∖J) is a bijection of AJ onto Bij⁡(n∖J). Indeed a bijection f of n fixing every point of J has f[J]=J, hence f[n∖J]=n∖J by injectivity, so its restriction is a bijection of n∖J; conversely a bijection g of n∖J extends by the identity on J to a bijection of n fixing every point of J, and the two constructions are mutually inverse. For J=∅ both sides are X, by the stipulation of [L2].

L1L2L3construct
1.3

Hence ∣AJ∣=∣n∖J∣!=(n−∣J∣)! for every J⊆n, by [L1] applied to n∖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)∣=∑J∈P(n)(−1)∣J∣ ι((n−∣J∣)!).

step 1.1step 1.2step 1.3L4
3.1

Grouping the subsets of n by size. Splitting along the partition of [L5] and using the constant clause of [L6] on each block, where the summand depends on J only through ∣J∣=i, gives ι(Dn)=∑i<n+1ι(ni) (−1)i ι((n−i)!).

step 2.1L5L6
4.1

Each coefficient collapses. For i<n+1, that is i≤n, [L8] gives ι(ni) ι((n−i)!)=ι(n!)/ι(i!), so the i-th summand of step 3.1 is (−1)i ι(n!)/ι(i!); scaling the sum by the constant ι(n!) through [L6] gives ι(Dn)=ι(n!)∑i<n+1(−1)i/ι(i!).

step 3.1L6L8L9∎

Remarks

Depends on

Used by

Dependency tree · two levels

69 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources