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

Theorem pcdvdstr 16062
Description: The prime count increases under the divisibility relation. (Contributed by Mario Carneiro, 13-Mar-2014.)
Assertion
Ref Expression
pcdvdstr ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) → (𝑃 pCnt 𝐴) ≤ (𝑃 pCnt 𝐵))

Proof of Theorem pcdvdstr
StepHypRef Expression
1 0z 11801 . . . . . . 7 0 ∈ ℤ
2 zq 12165 . . . . . . 7 (0 ∈ ℤ → 0 ∈ ℚ)
31, 2ax-mp 5 . . . . . 6 0 ∈ ℚ
4 pcxcl 16047 . . . . . 6 ((𝑃 ∈ ℙ ∧ 0 ∈ ℚ) → (𝑃 pCnt 0) ∈ ℝ*)
53, 4mpan2 678 . . . . 5 (𝑃 ∈ ℙ → (𝑃 pCnt 0) ∈ ℝ*)
65xrleidd 12359 . . . 4 (𝑃 ∈ ℙ → (𝑃 pCnt 0) ≤ (𝑃 pCnt 0))
76ad2antrr 713 . . 3 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 = 0) → (𝑃 pCnt 0) ≤ (𝑃 pCnt 0))
8 simpr 477 . . . 4 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 = 0) → 𝐴 = 0)
98oveq2d 6990 . . 3 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 = 0) → (𝑃 pCnt 𝐴) = (𝑃 pCnt 0))
10 simplr3 1197 . . . . . 6 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 = 0) → 𝐴𝐵)
118, 10eqbrtrrd 4951 . . . . 5 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 = 0) → 0 ∥ 𝐵)
12 simplr2 1196 . . . . . 6 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 = 0) → 𝐵 ∈ ℤ)
13 0dvds 15484 . . . . . 6 (𝐵 ∈ ℤ → (0 ∥ 𝐵𝐵 = 0))
1412, 13syl 17 . . . . 5 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 = 0) → (0 ∥ 𝐵𝐵 = 0))
1511, 14mpbid 224 . . . 4 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 = 0) → 𝐵 = 0)
1615oveq2d 6990 . . 3 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 = 0) → (𝑃 pCnt 𝐵) = (𝑃 pCnt 0))
177, 9, 163brtr4d 4959 . 2 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 = 0) → (𝑃 pCnt 𝐴) ≤ (𝑃 pCnt 𝐵))
18 simpll 754 . . . . 5 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → 𝑃 ∈ ℙ)
19 simplr1 1195 . . . . 5 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → 𝐴 ∈ ℤ)
20 simpr 477 . . . . 5 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → 𝐴 ≠ 0)
21 pczdvds 16049 . . . . 5 ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐴 ≠ 0)) → (𝑃↑(𝑃 pCnt 𝐴)) ∥ 𝐴)
2218, 19, 20, 21syl12anc 824 . . . 4 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → (𝑃↑(𝑃 pCnt 𝐴)) ∥ 𝐴)
23 simplr3 1197 . . . 4 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → 𝐴𝐵)
24 prmnn 15868 . . . . . . . 8 (𝑃 ∈ ℙ → 𝑃 ∈ ℕ)
2524ad2antrr 713 . . . . . . 7 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → 𝑃 ∈ ℕ)
26 pczcl 16035 . . . . . . . 8 ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐴 ≠ 0)) → (𝑃 pCnt 𝐴) ∈ ℕ0)
2718, 19, 20, 26syl12anc 824 . . . . . . 7 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → (𝑃 pCnt 𝐴) ∈ ℕ0)
2825, 27nnexpcld 13418 . . . . . 6 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → (𝑃↑(𝑃 pCnt 𝐴)) ∈ ℕ)
2928nnzd 11896 . . . . 5 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → (𝑃↑(𝑃 pCnt 𝐴)) ∈ ℤ)
30 simplr2 1196 . . . . 5 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → 𝐵 ∈ ℤ)
31 dvdstr 15500 . . . . 5 (((𝑃↑(𝑃 pCnt 𝐴)) ∈ ℤ ∧ 𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) → (((𝑃↑(𝑃 pCnt 𝐴)) ∥ 𝐴𝐴𝐵) → (𝑃↑(𝑃 pCnt 𝐴)) ∥ 𝐵))
3229, 19, 30, 31syl3anc 1351 . . . 4 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → (((𝑃↑(𝑃 pCnt 𝐴)) ∥ 𝐴𝐴𝐵) → (𝑃↑(𝑃 pCnt 𝐴)) ∥ 𝐵))
3322, 23, 32mp2and 686 . . 3 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → (𝑃↑(𝑃 pCnt 𝐴)) ∥ 𝐵)
34 pcdvdsb 16055 . . . 4 ((𝑃 ∈ ℙ ∧ 𝐵 ∈ ℤ ∧ (𝑃 pCnt 𝐴) ∈ ℕ0) → ((𝑃 pCnt 𝐴) ≤ (𝑃 pCnt 𝐵) ↔ (𝑃↑(𝑃 pCnt 𝐴)) ∥ 𝐵))
3518, 30, 27, 34syl3anc 1351 . . 3 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → ((𝑃 pCnt 𝐴) ≤ (𝑃 pCnt 𝐵) ↔ (𝑃↑(𝑃 pCnt 𝐴)) ∥ 𝐵))
3633, 35mpbird 249 . 2 (((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) ∧ 𝐴 ≠ 0) → (𝑃 pCnt 𝐴) ≤ (𝑃 pCnt 𝐵))
3717, 36pm2.61dane 3052 1 ((𝑃 ∈ ℙ ∧ (𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ ∧ 𝐴𝐵)) → (𝑃 pCnt 𝐴) ≤ (𝑃 pCnt 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  wa 387  w3a 1068   = wceq 1507  wcel 2048  wne 2964   class class class wbr 4927  (class class class)co 6974  0cc0 10331  *cxr 10469  cle 10471  cn 11435  0cn0 11704  cz 11790  cq 12159  cexp 13241  cdvds 15461  cprime 15865   pCnt cpc 16023
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1758  ax-4 1772  ax-5 1869  ax-6 1928  ax-7 1964  ax-8 2050  ax-9 2057  ax-10 2077  ax-11 2091  ax-12 2104  ax-13 2299  ax-ext 2747  ax-sep 5058  ax-nul 5065  ax-pow 5117  ax-pr 5184  ax-un 7277  ax-cnex 10387  ax-resscn 10388  ax-1cn 10389  ax-icn 10390  ax-addcl 10391  ax-addrcl 10392  ax-mulcl 10393  ax-mulrcl 10394  ax-mulcom 10395  ax-addass 10396  ax-mulass 10397  ax-distr 10398  ax-i2m1 10399  ax-1ne0 10400  ax-1rid 10401  ax-rnegex 10402  ax-rrecex 10403  ax-cnre 10404  ax-pre-lttri 10405  ax-pre-lttrn 10406  ax-pre-ltadd 10407  ax-pre-mulgt0 10408  ax-pre-sup 10409
This theorem depends on definitions:  df-bi 199  df-an 388  df-or 834  df-3or 1069  df-3an 1070  df-tru 1510  df-ex 1743  df-nf 1747  df-sb 2014  df-mo 2544  df-eu 2580  df-clab 2756  df-cleq 2768  df-clel 2843  df-nfc 2915  df-ne 2965  df-nel 3071  df-ral 3090  df-rex 3091  df-reu 3092  df-rmo 3093  df-rab 3094  df-v 3414  df-sbc 3681  df-csb 3786  df-dif 3831  df-un 3833  df-in 3835  df-ss 3842  df-pss 3844  df-nul 4178  df-if 4349  df-pw 4422  df-sn 4440  df-pr 4442  df-tp 4444  df-op 4446  df-uni 4711  df-iun 4792  df-br 4928  df-opab 4990  df-mpt 5007  df-tr 5029  df-id 5309  df-eprel 5314  df-po 5323  df-so 5324  df-fr 5363  df-we 5365  df-xp 5410  df-rel 5411  df-cnv 5412  df-co 5413  df-dm 5414  df-rn 5415  df-res 5416  df-ima 5417  df-pred 5984  df-ord 6030  df-on 6031  df-lim 6032  df-suc 6033  df-iota 6150  df-fun 6188  df-fn 6189  df-f 6190  df-f1 6191  df-fo 6192  df-f1o 6193  df-fv 6194  df-riota 6935  df-ov 6977  df-oprab 6978  df-mpo 6979  df-om 7395  df-1st 7498  df-2nd 7499  df-wrecs 7747  df-recs 7809  df-rdg 7847  df-1o 7901  df-2o 7902  df-er 8085  df-en 8303  df-dom 8304  df-sdom 8305  df-fin 8306  df-sup 8697  df-inf 8698  df-pnf 10472  df-mnf 10473  df-xr 10474  df-ltxr 10475  df-le 10476  df-sub 10668  df-neg 10669  df-div 11095  df-nn 11436  df-2 11500  df-3 11501  df-n0 11705  df-z 11791  df-uz 12056  df-q 12160  df-rp 12202  df-fl 12974  df-mod 13050  df-seq 13182  df-exp 13242  df-cj 14313  df-re 14314  df-im 14315  df-sqrt 14449  df-abs 14450  df-dvds 15462  df-gcd 15698  df-prm 15866  df-pc 16024
This theorem is referenced by:  pcgcd1  16063  pc2dvds  16065  dvdsppwf1o  25459
  Copyright terms: Public domain W3C validator