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

Theorem dvdsnprmd 12079
Description: If a number is divisible by an integer greater than 1 and less then the number, the number is not prime. (Contributed by AV, 24-Jul-2021.)
Hypotheses
Ref Expression
dvdsnprmd.g  |-  ( ph  ->  1  <  A )
dvdsnprmd.l  |-  ( ph  ->  A  <  N )
dvdsnprmd.d  |-  ( ph  ->  A  ||  N )
Assertion
Ref Expression
dvdsnprmd  |-  ( ph  ->  -.  N  e.  Prime )

Proof of Theorem dvdsnprmd
Dummy variable  k is distinct from all other variables.
StepHypRef Expression
1 dvdsnprmd.d . 2  |-  ( ph  ->  A  ||  N )
2 dvdszrcl 11754 . . . 4  |-  ( A 
||  N  ->  ( A  e.  ZZ  /\  N  e.  ZZ ) )
3 divides 11751 . . . 4  |-  ( ( A  e.  ZZ  /\  N  e.  ZZ )  ->  ( A  ||  N  <->  E. k  e.  ZZ  (
k  x.  A )  =  N ) )
41, 2, 33syl 17 . . 3  |-  ( ph  ->  ( A  ||  N  <->  E. k  e.  ZZ  (
k  x.  A )  =  N ) )
5 2z 9240 . . . . . . . . 9  |-  2  e.  ZZ
65a1i 9 . . . . . . . 8  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
2  e.  ZZ )
7 simplr 525 . . . . . . . 8  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
k  e.  ZZ )
8 dvdsnprmd.l . . . . . . . . . . . . 13  |-  ( ph  ->  A  <  N )
98adantr 274 . . . . . . . . . . . 12  |-  ( (
ph  /\  k  e.  ZZ )  ->  A  < 
N )
109adantr 274 . . . . . . . . . . 11  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  ->  A  <  N )
11 breq2 3993 . . . . . . . . . . . 12  |-  ( ( k  x.  A )  =  N  ->  ( A  <  ( k  x.  A )  <->  A  <  N ) )
1211adantl 275 . . . . . . . . . . 11  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
( A  <  (
k  x.  A )  <-> 
A  <  N )
)
1310, 12mpbird 166 . . . . . . . . . 10  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  ->  A  <  ( k  x.  A ) )
14 dvdsnprmd.g . . . . . . . . . . . . . 14  |-  ( ph  ->  1  <  A )
15 zre 9216 . . . . . . . . . . . . . . . . . . 19  |-  ( A  e.  ZZ  ->  A  e.  RR )
16153ad2ant1 1013 . . . . . . . . . . . . . . . . . 18  |-  ( ( A  e.  ZZ  /\  1  <  A  /\  k  e.  ZZ )  ->  A  e.  RR )
17 zre 9216 . . . . . . . . . . . . . . . . . . 19  |-  ( k  e.  ZZ  ->  k  e.  RR )
18173ad2ant3 1015 . . . . . . . . . . . . . . . . . 18  |-  ( ( A  e.  ZZ  /\  1  <  A  /\  k  e.  ZZ )  ->  k  e.  RR )
19 0lt1 8046 . . . . . . . . . . . . . . . . . . . . 21  |-  0  <  1
20 0red 7921 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( A  e.  ZZ  ->  0  e.  RR )
21 1red 7935 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( A  e.  ZZ  ->  1  e.  RR )
22 lttr 7993 . . . . . . . . . . . . . . . . . . . . . 22  |-  ( ( 0  e.  RR  /\  1  e.  RR  /\  A  e.  RR )  ->  (
( 0  <  1  /\  1  <  A )  ->  0  <  A
) )
2320, 21, 15, 22syl3anc 1233 . . . . . . . . . . . . . . . . . . . . 21  |-  ( A  e.  ZZ  ->  (
( 0  <  1  /\  1  <  A )  ->  0  <  A
) )
2419, 23mpani 428 . . . . . . . . . . . . . . . . . . . 20  |-  ( A  e.  ZZ  ->  (
1  <  A  ->  0  <  A ) )
2524imp 123 . . . . . . . . . . . . . . . . . . 19  |-  ( ( A  e.  ZZ  /\  1  <  A )  -> 
0  <  A )
26253adant3 1012 . . . . . . . . . . . . . . . . . 18  |-  ( ( A  e.  ZZ  /\  1  <  A  /\  k  e.  ZZ )  ->  0  <  A )
2716, 18, 263jca 1172 . . . . . . . . . . . . . . . . 17  |-  ( ( A  e.  ZZ  /\  1  <  A  /\  k  e.  ZZ )  ->  ( A  e.  RR  /\  k  e.  RR  /\  0  < 
A ) )
28273exp 1197 . . . . . . . . . . . . . . . 16  |-  ( A  e.  ZZ  ->  (
1  <  A  ->  ( k  e.  ZZ  ->  ( A  e.  RR  /\  k  e.  RR  /\  0  <  A ) ) ) )
2928adantr 274 . . . . . . . . . . . . . . 15  |-  ( ( A  e.  ZZ  /\  N  e.  ZZ )  ->  ( 1  <  A  ->  ( k  e.  ZZ  ->  ( A  e.  RR  /\  k  e.  RR  /\  0  <  A ) ) ) )
301, 2, 293syl 17 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( 1  <  A  ->  ( k  e.  ZZ  ->  ( A  e.  RR  /\  k  e.  RR  /\  0  <  A ) ) ) )
3114, 30mpd 13 . . . . . . . . . . . . 13  |-  ( ph  ->  ( k  e.  ZZ  ->  ( A  e.  RR  /\  k  e.  RR  /\  0  <  A ) ) )
3231imp 123 . . . . . . . . . . . 12  |-  ( (
ph  /\  k  e.  ZZ )  ->  ( A  e.  RR  /\  k  e.  RR  /\  0  < 
A ) )
3332adantr 274 . . . . . . . . . . 11  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
( A  e.  RR  /\  k  e.  RR  /\  0  <  A ) )
34 ltmulgt12 8781 . . . . . . . . . . 11  |-  ( ( A  e.  RR  /\  k  e.  RR  /\  0  <  A )  ->  (
1  <  k  <->  A  <  ( k  x.  A ) ) )
3533, 34syl 14 . . . . . . . . . 10  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
( 1  <  k  <->  A  <  ( k  x.  A ) ) )
3613, 35mpbird 166 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
1  <  k )
37 df-2 8937 . . . . . . . . . . 11  |-  2  =  ( 1  +  1 )
3837breq1i 3996 . . . . . . . . . 10  |-  ( 2  <_  k  <->  ( 1  +  1 )  <_ 
k )
39 1zzd 9239 . . . . . . . . . . . . . 14  |-  ( k  e.  ZZ  ->  1  e.  ZZ )
40 zltp1le 9266 . . . . . . . . . . . . . 14  |-  ( ( 1  e.  ZZ  /\  k  e.  ZZ )  ->  ( 1  <  k  <->  ( 1  +  1 )  <_  k ) )
4139, 40mpancom 420 . . . . . . . . . . . . 13  |-  ( k  e.  ZZ  ->  (
1  <  k  <->  ( 1  +  1 )  <_ 
k ) )
4241bicomd 140 . . . . . . . . . . . 12  |-  ( k  e.  ZZ  ->  (
( 1  +  1 )  <_  k  <->  1  <  k ) )
4342adantl 275 . . . . . . . . . . 11  |-  ( (
ph  /\  k  e.  ZZ )  ->  ( ( 1  +  1 )  <_  k  <->  1  <  k ) )
4443adantr 274 . . . . . . . . . 10  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
( ( 1  +  1 )  <_  k  <->  1  <  k ) )
4538, 44syl5bb 191 . . . . . . . . 9  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
( 2  <_  k  <->  1  <  k ) )
4636, 45mpbird 166 . . . . . . . 8  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
2  <_  k )
47 eluz2 9493 . . . . . . . 8  |-  ( k  e.  ( ZZ>= `  2
)  <->  ( 2  e.  ZZ  /\  k  e.  ZZ  /\  2  <_ 
k ) )
486, 7, 46, 47syl3anbrc 1176 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
k  e.  ( ZZ>= ` 
2 ) )
495a1i 9 . . . . . . . . . . . . . . 15  |-  ( ( A  e.  ZZ  /\  1  <  A )  -> 
2  e.  ZZ )
50 simpl 108 . . . . . . . . . . . . . . 15  |-  ( ( A  e.  ZZ  /\  1  <  A )  ->  A  e.  ZZ )
51 1zzd 9239 . . . . . . . . . . . . . . . . . 18  |-  ( A  e.  ZZ  ->  1  e.  ZZ )
52 zltp1le 9266 . . . . . . . . . . . . . . . . . 18  |-  ( ( 1  e.  ZZ  /\  A  e.  ZZ )  ->  ( 1  <  A  <->  ( 1  +  1 )  <_  A ) )
5351, 52mpancom 420 . . . . . . . . . . . . . . . . 17  |-  ( A  e.  ZZ  ->  (
1  <  A  <->  ( 1  +  1 )  <_  A ) )
5453biimpa 294 . . . . . . . . . . . . . . . 16  |-  ( ( A  e.  ZZ  /\  1  <  A )  -> 
( 1  +  1 )  <_  A )
5537breq1i 3996 . . . . . . . . . . . . . . . 16  |-  ( 2  <_  A  <->  ( 1  +  1 )  <_  A )
5654, 55sylibr 133 . . . . . . . . . . . . . . 15  |-  ( ( A  e.  ZZ  /\  1  <  A )  -> 
2  <_  A )
5749, 50, 563jca 1172 . . . . . . . . . . . . . 14  |-  ( ( A  e.  ZZ  /\  1  <  A )  -> 
( 2  e.  ZZ  /\  A  e.  ZZ  /\  2  <_  A ) )
5857ex 114 . . . . . . . . . . . . 13  |-  ( A  e.  ZZ  ->  (
1  <  A  ->  ( 2  e.  ZZ  /\  A  e.  ZZ  /\  2  <_  A ) ) )
5958adantr 274 . . . . . . . . . . . 12  |-  ( ( A  e.  ZZ  /\  N  e.  ZZ )  ->  ( 1  <  A  ->  ( 2  e.  ZZ  /\  A  e.  ZZ  /\  2  <_  A ) ) )
601, 2, 593syl 17 . . . . . . . . . . 11  |-  ( ph  ->  ( 1  <  A  ->  ( 2  e.  ZZ  /\  A  e.  ZZ  /\  2  <_  A ) ) )
6114, 60mpd 13 . . . . . . . . . 10  |-  ( ph  ->  ( 2  e.  ZZ  /\  A  e.  ZZ  /\  2  <_  A ) )
62 eluz2 9493 . . . . . . . . . 10  |-  ( A  e.  ( ZZ>= `  2
)  <->  ( 2  e.  ZZ  /\  A  e.  ZZ  /\  2  <_  A ) )
6361, 62sylibr 133 . . . . . . . . 9  |-  ( ph  ->  A  e.  ( ZZ>= ` 
2 ) )
6463adantr 274 . . . . . . . 8  |-  ( (
ph  /\  k  e.  ZZ )  ->  A  e.  ( ZZ>= `  2 )
)
6564adantr 274 . . . . . . 7  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  ->  A  e.  ( ZZ>= ` 
2 ) )
66 nprm 12077 . . . . . . 7  |-  ( ( k  e.  ( ZZ>= ` 
2 )  /\  A  e.  ( ZZ>= `  2 )
)  ->  -.  (
k  x.  A )  e.  Prime )
6748, 65, 66syl2anc 409 . . . . . 6  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  ->  -.  ( k  x.  A
)  e.  Prime )
68 eleq1 2233 . . . . . . . 8  |-  ( ( k  x.  A )  =  N  ->  (
( k  x.  A
)  e.  Prime  <->  N  e.  Prime ) )
6968notbid 662 . . . . . . 7  |-  ( ( k  x.  A )  =  N  ->  ( -.  ( k  x.  A
)  e.  Prime  <->  -.  N  e.  Prime ) )
7069adantl 275 . . . . . 6  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  -> 
( -.  ( k  x.  A )  e. 
Prime 
<->  -.  N  e.  Prime ) )
7167, 70mpbid 146 . . . . 5  |-  ( ( ( ph  /\  k  e.  ZZ )  /\  (
k  x.  A )  =  N )  ->  -.  N  e.  Prime )
7271ex 114 . . . 4  |-  ( (
ph  /\  k  e.  ZZ )  ->  ( ( k  x.  A )  =  N  ->  -.  N  e.  Prime ) )
7372rexlimdva 2587 . . 3  |-  ( ph  ->  ( E. k  e.  ZZ  ( k  x.  A )  =  N  ->  -.  N  e.  Prime ) )
744, 73sylbid 149 . 2  |-  ( ph  ->  ( A  ||  N  ->  -.  N  e.  Prime ) )
751, 74mpd 13 1  |-  ( ph  ->  -.  N  e.  Prime )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    /\ w3a 973    = wceq 1348    e. wcel 2141   E.wrex 2449   class class class wbr 3989   ` cfv 5198  (class class class)co 5853   RRcr 7773   0cc0 7774   1c1 7775    + caddc 7777    x. cmul 7779    < clt 7954    <_ cle 7955   2c2 8929   ZZcz 9212   ZZ>=cuz 9487    || cdvds 11749   Primecprime 12061
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572  ax-cnex 7865  ax-resscn 7866  ax-1cn 7867  ax-1re 7868  ax-icn 7869  ax-addcl 7870  ax-addrcl 7871  ax-mulcl 7872  ax-mulrcl 7873  ax-addcom 7874  ax-mulcom 7875  ax-addass 7876  ax-mulass 7877  ax-distr 7878  ax-i2m1 7879  ax-0lt1 7880  ax-1rid 7881  ax-0id 7882  ax-rnegex 7883  ax-precex 7884  ax-cnre 7885  ax-pre-ltirr 7886  ax-pre-ltwlin 7887  ax-pre-lttrn 7888  ax-pre-apti 7889  ax-pre-ltadd 7890  ax-pre-mulgt0 7891  ax-pre-mulext 7892  ax-arch 7893  ax-caucvg 7894
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-nel 2436  df-ral 2453  df-rex 2454  df-reu 2455  df-rmo 2456  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3527  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-po 4281  df-iso 4282  df-iord 4351  df-on 4353  df-ilim 4354  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-riota 5809  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-recs 6284  df-frec 6370  df-1o 6395  df-2o 6396  df-er 6513  df-en 6719  df-pnf 7956  df-mnf 7957  df-xr 7958  df-ltxr 7959  df-le 7960  df-sub 8092  df-neg 8093  df-reap 8494  df-ap 8501  df-div 8590  df-inn 8879  df-2 8937  df-3 8938  df-4 8939  df-n0 9136  df-z 9213  df-uz 9488  df-q 9579  df-rp 9611  df-seqfrec 10402  df-exp 10476  df-cj 10806  df-re 10807  df-im 10808  df-rsqrt 10962  df-abs 10963  df-dvds 11750  df-prm 12062
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator