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

Theorem 163prm 15832
Description: 163 is a prime number. (Contributed by Mario Carneiro, 19-Feb-2014.) (Proof shortened by Mario Carneiro, 20-Apr-2015.)
Assertion
Ref Expression
163prm  |- ;; 1 6 3  e.  Prime

Proof of Theorem 163prm
StepHypRef Expression
1 1nn0 11308 . . . 4  |-  1  e.  NN0
2 6nn0 11313 . . . 4  |-  6  e.  NN0
31, 2deccl 11512 . . 3  |- ; 1 6  e.  NN0
4 3nn 11186 . . 3  |-  3  e.  NN
53, 4decnncl 11518 . 2  |- ;; 1 6 3  e.  NN
6 8nn0 11315 . . 3  |-  8  e.  NN0
7 4nn0 11311 . . 3  |-  4  e.  NN0
8 3nn0 11310 . . 3  |-  3  e.  NN0
9 1lt8 11221 . . 3  |-  1  <  8
10 6lt10 11676 . . 3  |-  6  < ; 1
0
11 3lt10 11679 . . 3  |-  3  < ; 1
0
121, 6, 2, 7, 8, 1, 9, 10, 113decltc 11538 . 2  |- ;; 1 6 3  < ;; 8 4 1
13 6nn 11189 . . . 4  |-  6  e.  NN
141, 13decnncl 11518 . . 3  |- ; 1 6  e.  NN
15 1lt10 11681 . . 3  |-  1  < ; 1
0
1614, 8, 1, 15declti 11546 . 2  |-  1  < ;; 1 6 3
17 2cn 11091 . . . 4  |-  2  e.  CC
1817mulid2i 10043 . . 3  |-  ( 1  x.  2 )  =  2
19 df-3 11080 . . 3  |-  3  =  ( 2  +  1 )
203, 1, 18, 19dec2dvds 15767 . 2  |-  -.  2  || ;; 1 6 3
21 5nn0 11312 . . . 4  |-  5  e.  NN0
2221, 7deccl 11512 . . 3  |- ; 5 4  e.  NN0
23 1nn 11031 . . 3  |-  1  e.  NN
24 0nn0 11307 . . . 4  |-  0  e.  NN0
25 eqid 2622 . . . 4  |- ; 5 4  = ; 5 4
261dec0h 11522 . . . 4  |-  1  = ; 0 1
27 ax-1cn 9994 . . . . . . 7  |-  1  e.  CC
2827addid2i 10224 . . . . . 6  |-  ( 0  +  1 )  =  1
2928oveq2i 6661 . . . . 5  |-  ( ( 3  x.  5 )  +  ( 0  +  1 ) )  =  ( ( 3  x.  5 )  +  1 )
30 5p1e6 11155 . . . . . 6  |-  ( 5  +  1 )  =  6
31 5cn 11100 . . . . . . 7  |-  5  e.  CC
32 3cn 11095 . . . . . . 7  |-  3  e.  CC
33 5t3e15 11635 . . . . . . 7  |-  ( 5  x.  3 )  = ; 1
5
3431, 32, 33mulcomli 10047 . . . . . 6  |-  ( 3  x.  5 )  = ; 1
5
351, 21, 30, 34decsuc 11535 . . . . 5  |-  ( ( 3  x.  5 )  +  1 )  = ; 1
6
3629, 35eqtri 2644 . . . 4  |-  ( ( 3  x.  5 )  +  ( 0  +  1 ) )  = ; 1
6
37 2nn0 11309 . . . . 5  |-  2  e.  NN0
38 2p1e3 11151 . . . . 5  |-  ( 2  +  1 )  =  3
39 4cn 11098 . . . . . 6  |-  4  e.  CC
40 4t3e12 11632 . . . . . 6  |-  ( 4  x.  3 )  = ; 1
2
4139, 32, 40mulcomli 10047 . . . . 5  |-  ( 3  x.  4 )  = ; 1
2
421, 37, 38, 41decsuc 11535 . . . 4  |-  ( ( 3  x.  4 )  +  1 )  = ; 1
3
4321, 7, 24, 1, 25, 26, 8, 8, 1, 36, 42decma2c 11568 . . 3  |-  ( ( 3  x. ; 5 4 )  +  1 )  = ;; 1 6 3
44 1lt3 11196 . . 3  |-  1  <  3
454, 22, 23, 43, 44ndvdsi 15136 . 2  |-  -.  3  || ;; 1 6 3
46 3lt5 11201 . . 3  |-  3  <  5
473, 4, 46dec5dvds 15768 . 2  |-  -.  5  || ;; 1 6 3
48 7nn 11190 . . 3  |-  7  e.  NN
4937, 8deccl 11512 . . 3  |- ; 2 3  e.  NN0
50 2nn 11185 . . 3  |-  2  e.  NN
51 eqid 2622 . . . 4  |- ; 2 3  = ; 2 3
5237dec0h 11522 . . . 4  |-  2  = ; 0 2
53 7nn0 11314 . . . 4  |-  7  e.  NN0
5417addid2i 10224 . . . . . 6  |-  ( 0  +  2 )  =  2
5554oveq2i 6661 . . . . 5  |-  ( ( 7  x.  2 )  +  ( 0  +  2 ) )  =  ( ( 7  x.  2 )  +  2 )
56 7t2e14 11648 . . . . . 6  |-  ( 7  x.  2 )  = ; 1
4
57 4p2e6 11162 . . . . . 6  |-  ( 4  +  2 )  =  6
581, 7, 37, 56, 57decaddi 11579 . . . . 5  |-  ( ( 7  x.  2 )  +  2 )  = ; 1
6
5955, 58eqtri 2644 . . . 4  |-  ( ( 7  x.  2 )  +  ( 0  +  2 ) )  = ; 1
6
60 7t3e21 11649 . . . . 5  |-  ( 7  x.  3 )  = ; 2
1
61 1p2e3 11152 . . . . 5  |-  ( 1  +  2 )  =  3
6237, 1, 37, 60, 61decaddi 11579 . . . 4  |-  ( ( 7  x.  3 )  +  2 )  = ; 2
3
6337, 8, 24, 37, 51, 52, 53, 8, 37, 59, 62decma2c 11568 . . 3  |-  ( ( 7  x. ; 2 3 )  +  2 )  = ;; 1 6 3
64 2lt7 11213 . . 3  |-  2  <  7
6548, 49, 50, 63, 64ndvdsi 15136 . 2  |-  -.  7  || ;; 1 6 3
661, 23decnncl 11518 . . 3  |- ; 1 1  e.  NN
671, 7deccl 11512 . . 3  |- ; 1 4  e.  NN0
68 9nn 11192 . . 3  |-  9  e.  NN
69 9nn0 11316 . . . 4  |-  9  e.  NN0
70 eqid 2622 . . . 4  |- ; 1 4  = ; 1 4
7169dec0h 11522 . . . 4  |-  9  = ; 0 9
721, 1deccl 11512 . . . 4  |- ; 1 1  e.  NN0
7331addid2i 10224 . . . . . 6  |-  ( 0  +  5 )  =  5
7473oveq2i 6661 . . . . 5  |-  ( (; 1
1  x.  1 )  +  ( 0  +  5 ) )  =  ( (; 1 1  x.  1 )  +  5 )
7566nncni 11030 . . . . . . 7  |- ; 1 1  e.  CC
7675mulid1i 10042 . . . . . 6  |-  (; 1 1  x.  1 )  = ; 1 1
7731, 27, 30addcomli 10228 . . . . . 6  |-  ( 1  +  5 )  =  6
781, 1, 21, 76, 77decaddi 11579 . . . . 5  |-  ( (; 1
1  x.  1 )  +  5 )  = ; 1
6
7974, 78eqtri 2644 . . . 4  |-  ( (; 1
1  x.  1 )  +  ( 0  +  5 ) )  = ; 1
6
80 eqid 2622 . . . . 5  |- ; 1 1  = ; 1 1
8139mulid2i 10043 . . . . . . 7  |-  ( 1  x.  4 )  =  4
8281, 28oveq12i 6662 . . . . . 6  |-  ( ( 1  x.  4 )  +  ( 0  +  1 ) )  =  ( 4  +  1 )
83 4p1e5 11154 . . . . . 6  |-  ( 4  +  1 )  =  5
8482, 83eqtri 2644 . . . . 5  |-  ( ( 1  x.  4 )  +  ( 0  +  1 ) )  =  5
8581oveq1i 6660 . . . . . 6  |-  ( ( 1  x.  4 )  +  9 )  =  ( 4  +  9 )
86 9cn 11108 . . . . . . 7  |-  9  e.  CC
87 9p4e13 11622 . . . . . . 7  |-  ( 9  +  4 )  = ; 1
3
8886, 39, 87addcomli 10228 . . . . . 6  |-  ( 4  +  9 )  = ; 1
3
8985, 88eqtri 2644 . . . . 5  |-  ( ( 1  x.  4 )  +  9 )  = ; 1
3
901, 1, 24, 69, 80, 71, 7, 8, 1, 84, 89decmac 11566 . . . 4  |-  ( (; 1
1  x.  4 )  +  9 )  = ; 5
3
911, 7, 24, 69, 70, 71, 72, 8, 21, 79, 90decma2c 11568 . . 3  |-  ( (; 1
1  x. ; 1 4 )  +  9 )  = ;; 1 6 3
92 9lt10 11673 . . . 4  |-  9  < ; 1
0
9323, 1, 69, 92declti 11546 . . 3  |-  9  < ; 1
1
9466, 67, 68, 91, 93ndvdsi 15136 . 2  |-  -. ; 1 1  || ;; 1 6 3
951, 4decnncl 11518 . . 3  |- ; 1 3  e.  NN
961, 37deccl 11512 . . 3  |- ; 1 2  e.  NN0
97 eqid 2622 . . . 4  |- ; 1 2  = ; 1 2
9853dec0h 11522 . . . 4  |-  7  = ; 0 7
991, 8deccl 11512 . . . 4  |- ; 1 3  e.  NN0
100 eqid 2622 . . . . 5  |- ; 1 3  = ; 1 3
10132addid2i 10224 . . . . . 6  |-  ( 0  +  3 )  =  3
1028dec0h 11522 . . . . . 6  |-  3  = ; 0 3
103101, 102eqtri 2644 . . . . 5  |-  ( 0  +  3 )  = ; 0
3
10427mulid1i 10042 . . . . . . 7  |-  ( 1  x.  1 )  =  1
105 00id 10211 . . . . . . 7  |-  ( 0  +  0 )  =  0
106104, 105oveq12i 6662 . . . . . 6  |-  ( ( 1  x.  1 )  +  ( 0  +  0 ) )  =  ( 1  +  0 )
10727addid1i 10223 . . . . . 6  |-  ( 1  +  0 )  =  1
108106, 107eqtri 2644 . . . . 5  |-  ( ( 1  x.  1 )  +  ( 0  +  0 ) )  =  1
10932mulid1i 10042 . . . . . . . 8  |-  ( 3  x.  1 )  =  3
110109oveq1i 6660 . . . . . . 7  |-  ( ( 3  x.  1 )  +  3 )  =  ( 3  +  3 )
111 3p3e6 11161 . . . . . . 7  |-  ( 3  +  3 )  =  6
112110, 111eqtri 2644 . . . . . 6  |-  ( ( 3  x.  1 )  +  3 )  =  6
1132dec0h 11522 . . . . . 6  |-  6  = ; 0 6
114112, 113eqtri 2644 . . . . 5  |-  ( ( 3  x.  1 )  +  3 )  = ; 0
6
1151, 8, 24, 8, 100, 103, 1, 2, 24, 108, 114decmac 11566 . . . 4  |-  ( (; 1
3  x.  1 )  +  ( 0  +  3 ) )  = ; 1
6
11618, 28oveq12i 6662 . . . . . 6  |-  ( ( 1  x.  2 )  +  ( 0  +  1 ) )  =  ( 2  +  1 )
117116, 38eqtri 2644 . . . . 5  |-  ( ( 1  x.  2 )  +  ( 0  +  1 ) )  =  3
118 3t2e6 11179 . . . . . . 7  |-  ( 3  x.  2 )  =  6
119118oveq1i 6660 . . . . . 6  |-  ( ( 3  x.  2 )  +  7 )  =  ( 6  +  7 )
120 7cn 11104 . . . . . . 7  |-  7  e.  CC
121 6cn 11102 . . . . . . 7  |-  6  e.  CC
122 7p6e13 11608 . . . . . . 7  |-  ( 7  +  6 )  = ; 1
3
123120, 121, 122addcomli 10228 . . . . . 6  |-  ( 6  +  7 )  = ; 1
3
124119, 123eqtri 2644 . . . . 5  |-  ( ( 3  x.  2 )  +  7 )  = ; 1
3
1251, 8, 24, 53, 100, 98, 37, 8, 1, 117, 124decmac 11566 . . . 4  |-  ( (; 1
3  x.  2 )  +  7 )  = ; 3
3
1261, 37, 24, 53, 97, 98, 99, 8, 8, 115, 125decma2c 11568 . . 3  |-  ( (; 1
3  x. ; 1 2 )  +  7 )  = ;; 1 6 3
127 7lt10 11675 . . . 4  |-  7  < ; 1
0
12823, 8, 53, 127declti 11546 . . 3  |-  7  < ; 1
3
12995, 96, 48, 126, 128ndvdsi 15136 . 2  |-  -. ; 1 3  || ;; 1 6 3
1301, 48decnncl 11518 . . 3  |- ; 1 7  e.  NN
131 10nn 11514 . . 3  |- ; 1 0  e.  NN
132 eqid 2622 . . . 4  |- ; 1 7  = ; 1 7
133 eqid 2622 . . . 4  |- ; 1 0  = ; 1 0
13486mulid2i 10043 . . . . . 6  |-  ( 1  x.  9 )  =  9
135 6p1e7 11156 . . . . . . 7  |-  ( 6  +  1 )  =  7
136121, 27, 135addcomli 10228 . . . . . 6  |-  ( 1  +  6 )  =  7
137134, 136oveq12i 6662 . . . . 5  |-  ( ( 1  x.  9 )  +  ( 1  +  6 ) )  =  ( 9  +  7 )
138 9p7e16 11625 . . . . 5  |-  ( 9  +  7 )  = ; 1
6
139137, 138eqtri 2644 . . . 4  |-  ( ( 1  x.  9 )  +  ( 1  +  6 ) )  = ; 1
6
140 9t7e63 11668 . . . . . . 7  |-  ( 9  x.  7 )  = ; 6
3
14186, 120, 140mulcomli 10047 . . . . . 6  |-  ( 7  x.  9 )  = ; 6
3
142141oveq1i 6660 . . . . 5  |-  ( ( 7  x.  9 )  +  0 )  =  (; 6 3  +  0 )
1432, 8deccl 11512 . . . . . . 7  |- ; 6 3  e.  NN0
144143nn0cni 11304 . . . . . 6  |- ; 6 3  e.  CC
145144addid1i 10223 . . . . 5  |-  (; 6 3  +  0 )  = ; 6 3
146142, 145eqtri 2644 . . . 4  |-  ( ( 7  x.  9 )  +  0 )  = ; 6
3
1471, 53, 1, 24, 132, 133, 69, 8, 2, 139, 146decmac 11566 . . 3  |-  ( (; 1
7  x.  9 )  + ; 1 0 )  = ;; 1 6 3
148 7pos 11120 . . . 4  |-  0  <  7
1491, 24, 48, 148declt 11530 . . 3  |- ; 1 0  < ; 1 7
150130, 69, 131, 147, 149ndvdsi 15136 . 2  |-  -. ; 1 7  || ;; 1 6 3
1511, 68decnncl 11518 . . 3  |- ; 1 9  e.  NN
152 eqid 2622 . . . 4  |- ; 1 9  = ; 1 9
153 8cn 11106 . . . . . . 7  |-  8  e.  CC
154153mulid2i 10043 . . . . . 6  |-  ( 1  x.  8 )  =  8
155 7p1e8 11157 . . . . . . 7  |-  ( 7  +  1 )  =  8
156120, 27, 155addcomli 10228 . . . . . 6  |-  ( 1  +  7 )  =  8
157154, 156oveq12i 6662 . . . . 5  |-  ( ( 1  x.  8 )  +  ( 1  +  7 ) )  =  ( 8  +  8 )
158 8p8e16 11618 . . . . 5  |-  ( 8  +  8 )  = ; 1
6
159157, 158eqtri 2644 . . . 4  |-  ( ( 1  x.  8 )  +  ( 1  +  7 ) )  = ; 1
6
160 9t8e72 11669 . . . . 5  |-  ( 9  x.  8 )  = ; 7
2
16153, 37, 38, 160decsuc 11535 . . . 4  |-  ( ( 9  x.  8 )  +  1 )  = ; 7
3
1621, 69, 1, 1, 152, 80, 6, 8, 53, 159, 161decmac 11566 . . 3  |-  ( (; 1
9  x.  8 )  + ; 1 1 )  = ;; 1 6 3
163 1lt9 11229 . . . 4  |-  1  <  9
1641, 1, 68, 163declt 11530 . . 3  |- ; 1 1  < ; 1 9
165151, 6, 66, 162, 164ndvdsi 15136 . 2  |-  -. ; 1 9  || ;; 1 6 3
16637, 4decnncl 11518 . . 3  |- ; 2 3  e.  NN
167120, 17, 56mulcomli 10047 . . . . 5  |-  ( 2  x.  7 )  = ; 1
4
1681, 7, 37, 167, 57decaddi 11579 . . . 4  |-  ( ( 2  x.  7 )  +  2 )  = ; 1
6
169120, 32, 60mulcomli 10047 . . . . 5  |-  ( 3  x.  7 )  = ; 2
1
17037, 1, 37, 169, 61decaddi 11579 . . . 4  |-  ( ( 3  x.  7 )  +  2 )  = ; 2
3
17137, 8, 37, 51, 53, 8, 37, 168, 170decrmac 11577 . . 3  |-  ( (; 2
3  x.  7 )  +  2 )  = ;; 1 6 3
172 2lt10 11680 . . . 4  |-  2  < ; 1
0
17350, 8, 37, 172declti 11546 . . 3  |-  2  < ; 2
3
174166, 53, 50, 171, 173ndvdsi 15136 . 2  |-  -. ; 2 3  || ;; 1 6 3
1755, 12, 16, 20, 45, 47, 65, 94, 129, 150, 165, 174prmlem2 15827 1  |- ;; 1 6 3  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: (None)
  Copyright terms: Public domain W3C validator