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

Theorem 37prm 13255
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 9585 . . 3  |-  3  e.  NN0
2 7nn 9475 . . 3  |-  7  e.  NN
31, 2decnncl 9804 . 2  |- ; 3 7  e.  NN
4 8nn0 9590 . . . 4  |-  8  e.  NN0
5 4nn0 9586 . . . 4  |-  4  e.  NN0
64, 5deccl 9795 . . 3  |- ; 8 4  e.  NN0
7 7nn0 9589 . . 3  |-  7  e.  NN0
8 1nn0 9583 . . 3  |-  1  e.  NN0
9 7lt10 9918 . . 3  |-  7  < ; 1
0
10 8nn 9476 . . . 4  |-  8  e.  NN
11 3lt10 9922 . . . 4  |-  3  < ; 1
0
1210, 5, 1, 11declti 9823 . . 3  |-  3  < ; 8
4
131, 6, 7, 8, 9, 12decltc 9814 . 2  |- ; 3 7  < ;; 8 4 1
14 3nn 9471 . . 3  |-  3  e.  NN
15 1lt10 9924 . . 3  |-  1  < ; 1
0
1614, 7, 8, 15declti 9823 . 2  |-  1  < ; 3
7
17 3t2e6 9463 . . 3  |-  ( 3  x.  2 )  =  6
18 df-7 9370 . . 3  |-  7  =  ( 6  +  1 )
191, 1, 17, 18dec2dvds 13210 . 2  |-  -.  2  || ; 3 7
20 2nn0 9584 . . . 4  |-  2  e.  NN0
218, 20deccl 9795 . . 3  |- ; 1 2  e.  NN0
22 1nn 9317 . . 3  |-  1  e.  NN
23 6nn0 9588 . . . 4  |-  6  e.  NN0
24 6p1e7 9445 . . . 4  |-  ( 6  +  1 )  =  7
25 eqid 2238 . . . . 5  |- ; 1 2  = ; 1 2
26 0nn0 9582 . . . . 5  |-  0  e.  NN0
27 3cn 9381 . . . . . . . 8  |-  3  e.  CC
2827mulridi 8328 . . . . . . 7  |-  ( 3  x.  1 )  =  3
2928oveq1i 6095 . . . . . 6  |-  ( ( 3  x.  1 )  +  0 )  =  ( 3  +  0 )
3027addridi 8469 . . . . . 6  |-  ( 3  +  0 )  =  3
3129, 30eqtri 2259 . . . . 5  |-  ( ( 3  x.  1 )  +  0 )  =  3
3223dec0h 9807 . . . . . 6  |-  6  = ; 0 6
3317, 32eqtri 2259 . . . . 5  |-  ( 3  x.  2 )  = ; 0
6
341, 8, 20, 25, 23, 26, 31, 33decmul2c 9851 . . . 4  |-  ( 3  x. ; 1 2 )  = ; 3
6
351, 23, 24, 34decsuc 9816 . . 3  |-  ( ( 3  x. ; 1 2 )  +  1 )  = ; 3 7
36 1lt3 9480 . . 3  |-  1  <  3
3714, 21, 22, 35, 36ndvdsi 12716 . 2  |-  -.  3  || ; 3 7
38 2nn 9470 . . 3  |-  2  e.  NN
39 2lt5 9486 . . 3  |-  2  <  5
40 5p2e7 9453 . . 3  |-  ( 5  +  2 )  =  7
411, 38, 39, 40dec5dvds2 13212 . 2  |-  -.  5  || ; 3 7
42 5nn0 9587 . . 3  |-  5  e.  NN0
43 7t5e35 9897 . . . 4  |-  ( 7  x.  5 )  = ; 3
5
441, 42, 20, 43, 40decaddi 9845 . . 3  |-  ( ( 7  x.  5 )  +  2 )  = ; 3
7
45 2lt7 9497 . . 3  |-  2  <  7
462, 42, 38, 44, 45ndvdsi 12716 . 2  |-  -.  7  || ; 3 7
478, 22decnncl 9804 . . 3  |- ; 1 1  e.  NN
48 4nn 9472 . . 3  |-  4  e.  NN
49 eqid 2238 . . . 4  |- ; 1 1  = ; 1 1
5027mullidi 8329 . . . 4  |-  ( 1  x.  3 )  =  3
5150oveq1i 6095 . . . . 5  |-  ( ( 1  x.  3 )  +  4 )  =  ( 3  +  4 )
5248nncni 9316 . . . . . 6  |-  4  e.  CC
53 4p3e7 9451 . . . . . 6  |-  ( 4  +  3 )  =  7
5452, 27, 53addcomli 8472 . . . . 5  |-  ( 3  +  4 )  =  7
5551, 54eqtri 2259 . . . 4  |-  ( ( 1  x.  3 )  +  4 )  =  7
568, 8, 5, 49, 1, 50, 55decrmanc 9842 . . 3  |-  ( (; 1
1  x.  3 )  +  4 )  = ; 3
7
57 4lt10 9921 . . . 4  |-  4  < ; 1
0
5822, 8, 5, 57declti 9823 . . 3  |-  4  < ; 1
1
5947, 1, 48, 56, 58ndvdsi 12716 . 2  |-  -. ; 1 1  || ; 3 7
608, 14decnncl 9804 . . 3  |- ; 1 3  e.  NN
61 eqid 2238 . . . . 5  |- ; 1 3  = ; 1 3
62 2cn 9377 . . . . . 6  |-  2  e.  CC
6362mullidi 8329 . . . . 5  |-  ( 1  x.  2 )  =  2
6420, 8, 1, 61, 23, 63, 17decmul1 9849 . . . 4  |-  (; 1 3  x.  2 )  = ; 2 6
65 2p1e3 9440 . . . 4  |-  ( 2  +  1 )  =  3
6620, 23, 8, 8, 64, 49, 65, 24decadd 9839 . . 3  |-  ( (; 1
3  x.  2 )  + ; 1 1 )  = ; 3
7
678, 8, 14, 36declt 9813 . . 3  |- ; 1 1  < ; 1 3
6860, 20, 47, 66, 67ndvdsi 12716 . 2  |-  -. ; 1 3  || ; 3 7
698, 2decnncl 9804 . . 3  |- ; 1 7  e.  NN
70 eqid 2238 . . . 4  |- ; 1 7  = ; 1 7
711dec0h 9807 . . . 4  |-  3  = ; 0 3
72 0p1e1 9420 . . . . . 6  |-  ( 0  +  1 )  =  1
7363, 72oveq12i 6097 . . . . 5  |-  ( ( 1  x.  2 )  +  ( 0  +  1 ) )  =  ( 2  +  1 )
7473, 65eqtri 2259 . . . 4  |-  ( ( 1  x.  2 )  +  ( 0  +  1 ) )  =  3
75 7t2e14 9894 . . . . 5  |-  ( 7  x.  2 )  = ; 1
4
768, 5, 1, 75, 53decaddi 9845 . . . 4  |-  ( ( 7  x.  2 )  +  3 )  = ; 1
7
778, 7, 26, 1, 70, 71, 20, 7, 8, 74, 76decmac 9837 . . 3  |-  ( (; 1
7  x.  2 )  +  3 )  = ; 3
7
7822, 7, 1, 11declti 9823 . . 3  |-  3  < ; 1
7
7969, 20, 14, 77, 78ndvdsi 12716 . 2  |-  -. ; 1 7  || ; 3 7
80 9nn 9477 . . . 4  |-  9  e.  NN
818, 80decnncl 9804 . . 3  |- ; 1 9  e.  NN
828, 10decnncl 9804 . . 3  |- ; 1 8  e.  NN
83 9nn0 9591 . . . 4  |-  9  e.  NN0
8481nncni 9316 . . . . 5  |- ; 1 9  e.  CC
8584mulridi 8328 . . . 4  |-  (; 1 9  x.  1 )  = ; 1 9
86 eqid 2238 . . . 4  |- ; 1 8  = ; 1 8
87 1p1e2 9423 . . . . . 6  |-  ( 1  +  1 )  =  2
8887oveq1i 6095 . . . . 5  |-  ( ( 1  +  1 )  +  1 )  =  ( 2  +  1 )
8988, 65eqtri 2259 . . . 4  |-  ( ( 1  +  1 )  +  1 )  =  3
90 9p8e17 9878 . . . 4  |-  ( 9  +  8 )  = ; 1
7
918, 83, 8, 4, 85, 86, 89, 7, 90decaddc 9840 . . 3  |-  ( (; 1
9  x.  1 )  + ; 1 8 )  = ; 3
7
92 8lt9 9506 . . . 4  |-  8  <  9
938, 4, 80, 92declt 9813 . . 3  |- ; 1 8  < ; 1 9
9481, 8, 82, 91, 93ndvdsi 12716 . 2  |-  -. ; 1 9  || ; 3 7
9520, 14decnncl 9804 . . 3  |- ; 2 3  e.  NN
968, 48decnncl 9804 . . 3  |- ; 1 4  e.  NN
9795nncni 9316 . . . . 5  |- ; 2 3  e.  CC
9897mulridi 8328 . . . 4  |-  (; 2 3  x.  1 )  = ; 2 3
99 eqid 2238 . . . 4  |- ; 1 4  = ; 1 4
10020, 1, 8, 5, 98, 99, 65, 54decadd 9839 . . 3  |-  ( (; 2
3  x.  1 )  + ; 1 4 )  = ; 3
7
101 1lt2 9478 . . . 4  |-  1  <  2
1028, 20, 5, 1, 57, 101decltc 9814 . . 3  |- ; 1 4  < ; 2 3
10395, 8, 96, 100, 102ndvdsi 12716 . 2  |-  -. ; 2 3  || ; 3 7
1043, 13, 16, 19, 37, 41, 46, 59, 68, 79, 94, 103prmlem2 13254 1  |- ; 3 7  e.  Prime
Colors of variables:    wff set class
This proof depends on syntax axioms:    e. wcel 2209  (class class class)co 6085   0cc0 8179   1c1 8180    + caddc 8182    x. cmul 8184   2c2 9357   3c3 9358   4c4 9359   5c5 9360   6c6 9361   7c7 9362   8c8 9363   9c9 9364  ;cdc 9781   Primecprime 12901
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 4246  ax-sep 4249  ax-nul 4259  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-setind 4684  ax-iinf 4735  ax-cnex 8270  ax-resscn 8271  ax-1cn 8272  ax-1re 8273  ax-icn 8274  ax-addcl 8275  ax-addrcl 8276  ax-mulcl 8277  ax-mulrcl 8278  ax-addcom 8279  ax-mulcom 8280  ax-addass 8281  ax-mulass 8282  ax-distr 8283  ax-i2m1 8284  ax-0lt1 8285  ax-1rid 8286  ax-0id 8287  ax-rnegex 8288  ax-precex 8289  ax-cnre 8290  ax-pre-ltirr 8291  ax-pre-ltwlin 8292  ax-pre-lttrn 8293  ax-pre-apti 8294  ax-pre-ltadd 8295  ax-pre-mulgt0 8296  ax-pre-mulext 8297  ax-arch 8298  ax-caucvg 8299
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 4131  df-opab 4193  df-mpt 4194  df-tr 4230  df-id 4438  df-po 4441  df-iso 4442  df-iord 4511  df-on 4513  df-ilim 4514  df-suc 4516  df-iom 4738  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-f1 5382  df-fo 5383  df-f1o 5384  df-fv 5385  df-riota 6038  df-ov 6088  df-oprab 6089  df-mpo 6090  df-1st 6374  df-2nd 6375  df-recs 6576  df-frec 6662  df-1o 6687  df-2o 6688  df-er 6807  df-en 7023  df-pnf 8362  df-mnf 8363  df-xr 8364  df-ltxr 8365  df-le 8366  df-sub 8500  df-neg 8501  df-reap 8905  df-ap 8912  df-div 9005  df-inn 9307  df-2 9365  df-3 9366  df-4 9367  df-5 9368  df-6 9369  df-7 9370  df-8 9371  df-9 9372  df-n0 9568  df-z 9649  df-dec 9782  df-uz 9931  df-q 10029  df-rp 10065  df-fz 10422  df-fzo 10560  df-fl 10715  df-mod 10773  df-seqfrec 10898  df-exp 10989  df-cj 11621  df-re 11622  df-im 11623  df-rsqrt 11778  df-abs 11779  df-dvds 12571  df-prm 12902
This theorem is used by:  1259prm  13267
  Copyright terms: Public domain W3C validator