MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  37prm Structured version   Visualization version   Unicode version

Theorem 37prm 15828
Description: 37 is a prime number. (Contributed by Mario Carneiro, 18-Feb-2014.) (Proof shortened by Mario Carneiro, 20-Apr-2015.)
Assertion
Ref Expression
37prm  |- ; 3 7  e.  Prime

Proof of Theorem 37prm
StepHypRef Expression
1 3nn0 11310 . . 3  |-  3  e.  NN0
2 7nn 11190 . . 3  |-  7  e.  NN
31, 2decnncl 11518 . 2  |- ; 3 7  e.  NN
4 8nn0 11315 . . . 4  |-  8  e.  NN0
5 4nn0 11311 . . . 4  |-  4  e.  NN0
64, 5deccl 11512 . . 3  |- ; 8 4  e.  NN0
7 7nn0 11314 . . 3  |-  7  e.  NN0
8 1nn0 11308 . . 3  |-  1  e.  NN0
9 7lt10 11675 . . 3  |-  7  < ; 1
0
10 8nn 11191 . . . 4  |-  8  e.  NN
11 3lt10 11679 . . . 4  |-  3  < ; 1
0
1210, 5, 1, 11declti 11546 . . 3  |-  3  < ; 8
4
131, 6, 7, 8, 9, 12decltc 11532 . 2  |- ; 3 7  < ;; 8 4 1
14 3nn 11186 . . 3  |-  3  e.  NN
15 1lt10 11681 . . 3  |-  1  < ; 1
0
1614, 7, 8, 15declti 11546 . 2  |-  1  < ; 3
7
17 3t2e6 11179 . . 3  |-  ( 3  x.  2 )  =  6
18 df-7 11084 . . 3  |-  7  =  ( 6  +  1 )
191, 1, 17, 18dec2dvds 15767 . 2  |-  -.  2  || ; 3 7
20 2nn0 11309 . . . 4  |-  2  e.  NN0
218, 20deccl 11512 . . 3  |- ; 1 2  e.  NN0
22 1nn 11031 . . 3  |-  1  e.  NN
23 6nn0 11313 . . . 4  |-  6  e.  NN0
24 6p1e7 11156 . . . 4  |-  ( 6  +  1 )  =  7
25 eqid 2622 . . . . 5  |- ; 1 2  = ; 1 2
26 0nn0 11307 . . . . 5  |-  0  e.  NN0
27 3cn 11095 . . . . . . . 8  |-  3  e.  CC
2827mulid1i 10042 . . . . . . 7  |-  ( 3  x.  1 )  =  3
2928oveq1i 6660 . . . . . 6  |-  ( ( 3  x.  1 )  +  0 )  =  ( 3  +  0 )
3027addid1i 10223 . . . . . 6  |-  ( 3  +  0 )  =  3
3129, 30eqtri 2644 . . . . 5  |-  ( ( 3  x.  1 )  +  0 )  =  3
3223dec0h 11522 . . . . . 6  |-  6  = ; 0 6
3317, 32eqtri 2644 . . . . 5  |-  ( 3  x.  2 )  = ; 0
6
341, 8, 20, 25, 23, 26, 31, 33decmul2c 11589 . . . 4  |-  ( 3  x. ; 1 2 )  = ; 3
6
351, 23, 24, 34decsuc 11535 . . 3  |-  ( ( 3  x. ; 1 2 )  +  1 )  = ; 3 7
36 1lt3 11196 . . 3  |-  1  <  3
3714, 21, 22, 35, 36ndvdsi 15136 . 2  |-  -.  3  || ; 3 7
38 2nn 11185 . . 3  |-  2  e.  NN
39 2lt5 11202 . . 3  |-  2  <  5
40 5p2e7 11165 . . 3  |-  ( 5  +  2 )  =  7
411, 38, 39, 40dec5dvds2 15769 . 2  |-  -.  5  || ; 3 7
42 5nn0 11312 . . 3  |-  5  e.  NN0
43 7t5e35 11651 . . . 4  |-  ( 7  x.  5 )  = ; 3
5
441, 42, 20, 43, 40decaddi 11579 . . 3  |-  ( ( 7  x.  5 )  +  2 )  = ; 3
7
45 2lt7 11213 . . 3  |-  2  <  7
462, 42, 38, 44, 45ndvdsi 15136 . 2  |-  -.  7  || ; 3 7
478, 22decnncl 11518 . . 3  |- ; 1 1  e.  NN
48 4nn 11187 . . 3  |-  4  e.  NN
49 eqid 2622 . . . 4  |- ; 1 1  = ; 1 1
5027mulid2i 10043 . . . 4  |-  ( 1  x.  3 )  =  3
5150oveq1i 6660 . . . . 5  |-  ( ( 1  x.  3 )  +  4 )  =  ( 3  +  4 )
5248nncni 11030 . . . . . 6  |-  4  e.  CC
53 4p3e7 11163 . . . . . 6  |-  ( 4  +  3 )  =  7
5452, 27, 53addcomli 10228 . . . . 5  |-  ( 3  +  4 )  =  7
5551, 54eqtri 2644 . . . 4  |-  ( ( 1  x.  3 )  +  4 )  =  7
568, 8, 5, 49, 1, 50, 55decrmanc 11576 . . 3  |-  ( (; 1
1  x.  3 )  +  4 )  = ; 3
7
57 4lt10 11678 . . . 4  |-  4  < ; 1
0
5822, 8, 5, 57declti 11546 . . 3  |-  4  < ; 1
1
5947, 1, 48, 56, 58ndvdsi 15136 . 2  |-  -. ; 1 1  || ; 3 7
608, 14decnncl 11518 . . 3  |- ; 1 3  e.  NN
61 eqid 2622 . . . . 5  |- ; 1 3  = ; 1 3
62 2cn 11091 . . . . . 6  |-  2  e.  CC
6362mulid2i 10043 . . . . 5  |-  ( 1  x.  2 )  =  2
6420, 8, 1, 61, 23, 63, 17decmul1 11585 . . . 4  |-  (; 1 3  x.  2 )  = ; 2 6
65 2p1e3 11151 . . . 4  |-  ( 2  +  1 )  =  3
6620, 23, 8, 8, 64, 49, 65, 24decadd 11570 . . 3  |-  ( (; 1
3  x.  2 )  + ; 1 1 )  = ; 3
7
678, 8, 14, 36declt 11530 . . 3  |- ; 1 1  < ; 1 3
6860, 20, 47, 66, 67ndvdsi 15136 . 2  |-  -. ; 1 3  || ; 3 7
698, 2decnncl 11518 . . 3  |- ; 1 7  e.  NN
70 eqid 2622 . . . 4  |- ; 1 7  = ; 1 7
711dec0h 11522 . . . 4  |-  3  = ; 0 3
72 0p1e1 11132 . . . . . 6  |-  ( 0  +  1 )  =  1
7363, 72oveq12i 6662 . . . . 5  |-  ( ( 1  x.  2 )  +  ( 0  +  1 ) )  =  ( 2  +  1 )
7473, 65eqtri 2644 . . . 4  |-  ( ( 1  x.  2 )  +  ( 0  +  1 ) )  =  3
75 7t2e14 11648 . . . . 5  |-  ( 7  x.  2 )  = ; 1
4
768, 5, 1, 75, 53decaddi 11579 . . . 4  |-  ( ( 7  x.  2 )  +  3 )  = ; 1
7
778, 7, 26, 1, 70, 71, 20, 7, 8, 74, 76decmac 11566 . . 3  |-  ( (; 1
7  x.  2 )  +  3 )  = ; 3
7
7822, 7, 1, 11declti 11546 . . 3  |-  3  < ; 1
7
7969, 20, 14, 77, 78ndvdsi 15136 . 2  |-  -. ; 1 7  || ; 3 7
80 9nn 11192 . . . 4  |-  9  e.  NN
818, 80decnncl 11518 . . 3  |- ; 1 9  e.  NN
828, 10decnncl 11518 . . 3  |- ; 1 8  e.  NN
83 9nn0 11316 . . . 4  |-  9  e.  NN0
8481nncni 11030 . . . . 5  |- ; 1 9  e.  CC
8584mulid1i 10042 . . . 4  |-  (; 1 9  x.  1 )  = ; 1 9
86 eqid 2622 . . . 4  |- ; 1 8  = ; 1 8
87 1p1e2 11134 . . . . . 6  |-  ( 1  +  1 )  =  2
8887oveq1i 6660 . . . . 5  |-  ( ( 1  +  1 )  +  1 )  =  ( 2  +  1 )
8988, 65eqtri 2644 . . . 4  |-  ( ( 1  +  1 )  +  1 )  =  3
90 9p8e17 11626 . . . 4  |-  ( 9  +  8 )  = ; 1
7
918, 83, 8, 4, 85, 86, 89, 7, 90decaddc 11572 . . 3  |-  ( (; 1
9  x.  1 )  + ; 1 8 )  = ; 3
7
92 8lt9 11222 . . . 4  |-  8  <  9
938, 4, 80, 92declt 11530 . . 3  |- ; 1 8  < ; 1 9
9481, 8, 82, 91, 93ndvdsi 15136 . 2  |-  -. ; 1 9  || ; 3 7
9520, 14decnncl 11518 . . 3  |- ; 2 3  e.  NN
968, 48decnncl 11518 . . 3  |- ; 1 4  e.  NN
9795nncni 11030 . . . . 5  |- ; 2 3  e.  CC
9897mulid1i 10042 . . . 4  |-  (; 2 3  x.  1 )  = ; 2 3
99 eqid 2622 . . . 4  |- ; 1 4  = ; 1 4
10020, 1, 8, 5, 98, 99, 65, 54decadd 11570 . . 3  |-  ( (; 2
3  x.  1 )  + ; 1 4 )  = ; 3
7
101 1lt2 11194 . . . 4  |-  1  <  2
1028, 20, 5, 1, 57, 101decltc 11532 . . 3  |- ; 1 4  < ; 2 3
10395, 8, 96, 100, 102ndvdsi 15136 . 2  |-  -. ; 2 3  || ; 3 7
1043, 13, 16, 19, 37, 41, 46, 59, 68, 79, 94, 103prmlem2 15827 1  |- ; 3 7  e.  Prime
Colors of variables: wff setvar class
Syntax hints:    e. wcel 1990  (class class class)co 6650   0cc0 9936   1c1 9937    + caddc 9939    x. cmul 9941   2c2 11070   3c3 11071   4c4 11072   5c5 11073   6c6 11074   7c7 11075   8c8 11076   9c9 11077  ;cdc 11493   Primecprime 15385
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949  ax-cnex 9992  ax-resscn 9993  ax-1cn 9994  ax-icn 9995  ax-addcl 9996  ax-addrcl 9997  ax-mulcl 9998  ax-mulrcl 9999  ax-mulcom 10000  ax-addass 10001  ax-mulass 10002  ax-distr 10003  ax-i2m1 10004  ax-1ne0 10005  ax-1rid 10006  ax-rnegex 10007  ax-rrecex 10008  ax-cnre 10009  ax-pre-lttri 10010  ax-pre-lttrn 10011  ax-pre-ltadd 10012  ax-pre-mulgt0 10013  ax-pre-sup 10014
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1038  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-nel 2898  df-ral 2917  df-rex 2918  df-reu 2919  df-rmo 2920  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-pss 3590  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-tp 4182  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-tr 4753  df-id 5024  df-eprel 5029  df-po 5035  df-so 5036  df-fr 5073  df-we 5075  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-pred 5680  df-ord 5726  df-on 5727  df-lim 5728  df-suc 5729  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-riota 6611  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-om 7066  df-1st 7168  df-2nd 7169  df-wrecs 7407  df-recs 7468  df-rdg 7506  df-1o 7560  df-2o 7561  df-er 7742  df-en 7956  df-dom 7957  df-sdom 7958  df-fin 7959  df-sup 8348  df-inf 8349  df-pnf 10076  df-mnf 10077  df-xr 10078  df-ltxr 10079  df-le 10080  df-sub 10268  df-neg 10269  df-div 10685  df-nn 11021  df-2 11079  df-3 11080  df-4 11081  df-5 11082  df-6 11083  df-7 11084  df-8 11085  df-9 11086  df-n0 11293  df-z 11378  df-dec 11494  df-uz 11688  df-rp 11833  df-fz 12327  df-seq 12802  df-exp 12861  df-cj 13839  df-re 13840  df-im 13841  df-sqrt 13975  df-abs 13976  df-dvds 14984  df-prm 15386
This theorem is referenced by:  1259prm  15843
  Copyright terms: Public domain W3C validator