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

Theorem elznn0 10229
Description: Integer property expressed in terms of nonnegative integers. (Contributed by NM, 9-May-2004.)
Assertion
Ref Expression
elznn0  |-  ( N  e.  ZZ  <->  ( N  e.  RR  /\  ( N  e.  NN0  \/  -u N  e.  NN0 ) ) )

Proof of Theorem elznn0
StepHypRef Expression
1 elz 10217 . 2  |-  ( N  e.  ZZ  <->  ( N  e.  RR  /\  ( N  =  0  \/  N  e.  NN  \/  -u N  e.  NN ) ) )
2 elnn0 10156 . . . . . 6  |-  ( N  e.  NN0  <->  ( N  e.  NN  \/  N  =  0 ) )
32a1i 11 . . . . 5  |-  ( N  e.  RR  ->  ( N  e.  NN0  <->  ( N  e.  NN  \/  N  =  0 ) ) )
4 elnn0 10156 . . . . . 6  |-  ( -u N  e.  NN0  <->  ( -u N  e.  NN  \/  -u N  =  0 ) )
5 recn 9014 . . . . . . . . 9  |-  ( N  e.  RR  ->  N  e.  CC )
6 0cn 9018 . . . . . . . . 9  |-  0  e.  CC
7 negcon1 9286 . . . . . . . . 9  |-  ( ( N  e.  CC  /\  0  e.  CC )  ->  ( -u N  =  0  <->  -u 0  =  N ) )
85, 6, 7sylancl 644 . . . . . . . 8  |-  ( N  e.  RR  ->  ( -u N  =  0  <->  -u 0  =  N ) )
9 neg0 9280 . . . . . . . . . 10  |-  -u 0  =  0
109eqeq1i 2395 . . . . . . . . 9  |-  ( -u
0  =  N  <->  0  =  N )
11 eqcom 2390 . . . . . . . . 9  |-  ( 0  =  N  <->  N  = 
0 )
1210, 11bitri 241 . . . . . . . 8  |-  ( -u
0  =  N  <->  N  = 
0 )
138, 12syl6bb 253 . . . . . . 7  |-  ( N  e.  RR  ->  ( -u N  =  0  <->  N  =  0 ) )
1413orbi2d 683 . . . . . 6  |-  ( N  e.  RR  ->  (
( -u N  e.  NN  \/  -u N  =  0 )  <->  ( -u N  e.  NN  \/  N  =  0 ) ) )
154, 14syl5bb 249 . . . . 5  |-  ( N  e.  RR  ->  ( -u N  e.  NN0  <->  ( -u N  e.  NN  \/  N  =  0 ) ) )
163, 15orbi12d 691 . . . 4  |-  ( N  e.  RR  ->  (
( N  e.  NN0  \/  -u N  e.  NN0 ) 
<->  ( ( N  e.  NN  \/  N  =  0 )  \/  ( -u N  e.  NN  \/  N  =  0 ) ) ) )
17 3orass 939 . . . . 5  |-  ( ( N  =  0  \/  N  e.  NN  \/  -u N  e.  NN )  <-> 
( N  =  0  \/  ( N  e.  NN  \/  -u N  e.  NN ) ) )
18 orcom 377 . . . . 5  |-  ( ( N  =  0  \/  ( N  e.  NN  \/  -u N  e.  NN ) )  <->  ( ( N  e.  NN  \/  -u N  e.  NN )  \/  N  =  0 ) )
19 orordir 518 . . . . 5  |-  ( ( ( N  e.  NN  \/  -u N  e.  NN )  \/  N  = 
0 )  <->  ( ( N  e.  NN  \/  N  =  0 )  \/  ( -u N  e.  NN  \/  N  =  0 ) ) )
2017, 18, 193bitrri 264 . . . 4  |-  ( ( ( N  e.  NN  \/  N  =  0
)  \/  ( -u N  e.  NN  \/  N  =  0 ) )  <->  ( N  =  0  \/  N  e.  NN  \/  -u N  e.  NN ) )
2116, 20syl6rbb 254 . . 3  |-  ( N  e.  RR  ->  (
( N  =  0  \/  N  e.  NN  \/  -u N  e.  NN ) 
<->  ( N  e.  NN0  \/  -u N  e.  NN0 ) ) )
2221pm5.32i 619 . 2  |-  ( ( N  e.  RR  /\  ( N  =  0  \/  N  e.  NN  \/  -u N  e.  NN ) )  <->  ( N  e.  RR  /\  ( N  e.  NN0  \/  -u N  e.  NN0 ) ) )
231, 22bitri 241 1  |-  ( N  e.  ZZ  <->  ( N  e.  RR  /\  ( N  e.  NN0  \/  -u N  e.  NN0 ) ) )
Colors of variables: wff set class
Syntax hints:    <-> wb 177    \/ wo 358    /\ wa 359    \/ w3o 935    = wceq 1649    e. wcel 1717   CCcc 8922   RRcr 8923   0cc0 8924   -ucneg 9225   NNcn 9933   NN0cn0 10154   ZZcz 10215
This theorem is referenced by:  elz2  10231  zmulcl  10257  expnegz  11342  expaddzlem  11351  odd2np1  12836  mulgz  14839  mulgdirlem  14842  mulgdir  14843  mulgass  14848  mulgdi  15377  cxpmul2z  20450  gxneg  21703  gxadd  21712  gxmul  21715  rexzrexnn0  26556  pell1234qrdich  26616  pell14qrexpcl  26622  pell14qrdich  26624  rmxnn  26708  jm2.19lem4  26755
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2369  ax-sep 4272  ax-nul 4280  ax-pow 4319  ax-pr 4345  ax-un 4642  ax-resscn 8981  ax-1cn 8982  ax-icn 8983  ax-addcl 8984  ax-addrcl 8985  ax-mulcl 8986  ax-mulrcl 8987  ax-mulcom 8988  ax-addass 8989  ax-mulass 8990  ax-distr 8991  ax-i2m1 8992  ax-1ne0 8993  ax-1rid 8994  ax-rnegex 8995  ax-rrecex 8996  ax-cnre 8997  ax-pre-lttri 8998  ax-pre-lttrn 8999  ax-pre-ltadd 9000
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2243  df-mo 2244  df-clab 2375  df-cleq 2381  df-clel 2384  df-nfc 2513  df-ne 2553  df-nel 2554  df-ral 2655  df-rex 2656  df-reu 2657  df-rab 2659  df-v 2902  df-sbc 3106  df-csb 3196  df-dif 3267  df-un 3269  df-in 3271  df-ss 3278  df-nul 3573  df-if 3684  df-pw 3745  df-sn 3764  df-pr 3765  df-op 3767  df-uni 3959  df-br 4155  df-opab 4209  df-mpt 4210  df-id 4440  df-po 4445  df-so 4446  df-xp 4825  df-rel 4826  df-cnv 4827  df-co 4828  df-dm 4829  df-rn 4830  df-res 4831  df-ima 4832  df-iota 5359  df-fun 5397  df-fn 5398  df-f 5399  df-f1 5400  df-fo 5401  df-f1o 5402  df-fv 5403  df-ov 6024  df-oprab 6025  df-mpt2 6026  df-riota 6486  df-er 6842  df-en 7047  df-dom 7048  df-sdom 7049  df-pnf 9056  df-mnf 9057  df-ltxr 9059  df-sub 9226  df-neg 9227  df-n0 10155  df-z 10216
  Copyright terms: Public domain W3C validator