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

Theorem qreccl 9427
Description: Closure of reciprocal of rationals. (Contributed by NM, 3-Aug-2004.)
Assertion
Ref Expression
qreccl  |-  ( ( A  e.  QQ  /\  A  =/=  0 )  -> 
( 1  /  A
)  e.  QQ )

Proof of Theorem qreccl
Dummy variables  x  y  z  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ax-1cn 7706 . . . . . 6  |-  1  e.  CC
2 1ap0 8345 . . . . . 6  |-  1 #  0
31, 2div0api 8499 . . . . 5  |-  ( 0  /  1 )  =  0
4 0z 9058 . . . . . 6  |-  0  e.  ZZ
5 1nn 8724 . . . . . 6  |-  1  e.  NN
6 znq 9409 . . . . . 6  |-  ( ( 0  e.  ZZ  /\  1  e.  NN )  ->  ( 0  /  1
)  e.  QQ )
74, 5, 6mp2an 422 . . . . 5  |-  ( 0  /  1 )  e.  QQ
83, 7eqeltrri 2211 . . . 4  |-  0  e.  QQ
9 qapne 9424 . . . 4  |-  ( ( A  e.  QQ  /\  0  e.  QQ )  ->  ( A #  0  <->  A  =/=  0 ) )
108, 9mpan2 421 . . 3  |-  ( A  e.  QQ  ->  ( A #  0  <->  A  =/=  0
) )
1110biimpar 295 . 2  |-  ( ( A  e.  QQ  /\  A  =/=  0 )  ->  A #  0 )
12 elq 9407 . . . 4  |-  ( A  e.  QQ  <->  E. x  e.  ZZ  E. y  e.  NN  A  =  ( x  /  y ) )
13 nnne0 8741 . . . . . . . 8  |-  ( y  e.  NN  ->  y  =/=  0 )
1413ancli 321 . . . . . . 7  |-  ( y  e.  NN  ->  (
y  e.  NN  /\  y  =/=  0 ) )
15 nnz 9066 . . . . . . . . . . . . . . . 16  |-  ( y  e.  NN  ->  y  e.  ZZ )
16 zapne 9118 . . . . . . . . . . . . . . . 16  |-  ( ( y  e.  ZZ  /\  0  e.  ZZ )  ->  ( y #  0  <->  y  =/=  0 ) )
1715, 4, 16sylancl 409 . . . . . . . . . . . . . . 15  |-  ( y  e.  NN  ->  (
y #  0  <->  y  =/=  0 ) )
1817adantl 275 . . . . . . . . . . . . . 14  |-  ( ( x  e.  ZZ  /\  y  e.  NN )  ->  ( y #  0  <->  y  =/=  0 ) )
1918pm5.32i 449 . . . . . . . . . . . . 13  |-  ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y #  0 )  <-> 
( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 ) )
2019anbi1i 453 . . . . . . . . . . . 12  |-  ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y #  0 )  /\  A  =  ( x  / 
y ) )  <->  ( (
( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0
)  /\  A  =  ( x  /  y
) ) )
21 breq1 3927 . . . . . . . . . . . . 13  |-  ( A  =  ( x  / 
y )  ->  ( A #  0  <->  ( x  / 
y ) #  0 ) )
22 zcn 9052 . . . . . . . . . . . . . . . 16  |-  ( x  e.  ZZ  ->  x  e.  CC )
23 nncn 8721 . . . . . . . . . . . . . . . 16  |-  ( y  e.  NN  ->  y  e.  CC )
2422, 23anim12i 336 . . . . . . . . . . . . . . 15  |-  ( ( x  e.  ZZ  /\  y  e.  NN )  ->  ( x  e.  CC  /\  y  e.  CC ) )
25 divap0b 8436 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  CC  /\  y  e.  CC  /\  y #  0 )  ->  (
x #  0  <->  ( x  /  y ) #  0 ) )
26253expa 1181 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  CC  /\  y  e.  CC )  /\  y #  0 )  ->  ( x #  0  <-> 
( x  /  y
) #  0 ) )
2724, 26sylan 281 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y #  0 )  ->  ( x #  0  <-> 
( x  /  y
) #  0 ) )
2827bicomd 140 . . . . . . . . . . . . 13  |-  ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y #  0 )  ->  ( ( x  /  y ) #  0  <-> 
x #  0 ) )
2921, 28sylan9bbr 458 . . . . . . . . . . . 12  |-  ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y #  0 )  /\  A  =  ( x  / 
y ) )  -> 
( A #  0  <->  x #  0 ) )
3020, 29sylbir 134 . . . . . . . . . . 11  |-  ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  -> 
( A #  0  <->  x #  0 ) )
31 simplll 522 . . . . . . . . . . . 12  |-  ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  ->  x  e.  ZZ )
32 zapne 9118 . . . . . . . . . . . 12  |-  ( ( x  e.  ZZ  /\  0  e.  ZZ )  ->  ( x #  0  <->  x  =/=  0 ) )
3331, 4, 32sylancl 409 . . . . . . . . . . 11  |-  ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  -> 
( x #  0  <->  x  =/=  0 ) )
3430, 33bitrd 187 . . . . . . . . . 10  |-  ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  -> 
( A #  0  <->  x  =/=  0 ) )
35 zmulcl 9100 . . . . . . . . . . . . . . . . 17  |-  ( ( x  e.  ZZ  /\  y  e.  ZZ )  ->  ( x  x.  y
)  e.  ZZ )
3615, 35sylan2 284 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  ZZ  /\  y  e.  NN )  ->  ( x  x.  y
)  e.  ZZ )
3736adantr 274 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  x  =/=  0
)  ->  ( x  x.  y )  e.  ZZ )
38 msqznn 9144 . . . . . . . . . . . . . . . 16  |-  ( ( x  e.  ZZ  /\  x  =/=  0 )  -> 
( x  x.  x
)  e.  NN )
3938adantlr 468 . . . . . . . . . . . . . . 15  |-  ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  x  =/=  0
)  ->  ( x  x.  x )  e.  NN )
4037, 39jca 304 . . . . . . . . . . . . . 14  |-  ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  x  =/=  0
)  ->  ( (
x  x.  y )  e.  ZZ  /\  (
x  x.  x )  e.  NN ) )
4140adantlr 468 . . . . . . . . . . . . 13  |-  ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  x  =/=  0 )  ->  (
( x  x.  y
)  e.  ZZ  /\  ( x  x.  x
)  e.  NN ) )
4241adantlr 468 . . . . . . . . . . . 12  |-  ( ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  /\  x  =/=  0 )  -> 
( ( x  x.  y )  e.  ZZ  /\  ( x  x.  x
)  e.  NN ) )
4320anbi1i 453 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y #  0 )  /\  A  =  ( x  / 
y ) )  /\  x #  0 )  <->  ( (
( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  /\  x #  0 ) )
4433pm5.32i 449 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  /\  x #  0 )  <->  ( (
( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  /\  x  =/=  0 ) )
4543, 44bitri 183 . . . . . . . . . . . . 13  |-  ( ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y #  0 )  /\  A  =  ( x  / 
y ) )  /\  x #  0 )  <->  ( (
( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  /\  x  =/=  0 ) )
46 oveq2 5775 . . . . . . . . . . . . . . 15  |-  ( A  =  ( x  / 
y )  ->  (
1  /  A )  =  ( 1  / 
( x  /  y
) ) )
47 dividap 8454 . . . . . . . . . . . . . . . . . . . . 21  |-  ( ( x  e.  CC  /\  x #  0 )  ->  (
x  /  x )  =  1 )
4847adantr 274 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( x  e.  CC  /\  x #  0 )  /\  ( y  e.  CC  /\  y #  0 ) )  ->  ( x  /  x )  =  1 )
4948oveq1d 5782 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( x  e.  CC  /\  x #  0 )  /\  ( y  e.  CC  /\  y #  0 ) )  ->  ( ( x  /  x )  / 
( x  /  y
) )  =  ( 1  /  ( x  /  y ) ) )
50 simpll 518 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( x  e.  CC  /\  x #  0 )  /\  ( y  e.  CC  /\  y #  0 ) )  ->  x  e.  CC )
51 simpl 108 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( x  e.  CC  /\  x #  0 )  /\  ( y  e.  CC  /\  y #  0 ) )  ->  ( x  e.  CC  /\  x #  0 ) )
52 simpr 109 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( x  e.  CC  /\  x #  0 )  /\  ( y  e.  CC  /\  y #  0 ) )  ->  ( y  e.  CC  /\  y #  0 ) )
53 divdivdivap 8466 . . . . . . . . . . . . . . . . . . . 20  |-  ( ( ( x  e.  CC  /\  ( x  e.  CC  /\  x #  0 ) )  /\  ( ( x  e.  CC  /\  x #  0 )  /\  (
y  e.  CC  /\  y #  0 ) ) )  ->  ( ( x  /  x )  / 
( x  /  y
) )  =  ( ( x  x.  y
)  /  ( x  x.  x ) ) )
5450, 51, 51, 52, 53syl22anc 1217 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( x  e.  CC  /\  x #  0 )  /\  ( y  e.  CC  /\  y #  0 ) )  ->  ( ( x  /  x )  / 
( x  /  y
) )  =  ( ( x  x.  y
)  /  ( x  x.  x ) ) )
5549, 54eqtr3d 2172 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( x  e.  CC  /\  x #  0 )  /\  ( y  e.  CC  /\  y #  0 ) )  ->  ( 1  / 
( x  /  y
) )  =  ( ( x  x.  y
)  /  ( x  x.  x ) ) )
5655an4s 577 . . . . . . . . . . . . . . . . 17  |-  ( ( ( x  e.  CC  /\  y  e.  CC )  /\  ( x #  0  /\  y #  0 ) )  ->  ( 1  /  ( x  / 
y ) )  =  ( ( x  x.  y )  /  (
x  x.  x ) ) )
5724, 56sylan 281 . . . . . . . . . . . . . . . 16  |-  ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  ( x #  0  /\  y #  0 ) )  ->  ( 1  /  ( x  / 
y ) )  =  ( ( x  x.  y )  /  (
x  x.  x ) ) )
5857anass1rs 560 . . . . . . . . . . . . . . 15  |-  ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y #  0 )  /\  x #  0 )  ->  (
1  /  ( x  /  y ) )  =  ( ( x  x.  y )  / 
( x  x.  x
) ) )
5946, 58sylan9eqr 2192 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y #  0 )  /\  x #  0 )  /\  A  =  ( x  / 
y ) )  -> 
( 1  /  A
)  =  ( ( x  x.  y )  /  ( x  x.  x ) ) )
6059an32s 557 . . . . . . . . . . . . 13  |-  ( ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y #  0 )  /\  A  =  ( x  / 
y ) )  /\  x #  0 )  ->  (
1  /  A )  =  ( ( x  x.  y )  / 
( x  x.  x
) ) )
6145, 60sylbir 134 . . . . . . . . . . . 12  |-  ( ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  /\  x  =/=  0 )  -> 
( 1  /  A
)  =  ( ( x  x.  y )  /  ( x  x.  x ) ) )
6242, 61jca 304 . . . . . . . . . . 11  |-  ( ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  /\  x  =/=  0 )  -> 
( ( ( x  x.  y )  e.  ZZ  /\  ( x  x.  x )  e.  NN )  /\  (
1  /  A )  =  ( ( x  x.  y )  / 
( x  x.  x
) ) ) )
6362ex 114 . . . . . . . . . 10  |-  ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  -> 
( x  =/=  0  ->  ( ( ( x  x.  y )  e.  ZZ  /\  ( x  x.  x )  e.  NN )  /\  (
1  /  A )  =  ( ( x  x.  y )  / 
( x  x.  x
) ) ) ) )
6434, 63sylbid 149 . . . . . . . . 9  |-  ( ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0 )  /\  A  =  ( x  / 
y ) )  -> 
( A #  0  -> 
( ( ( x  x.  y )  e.  ZZ  /\  ( x  x.  x )  e.  NN )  /\  (
1  /  A )  =  ( ( x  x.  y )  / 
( x  x.  x
) ) ) ) )
6564ex 114 . . . . . . . 8  |-  ( ( ( x  e.  ZZ  /\  y  e.  NN )  /\  y  =/=  0
)  ->  ( A  =  ( x  / 
y )  ->  ( A #  0  ->  ( ( ( x  x.  y
)  e.  ZZ  /\  ( x  x.  x
)  e.  NN )  /\  ( 1  /  A )  =  ( ( x  x.  y
)  /  ( x  x.  x ) ) ) ) ) )
6665anasss 396 . . . . . . 7  |-  ( ( x  e.  ZZ  /\  ( y  e.  NN  /\  y  =/=  0 ) )  ->  ( A  =  ( x  / 
y )  ->  ( A #  0  ->  ( ( ( x  x.  y
)  e.  ZZ  /\  ( x  x.  x
)  e.  NN )  /\  ( 1  /  A )  =  ( ( x  x.  y
)  /  ( x  x.  x ) ) ) ) ) )
6714, 66sylan2 284 . . . . . 6  |-  ( ( x  e.  ZZ  /\  y  e.  NN )  ->  ( A  =  ( x  /  y )  ->  ( A #  0  ->  ( ( ( x  x.  y )  e.  ZZ  /\  (
x  x.  x )  e.  NN )  /\  ( 1  /  A
)  =  ( ( x  x.  y )  /  ( x  x.  x ) ) ) ) ) )
68 rspceov 5806 . . . . . . . 8  |-  ( ( ( x  x.  y
)  e.  ZZ  /\  ( x  x.  x
)  e.  NN  /\  ( 1  /  A
)  =  ( ( x  x.  y )  /  ( x  x.  x ) ) )  ->  E. z  e.  ZZ  E. w  e.  NN  (
1  /  A )  =  ( z  /  w ) )
69683expa 1181 . . . . . . 7  |-  ( ( ( ( x  x.  y )  e.  ZZ  /\  ( x  x.  x
)  e.  NN )  /\  ( 1  /  A )  =  ( ( x  x.  y
)  /  ( x  x.  x ) ) )  ->  E. z  e.  ZZ  E. w  e.  NN  ( 1  /  A )  =  ( z  /  w ) )
70 elq 9407 . . . . . . 7  |-  ( ( 1  /  A )  e.  QQ  <->  E. z  e.  ZZ  E. w  e.  NN  ( 1  /  A )  =  ( z  /  w ) )
7169, 70sylibr 133 . . . . . 6  |-  ( ( ( ( x  x.  y )  e.  ZZ  /\  ( x  x.  x
)  e.  NN )  /\  ( 1  /  A )  =  ( ( x  x.  y
)  /  ( x  x.  x ) ) )  ->  ( 1  /  A )  e.  QQ )
7267, 71syl8 71 . . . . 5  |-  ( ( x  e.  ZZ  /\  y  e.  NN )  ->  ( A  =  ( x  /  y )  ->  ( A #  0  ->  ( 1  /  A )  e.  QQ ) ) )
7372rexlimivv 2553 . . . 4  |-  ( E. x  e.  ZZ  E. y  e.  NN  A  =  ( x  / 
y )  ->  ( A #  0  ->  ( 1  /  A )  e.  QQ ) )
7412, 73sylbi 120 . . 3  |-  ( A  e.  QQ  ->  ( A #  0  ->  ( 1  /  A )  e.  QQ ) )
7574imp 123 . 2  |-  ( ( A  e.  QQ  /\  A #  0 )  ->  (
1  /  A )  e.  QQ )
7611, 75syldan 280 1  |-  ( ( A  e.  QQ  /\  A  =/=  0 )  -> 
( 1  /  A
)  e.  QQ )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1331    e. wcel 1480    =/= wne 2306   E.wrex 2415   class class class wbr 3924  (class class class)co 5767   CCcc 7611   0cc0 7613   1c1 7614    x. cmul 7618   # cap 8336    / cdiv 8425   NNcn 8713   ZZcz 9047   QQcq 9404
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-sep 4041  ax-pow 4093  ax-pr 4126  ax-un 4350  ax-setind 4447  ax-cnex 7704  ax-resscn 7705  ax-1cn 7706  ax-1re 7707  ax-icn 7708  ax-addcl 7709  ax-addrcl 7710  ax-mulcl 7711  ax-mulrcl 7712  ax-addcom 7713  ax-mulcom 7714  ax-addass 7715  ax-mulass 7716  ax-distr 7717  ax-i2m1 7718  ax-0lt1 7719  ax-1rid 7720  ax-0id 7721  ax-rnegex 7722  ax-precex 7723  ax-cnre 7724  ax-pre-ltirr 7725  ax-pre-ltwlin 7726  ax-pre-lttrn 7727  ax-pre-apti 7728  ax-pre-ltadd 7729  ax-pre-mulgt0 7730  ax-pre-mulext 7731
This theorem depends on definitions:  df-bi 116  df-3or 963  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ne 2307  df-nel 2402  df-ral 2419  df-rex 2420  df-reu 2421  df-rmo 2422  df-rab 2423  df-v 2683  df-sbc 2905  df-csb 2999  df-dif 3068  df-un 3070  df-in 3072  df-ss 3079  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-uni 3732  df-int 3767  df-iun 3810  df-br 3925  df-opab 3985  df-mpt 3986  df-id 4210  df-po 4213  df-iso 4214  df-xp 4540  df-rel 4541  df-cnv 4542  df-co 4543  df-dm 4544  df-rn 4545  df-res 4546  df-ima 4547  df-iota 5083  df-fun 5120  df-fn 5121  df-f 5122  df-fv 5126  df-riota 5723  df-ov 5770  df-oprab 5771  df-mpo 5772  df-1st 6031  df-2nd 6032  df-pnf 7795  df-mnf 7796  df-xr 7797  df-ltxr 7798  df-le 7799  df-sub 7928  df-neg 7929  df-reap 8330  df-ap 8337  df-div 8426  df-inn 8714  df-n0 8971  df-z 9048  df-q 9405
This theorem is referenced by:  qdivcl  9428  qexpclz  10307
  Copyright terms: Public domain W3C validator