| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > faccl | Structured version Visualization version GIF version | ||
| Description: Closure of the factorial function. (Contributed by NM, 2-Dec-2004.) |
| Ref | Expression |
|---|---|
| faccl | ⊢ (𝑁 ∈ ℕ0 → (!‘𝑁) ∈ ℕ) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fveq2 6875 | . . 3 ⊢ (𝑗 = 0 → (!‘𝑗) = (!‘0)) | |
| 2 | 1 | eleq1d 2819 | . 2 ⊢ (𝑗 = 0 → ((!‘𝑗) ∈ ℕ ↔ (!‘0) ∈ ℕ)) |
| 3 | fveq2 6875 | . . 3 ⊢ (𝑗 = 𝑘 → (!‘𝑗) = (!‘𝑘)) | |
| 4 | 3 | eleq1d 2819 | . 2 ⊢ (𝑗 = 𝑘 → ((!‘𝑗) ∈ ℕ ↔ (!‘𝑘) ∈ ℕ)) |
| 5 | fveq2 6875 | . . 3 ⊢ (𝑗 = (𝑘 + 1) → (!‘𝑗) = (!‘(𝑘 + 1))) | |
| 6 | 5 | eleq1d 2819 | . 2 ⊢ (𝑗 = (𝑘 + 1) → ((!‘𝑗) ∈ ℕ ↔ (!‘(𝑘 + 1)) ∈ ℕ)) |
| 7 | fveq2 6875 | . . 3 ⊢ (𝑗 = 𝑁 → (!‘𝑗) = (!‘𝑁)) | |
| 8 | 7 | eleq1d 2819 | . 2 ⊢ (𝑗 = 𝑁 → ((!‘𝑗) ∈ ℕ ↔ (!‘𝑁) ∈ ℕ)) |
| 9 | fac0 14292 | . . 3 ⊢ (!‘0) = 1 | |
| 10 | 1nn 12249 | . . 3 ⊢ 1 ∈ ℕ | |
| 11 | 9, 10 | eqeltri 2830 | . 2 ⊢ (!‘0) ∈ ℕ |
| 12 | facp1 14294 | . . . . 5 ⊢ (𝑘 ∈ ℕ0 → (!‘(𝑘 + 1)) = ((!‘𝑘) · (𝑘 + 1))) | |
| 13 | 12 | adantl 481 | . . . 4 ⊢ (((!‘𝑘) ∈ ℕ ∧ 𝑘 ∈ ℕ0) → (!‘(𝑘 + 1)) = ((!‘𝑘) · (𝑘 + 1))) |
| 14 | nn0p1nn 12538 | . . . . 5 ⊢ (𝑘 ∈ ℕ0 → (𝑘 + 1) ∈ ℕ) | |
| 15 | nnmulcl 12262 | . . . . 5 ⊢ (((!‘𝑘) ∈ ℕ ∧ (𝑘 + 1) ∈ ℕ) → ((!‘𝑘) · (𝑘 + 1)) ∈ ℕ) | |
| 16 | 14, 15 | sylan2 593 | . . . 4 ⊢ (((!‘𝑘) ∈ ℕ ∧ 𝑘 ∈ ℕ0) → ((!‘𝑘) · (𝑘 + 1)) ∈ ℕ) |
| 17 | 13, 16 | eqeltrd 2834 | . . 3 ⊢ (((!‘𝑘) ∈ ℕ ∧ 𝑘 ∈ ℕ0) → (!‘(𝑘 + 1)) ∈ ℕ) |
| 18 | 17 | expcom 413 | . 2 ⊢ (𝑘 ∈ ℕ0 → ((!‘𝑘) ∈ ℕ → (!‘(𝑘 + 1)) ∈ ℕ)) |
| 19 | 2, 4, 6, 8, 11, 18 | nn0ind 12686 | 1 ⊢ (𝑁 ∈ ℕ0 → (!‘𝑁) ∈ ℕ) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1540 ∈ wcel 2108 ‘cfv 6530 (class class class)co 7403 0cc0 11127 1c1 11128 + caddc 11130 · cmul 11132 ℕcn 12238 ℕ0cn0 12499 !cfa 14289 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2007 ax-8 2110 ax-9 2118 ax-10 2141 ax-11 2157 ax-12 2177 ax-ext 2707 ax-sep 5266 ax-nul 5276 ax-pow 5335 ax-pr 5402 ax-un 7727 ax-cnex 11183 ax-resscn 11184 ax-1cn 11185 ax-icn 11186 ax-addcl 11187 ax-addrcl 11188 ax-mulcl 11189 ax-mulrcl 11190 ax-mulcom 11191 ax-addass 11192 ax-mulass 11193 ax-distr 11194 ax-i2m1 11195 ax-1ne0 11196 ax-1rid 11197 ax-rnegex 11198 ax-rrecex 11199 ax-cnre 11200 ax-pre-lttri 11201 ax-pre-lttrn 11202 ax-pre-ltadd 11203 ax-pre-mulgt0 11204 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3or 1087 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2065 df-mo 2539 df-eu 2568 df-clab 2714 df-cleq 2727 df-clel 2809 df-nfc 2885 df-ne 2933 df-nel 3037 df-ral 3052 df-rex 3061 df-reu 3360 df-rab 3416 df-v 3461 df-sbc 3766 df-csb 3875 df-dif 3929 df-un 3931 df-in 3933 df-ss 3943 df-pss 3946 df-nul 4309 df-if 4501 df-pw 4577 df-sn 4602 df-pr 4604 df-op 4608 df-uni 4884 df-iun 4969 df-br 5120 df-opab 5182 df-mpt 5202 df-tr 5230 df-id 5548 df-eprel 5553 df-po 5561 df-so 5562 df-fr 5606 df-we 5608 df-xp 5660 df-rel 5661 df-cnv 5662 df-co 5663 df-dm 5664 df-rn 5665 df-res 5666 df-ima 5667 df-pred 6290 df-ord 6355 df-on 6356 df-lim 6357 df-suc 6358 df-iota 6483 df-fun 6532 df-fn 6533 df-f 6534 df-f1 6535 df-fo 6536 df-f1o 6537 df-fv 6538 df-riota 7360 df-ov 7406 df-oprab 7407 df-mpo 7408 df-om 7860 df-2nd 7987 df-frecs 8278 df-wrecs 8309 df-recs 8383 df-rdg 8422 df-er 8717 df-en 8958 df-dom 8959 df-sdom 8960 df-pnf 11269 df-mnf 11270 df-xr 11271 df-ltxr 11272 df-le 11273 df-sub 11466 df-neg 11467 df-nn 12239 df-n0 12500 df-z 12587 df-uz 12851 df-seq 14018 df-fac 14290 |
| This theorem is referenced by: faccld 14300 facne0 14302 facdiv 14303 facndiv 14304 facwordi 14305 faclbnd 14306 faclbnd2 14307 faclbnd3 14308 faclbnd4lem1 14309 faclbnd5 14314 faclbnd6 14315 facubnd 14316 facavg 14317 bcrpcl 14324 bcn0 14326 bcm1k 14331 bcval5 14334 permnn 14342 4bc2eq6 14345 fallfacfac 16059 eftcl 16087 reeftcl 16088 eftabs 16089 ef0lem 16092 ege2le3 16104 efcj 16106 efaddlem 16107 effsumlt 16127 eflegeo 16137 ef01bndlem 16200 eirrlem 16220 prmfac1 16737 pcfac 16917 prmunb 16932 aaliou3lem7 26307 aaliou3lem9 26308 advlogexp 26614 wilth 27031 logfacrlim 27185 logexprlim 27186 bcmono 27238 vmadivsum 27443 subfacval2 35155 subfaclim 35156 subfacval3 35157 bcprod 35701 faclim2 35711 lcmineqlem18 42005 facp2 42102 fac2xp3 42198 factwoffsmonot 42201 bcccl 44311 bcc0 44312 bccp1k 44313 binomcxplemwb 44320 dvnxpaek 45919 wallispi2lem2 46049 stirlinglem2 46052 stirlinglem3 46053 stirlinglem4 46054 stirlinglem13 46063 stirlinglem14 46064 stirlinglem15 46065 stirlingr 46067 pgrple2abl 48288 |
| Copyright terms: Public domain | W3C validator |