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 factorial and the falling factorial , defined by recursion in
Definition
The factorial. By the recursion theorem (The recursion theorem) applied to the set , the starting element and the function , and by the same induction on the first coordinate as in Finite sums and finite products of natural numbers, and in , there is a unique with
We write . Thus , , , , , , .
is the base clause of this recursion, not a convention imported from elsewhere. Nothing about empty products is presupposed; the agreement with the empty product is proved below, in clause (a), rather than assumed.
Truncated difference. Throughout, is the operation fixed in Finite sums and finite products of natural numbers, and in : the unique with when , and when .
The falling factorial. For define by recursion on , by the recursion theorem applied to with starting element and :
So and , and for the value is the product of the topmost factors.
Four facts, proved here because the page uses each of them.
(a) The factorial is the product of the first positive naturals. , the -valued product of Finite sums and finite products of natural numbers, and in . Induction (The principle of mathematical induction): at both sides are , the empty product and the base clause agreeing; and . So the empty-product reading and the base-clause reading are the same reading, and neither was assumed.
(b) , and . For the first, (The von Neumann naturals form a Peano system) and is a product of two nonzero naturals, which is nonzero: if with then (Zero and one under multiplication) and cancellation gives (Cancellation for multiplication by a nonzero factor). So for every by induction. For the second, apply the bridge clause 6 of that lemma to clause (a) above. This is what makes the factorial of this page and the real-valued product used elsewhere in the library one object seen twice, rather than two unrelated notions.
(c) for . Induction on , for all at once. At this reads . Assume it at and let ; then , and writing we have and , since ; so for a unique (Every nonzero natural number is a successor), and , that is (Addition is cancellative). Therefore , using commutativity and associativity of multiplication (Multiplication is associative, Multiplication is commutative) and the recursion clause for the factorial.
(d) Boundary values. for every , by the base clause; , since clause (c) at gives and ; and whenever . For the last, gives , the clause being definitional (Multiplication of natural numbers), and if then as well, so for every by induction.
Definition references
Remarks
-
Why is not imported. The empty-product convention of an arbitrary monoid is fixed in The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity ↗, which comes later in the reading order, so citing it here would be a dependency pointing the wrong way. Taking as the base clause of the factorial's own recursion costs nothing and owes nothing, and clause (a) then records the agreement.
-
The library's other factorial. For every real , ↗, later in the reading order, works with a real-valued factorial defined as the product in . Clause (b) says that this is exactly , so the two agree and no second notion has been created. That pointer is orientation only.
-
Check every clause at and at . The falling factorial is defined by two regimes, one for and one beyond, and the recursion above covers both because the truncated difference is past the end. The two values that get used constantly are and , and both are clause (d).
Depends on
The recursion theorem
The principle of mathematical induction
Finite sums and finite products of natural numbers, and in
Laws of finite sums and products in , and
Multiplication of natural numbers
Multiplication is associative
Multiplication is commutative
Zero and one under multiplication
Cancellation for multiplication by a nonzero factor
Addition is cancellative
Order on the natural numbers
Every nonzero natural number is a successor
The von Neumann naturals form a Peano system
The canonical natural of a field