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

Theorem modirr 11288
Description: A number modulo an irrational multiple of it is nonzero. (Contributed by NM, 11-Nov-2008.)
Assertion
Ref Expression
modirr  |-  ( ( A  e.  RR  /\  B  e.  RR+  /\  ( A  /  B )  e.  ( RR  \  QQ ) )  ->  ( A  mod  B )  =/=  0 )

Proof of Theorem modirr
StepHypRef Expression
1 eldif 3332 . . 3  |-  ( ( A  /  B )  e.  ( RR  \  QQ )  <->  ( ( A  /  B )  e.  RR  /\  -.  ( A  /  B )  e.  QQ ) )
2 modval 11254 . . . . . . . 8  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( A  mod  B
)  =  ( A  -  ( B  x.  ( |_ `  ( A  /  B ) ) ) ) )
32eqeq1d 2446 . . . . . . 7  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( ( A  mod  B )  =  0  <->  ( A  -  ( B  x.  ( |_ `  ( A  /  B ) ) ) )  =  0 ) )
4 recn 9082 . . . . . . . . 9  |-  ( A  e.  RR  ->  A  e.  CC )
54adantr 453 . . . . . . . 8  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  ->  A  e.  CC )
6 rpre 10620 . . . . . . . . . . 11  |-  ( B  e.  RR+  ->  B  e.  RR )
76adantl 454 . . . . . . . . . 10  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  ->  B  e.  RR )
8 rerpdivcl 10641 . . . . . . . . . . 11  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( A  /  B
)  e.  RR )
9 reflcl 11207 . . . . . . . . . . 11  |-  ( ( A  /  B )  e.  RR  ->  ( |_ `  ( A  /  B ) )  e.  RR )
108, 9syl 16 . . . . . . . . . 10  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( |_ `  ( A  /  B ) )  e.  RR )
117, 10remulcld 9118 . . . . . . . . 9  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( B  x.  ( |_ `  ( A  /  B ) ) )  e.  RR )
1211recnd 9116 . . . . . . . 8  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( B  x.  ( |_ `  ( A  /  B ) ) )  e.  CC )
135, 12subeq0ad 9423 . . . . . . 7  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( ( A  -  ( B  x.  ( |_ `  ( A  /  B ) ) ) )  =  0  <->  A  =  ( B  x.  ( |_ `  ( A  /  B ) ) ) ) )
14 eqcom 2440 . . . . . . . 8  |-  ( ( A  /  B )  =  ( |_ `  ( A  /  B
) )  <->  ( |_ `  ( A  /  B
) )  =  ( A  /  B ) )
159recnd 9116 . . . . . . . . . 10  |-  ( ( A  /  B )  e.  RR  ->  ( |_ `  ( A  /  B ) )  e.  CC )
168, 15syl 16 . . . . . . . . 9  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( |_ `  ( A  /  B ) )  e.  CC )
17 rpcnne0 10631 . . . . . . . . . 10  |-  ( B  e.  RR+  ->  ( B  e.  CC  /\  B  =/=  0 ) )
1817adantl 454 . . . . . . . . 9  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( B  e.  CC  /\  B  =/=  0 ) )
19 divmul2 9684 . . . . . . . . 9  |-  ( ( A  e.  CC  /\  ( |_ `  ( A  /  B ) )  e.  CC  /\  ( B  e.  CC  /\  B  =/=  0 ) )  -> 
( ( A  /  B )  =  ( |_ `  ( A  /  B ) )  <-> 
A  =  ( B  x.  ( |_ `  ( A  /  B
) ) ) ) )
205, 16, 18, 19syl3anc 1185 . . . . . . . 8  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( ( A  /  B )  =  ( |_ `  ( A  /  B ) )  <-> 
A  =  ( B  x.  ( |_ `  ( A  /  B
) ) ) ) )
2114, 20syl5rbbr 253 . . . . . . 7  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( A  =  ( B  x.  ( |_
`  ( A  /  B ) ) )  <-> 
( |_ `  ( A  /  B ) )  =  ( A  /  B ) ) )
223, 13, 213bitrd 272 . . . . . 6  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( ( A  mod  B )  =  0  <->  ( |_ `  ( A  /  B ) )  =  ( A  /  B
) ) )
23 flidz 11220 . . . . . . . 8  |-  ( ( A  /  B )  e.  RR  ->  (
( |_ `  ( A  /  B ) )  =  ( A  /  B )  <->  ( A  /  B )  e.  ZZ ) )
24 zq 10582 . . . . . . . 8  |-  ( ( A  /  B )  e.  ZZ  ->  ( A  /  B )  e.  QQ )
2523, 24syl6bi 221 . . . . . . 7  |-  ( ( A  /  B )  e.  RR  ->  (
( |_ `  ( A  /  B ) )  =  ( A  /  B )  ->  ( A  /  B )  e.  QQ ) )
268, 25syl 16 . . . . . 6  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( ( |_ `  ( A  /  B
) )  =  ( A  /  B )  ->  ( A  /  B )  e.  QQ ) )
2722, 26sylbid 208 . . . . 5  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( ( A  mod  B )  =  0  -> 
( A  /  B
)  e.  QQ ) )
2827necon3bd 2640 . . . 4  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( -.  ( A  /  B )  e.  QQ  ->  ( A  mod  B )  =/=  0
) )
2928adantld 455 . . 3  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( ( ( A  /  B )  e.  RR  /\  -.  ( A  /  B )  e.  QQ )  ->  ( A  mod  B )  =/=  0 ) )
301, 29syl5bi 210 . 2  |-  ( ( A  e.  RR  /\  B  e.  RR+ )  -> 
( ( A  /  B )  e.  ( RR  \  QQ )  ->  ( A  mod  B )  =/=  0 ) )
31303impia 1151 1  |-  ( ( A  e.  RR  /\  B  e.  RR+  /\  ( A  /  B )  e.  ( RR  \  QQ ) )  ->  ( A  mod  B )  =/=  0 )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 178    /\ wa 360    /\ w3a 937    = wceq 1653    e. wcel 1726    =/= wne 2601    \ cdif 3319   ` cfv 5456  (class class class)co 6083   CCcc 8990   RRcr 8991   0cc0 8992    x. cmul 8997    - cmin 9293    / cdiv 9679   ZZcz 10284   QQcq 10576   RR+crp 10614   |_cfl 11203    mod cmo 11252
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-sep 4332  ax-nul 4340  ax-pow 4379  ax-pr 4405  ax-un 4703  ax-cnex 9048  ax-resscn 9049  ax-1cn 9050  ax-icn 9051  ax-addcl 9052  ax-addrcl 9053  ax-mulcl 9054  ax-mulrcl 9055  ax-mulcom 9056  ax-addass 9057  ax-mulass 9058  ax-distr 9059  ax-i2m1 9060  ax-1ne0 9061  ax-1rid 9062  ax-rnegex 9063  ax-rrecex 9064  ax-cnre 9065  ax-pre-lttri 9066  ax-pre-lttrn 9067  ax-pre-ltadd 9068  ax-pre-mulgt0 9069  ax-pre-sup 9070
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 938  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-nel 2604  df-ral 2712  df-rex 2713  df-reu 2714  df-rmo 2715  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-pss 3338  df-nul 3631  df-if 3742  df-pw 3803  df-sn 3822  df-pr 3823  df-tp 3824  df-op 3825  df-uni 4018  df-iun 4097  df-br 4215  df-opab 4269  df-mpt 4270  df-tr 4305  df-eprel 4496  df-id 4500  df-po 4505  df-so 4506  df-fr 4543  df-we 4545  df-ord 4586  df-on 4587  df-lim 4588  df-suc 4589  df-om 4848  df-xp 4886  df-rel 4887  df-cnv 4888  df-co 4889  df-dm 4890  df-rn 4891  df-res 4892  df-ima 4893  df-iota 5420  df-fun 5458  df-fn 5459  df-f 5460  df-f1 5461  df-fo 5462  df-f1o 5463  df-fv 5464  df-ov 6086  df-oprab 6087  df-mpt2 6088  df-1st 6351  df-2nd 6352  df-riota 6551  df-recs 6635  df-rdg 6670  df-er 6907  df-en 7112  df-dom 7113  df-sdom 7114  df-sup 7448  df-pnf 9124  df-mnf 9125  df-xr 9126  df-ltxr 9127  df-le 9128  df-sub 9295  df-neg 9296  df-div 9680  df-nn 10003  df-n0 10224  df-z 10285  df-uz 10491  df-q 10577  df-rp 10615  df-fl 11204  df-mod 11253
  Copyright terms: Public domain W3C validator