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

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

Proof of Theorem 139prm
StepHypRef Expression
1 1nn0 10028 . . . 4  |-  1  e.  NN0
2 3nn0 10030 . . . 4  |-  3  e.  NN0
31, 2deccl 10185 . . 3  |- ; 1 3  e.  NN0
4 9nn 9931 . . 3  |-  9  e.  NN
53, 4decnncl 10184 . 2  |- ;; 1 3 9  e.  NN
6 8nn0 10035 . . . 4  |-  8  e.  NN0
7 4nn0 10031 . . . 4  |-  4  e.  NN0
86, 7deccl 10185 . . 3  |- ; 8 4  e.  NN0
9 9nn0 10036 . . 3  |-  9  e.  NN0
10 9lt10 9969 . . 3  |-  9  <  10
11 3lt10 9975 . . . 4  |-  3  <  10
12 1lt8 9960 . . . 4  |-  1  <  8
131, 6, 2, 7, 11, 12decltc 10193 . . 3  |- ; 1 3  < ; 8 4
143, 8, 9, 1, 10, 13decltc 10193 . 2  |- ;; 1 3 9  < ;; 8 4 1
15 3nn 9925 . . . 4  |-  3  e.  NN
161, 15decnncl 10184 . . 3  |- ; 1 3  e.  NN
17 1lt10 9977 . . 3  |-  1  <  10
1816, 9, 1, 17declti 10196 . 2  |-  1  < ;; 1 3 9
19 4t2e8 9921 . . 3  |-  ( 4  x.  2 )  =  8
20 df-9 9856 . . 3  |-  9  =  ( 8  +  1 )
213, 7, 19, 20dec2dvds 13125 . 2  |-  -.  2  || ;; 1 3 9
22 6nn0 10033 . . . 4  |-  6  e.  NN0
237, 22deccl 10185 . . 3  |- ; 4 6  e.  NN0
24 1nn 9802 . . 3  |-  1  e.  NN
25 0nn0 10027 . . . 4  |-  0  e.  NN0
26 eqid 2316 . . . 4  |- ; 4 6  = ; 4 6
271dec0h 10187 . . . 4  |-  1  = ; 0 1
28 ax-1cn 8840 . . . . . . 7  |-  1  e.  CC
2928addid2i 9045 . . . . . 6  |-  ( 0  +  1 )  =  1
3029oveq2i 5911 . . . . 5  |-  ( ( 3  x.  4 )  +  ( 0  +  1 ) )  =  ( ( 3  x.  4 )  +  1 )
31 2nn0 10029 . . . . . 6  |-  2  e.  NN0
32 2p1e3 9894 . . . . . 6  |-  ( 2  +  1 )  =  3
337nn0cni 10024 . . . . . . 7  |-  4  e.  CC
34 3cn 9863 . . . . . . 7  |-  3  e.  CC
35 4t3e12 10243 . . . . . . 7  |-  ( 4  x.  3 )  = ; 1
2
3633, 34, 35mulcomli 8889 . . . . . 6  |-  ( 3  x.  4 )  = ; 1
2
371, 31, 32, 36decsuc 10194 . . . . 5  |-  ( ( 3  x.  4 )  +  1 )  = ; 1
3
3830, 37eqtri 2336 . . . 4  |-  ( ( 3  x.  4 )  +  ( 0  +  1 ) )  = ; 1
3
39 8p1e9 9900 . . . . 5  |-  ( 8  +  1 )  =  9
4022nn0cni 10024 . . . . . 6  |-  6  e.  CC
41 6t3e18 10249 . . . . . 6  |-  ( 6  x.  3 )  = ; 1
8
4240, 34, 41mulcomli 8889 . . . . 5  |-  ( 3  x.  6 )  = ; 1
8
431, 6, 39, 42decsuc 10194 . . . 4  |-  ( ( 3  x.  6 )  +  1 )  = ; 1
9
447, 22, 25, 1, 26, 27, 2, 9, 1, 38, 43decma2c 10211 . . 3  |-  ( ( 3  x. ; 4 6 )  +  1 )  = ;; 1 3 9
45 1lt3 9935 . . 3  |-  1  <  3
4615, 23, 24, 44, 45ndvdsi 12656 . 2  |-  -.  3  || ;; 1 3 9
47 4nn 9926 . . 3  |-  4  e.  NN
48 4lt5 9939 . . 3  |-  4  <  5
49 5p4e9 9909 . . 3  |-  ( 5  +  4 )  =  9
503, 47, 48, 49dec5dvds2 13127 . 2  |-  -.  5  || ;; 1 3 9
51 7nn 9929 . . 3  |-  7  e.  NN
521, 9deccl 10185 . . 3  |- ; 1 9  e.  NN0
53 6nn 9928 . . 3  |-  6  e.  NN
54 eqid 2316 . . . 4  |- ; 1 9  = ; 1 9
5522dec0h 10187 . . . 4  |-  6  = ; 0 6
56 7nn0 10034 . . . 4  |-  7  e.  NN0
5751nncni 9801 . . . . . . 7  |-  7  e.  CC
5857mulid1i 8884 . . . . . 6  |-  ( 7  x.  1 )  =  7
5940addid2i 9045 . . . . . 6  |-  ( 0  +  6 )  =  6
6058, 59oveq12i 5912 . . . . 5  |-  ( ( 7  x.  1 )  +  ( 0  +  6 ) )  =  ( 7  +  6 )
61 7p6e13 10225 . . . . 5  |-  ( 7  +  6 )  = ; 1
3
6260, 61eqtri 2336 . . . 4  |-  ( ( 7  x.  1 )  +  ( 0  +  6 ) )  = ; 1
3
634nncni 9801 . . . . . 6  |-  9  e.  CC
64 9t7e63 10271 . . . . . 6  |-  ( 9  x.  7 )  = ; 6
3
6563, 57, 64mulcomli 8889 . . . . 5  |-  ( 7  x.  9 )  = ; 6
3
66 6p3e9 9912 . . . . . 6  |-  ( 6  +  3 )  =  9
6740, 34, 66addcomli 9049 . . . . 5  |-  ( 3  +  6 )  =  9
6822, 2, 22, 65, 67decaddi 10215 . . . 4  |-  ( ( 7  x.  9 )  +  6 )  = ; 6
9
691, 9, 25, 22, 54, 55, 56, 9, 22, 62, 68decma2c 10211 . . 3  |-  ( ( 7  x. ; 1 9 )  +  6 )  = ;; 1 3 9
70 6lt7 9948 . . 3  |-  6  <  7
7151, 52, 53, 69, 70ndvdsi 12656 . 2  |-  -.  7  || ;; 1 3 9
721, 24decnncl 10184 . . 3  |- ; 1 1  e.  NN
731, 31deccl 10185 . . 3  |- ; 1 2  e.  NN0
74 eqid 2316 . . . 4  |- ; 1 2  = ; 1 2
7556dec0h 10187 . . . 4  |-  7  = ; 0 7
761, 1deccl 10185 . . . 4  |- ; 1 1  e.  NN0
77 2cn 9861 . . . . . . 7  |-  2  e.  CC
7877addid2i 9045 . . . . . 6  |-  ( 0  +  2 )  =  2
7978oveq2i 5911 . . . . 5  |-  ( (; 1
1  x.  1 )  +  ( 0  +  2 ) )  =  ( (; 1 1  x.  1 )  +  2 )
8072nncni 9801 . . . . . . 7  |- ; 1 1  e.  CC
8180mulid1i 8884 . . . . . 6  |-  (; 1 1  x.  1 )  = ; 1 1
8277, 28, 32addcomli 9049 . . . . . 6  |-  ( 1  +  2 )  =  3
831, 1, 31, 81, 82decaddi 10215 . . . . 5  |-  ( (; 1
1  x.  1 )  +  2 )  = ; 1
3
8479, 83eqtri 2336 . . . 4  |-  ( (; 1
1  x.  1 )  +  ( 0  +  2 ) )  = ; 1
3
85 eqid 2316 . . . . 5  |- ; 1 1  = ; 1 1
8677mulid2i 8885 . . . . . . 7  |-  ( 1  x.  2 )  =  2
87 00id 9032 . . . . . . 7  |-  ( 0  +  0 )  =  0
8886, 87oveq12i 5912 . . . . . 6  |-  ( ( 1  x.  2 )  +  ( 0  +  0 ) )  =  ( 2  +  0 )
8977addid1i 9044 . . . . . 6  |-  ( 2  +  0 )  =  2
9088, 89eqtri 2336 . . . . 5  |-  ( ( 1  x.  2 )  +  ( 0  +  0 ) )  =  2
9186oveq1i 5910 . . . . . 6  |-  ( ( 1  x.  2 )  +  7 )  =  ( 2  +  7 )
92 7p2e9 9914 . . . . . . 7  |-  ( 7  +  2 )  =  9
9357, 77, 92addcomli 9049 . . . . . 6  |-  ( 2  +  7 )  =  9
949dec0h 10187 . . . . . 6  |-  9  = ; 0 9
9591, 93, 943eqtri 2340 . . . . 5  |-  ( ( 1  x.  2 )  +  7 )  = ; 0
9
961, 1, 25, 56, 85, 75, 31, 9, 25, 90, 95decmac 10210 . . . 4  |-  ( (; 1
1  x.  2 )  +  7 )  = ; 2
9
971, 31, 25, 56, 74, 75, 76, 9, 31, 84, 96decma2c 10211 . . 3  |-  ( (; 1
1  x. ; 1 2 )  +  7 )  = ;; 1 3 9
98 7lt10 9971 . . . 4  |-  7  <  10
9924, 1, 56, 98declti 10196 . . 3  |-  7  < ; 1
1
10072, 73, 51, 97, 99ndvdsi 12656 . 2  |-  -. ; 1 1  || ;; 1 3 9
101 10nn0 10037 . . 3  |-  10  e.  NN0
102 dec10 10201 . . . 4  |-  10  = ; 1 0
103 eqid 2316 . . . . 5  |- ; 1 3  = ; 1 3
10425dec0h 10187 . . . . . 6  |-  0  = ; 0 0
10587, 104eqtri 2336 . . . . 5  |-  ( 0  +  0 )  = ; 0
0
10628mulid1i 8884 . . . . . . 7  |-  ( 1  x.  1 )  =  1
107106, 87oveq12i 5912 . . . . . 6  |-  ( ( 1  x.  1 )  +  ( 0  +  0 ) )  =  ( 1  +  0 )
10828addid1i 9044 . . . . . 6  |-  ( 1  +  0 )  =  1
109107, 108eqtri 2336 . . . . 5  |-  ( ( 1  x.  1 )  +  ( 0  +  0 ) )  =  1
11034mulid1i 8884 . . . . . . 7  |-  ( 3  x.  1 )  =  3
111110oveq1i 5910 . . . . . 6  |-  ( ( 3  x.  1 )  +  0 )  =  ( 3  +  0 )
11234addid1i 9044 . . . . . 6  |-  ( 3  +  0 )  =  3
1132dec0h 10187 . . . . . 6  |-  3  = ; 0 3
114111, 112, 1133eqtri 2340 . . . . 5  |-  ( ( 3  x.  1 )  +  0 )  = ; 0
3
1151, 2, 25, 25, 103, 105, 1, 2, 25, 109, 114decmac 10210 . . . 4  |-  ( (; 1
3  x.  1 )  +  ( 0  +  0 ) )  = ; 1
3
1163nn0cni 10024 . . . . . . 7  |- ; 1 3  e.  CC
117116mul01i 9047 . . . . . 6  |-  (; 1 3  x.  0 )  =  0
118117oveq1i 5910 . . . . 5  |-  ( (; 1
3  x.  0 )  +  9 )  =  ( 0  +  9 )
11963addid2i 9045 . . . . 5  |-  ( 0  +  9 )  =  9
120118, 119, 943eqtri 2340 . . . 4  |-  ( (; 1
3  x.  0 )  +  9 )  = ; 0
9
1211, 25, 25, 9, 102, 94, 3, 9, 25, 115, 120decma2c 10211 . . 3  |-  ( (; 1
3  x.  10 )  +  9 )  = ;; 1 3 9
12224, 2, 9, 10declti 10196 . . 3  |-  9  < ; 1
3
12316, 101, 4, 121, 122ndvdsi 12656 . 2  |-  -. ; 1 3  || ;; 1 3 9
1241, 51decnncl 10184 . . 3  |- ; 1 7  e.  NN
125 eqid 2316 . . . 4  |- ; 1 7  = ; 1 7
126 5nn0 10032 . . . 4  |-  5  e.  NN0
127 8nn 9930 . . . . . . . 8  |-  8  e.  NN
128127nncni 9801 . . . . . . 7  |-  8  e.  CC
129128mulid2i 8885 . . . . . 6  |-  ( 1  x.  8 )  =  8
130 5nn 9927 . . . . . . . 8  |-  5  e.  NN
131130nncni 9801 . . . . . . 7  |-  5  e.  CC
132131addid2i 9045 . . . . . 6  |-  ( 0  +  5 )  =  5
133129, 132oveq12i 5912 . . . . 5  |-  ( ( 1  x.  8 )  +  ( 0  +  5 ) )  =  ( 8  +  5 )
134 8p5e13 10229 . . . . 5  |-  ( 8  +  5 )  = ; 1
3
135133, 134eqtri 2336 . . . 4  |-  ( ( 1  x.  8 )  +  ( 0  +  5 ) )  = ; 1
3
136 8t7e56 10264 . . . . . 6  |-  ( 8  x.  7 )  = ; 5
6
137128, 57, 136mulcomli 8889 . . . . 5  |-  ( 7  x.  8 )  = ; 5
6
138126, 22, 2, 137, 66decaddi 10215 . . . 4  |-  ( ( 7  x.  8 )  +  3 )  = ; 5
9
1391, 56, 25, 2, 125, 113, 6, 9, 126, 135, 138decmac 10210 . . 3  |-  ( (; 1
7  x.  8 )  +  3 )  = ;; 1 3 9
14024, 56, 2, 11declti 10196 . . 3  |-  3  < ; 1
7
141124, 6, 15, 139, 140ndvdsi 12656 . 2  |-  -. ; 1 7  || ;; 1 3 9
1421, 4decnncl 10184 . . 3  |- ; 1 9  e.  NN
14357mulid2i 8885 . . . . . 6  |-  ( 1  x.  7 )  =  7
144143, 59oveq12i 5912 . . . . 5  |-  ( ( 1  x.  7 )  +  ( 0  +  6 ) )  =  ( 7  +  6 )
145144, 61eqtri 2336 . . . 4  |-  ( ( 1  x.  7 )  +  ( 0  +  6 ) )  = ; 1
3
14622, 2, 22, 64, 67decaddi 10215 . . . 4  |-  ( ( 9  x.  7 )  +  6 )  = ; 6
9
1471, 9, 25, 22, 54, 55, 56, 9, 22, 145, 146decmac 10210 . . 3  |-  ( (; 1
9  x.  7 )  +  6 )  = ;; 1 3 9
148 6lt10 9972 . . . 4  |-  6  <  10
14924, 9, 22, 148declti 10196 . . 3  |-  6  < ; 1
9
150142, 56, 53, 147, 149ndvdsi 12656 . 2  |-  -. ; 1 9  || ;; 1 3 9
15131, 15decnncl 10184 . . 3  |- ; 2 3  e.  NN
152 eqid 2316 . . . 4  |- ; 2 3  = ; 2 3
15329oveq2i 5911 . . . . 5  |-  ( ( 2  x.  6 )  +  ( 0  +  1 ) )  =  ( ( 2  x.  6 )  +  1 )
154 6t2e12 10248 . . . . . . 7  |-  ( 6  x.  2 )  = ; 1
2
15540, 77, 154mulcomli 8889 . . . . . 6  |-  ( 2  x.  6 )  = ; 1
2
1561, 31, 32, 155decsuc 10194 . . . . 5  |-  ( ( 2  x.  6 )  +  1 )  = ; 1
3
157153, 156eqtri 2336 . . . 4  |-  ( ( 2  x.  6 )  +  ( 0  +  1 ) )  = ; 1
3
15831, 2, 25, 1, 152, 27, 22, 9, 1, 157, 43decmac 10210 . . 3  |-  ( (; 2
3  x.  6 )  +  1 )  = ;; 1 3 9
159 2nn 9924 . . . 4  |-  2  e.  NN
160159, 2, 1, 17declti 10196 . . 3  |-  1  < ; 2
3
161151, 22, 24, 158, 160ndvdsi 12656 . 2  |-  -. ; 2 3  || ;; 1 3 9
1625, 14, 18, 21, 46, 50, 71, 100, 123, 141, 150, 161prmlem2 13168 1  |- ;; 1 3 9  e.  Prime
Colors of variables: wff set class
Syntax hints:    e. wcel 1701  (class class class)co 5900   0cc0 8782   1c1 8783    + caddc 8785    x. cmul 8787   2c2 9840   3c3 9841   4c4 9842   5c5 9843   6c6 9844   7c7 9845   8c8 9846   9c9 9847   10c10 9848  ;cdc 10171   Primecprime 12805
This theorem is referenced by:  2503prm  13185
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1537  ax-5 1548  ax-17 1607  ax-9 1645  ax-8 1666  ax-13 1703  ax-14 1705  ax-6 1720  ax-7 1725  ax-11 1732  ax-12 1897  ax-ext 2297  ax-sep 4178  ax-nul 4186  ax-pow 4225  ax-pr 4251  ax-un 4549  ax-cnex 8838  ax-resscn 8839  ax-1cn 8840  ax-icn 8841  ax-addcl 8842  ax-addrcl 8843  ax-mulcl 8844  ax-mulrcl 8845  ax-mulcom 8846  ax-addass 8847  ax-mulass 8848  ax-distr 8849  ax-i2m1 8850  ax-1ne0 8851  ax-1rid 8852  ax-rnegex 8853  ax-rrecex 8854  ax-cnre 8855  ax-pre-lttri 8856  ax-pre-lttrn 8857  ax-pre-ltadd 8858  ax-pre-mulgt0 8859  ax-pre-sup 8860
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1533  df-nf 1536  df-sb 1640  df-eu 2180  df-mo 2181  df-clab 2303  df-cleq 2309  df-clel 2312  df-nfc 2441  df-ne 2481  df-nel 2482  df-ral 2582  df-rex 2583  df-reu 2584  df-rmo 2585  df-rab 2586  df-v 2824  df-sbc 3026  df-csb 3116  df-dif 3189  df-un 3191  df-in 3193  df-ss 3200  df-pss 3202  df-nul 3490  df-if 3600  df-pw 3661  df-sn 3680  df-pr 3681  df-tp 3682  df-op 3683  df-uni 3865  df-int 3900  df-iun 3944  df-br 4061  df-opab 4115  df-mpt 4116  df-tr 4151  df-eprel 4342  df-id 4346  df-po 4351  df-so 4352  df-fr 4389  df-we 4391  df-ord 4432  df-on 4433  df-lim 4434  df-suc 4435  df-om 4694  df-xp 4732  df-rel 4733  df-cnv 4734  df-co 4735  df-dm 4736  df-rn 4737  df-res 4738  df-ima 4739  df-iota 5256  df-fun 5294  df-fn 5295  df-f 5296  df-f1 5297  df-fo 5298  df-f1o 5299  df-fv 5300  df-ov 5903  df-oprab 5904  df-mpt2 5905  df-1st 6164  df-2nd 6165  df-riota 6346  df-recs 6430  df-rdg 6465  df-1o 6521  df-2o 6522  df-oadd 6525  df-er 6702  df-en 6907  df-dom 6908  df-sdom 6909  df-fin 6910  df-sup 7239  df-pnf 8914  df-mnf 8915  df-xr 8916  df-ltxr 8917  df-le 8918  df-sub 9084  df-neg 9085  df-div 9469  df-nn 9792  df-2 9849  df-3 9850  df-4 9851  df-5 9852  df-6 9853  df-7 9854  df-8 9855  df-9 9856  df-10 9857  df-n0 10013  df-z 10072  df-dec 10172  df-uz 10278  df-rp 10402  df-fz 10830  df-seq 11094  df-exp 11152  df-cj 11631  df-re 11632  df-im 11633  df-sqr 11767  df-abs 11768  df-dvds 12579  df-prm 12806
  Copyright terms: Public domain W3C validator