MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  2expltfac Unicode version

Theorem 2expltfac 13105
Description: The factorial grows faster than two to the power  N. (Contributed by Mario Carneiro, 15-Sep-2016.)
Assertion
Ref Expression
2expltfac  |-  ( N  e.  ( ZZ>= `  4
)  ->  ( 2 ^ N )  < 
( ! `  N
) )

Proof of Theorem 2expltfac
Dummy variables  x  n are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 5866 . . . 4  |-  ( x  =  4  ->  (
2 ^ x )  =  ( 2 ^ 4 ) )
2 2exp4 13100 . . . 4  |-  ( 2 ^ 4 )  = ; 1
6
31, 2syl6eq 2331 . . 3  |-  ( x  =  4  ->  (
2 ^ x )  = ; 1 6 )
4 fveq2 5525 . . . 4  |-  ( x  =  4  ->  ( ! `  x )  =  ( ! ` 
4 ) )
5 fac4 11296 . . . 4  |-  ( ! `
 4 )  = ; 2
4
64, 5syl6eq 2331 . . 3  |-  ( x  =  4  ->  ( ! `  x )  = ; 2 4 )
73, 6breq12d 4036 . 2  |-  ( x  =  4  ->  (
( 2 ^ x
)  <  ( ! `  x )  <-> ; 1 6  < ; 2 4 ) )
8 oveq2 5866 . . 3  |-  ( x  =  n  ->  (
2 ^ x )  =  ( 2 ^ n ) )
9 fveq2 5525 . . 3  |-  ( x  =  n  ->  ( ! `  x )  =  ( ! `  n ) )
108, 9breq12d 4036 . 2  |-  ( x  =  n  ->  (
( 2 ^ x
)  <  ( ! `  x )  <->  ( 2 ^ n )  < 
( ! `  n
) ) )
11 oveq2 5866 . . 3  |-  ( x  =  ( n  + 
1 )  ->  (
2 ^ x )  =  ( 2 ^ ( n  +  1 ) ) )
12 fveq2 5525 . . 3  |-  ( x  =  ( n  + 
1 )  ->  ( ! `  x )  =  ( ! `  ( n  +  1
) ) )
1311, 12breq12d 4036 . 2  |-  ( x  =  ( n  + 
1 )  ->  (
( 2 ^ x
)  <  ( ! `  x )  <->  ( 2 ^ ( n  + 
1 ) )  < 
( ! `  (
n  +  1 ) ) ) )
14 oveq2 5866 . . 3  |-  ( x  =  N  ->  (
2 ^ x )  =  ( 2 ^ N ) )
15 fveq2 5525 . . 3  |-  ( x  =  N  ->  ( ! `  x )  =  ( ! `  N ) )
1614, 15breq12d 4036 . 2  |-  ( x  =  N  ->  (
( 2 ^ x
)  <  ( ! `  x )  <->  ( 2 ^ N )  < 
( ! `  N
) ) )
17 1nn0 9981 . . . 4  |-  1  e.  NN0
18 2nn0 9982 . . . 4  |-  2  e.  NN0
19 6nn0 9986 . . . 4  |-  6  e.  NN0
20 4nn0 9984 . . . 4  |-  4  e.  NN0
21 6lt10 9925 . . . 4  |-  6  <  10
22 1lt2 9886 . . . 4  |-  1  <  2
2317, 18, 19, 20, 21, 22decltc 10146 . . 3  |- ; 1 6  < ; 2 4
2423a1i 10 . 2  |-  ( 4  e.  ZZ  -> ; 1 6  < ; 2 4 )
25 2nn 9877 . . . . . . . . 9  |-  2  e.  NN
2625a1i 10 . . . . . . . 8  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
2  e.  NN )
27 4nn 9879 . . . . . . . . . 10  |-  4  e.  NN
28 simpl 443 . . . . . . . . . 10  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  ->  n  e.  ( ZZ>= ` 
4 ) )
29 nnuz 10263 . . . . . . . . . . 11  |-  NN  =  ( ZZ>= `  1 )
3029uztrn2 10245 . . . . . . . . . 10  |-  ( ( 4  e.  NN  /\  n  e.  ( ZZ>= ` 
4 ) )  ->  n  e.  NN )
3127, 28, 30sylancr 644 . . . . . . . . 9  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  ->  n  e.  NN )
3231nnnn0d 10018 . . . . . . . 8  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  ->  n  e.  NN0 )
3326, 32nnexpcld 11266 . . . . . . 7  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( 2 ^ n
)  e.  NN )
3433nnred 9761 . . . . . 6  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( 2 ^ n
)  e.  RR )
35 2re 9815 . . . . . . 7  |-  2  e.  RR
3635a1i 10 . . . . . 6  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
2  e.  RR )
3734, 36remulcld 8863 . . . . 5  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( ( 2 ^ n )  x.  2 )  e.  RR )
38 faccl 11298 . . . . . . . 8  |-  ( n  e.  NN0  ->  ( ! `
 n )  e.  NN )
3932, 38syl 15 . . . . . . 7  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( ! `  n
)  e.  NN )
4039nnred 9761 . . . . . 6  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( ! `  n
)  e.  RR )
4140, 36remulcld 8863 . . . . 5  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( ( ! `  n )  x.  2 )  e.  RR )
4231nnred 9761 . . . . . . 7  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  ->  n  e.  RR )
43 1re 8837 . . . . . . . 8  |-  1  e.  RR
4443a1i 10 . . . . . . 7  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
1  e.  RR )
4542, 44readdcld 8862 . . . . . 6  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( n  +  1 )  e.  RR )
4640, 45remulcld 8863 . . . . 5  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( ( ! `  n )  x.  (
n  +  1 ) )  e.  RR )
47 2rp 10359 . . . . . . 7  |-  2  e.  RR+
4847a1i 10 . . . . . 6  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
2  e.  RR+ )
49 simpr 447 . . . . . 6  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( 2 ^ n
)  <  ( ! `  n ) )
5034, 40, 48, 49ltmul1dd 10441 . . . . 5  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( ( 2 ^ n )  x.  2 )  <  ( ( ! `  n )  x.  2 ) )
5139nnnn0d 10018 . . . . . . 7  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( ! `  n
)  e.  NN0 )
5251nn0ge0d 10021 . . . . . 6  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
0  <_  ( ! `  n ) )
53 df-2 9804 . . . . . . 7  |-  2  =  ( 1  +  1 )
5431nnge1d 9788 . . . . . . . 8  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
1  <_  n )
5544, 42, 44, 54leadd1dd 9386 . . . . . . 7  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( 1  +  1 )  <_  ( n  +  1 ) )
5653, 55syl5eqbr 4056 . . . . . 6  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
2  <_  ( n  +  1 ) )
5736, 45, 40, 52, 56lemul2ad 9697 . . . . 5  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( ( ! `  n )  x.  2 )  <_  ( ( ! `  n )  x.  ( n  +  1 ) ) )
5837, 41, 46, 50, 57ltletrd 8976 . . . 4  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( ( 2 ^ n )  x.  2 )  <  ( ( ! `  n )  x.  ( n  + 
1 ) ) )
59 2cn 9816 . . . . . 6  |-  2  e.  CC
6059a1i 10 . . . . 5  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
2  e.  CC )
6160, 32expp1d 11246 . . . 4  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( 2 ^ (
n  +  1 ) )  =  ( ( 2 ^ n )  x.  2 ) )
62 facp1 11293 . . . . 5  |-  ( n  e.  NN0  ->  ( ! `
 ( n  + 
1 ) )  =  ( ( ! `  n )  x.  (
n  +  1 ) ) )
6332, 62syl 15 . . . 4  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( ! `  (
n  +  1 ) )  =  ( ( ! `  n )  x.  ( n  + 
1 ) ) )
6458, 61, 633brtr4d 4053 . . 3  |-  ( ( n  e.  ( ZZ>= ` 
4 )  /\  (
2 ^ n )  <  ( ! `  n ) )  -> 
( 2 ^ (
n  +  1 ) )  <  ( ! `
 ( n  + 
1 ) ) )
6564ex 423 . 2  |-  ( n  e.  ( ZZ>= `  4
)  ->  ( (
2 ^ n )  <  ( ! `  n )  ->  (
2 ^ ( n  +  1 ) )  <  ( ! `  ( n  +  1
) ) ) )
667, 10, 13, 16, 24, 65uzind4 10276 1  |-  ( N  e.  ( ZZ>= `  4
)  ->  ( 2 ^ N )  < 
( ! `  N
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1623    e. wcel 1684   class class class wbr 4023   ` cfv 5255  (class class class)co 5858   CCcc 8735   RRcr 8736   1c1 8738    + caddc 8740    x. cmul 8742    < clt 8867    <_ cle 8868   NNcn 9746   2c2 9795   4c4 9797   6c6 9799   NN0cn0 9965   ZZcz 10024  ;cdc 10124   ZZ>=cuz 10230   RR+crp 10354   ^cexp 11104   !cfa 11288
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-cnex 8793  ax-resscn 8794  ax-1cn 8795  ax-icn 8796  ax-addcl 8797  ax-addrcl 8798  ax-mulcl 8799  ax-mulrcl 8800  ax-mulcom 8801  ax-addass 8802  ax-mulass 8803  ax-distr 8804  ax-i2m1 8805  ax-1ne0 8806  ax-1rid 8807  ax-rnegex 8808  ax-rrecex 8809  ax-cnre 8810  ax-pre-lttri 8811  ax-pre-lttrn 8812  ax-pre-ltadd 8813  ax-pre-mulgt0 8814
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-nel 2449  df-ral 2548  df-rex 2549  df-reu 2550  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-er 6660  df-en 6864  df-dom 6865  df-sdom 6866  df-pnf 8869  df-mnf 8870  df-xr 8871  df-ltxr 8872  df-le 8873  df-sub 9039  df-neg 9040  df-nn 9747  df-2 9804  df-3 9805  df-4 9806  df-5 9807  df-6 9808  df-7 9809  df-8 9810  df-9 9811  df-10 9812  df-n0 9966  df-z 10025  df-dec 10125  df-uz 10231  df-rp 10355  df-seq 11047  df-exp 11105  df-fac 11289
  Copyright terms: Public domain W3C validator