MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  bpos Structured version   Visualization version   GIF version

Theorem bpos 27271
Description: Bertrand's postulate: there is a prime between 𝑁 and 2𝑁 for every positive integer 𝑁. This proof follows Erdős's method, for the most part, but with some refinements due to Shigenori Tochiori to save us some calculations of large primes. See http://en.wikipedia.org/wiki/Proof_of_Bertrand%27s_postulate for an overview of the proof strategy. This is Metamath 100 proof #98. (Contributed by Mario Carneiro, 14-Mar-2014.)
Assertion
Ref Expression
bpos (𝑁 ∈ ℕ → ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
Distinct variable group:   𝑁,𝑝

Proof of Theorem bpos
Dummy variables 𝑛 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 bpos1 27261 . 2 ((𝑁 ∈ ℕ ∧ 𝑁64) → ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
2 eqid 2725 . . . 4 (𝑛 ∈ ℕ ↦ ((((√‘2) · ((𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥))‘(√‘𝑛))) + ((9 / 4) · ((𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥))‘(𝑛 / 2)))) + ((log‘2) / (√‘(2 · 𝑛))))) = (𝑛 ∈ ℕ ↦ ((((√‘2) · ((𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥))‘(√‘𝑛))) + ((9 / 4) · ((𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥))‘(𝑛 / 2)))) + ((log‘2) / (√‘(2 · 𝑛)))))
3 eqid 2725 . . . 4 (𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥)) = (𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥))
4 simpll 765 . . . 4 (((𝑁 ∈ ℕ ∧ 64 < 𝑁) ∧ ¬ ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁))) → 𝑁 ∈ ℕ)
5 simplr 767 . . . 4 (((𝑁 ∈ ℕ ∧ 64 < 𝑁) ∧ ¬ ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁))) → 64 < 𝑁)
6 simpr 483 . . . 4 (((𝑁 ∈ ℕ ∧ 64 < 𝑁) ∧ ¬ ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁))) → ¬ ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
72, 3, 4, 5, 6bposlem9 27270 . . 3 (((𝑁 ∈ ℕ ∧ 64 < 𝑁) ∧ ¬ ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁))) → ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
87pm2.18da 798 . 2 ((𝑁 ∈ ℕ ∧ 64 < 𝑁) → ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
9 nnre 12252 . . 3 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ)
10 6nn0 12526 . . . . 5 6 ∈ ℕ0
11 4nn0 12524 . . . . 5 4 ∈ ℕ0
1210, 11deccl 12725 . . . 4 64 ∈ ℕ0
1312nn0rei 12516 . . 3 64 ∈ ℝ
14 lelttric 11353 . . 3 ((𝑁 ∈ ℝ ∧ 64 ∈ ℝ) → (𝑁64 ∨ 64 < 𝑁))
159, 13, 14sylancl 584 . 2 (𝑁 ∈ ℕ → (𝑁64 ∨ 64 < 𝑁))
161, 8, 15mpjaodan 956 1 (𝑁 ∈ ℕ → ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 394  wo 845  wcel 2098  wrex 3059   class class class wbr 5149  cmpt 5232  cfv 6549  (class class class)co 7419  cr 11139   + caddc 11143   · cmul 11145   < clt 11280  cle 11281   / cdiv 11903  cn 12245  2c2 12300  4c4 12302  6c6 12304  9c9 12307  cdc 12710  +crp 13009  csqrt 15216  cprime 16645  logclog 26533
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pow 5365  ax-pr 5429  ax-un 7741  ax-inf2 9666  ax-cnex 11196  ax-resscn 11197  ax-1cn 11198  ax-icn 11199  ax-addcl 11200  ax-addrcl 11201  ax-mulcl 11202  ax-mulrcl 11203  ax-mulcom 11204  ax-addass 11205  ax-mulass 11206  ax-distr 11207  ax-i2m1 11208  ax-1ne0 11209  ax-1rid 11210  ax-rnegex 11211  ax-rrecex 11212  ax-cnre 11213  ax-pre-lttri 11214  ax-pre-lttrn 11215  ax-pre-ltadd 11216  ax-pre-mulgt0 11217  ax-pre-sup 11218  ax-addf 11219
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2930  df-nel 3036  df-ral 3051  df-rex 3060  df-rmo 3363  df-reu 3364  df-rab 3419  df-v 3463  df-sbc 3774  df-csb 3890  df-dif 3947  df-un 3949  df-in 3951  df-ss 3961  df-pss 3964  df-nul 4323  df-if 4531  df-pw 4606  df-sn 4631  df-pr 4633  df-tp 4635  df-op 4637  df-uni 4910  df-int 4951  df-iun 4999  df-iin 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-tr 5267  df-id 5576  df-eprel 5582  df-po 5590  df-so 5591  df-fr 5633  df-se 5634  df-we 5635  df-xp 5684  df-rel 5685  df-cnv 5686  df-co 5687  df-dm 5688  df-rn 5689  df-res 5690  df-ima 5691  df-pred 6307  df-ord 6374  df-on 6375  df-lim 6376  df-suc 6377  df-iota 6501  df-fun 6551  df-fn 6552  df-f 6553  df-f1 6554  df-fo 6555  df-f1o 6556  df-fv 6557  df-isom 6558  df-riota 7375  df-ov 7422  df-oprab 7423  df-mpo 7424  df-of 7685  df-om 7872  df-1st 7994  df-2nd 7995  df-supp 8166  df-frecs 8287  df-wrecs 8318  df-recs 8392  df-rdg 8431  df-1o 8487  df-2o 8488  df-oadd 8491  df-er 8725  df-map 8847  df-pm 8848  df-ixp 8917  df-en 8965  df-dom 8966  df-sdom 8967  df-fin 8968  df-fsupp 9388  df-fi 9436  df-sup 9467  df-inf 9468  df-oi 9535  df-dju 9926  df-card 9964  df-pnf 11282  df-mnf 11283  df-xr 11284  df-ltxr 11285  df-le 11286  df-sub 11478  df-neg 11479  df-div 11904  df-nn 12246  df-2 12308  df-3 12309  df-4 12310  df-5 12311  df-6 12312  df-7 12313  df-8 12314  df-9 12315  df-n0 12506  df-xnn0 12578  df-z 12592  df-dec 12711  df-uz 12856  df-q 12966  df-rp 13010  df-xneg 13127  df-xadd 13128  df-xmul 13129  df-ioo 13363  df-ioc 13364  df-ico 13365  df-icc 13366  df-fz 13520  df-fzo 13663  df-fl 13793  df-mod 13871  df-seq 14003  df-exp 14063  df-fac 14269  df-bc 14298  df-hash 14326  df-shft 15050  df-cj 15082  df-re 15083  df-im 15084  df-sqrt 15218  df-abs 15219  df-limsup 15451  df-clim 15468  df-rlim 15469  df-sum 15669  df-ef 16047  df-e 16048  df-sin 16049  df-cos 16050  df-pi 16052  df-dvds 16235  df-gcd 16473  df-prm 16646  df-pc 16809  df-struct 17119  df-sets 17136  df-slot 17154  df-ndx 17166  df-base 17184  df-ress 17213  df-plusg 17249  df-mulr 17250  df-starv 17251  df-sca 17252  df-vsca 17253  df-ip 17254  df-tset 17255  df-ple 17256  df-ds 17258  df-unif 17259  df-hom 17260  df-cco 17261  df-rest 17407  df-topn 17408  df-0g 17426  df-gsum 17427  df-topgen 17428  df-pt 17429  df-prds 17432  df-xrs 17487  df-qtop 17492  df-imas 17493  df-xps 17495  df-mre 17569  df-mrc 17570  df-acs 17572  df-mgm 18603  df-sgrp 18682  df-mnd 18698  df-submnd 18744  df-mulg 19032  df-cntz 19280  df-cmn 19749  df-psmet 21288  df-xmet 21289  df-met 21290  df-bl 21291  df-mopn 21292  df-fbas 21293  df-fg 21294  df-cnfld 21297  df-top 22840  df-topon 22857  df-topsp 22879  df-bases 22893  df-cld 22967  df-ntr 22968  df-cls 22969  df-nei 23046  df-lp 23084  df-perf 23085  df-cn 23175  df-cnp 23176  df-haus 23263  df-tx 23510  df-hmeo 23703  df-fil 23794  df-fm 23886  df-flim 23887  df-flf 23888  df-xms 24270  df-ms 24271  df-tms 24272  df-cncf 24842  df-limc 25839  df-dv 25840  df-log 26535  df-cxp 26536  df-cht 27074  df-ppi 27077
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator