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

Theorem bpos 27277
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 27267 . 2 ((𝑁 ∈ ℕ ∧ 𝑁64) → ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
2 eqid 2737 . . . 4 (𝑛 ∈ ℕ ↦ ((((√‘2) · ((𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥))‘(√‘𝑛))) + ((9 / 4) · ((𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥))‘(𝑛 / 2)))) + ((log‘2) / (√‘(2 · 𝑛))))) = (𝑛 ∈ ℕ ↦ ((((√‘2) · ((𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥))‘(√‘𝑛))) + ((9 / 4) · ((𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥))‘(𝑛 / 2)))) + ((log‘2) / (√‘(2 · 𝑛)))))
3 eqid 2737 . . . 4 (𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥)) = (𝑥 ∈ ℝ+ ↦ ((log‘𝑥) / 𝑥))
4 simpll 767 . . . 4 (((𝑁 ∈ ℕ ∧ 64 < 𝑁) ∧ ¬ ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁))) → 𝑁 ∈ ℕ)
5 simplr 769 . . . 4 (((𝑁 ∈ ℕ ∧ 64 < 𝑁) ∧ ¬ ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁))) → 64 < 𝑁)
6 simpr 484 . . . 4 (((𝑁 ∈ ℕ ∧ 64 < 𝑁) ∧ ¬ ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁))) → ¬ ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
72, 3, 4, 5, 6bposlem9 27276 . . 3 (((𝑁 ∈ ℕ ∧ 64 < 𝑁) ∧ ¬ ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁))) → ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
87pm2.18da 800 . 2 ((𝑁 ∈ ℕ ∧ 64 < 𝑁) → ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
9 nnre 12166 . . 3 (𝑁 ∈ ℕ → 𝑁 ∈ ℝ)
10 6nn0 12436 . . . . 5 6 ∈ ℕ0
11 4nn0 12434 . . . . 5 4 ∈ ℕ0
1210, 11deccl 12636 . . . 4 64 ∈ ℕ0
1312nn0rei 12426 . . 3 64 ∈ ℝ
14 lelttric 11254 . . 3 ((𝑁 ∈ ℝ ∧ 64 ∈ ℝ) → (𝑁64 ∨ 64 < 𝑁))
159, 13, 14sylancl 587 . 2 (𝑁 ∈ ℕ → (𝑁64 ∨ 64 < 𝑁))
161, 8, 15mpjaodan 961 1 (𝑁 ∈ ℕ → ∃𝑝 ∈ ℙ (𝑁 < 𝑝𝑝 ≤ (2 · 𝑁)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wo 848  wcel 2114  wrex 3062   class class class wbr 5100  cmpt 5181  cfv 6502  (class class class)co 7370  cr 11039   + caddc 11043   · cmul 11045   < clt 11180  cle 11181   / cdiv 11808  cn 12159  2c2 12214  4c4 12216  6c6 12218  9c9 12221  cdc 12621  +crp 12919  csqrt 15170  cprime 16612  logclog 26536
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-rep 5226  ax-sep 5245  ax-nul 5255  ax-pow 5314  ax-pr 5381  ax-un 7692  ax-inf2 9564  ax-cnex 11096  ax-resscn 11097  ax-1cn 11098  ax-icn 11099  ax-addcl 11100  ax-addrcl 11101  ax-mulcl 11102  ax-mulrcl 11103  ax-mulcom 11104  ax-addass 11105  ax-mulass 11106  ax-distr 11107  ax-i2m1 11108  ax-1ne0 11109  ax-1rid 11110  ax-rnegex 11111  ax-rrecex 11112  ax-cnre 11113  ax-pre-lttri 11114  ax-pre-lttrn 11115  ax-pre-ltadd 11116  ax-pre-mulgt0 11117  ax-pre-sup 11118  ax-addf 11119
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-nel 3038  df-ral 3053  df-rex 3063  df-rmo 3352  df-reu 3353  df-rab 3402  df-v 3444  df-sbc 3743  df-csb 3852  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-pss 3923  df-nul 4288  df-if 4482  df-pw 4558  df-sn 4583  df-pr 4585  df-tp 4587  df-op 4589  df-uni 4866  df-int 4905  df-iun 4950  df-iin 4951  df-br 5101  df-opab 5163  df-mpt 5182  df-tr 5208  df-id 5529  df-eprel 5534  df-po 5542  df-so 5543  df-fr 5587  df-se 5588  df-we 5589  df-xp 5640  df-rel 5641  df-cnv 5642  df-co 5643  df-dm 5644  df-rn 5645  df-res 5646  df-ima 5647  df-pred 6269  df-ord 6330  df-on 6331  df-lim 6332  df-suc 6333  df-iota 6458  df-fun 6504  df-fn 6505  df-f 6506  df-f1 6507  df-fo 6508  df-f1o 6509  df-fv 6510  df-isom 6511  df-riota 7327  df-ov 7373  df-oprab 7374  df-mpo 7375  df-of 7634  df-om 7821  df-1st 7945  df-2nd 7946  df-supp 8115  df-frecs 8235  df-wrecs 8266  df-recs 8315  df-rdg 8353  df-1o 8409  df-2o 8410  df-oadd 8413  df-er 8647  df-map 8779  df-pm 8780  df-ixp 8850  df-en 8898  df-dom 8899  df-sdom 8900  df-fin 8901  df-fsupp 9279  df-fi 9328  df-sup 9359  df-inf 9360  df-oi 9429  df-dju 9827  df-card 9865  df-pnf 11182  df-mnf 11183  df-xr 11184  df-ltxr 11185  df-le 11186  df-sub 11380  df-neg 11381  df-div 11809  df-nn 12160  df-2 12222  df-3 12223  df-4 12224  df-5 12225  df-6 12226  df-7 12227  df-8 12228  df-9 12229  df-n0 12416  df-xnn0 12489  df-z 12503  df-dec 12622  df-uz 12766  df-q 12876  df-rp 12920  df-xneg 13040  df-xadd 13041  df-xmul 13042  df-ioo 13279  df-ioc 13280  df-ico 13281  df-icc 13282  df-fz 13438  df-fzo 13585  df-fl 13726  df-mod 13804  df-seq 13939  df-exp 13999  df-fac 14211  df-bc 14240  df-hash 14268  df-shft 15004  df-cj 15036  df-re 15037  df-im 15038  df-sqrt 15172  df-abs 15173  df-limsup 15408  df-clim 15425  df-rlim 15426  df-sum 15624  df-ef 16004  df-e 16005  df-sin 16006  df-cos 16007  df-pi 16009  df-dvds 16194  df-gcd 16436  df-prm 16613  df-pc 16779  df-struct 17088  df-sets 17105  df-slot 17123  df-ndx 17135  df-base 17151  df-ress 17172  df-plusg 17204  df-mulr 17205  df-starv 17206  df-sca 17207  df-vsca 17208  df-ip 17209  df-tset 17210  df-ple 17211  df-ds 17213  df-unif 17214  df-hom 17215  df-cco 17216  df-rest 17356  df-topn 17357  df-0g 17375  df-gsum 17376  df-topgen 17377  df-pt 17378  df-prds 17381  df-xrs 17437  df-qtop 17442  df-imas 17443  df-xps 17445  df-mre 17519  df-mrc 17520  df-acs 17522  df-mgm 18579  df-sgrp 18658  df-mnd 18674  df-submnd 18723  df-mulg 19015  df-cntz 19263  df-cmn 19728  df-psmet 21318  df-xmet 21319  df-met 21320  df-bl 21321  df-mopn 21322  df-fbas 21323  df-fg 21324  df-cnfld 21327  df-top 22855  df-topon 22872  df-topsp 22894  df-bases 22907  df-cld 22980  df-ntr 22981  df-cls 22982  df-nei 23059  df-lp 23097  df-perf 23098  df-cn 23188  df-cnp 23189  df-haus 23276  df-tx 23523  df-hmeo 23716  df-fil 23807  df-fm 23899  df-flim 23900  df-flf 23901  df-xms 24281  df-ms 24282  df-tms 24283  df-cncf 24844  df-limc 25840  df-dv 25841  df-log 26538  df-cxp 26539  df-cht 27080  df-ppi 27083
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator