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

Theorem infpn2 12955
Description: There exist infinitely many prime numbers: the set of all primes  S is unbounded by infpn 12954, so by unben 12951 it is infinite. (Contributed by NM, 5-May-2005.)
Hypothesis
Ref Expression
infpn2.1  |-  S  =  { n  e.  NN  |  ( 1  < 
n  /\  A. m  e.  NN  ( ( n  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  n ) ) ) }
Assertion
Ref Expression
infpn2  |-  S  ~~  NN
Distinct variable group:    m, n
Dummy variables  j 
k are mutually distinct and distinct from all other variables.
Allowed substitution hints:    S( m, n)

Proof of Theorem infpn2
StepHypRef Expression
1 infpn2.1 . . 3  |-  S  =  { n  e.  NN  |  ( 1  < 
n  /\  A. m  e.  NN  ( ( n  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  n ) ) ) }
2 ssrab2 3260 . . 3  |-  { n  e.  NN  |  ( 1  <  n  /\  A. m  e.  NN  (
( n  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  n ) ) ) }  C_  NN
31, 2eqsstri 3210 . 2  |-  S  C_  NN
4 infpn 12954 . . . . 5  |-  ( j  e.  NN  ->  E. k  e.  NN  ( j  < 
k  /\  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) )
5 nnge1 9768 . . . . . . . . . . 11  |-  ( j  e.  NN  ->  1  <_  j )
65adantr 453 . . . . . . . . . 10  |-  ( ( j  e.  NN  /\  k  e.  NN )  ->  1  <_  j )
7 nnre 9749 . . . . . . . . . . 11  |-  ( j  e.  NN  ->  j  e.  RR )
8 nnre 9749 . . . . . . . . . . 11  |-  ( k  e.  NN  ->  k  e.  RR )
9 1re 8833 . . . . . . . . . . . 12  |-  1  e.  RR
10 lelttr 8908 . . . . . . . . . . . 12  |-  ( ( 1  e.  RR  /\  j  e.  RR  /\  k  e.  RR )  ->  (
( 1  <_  j  /\  j  <  k )  ->  1  <  k
) )
119, 10mp3an1 1266 . . . . . . . . . . 11  |-  ( ( j  e.  RR  /\  k  e.  RR )  ->  ( ( 1  <_ 
j  /\  j  <  k )  ->  1  <  k ) )
127, 8, 11syl2an 465 . . . . . . . . . 10  |-  ( ( j  e.  NN  /\  k  e.  NN )  ->  ( ( 1  <_ 
j  /\  j  <  k )  ->  1  <  k ) )
136, 12mpand 658 . . . . . . . . 9  |-  ( ( j  e.  NN  /\  k  e.  NN )  ->  ( j  <  k  ->  1  <  k ) )
1413ancld 538 . . . . . . . 8  |-  ( ( j  e.  NN  /\  k  e.  NN )  ->  ( j  <  k  ->  ( j  <  k  /\  1  <  k ) ) )
1514anim1d 549 . . . . . . 7  |-  ( ( j  e.  NN  /\  k  e.  NN )  ->  ( ( j  < 
k  /\  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) )  ->  ( (
j  <  k  /\  1  <  k )  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) )
16 anass 632 . . . . . . 7  |-  ( ( ( j  <  k  /\  1  <  k )  /\  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) )  <->  ( j  < 
k  /\  ( 1  <  k  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) )
1715, 16syl6ib 219 . . . . . 6  |-  ( ( j  e.  NN  /\  k  e.  NN )  ->  ( ( j  < 
k  /\  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) )  ->  ( j  <  k  /\  ( 1  <  k  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) ) )
1817reximdva 2657 . . . . 5  |-  ( j  e.  NN  ->  ( E. k  e.  NN  ( j  <  k  /\  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) )  ->  E. k  e.  NN  ( j  <  k  /\  ( 1  <  k  /\  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) ) )
194, 18mpd 16 . . . 4  |-  ( j  e.  NN  ->  E. k  e.  NN  ( j  < 
k  /\  ( 1  <  k  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) )
20 breq2 4029 . . . . . . . . 9  |-  ( n  =  k  ->  (
1  <  n  <->  1  <  k ) )
21 oveq1 5827 . . . . . . . . . . . 12  |-  ( n  =  k  ->  (
n  /  m )  =  ( k  /  m ) )
2221eleq1d 2351 . . . . . . . . . . 11  |-  ( n  =  k  ->  (
( n  /  m
)  e.  NN  <->  ( k  /  m )  e.  NN ) )
23 equequ2 1650 . . . . . . . . . . . 12  |-  ( n  =  k  ->  (
m  =  n  <->  m  =  k ) )
2423orbi2d 684 . . . . . . . . . . 11  |-  ( n  =  k  ->  (
( m  =  1  \/  m  =  n )  <->  ( m  =  1  \/  m  =  k ) ) )
2522, 24imbi12d 313 . . . . . . . . . 10  |-  ( n  =  k  ->  (
( ( n  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  n ) )  <->  ( (
k  /  m )  e.  NN  ->  (
m  =  1  \/  m  =  k ) ) ) )
2625ralbidv 2565 . . . . . . . . 9  |-  ( n  =  k  ->  ( A. m  e.  NN  ( ( n  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  n ) )  <->  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) )
2720, 26anbi12d 693 . . . . . . . 8  |-  ( n  =  k  ->  (
( 1  <  n  /\  A. m  e.  NN  ( ( n  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  n ) ) )  <->  ( 1  <  k  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) )
2827, 1elrab2 2927 . . . . . . 7  |-  ( k  e.  S  <->  ( k  e.  NN  /\  ( 1  <  k  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) )
2928anbi1i 678 . . . . . 6  |-  ( ( k  e.  S  /\  j  <  k )  <->  ( (
k  e.  NN  /\  ( 1  <  k  /\  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) )  /\  j  <  k
) )
30 anass 632 . . . . . 6  |-  ( ( ( k  e.  NN  /\  ( 1  <  k  /\  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) )  /\  j  <  k
)  <->  ( k  e.  NN  /\  ( ( 1  <  k  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) )  /\  j  <  k ) ) )
31 ancom 439 . . . . . . 7  |-  ( ( ( 1  <  k  /\  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) )  /\  j  <  k )  <->  ( j  <  k  /\  ( 1  <  k  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) )
3231anbi2i 677 . . . . . 6  |-  ( ( k  e.  NN  /\  ( ( 1  < 
k  /\  A. m  e.  NN  ( ( k  /  m )  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) )  /\  j  < 
k ) )  <->  ( k  e.  NN  /\  ( j  <  k  /\  (
1  <  k  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) ) )
3329, 30, 323bitri 264 . . . . 5  |-  ( ( k  e.  S  /\  j  <  k )  <->  ( k  e.  NN  /\  ( j  <  k  /\  (
1  <  k  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) ) )
3433rexbii2 2574 . . . 4  |-  ( E. k  e.  S  j  <  k  <->  E. k  e.  NN  ( j  < 
k  /\  ( 1  <  k  /\  A. m  e.  NN  (
( k  /  m
)  e.  NN  ->  ( m  =  1  \/  m  =  k ) ) ) ) )
3519, 34sylibr 205 . . 3  |-  ( j  e.  NN  ->  E. k  e.  S  j  <  k )
3635rgen 2610 . 2  |-  A. j  e.  NN  E. k  e.  S  j  <  k
37 unben 12951 . 2  |-  ( ( S  C_  NN  /\  A. j  e.  NN  E. k  e.  S  j  <  k )  ->  S  ~~  NN )
383, 36, 37mp2an 655 1  |-  S  ~~  NN
Colors of variables: wff set class
Syntax hints:    -> wi 6    \/ wo 359    /\ wa 360    = wceq 1624    e. wcel 1685   A.wral 2545   E.wrex 2546   {crab 2549    C_ wss 3154   class class class wbr 4025  (class class class)co 5820    ~~ cen 6856   RRcr 8732   1c1 8734    < clt 8863    <_ cle 8864    / cdiv 9419   NNcn 9742
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-gen 1534  ax-5 1545  ax-17 1604  ax-9 1637  ax-8 1645  ax-13 1687  ax-14 1689  ax-6 1704  ax-7 1709  ax-11 1716  ax-12 1868  ax-ext 2266  ax-rep 4133  ax-sep 4143  ax-nul 4151  ax-pow 4188  ax-pr 4214  ax-un 4512  ax-inf2 7338  ax-cnex 8789  ax-resscn 8790  ax-1cn 8791  ax-icn 8792  ax-addcl 8793  ax-addrcl 8794  ax-mulcl 8795  ax-mulrcl 8796  ax-mulcom 8797  ax-addass 8798  ax-mulass 8799  ax-distr 8800  ax-i2m1 8801  ax-1ne0 8802  ax-1rid 8803  ax-rnegex 8804  ax-rrecex 8805  ax-cnre 8806  ax-pre-lttri 8807  ax-pre-lttrn 8808  ax-pre-ltadd 8809  ax-pre-mulgt0 8810
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 937  df-3an 938  df-tru 1312  df-ex 1530  df-nf 1533  df-sb 1632  df-eu 2149  df-mo 2150  df-clab 2272  df-cleq 2278  df-clel 2281  df-nfc 2410  df-ne 2450  df-nel 2451  df-ral 2550  df-rex 2551  df-reu 2552  df-rmo 2553  df-rab 2554  df-v 2792  df-sbc 2994  df-csb 3084  df-dif 3157  df-un 3159  df-in 3161  df-ss 3168  df-pss 3170  df-nul 3458  df-if 3568  df-pw 3629  df-sn 3648  df-pr 3649  df-tp 3650  df-op 3651  df-uni 3830  df-int 3865  df-iun 3909  df-br 4026  df-opab 4080  df-mpt 4081  df-tr 4116  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-fun 5224  df-fn 5225  df-f 5226  df-f1 5227  df-fo 5228  df-f1o 5229  df-fv 5230  df-ov 5823  df-oprab 5824  df-mpt2 5825  df-2nd 6085  df-iota 6253  df-riota 6300  df-recs 6384  df-rdg 6419  df-er 6656  df-en 6860  df-dom 6861  df-sdom 6862  df-pnf 8865  df-mnf 8866  df-xr 8867  df-ltxr 8868  df-le 8869  df-sub 9035  df-neg 9036  df-div 9420  df-nn 9743  df-n0 9962  df-z 10021  df-uz 10227  df-seq 11042  df-fac 11284
  Copyright terms: Public domain W3C validator