Alphabeta Math
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (z-ai/glm-5.2)verified 2026-07-29 (claude-fable-5)
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) ι(Dn−1)+(−1)n for n≥1, and Dn=(n−1)(Dn−1+Dn−2) for n≥2

Statement

Let Dn be the derangement numbers (The derangement number Dn: the number of bijections of an n-element set with no fixed point) and ι the canonical natural (The canonical natural ι(n)=n⋅1F of a field). Then:

  1. For every n≥1, in R, ι(Dn)  =  ι(n) ι(Dn−1)+(−1)n.
  2. For every n≥2, in N, Dn  =  (n−1) (Dn−1+Dn−2).

All differences are the truncated ones (Finite sums and finite products of natural numbers, ∑k<nak and ∏k<nak in N), which in the stated ranges are the ordinary ones.

Both hypotheses are exactly what the proofs need, and nothing is asserted outside them. Clause 1 is proved from the identity n=(n−1)+1 and its consequence n!=(n−1)!⋅n, both of which fail at n=0 under the truncated difference, where n−1 is 0; so n=1 is its first legal index, and there it reads ι(D1)=ι(1) ι(D0)−1=0. Clause 2 is derived by applying clause 1 twice, at n and at n−1, so it needs n−1≥1; its first legal index is n=2, where it reads D2=1⋅(D1+D0)=1. Under the truncated difference the two displayed formulas happen also to be true at n=0 and at n=1 respectively, both sides being 1 in the first case and 0 in the second, but neither of those readings is proved here and neither is claimed.

Facts & Assumptions

Given: A natural number n with n≥1 in clause 1 and n≥2 in clause 2; the abbreviation p:=n−1, so that p+1=n (Order on the natural numbers, Finite sums and finite products of natural numbers, ∑k<nak and ∏k<nak in N, Every nonzero natural number is a successor).

[L1]

The derangement formula: ι(Dm)=ι(m!)∑i<m+1(−1)i/ι(i!) for every m∈N (ι(Dn)=ι(n!)∑i<n+1(−1)i/ι(i!), with the term at i=0 equal to 1 and D0=1).

[L2]

Recursion clause of the real finite sum: ∑i<q+1ui=∑i<qui+uq (Finite sums and finite products, by recursion, Laws of finite sums and finite products).

[L3]

Factorials: σ(m)!=m!⋅σ(m), so n!=p!⋅n when p+1=n; and m!≠0 for every m (The factorial n! and the falling factorial nk‾, defined by recursion in N).

[L4]

ι is additive and multiplicative with ι(1)=1, and it is injective (Laws of finite sums and products in N, and ι(∑k<nak)=∑k<nι(ak), clauses 0 and 7, The canonical natural ι(n)=n⋅1F of a field). In particular ι(n)−1=ι(p) when p+1=n, and ι(m!)≠0.

[L5]

Powers of −1: (−1)0=1 and (−1)q+1=−(−1)q (Integer powers am).

[L6]

R is an ordered field, so subtraction and division by a nonzero element are available (Ordered field, Field).

Proof

technique · direct
1.1

Let n≥1 and put p:=n−1, so p+1=n. Then n!=p!⋅n by [L3], hence ι(n!)=ι(p!) ι(n) by [L4], and both ι(n!) and ι(p!) are nonzero.

givenL3L4
1.2

The formula at p. By [L1] and p+1=n, ι(Dp)=ι(p!)∑i<n(−1)i/ι(i!).

L1
1.3

Splitting the sum at its last index. By [L2], ∑i<n+1(−1)i/ι(i!)=∑i<n(−1)i/ι(i!)+(−1)n/ι(n!).

L2
2.1

Clause 1. Multiplying step 1.3 by ι(n!) and using [L1] at m=n, step 1.1 and step 1.2, ι(Dn)=ι(n!)∑i<n(−1)i/ι(i!)+(−1)n=ι(n) ι(p!)∑i<n(−1)i/ι(i!)+(−1)n=ι(n) ι(Dp)+(−1)n.

step 1.1step 1.2step 1.3L1L6
3.1

Now let n≥2, so that p=n−1≥1 and p−1=n−2. Applying step 2.1 at p in place of n gives ι(Dp)=ι(p) ι(Dn−2)+(−1)p, hence (−1)p=ι(Dp)−ι(p) ι(Dn−2); and (−1)n=(−1)p+1=−(−1)p by [L5], so (−1)n=ι(p) ι(Dn−2)−ι(Dp).

step 2.1L5L6
4.1

Clause 2. Substituting step 3.1 into step 2.1, ι(Dn)=ι(n) ι(Dp)−ι(Dp)+ι(p) ι(Dn−2)=(ι(n)−1)ι(Dp)+ι(p) ι(Dn−2)=ι(p)(ι(Dp)+ι(Dn−2)), using ι(n)−1=ι(p) from [L4]; the right-hand side is ι(p (Dn−1+Dn−2)) by the additivity and multiplicativity of ι, so Dn=(n−1)(Dn−1+Dn−2) by injectivity.

step 2.1step 3.1L4L6algebra∎

Remarks

  • Clause 2 is derived from clause 1 and not from the formula. Two instances of clause 1, at n and at n−1, are enough, and that is why clause 2 begins one index later: the second instance needs n−1≥1.

  • Why clause 1 is stated in R and clause 2 in N. Clause 1 carries the term (−1)n, which is not a natural number when n is odd. Clause 2 has no signs left in it, both sides are counts, and injectivity of ι carries the identity back into N where it belongs.

  • The truncated difference is why the hypotheses have to be written out. Under it the symbols Dn−1 and Dn−2 never become ill formed: at n=0 the first reads D0 and at n=1 the second reads D0 as well. So a reader cannot tell from the shape of the formula where it stops being proved, and the ranges n≥1 and n≥2 have to be stated rather than inferred.

Depends on

Used by

Dependency tree · two levels

56 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