TheoremBase

The partial products of the inclusion of the natural numbers form a map whose values are the factorials of the natural numbers; a predicative formula by cases adds the value 1 at 0, giving the map, and the recursion of the factorial gives its values.

Proof

Each result cited is universally quantified over the data in its own statement. It is applied to the data named where it is cited.

The inclusion map. For k∈Nk\in\mathbb{N} we have k∈N0k\in\mathbb{N}_{0}, as N⊆N0\mathbb{N}\subseteq\mathbb{N}_{0} by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §sets, and N\mathbb{N} and N0\mathbb{N}_{0} are sets by that clause. The expression kk contains no defined set symbol, so by Maps and Relations Given by Formulas §map there is a map a:N→N0a:\mathbb{N}\to\mathbb{N}_{0} with a(k)=ka(k)=k for every k∈Nk\in\mathbb{N}; it is the map k↦kk\mapsto k of Sets and Maps: Ordinary Notation §maps.

Partial products. By The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §operations and Multiplication on Omega: Products Lie in Omega, Multiplication Is a Binary Operation with Value the Product, and Membership in the Multiplication §operation, the multiplication ⋅\cdot of N0\mathbb{N}_{0} is a binary operation on the set N0\mathbb{N}_{0}, whose value at (m,n)(m,n) is the product m⋅nm\cdot n, an element of N0\mathbb{N}_{0} by Multiplication on Omega: Products Lie in Omega, Multiplication Is a Binary Operation with Value the Product, and Membership in the Multiplication §values. By Maps Given by Iterated Operations: Partial Iterates, Images of Natural Numbers, Powers and Operations over a Finite Set §iterates, applied to ⋅\cdot, X=N0X=\mathbb{N}_{0} and aa, there is a map s:N→N0s:\mathbb{N}\to\mathbb{N}_{0} with s(n)=∏k=1naks(n)=\prod_{k=1}^{n}a_{k} for every n∈Nn\in\mathbb{N}; here ∏k=1nak\prod_{k=1}^{n}a_{k} is the iterated operation of a∣[n]a|_{[n]} by Iterated Operations: Finite Sums and Finite Products §restriction, written with ∏\prod by Iterated Operations: Finite Sums and Finite Products §sums.

The partial products are the factorials. Let n∈Nn\in\mathbb{N}, and let [n][n] be as in Intervals of Natural Numbers §segment. By Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §segment, [n]={k∈N:k≤n}⊆N⊆N0[n]=\{k\in\mathbb{N}:k\le n\}\subseteq\mathbb{N}\subseteq\mathbb{N}_{0}; it is a set by Sets and Maps: Ordinary Notation §set-builder. So, as for aa, Maps and Relations Given by Formulas §map gives a map b:[n]→N0b:[n]\to\mathbb{N}_{0} with b(k)=kb(k)=k for every k∈[n]k\in[n], the map k↦kk\mapsto k on [n][n] of Sets and Maps: Ordinary Notation §maps. By Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §restriction, a∣[n]a|_{[n]} is a function with domain [n]∩dom⁡a=[n]∩N=[n][n]\cap\operatorname{dom}a=[n]\cap\mathbb{N}=[n], using Functions, Values of a Function, and Functions from One Class to Another §map for dom⁡a=N\operatorname{dom}a=\mathbb{N}, and with value a(k)=ka(k)=k at each k∈[n]k\in[n]. By Functions, Values of a Function, and Functions from One Class to Another §map, bb is a function with domain [n][n], and its value at each k∈[n]k\in[n] is kk. Hence a∣[n]=ba|_{[n]}=b by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §equality, and s(n)s(n) is the iterated operation of bb, which is ∏k=1nk\prod_{k=1}^{n}k in the notation of Iterated Operations: Finite Sums and Finite Products §iterated for the expression kk. Now 1≤n1\le n by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §order, and {1,…,n}=[n]\{1,\dots,n\}=[n] by Intervals of Natural Numbers §segment. By The Factorial of a Natural Number with Zero §factorial, n!n! is the product ∏k=1nk\prod_{k=1}^{n}k over the interval {1,…,n}\{1,\dots,n\}, that is, of the map bb on {1,…,n}\{1,\dots,n\}; as ⋅\cdot is associative and commutative by Arithmetic of Multiplication on Omega: Recursion Rules, Distributivity, Associativity, Commutativity, No Zero Divisors, Cancellation and Compatibility with the Order §associative and Arithmetic of Multiplication on Omega: Recursion Rules, Distributivity, Associativity, Commutativity, No Zero Divisors, Cancellation and Compatibility with the Order §commutative, Sums and Products over a Finite Set and over an Interval §intervals, with m=1≤nm=1\le n, shows that this product agrees with the iterated operation ∏k=1nk\prod_{k=1}^{n}k of Iterated Operations: Finite Sums and Finite Products §iterated. Therefore s(n)=n!s(n)=n! for every n∈Nn\in\mathbb{N}.

A formula by cases. The formulas below are formulas of class theory as in Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §symbols, written with abbreviations as in Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §defined-symbols and read as in Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §reading. Elements of N0\mathbb{N}_{0} are assigned to set variables and read as sets only in that sense; a variable to which a number is assigned occurs only to the left of ∈\in, on either side of ==, or as a component of an ordered pair. Assign N\mathbb{N} and N0\mathbb{N}_{0} to distinct class variables NN and MM, and 11 and ss to distinct set variables ee and ss, its parameters; let ww and nn be distinct set variables other than these. Let θ(w,n)\theta(w,n) be

(¬ n∈N∧w=e)∨(n∈N∧(n,w)∈s),(\neg\,n\in N\wedge w=e)\vee(n\in N\wedge(n,w)\in s),

and let γ(n)\gamma(n) be the atomic formula n∈Mn\in M. The formula θ\theta is written with the ordered pair, an abbreviation as in Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §defined-symbols, and applies no quantifier to a class variable, its parameters NN, ee and ss occurring only free; so θ\theta is predicative by Predicativity of Expressions with Abbreviations, and Symbol-Free Forms of the Basic Defined Set Symbols §closure, and so is the atomic formula γ\gamma.

What the formula says. Let n∈N0n\in\mathbb{N}_{0} and let ww be a set. If n∉Nn\notin\mathbb{N}, then n=0n=0, as N=N0∖{0}\mathbb{N}=\mathbb{N}_{0}\setminus\{0\} by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §sets, and θ(w,n)\theta(w,n) holds if and only if w=1w=1; and 1=0!1=0! by The Factorial: Recursion, Positivity and Bounds by Powers §recursion. If n∈Nn\in\mathbb{N}, then n∈dom⁡sn\in\operatorname{dom}s by Functions, Values of a Function, and Functions from One Class to Another §map, and θ(w,n)\theta(w,n) holds if and only if (n,w)∈s(n,w)\in s, that is, by Predicativity of Expressions with Abbreviations, and Symbol-Free Forms of the Basic Defined Set Symbols §value, if and only if w=s(n)w=s(n), where s(n)=n!s(n)=n! by the preceding paragraphs. So for every set nn satisfying γ(n)\gamma(n), exactly one set ww satisfies θ(w,n)\theta(w,n), namely n!n!, which lies in N0\mathbb{N}_{0} by The Factorial of a Natural Number with Zero §factorial.

Clause map. The formula θ\theta is predicative, and by the preceding paragraph, for every set nn satisfying γ(n)\gamma(n) exactly one set ww satisfies θ(w,n)\theta(w,n). So Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations §defined-set-symbols lets us introduce a defined set symbol τ(n)\tau(n), with argument the set nn and the parameters NN, ee and ss of θ\theta held fixed, as the unique set ww with θ(w,n)\theta(w,n); it is used properly wherever the hypothesis n∈N0n\in\mathbb{N}_{0} is in force, since that hypothesis ensures that exactly one such set exists. By the preceding paragraph, τ(n)=n!\tau(n)=n! for every n∈N0n\in\mathbb{N}_{0}. For n∈N0n\in\mathbb{N}_{0}, the expression τ(n)∈N0\tau(n)\in\mathbb{N}_{0} stands, by the elimination rule of that clause, for ∃z (θ(z,n)∧z∈M)\exists z\,(\theta(z,n)\wedge z\in M), which by Predicativity of Expressions with Abbreviations, and Symbol-Free Forms of the Basic Defined Set Symbols §elimination, with k=1k=1, the formulas θ\theta and γ\gamma above and φ(z,n)\varphi(z,n) the atomic formula z∈Mz\in M, holds if and only if the set τ(n)=n!\tau(n)=n! lies in N0\mathbb{N}_{0}; it does, by the preceding paragraph. By Maps and Relations Given by Formulas §map, applied to the set N0\mathbb{N}_{0} as domain and as codomain and to the expression τ(n)\tau(n), there is exactly one map F:N0→N0F:\mathbb{N}_{0}\to\mathbb{N}_{0} with F(n)=τ(n)F(n)=\tau(n) for every n∈N0n\in\mathbb{N}_{0}. As τ(n)=n!\tau(n)=n! for every n∈N0n\in\mathbb{N}_{0}, the condition F(n)=τ(n)F(n)=\tau(n) is the condition F(n)=n!F(n)=n!, so exactly one map F:N0→N0F:\mathbb{N}_{0}\to\mathbb{N}_{0} has F(n)=n!F(n)=n! for every n∈N0n\in\mathbb{N}_{0}; this is The Factorial as a Map on the Natural Numbers with Zero §map.

Clause values. Let FF be the map of The Factorial as a Map on the Natural Numbers with Zero §map. As 0∈N00\in\mathbb{N}_{0} by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §sets, F(0)=0!=1F(0)=0!=1 by The Factorial as a Map on the Natural Numbers with Zero §map and The Factorial: Recursion, Positivity and Bounds by Powers §recursion. Let n∈N0n\in\mathbb{N}_{0}. Then n+1∈N0n+1\in\mathbb{N}_{0} by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §operations, so by The Factorial as a Map on the Natural Numbers with Zero §map, applied at n+1n+1 and at nn, and The Factorial: Recursion, Positivity and Bounds by Powers §recursion,

F(n+1)=(n+1)!=(n+1)⋅n!=(n+1)⋅F(n).F(n+1)=(n+1)!=(n+1)\cdot n!=(n+1)\cdot F(n).

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…