ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  139prm Unicode version

Theorem 139prm 13267
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 9590 . . . 4  |-  1  e.  NN0
2 3nn0 9592 . . . 4  |-  3  e.  NN0
31, 2deccl 9802 . . 3  |- ; 1 3  e.  NN0
4 9nn 9484 . . 3  |-  9  e.  NN
53, 4decnncl 9811 . 2  |- ;; 1 3 9  e.  NN
6 8nn0 9597 . . 3  |-  8  e.  NN0
7 4nn0 9593 . . 3  |-  4  e.  NN0
8 9nn0 9598 . . 3  |-  9  e.  NN0
9 1lt8 9512 . . 3  |-  1  <  8
10 3lt10 9929 . . 3  |-  3  < ; 1
0
11 9lt10 9923 . . 3  |-  9  < ; 1
0
121, 6, 2, 7, 8, 1, 9, 10, 113decltc 9825 . 2  |- ;; 1 3 9  < ;; 8 4 1
13 3nn 9478 . . . 4  |-  3  e.  NN
141, 13decnncl 9811 . . 3  |- ; 1 3  e.  NN
15 1lt10 9931 . . 3  |-  1  < ; 1
0
1614, 8, 1, 15declti 9830 . 2  |-  1  < ;; 1 3 9
17 4t2e8 9473 . . 3  |-  ( 4  x.  2 )  =  8
18 df-9 9379 . . 3  |-  9  =  ( 8  +  1 )
193, 7, 17, 18dec2dvds 13219 . 2  |-  -.  2  || ;; 1 3 9
20 6nn0 9595 . . . 4  |-  6  e.  NN0
217, 20deccl 9802 . . 3  |- ; 4 6  e.  NN0
22 1nn 9324 . . 3  |-  1  e.  NN
23 0nn0 9589 . . . 4  |-  0  e.  NN0
24 eqid 2238 . . . 4  |- ; 4 6  = ; 4 6
251dec0h 9814 . . . 4  |-  1  = ; 0 1
26 ax-1cn 8278 . . . . . . 7  |-  1  e.  CC
2726addlidi 8476 . . . . . 6  |-  ( 0  +  1 )  =  1
2827oveq2i 6099 . . . . 5  |-  ( ( 3  x.  4 )  +  ( 0  +  1 ) )  =  ( ( 3  x.  4 )  +  1 )
29 2nn0 9591 . . . . . 6  |-  2  e.  NN0
30 2p1e3 9447 . . . . . 6  |-  ( 2  +  1 )  =  3
317nn0cni 9586 . . . . . . 7  |-  4  e.  CC
32 3cn 9388 . . . . . . 7  |-  3  e.  CC
33 4t3e12 9890 . . . . . . 7  |-  ( 4  x.  3 )  = ; 1
2
3431, 32, 33mulcomli 8339 . . . . . 6  |-  ( 3  x.  4 )  = ; 1
2
351, 29, 30, 34decsuc 9823 . . . . 5  |-  ( ( 3  x.  4 )  +  1 )  = ; 1
3
3628, 35eqtri 2259 . . . 4  |-  ( ( 3  x.  4 )  +  ( 0  +  1 ) )  = ; 1
3
37 8p1e9 9454 . . . . 5  |-  ( 8  +  1 )  =  9
3820nn0cni 9586 . . . . . 6  |-  6  e.  CC
39 6t3e18 9897 . . . . . 6  |-  ( 6  x.  3 )  = ; 1
8
4038, 32, 39mulcomli 8339 . . . . 5  |-  ( 3  x.  6 )  = ; 1
8
411, 6, 37, 40decsuc 9823 . . . 4  |-  ( ( 3  x.  6 )  +  1 )  = ; 1
9
427, 20, 23, 1, 24, 25, 2, 8, 1, 36, 41decma2c 9845 . . 3  |-  ( ( 3  x. ; 4 6 )  +  1 )  = ;; 1 3 9
43 1lt3 9487 . . 3  |-  1  <  3
4413, 21, 22, 42, 43ndvdsi 12725 . 2  |-  -.  3  || ;; 1 3 9
45 4nn 9479 . . 3  |-  4  e.  NN
46 4lt5 9491 . . 3  |-  4  <  5
47 5p4e9 9462 . . 3  |-  ( 5  +  4 )  =  9
483, 45, 46, 47dec5dvds2 13221 . 2  |-  -.  5  || ;; 1 3 9
49 7nn 9482 . . 3  |-  7  e.  NN
501, 8deccl 9802 . . 3  |- ; 1 9  e.  NN0
51 6nn 9481 . . 3  |-  6  e.  NN
52 eqid 2238 . . . 4  |- ; 1 9  = ; 1 9
5320dec0h 9814 . . . 4  |-  6  = ; 0 6
54 7nn0 9596 . . . 4  |-  7  e.  NN0
55 7cn 9397 . . . . . . 7  |-  7  e.  CC
5655mulridi 8334 . . . . . 6  |-  ( 7  x.  1 )  =  7
5738addlidi 8476 . . . . . 6  |-  ( 0  +  6 )  =  6
5856, 57oveq12i 6100 . . . . 5  |-  ( ( 7  x.  1 )  +  ( 0  +  6 ) )  =  ( 7  +  6 )
59 7p6e13 9870 . . . . 5  |-  ( 7  +  6 )  = ; 1
3
6058, 59eqtri 2259 . . . 4  |-  ( ( 7  x.  1 )  +  ( 0  +  6 ) )  = ; 1
3
61 9cn 9401 . . . . . 6  |-  9  e.  CC
62 9t7e63 9919 . . . . . 6  |-  ( 9  x.  7 )  = ; 6
3
6361, 55, 62mulcomli 8339 . . . . 5  |-  ( 7  x.  9 )  = ; 6
3
64 6p3e9 9464 . . . . . 6  |-  ( 6  +  3 )  =  9
6538, 32, 64addcomli 8478 . . . . 5  |-  ( 3  +  6 )  =  9
6620, 2, 20, 63, 65decaddi 9852 . . . 4  |-  ( ( 7  x.  9 )  +  6 )  = ; 6
9
671, 8, 23, 20, 52, 53, 54, 8, 20, 60, 66decma2c 9845 . . 3  |-  ( ( 7  x. ; 1 9 )  +  6 )  = ;; 1 3 9
68 6lt7 9500 . . 3  |-  6  <  7
6949, 50, 51, 67, 68ndvdsi 12725 . 2  |-  -.  7  || ;; 1 3 9
701, 22decnncl 9811 . . 3  |- ; 1 1  e.  NN
711, 29deccl 9802 . . 3  |- ; 1 2  e.  NN0
72 eqid 2238 . . . 4  |- ; 1 2  = ; 1 2
7354dec0h 9814 . . . 4  |-  7  = ; 0 7
741, 1deccl 9802 . . . 4  |- ; 1 1  e.  NN0
75 2cn 9384 . . . . . . 7  |-  2  e.  CC
7675addlidi 8476 . . . . . 6  |-  ( 0  +  2 )  =  2
7776oveq2i 6099 . . . . 5  |-  ( (; 1
1  x.  1 )  +  ( 0  +  2 ) )  =  ( (; 1 1  x.  1 )  +  2 )
7870nncni 9323 . . . . . . 7  |- ; 1 1  e.  CC
7978mulridi 8334 . . . . . 6  |-  (; 1 1  x.  1 )  = ; 1 1
80 1p2e3 9448 . . . . . 6  |-  ( 1  +  2 )  =  3
811, 1, 29, 79, 80decaddi 9852 . . . . 5  |-  ( (; 1
1  x.  1 )  +  2 )  = ; 1
3
8277, 81eqtri 2259 . . . 4  |-  ( (; 1
1  x.  1 )  +  ( 0  +  2 ) )  = ; 1
3
83 eqid 2238 . . . . 5  |- ; 1 1  = ; 1 1
8475mullidi 8335 . . . . . . 7  |-  ( 1  x.  2 )  =  2
85 00id 8474 . . . . . . 7  |-  ( 0  +  0 )  =  0
8684, 85oveq12i 6100 . . . . . 6  |-  ( ( 1  x.  2 )  +  ( 0  +  0 ) )  =  ( 2  +  0 )
8775addridi 8475 . . . . . 6  |-  ( 2  +  0 )  =  2
8886, 87eqtri 2259 . . . . 5  |-  ( ( 1  x.  2 )  +  ( 0  +  0 ) )  =  2
8984oveq1i 6098 . . . . . 6  |-  ( ( 1  x.  2 )  +  7 )  =  ( 2  +  7 )
90 7p2e9 9465 . . . . . . 7  |-  ( 7  +  2 )  =  9
9155, 75, 90addcomli 8478 . . . . . 6  |-  ( 2  +  7 )  =  9
928dec0h 9814 . . . . . 6  |-  9  = ; 0 9
9389, 91, 923eqtri 2263 . . . . 5  |-  ( ( 1  x.  2 )  +  7 )  = ; 0
9
941, 1, 23, 54, 83, 73, 29, 8, 23, 88, 93decmac 9844 . . . 4  |-  ( (; 1
1  x.  2 )  +  7 )  = ; 2
9
951, 29, 23, 54, 72, 73, 74, 8, 29, 82, 94decma2c 9845 . . 3  |-  ( (; 1
1  x. ; 1 2 )  +  7 )  = ;; 1 3 9
96 7lt10 9925 . . . 4  |-  7  < ; 1
0
9722, 1, 54, 96declti 9830 . . 3  |-  7  < ; 1
1
9870, 71, 49, 95, 97ndvdsi 12725 . 2  |-  -. ; 1 1  || ;; 1 3 9
99 10nn0 9809 . . 3  |- ; 1 0  e.  NN0
100 eqid 2238 . . . 4  |- ; 1 0  = ; 1 0
101 eqid 2238 . . . . 5  |- ; 1 3  = ; 1 3
10223dec0h 9814 . . . . . 6  |-  0  = ; 0 0
10385, 102eqtri 2259 . . . . 5  |-  ( 0  +  0 )  = ; 0
0
10426mulridi 8334 . . . . . . 7  |-  ( 1  x.  1 )  =  1
105104, 85oveq12i 6100 . . . . . 6  |-  ( ( 1  x.  1 )  +  ( 0  +  0 ) )  =  ( 1  +  0 )
10626addridi 8475 . . . . . 6  |-  ( 1  +  0 )  =  1
107105, 106eqtri 2259 . . . . 5  |-  ( ( 1  x.  1 )  +  ( 0  +  0 ) )  =  1
10832mulridi 8334 . . . . . . 7  |-  ( 3  x.  1 )  =  3
109108oveq1i 6098 . . . . . 6  |-  ( ( 3  x.  1 )  +  0 )  =  ( 3  +  0 )
11032addridi 8475 . . . . . 6  |-  ( 3  +  0 )  =  3
1112dec0h 9814 . . . . . 6  |-  3  = ; 0 3
112109, 110, 1113eqtri 2263 . . . . 5  |-  ( ( 3  x.  1 )  +  0 )  = ; 0
3
1131, 2, 23, 23, 101, 103, 1, 2, 23, 107, 112decmac 9844 . . . 4  |-  ( (; 1
3  x.  1 )  +  ( 0  +  0 ) )  = ; 1
3
1143nn0cni 9586 . . . . . . 7  |- ; 1 3  e.  CC
115114mul01i 8725 . . . . . 6  |-  (; 1 3  x.  0 )  =  0
116115oveq1i 6098 . . . . 5  |-  ( (; 1
3  x.  0 )  +  9 )  =  ( 0  +  9 )
11761addlidi 8476 . . . . 5  |-  ( 0  +  9 )  =  9
118116, 117, 923eqtri 2263 . . . 4  |-  ( (; 1
3  x.  0 )  +  9 )  = ; 0
9
1191, 23, 23, 8, 100, 92, 3, 8, 23, 113, 118decma2c 9845 . . 3  |-  ( (; 1
3  x. ; 1 0 )  +  9 )  = ;; 1 3 9
12022, 2, 8, 11declti 9830 . . 3  |-  9  < ; 1
3
12114, 99, 4, 119, 120ndvdsi 12725 . 2  |-  -. ; 1 3  || ;; 1 3 9
1221, 49decnncl 9811 . . 3  |- ; 1 7  e.  NN
123 eqid 2238 . . . 4  |- ; 1 7  = ; 1 7
124 5nn0 9594 . . . 4  |-  5  e.  NN0
125 8cn 9399 . . . . . . 7  |-  8  e.  CC
126125mullidi 8335 . . . . . 6  |-  ( 1  x.  8 )  =  8
127 5cn 9393 . . . . . . 7  |-  5  e.  CC
128127addlidi 8476 . . . . . 6  |-  ( 0  +  5 )  =  5
129126, 128oveq12i 6100 . . . . 5  |-  ( ( 1  x.  8 )  +  ( 0  +  5 ) )  =  ( 8  +  5 )
130 8p5e13 9875 . . . . 5  |-  ( 8  +  5 )  = ; 1
3
131129, 130eqtri 2259 . . . 4  |-  ( ( 1  x.  8 )  +  ( 0  +  5 ) )  = ; 1
3
132 8t7e56 9912 . . . . . 6  |-  ( 8  x.  7 )  = ; 5
6
133125, 55, 132mulcomli 8339 . . . . 5  |-  ( 7  x.  8 )  = ; 5
6
134124, 20, 2, 133, 64decaddi 9852 . . . 4  |-  ( ( 7  x.  8 )  +  3 )  = ; 5
9
1351, 54, 23, 2, 123, 111, 6, 8, 124, 131, 134decmac 9844 . . 3  |-  ( (; 1
7  x.  8 )  +  3 )  = ;; 1 3 9
13622, 54, 2, 10declti 9830 . . 3  |-  3  < ; 1
7
137122, 6, 13, 135, 136ndvdsi 12725 . 2  |-  -. ; 1 7  || ;; 1 3 9
1381, 4decnncl 9811 . . 3  |- ; 1 9  e.  NN
13955mullidi 8335 . . . . . 6  |-  ( 1  x.  7 )  =  7
140139, 57oveq12i 6100 . . . . 5  |-  ( ( 1  x.  7 )  +  ( 0  +  6 ) )  =  ( 7  +  6 )
141140, 59eqtri 2259 . . . 4  |-  ( ( 1  x.  7 )  +  ( 0  +  6 ) )  = ; 1
3
14220, 2, 20, 62, 65decaddi 9852 . . . 4  |-  ( ( 9  x.  7 )  +  6 )  = ; 6
9
1431, 8, 23, 20, 52, 53, 54, 8, 20, 141, 142decmac 9844 . . 3  |-  ( (; 1
9  x.  7 )  +  6 )  = ;; 1 3 9
144 6lt10 9926 . . . 4  |-  6  < ; 1
0
14522, 8, 20, 144declti 9830 . . 3  |-  6  < ; 1
9
146138, 54, 51, 143, 145ndvdsi 12725 . 2  |-  -. ; 1 9  || ;; 1 3 9
14729, 13decnncl 9811 . . 3  |- ; 2 3  e.  NN
148 eqid 2238 . . . 4  |- ; 2 3  = ; 2 3
149 6t2e12 9896 . . . . . 6  |-  ( 6  x.  2 )  = ; 1
2
15038, 75, 149mulcomli 8339 . . . . 5  |-  ( 2  x.  6 )  = ; 1
2
1511, 29, 30, 150decsuc 9823 . . . 4  |-  ( ( 2  x.  6 )  +  1 )  = ; 1
3
15229, 2, 1, 148, 20, 8, 1, 151, 41decrmac 9850 . . 3  |-  ( (; 2
3  x.  6 )  +  1 )  = ;; 1 3 9
153 2nn 9477 . . . 4  |-  2  e.  NN
154153, 2, 1, 15declti 9830 . . 3  |-  1  < ; 2
3
155147, 20, 22, 152, 154ndvdsi 12725 . 2  |-  -. ; 2 3  || ;; 1 3 9
1565, 12, 16, 19, 44, 48, 69, 98, 121, 137, 146, 155prmlem2 13263 1  |- ;; 1 3 9  e.  Prime
Colors of variables:    wff set class
This proof depends on syntax axioms:    e. wcel 2209  (class class class)co 6088   0cc0 8185   1c1 8186    + caddc 8188    x. cmul 8190   2c2 9364   3c3 9365   4c4 9366   5c5 9367   6c6 9368   7c7 9369   8c8 9370   9c9 9371  ;cdc 9788   Primecprime 12910
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-coll 4248  ax-sep 4251  ax-nul 4261  ax-pow 4313  ax-pr 4348  ax-un 4580  ax-setind 4686  ax-iinf 4737  ax-cnex 8276  ax-resscn 8277  ax-1cn 8278  ax-1re 8279  ax-icn 8280  ax-addcl 8281  ax-addrcl 8282  ax-mulcl 8283  ax-mulrcl 8284  ax-addcom 8285  ax-mulcom 8286  ax-addass 8287  ax-mulass 8288  ax-distr 8289  ax-i2m1 8290  ax-0lt1 8291  ax-1rid 8292  ax-0id 8293  ax-rnegex 8294  ax-precex 8295  ax-cnre 8296  ax-pre-ltirr 8297  ax-pre-ltwlin 8298  ax-pre-lttrn 8299  ax-pre-apti 8300  ax-pre-ltadd 8301  ax-pre-mulgt0 8302  ax-pre-mulext 8303  ax-arch 8304  ax-caucvg 8305
This proof depends on definitions:  df-bi 117  df-stab 843  df-dc 847  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-xor 1425  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-nel 2516  df-ral 2533  df-rex 2534  df-reu 2535  df-rmo 2536  df-rab 2537  df-v 2823  df-sbc 3052  df-csb 3148  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-nul 3521  df-if 3639  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-iun 4014  df-br 4132  df-opab 4194  df-mpt 4195  df-tr 4232  df-id 4440  df-po 4443  df-iso 4444  df-iord 4513  df-on 4515  df-ilim 4516  df-suc 4518  df-iom 4740  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-res 4788  df-ima 4789  df-iota 5340  df-fun 5382  df-fn 5383  df-f 5384  df-f1 5385  df-fo 5386  df-f1o 5387  df-fv 5388  df-riota 6041  df-ov 6091  df-oprab 6092  df-mpo 6093  df-1st 6378  df-2nd 6379  df-recs 6580  df-frec 6666  df-1o 6691  df-2o 6692  df-er 6811  df-en 7027  df-pnf 8368  df-mnf 8369  df-xr 8370  df-ltxr 8371  df-le 8372  df-sub 8506  df-neg 8507  df-reap 8911  df-ap 8918  df-div 9011  df-inn 9314  df-2 9372  df-3 9373  df-4 9374  df-5 9375  df-6 9376  df-7 9377  df-8 9378  df-9 9379  df-n0 9575  df-z 9656  df-dec 9789  df-uz 9938  df-q 10036  df-rp 10072  df-fz 10429  df-fzo 10567  df-fl 10722  df-mod 10781  df-seqfrec 10906  df-exp 10997  df-cj 11629  df-re 11630  df-im 11631  df-rsqrt 11786  df-abs 11787  df-dvds 12580  df-prm 12911
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator