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

Theorem elznn0 10288
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 10276 . 2  |-  ( N  e.  ZZ  <->  ( N  e.  RR  /\  ( N  =  0  \/  N  e.  NN  \/  -u N  e.  NN ) ) )
2 elnn0 10215 . . . . . 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 10215 . . . . . 6  |-  ( -u N  e.  NN0  <->  ( -u N  e.  NN  \/  -u N  =  0 ) )
5 recn 9072 . . . . . . . . 9  |-  ( N  e.  RR  ->  N  e.  CC )
6 0cn 9076 . . . . . . . . 9  |-  0  e.  CC
7 negcon1 9345 . . . . . . . . 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 9339 . . . . . . . . . 10  |-  -u 0  =  0
109eqeq1i 2442 . . . . . . . . 9  |-  ( -u
0  =  N  <->  0  =  N )
11 eqcom 2437 . . . . . . . . 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 1652    e. wcel 1725   CCcc 8980   RRcr 8981   0cc0 8982   -ucneg 9284   NNcn 9992   NN0cn0 10213   ZZcz 10274
This theorem is referenced by:  elz2  10290  zmulcl  10316  expnegz  11406  expaddzlem  11415  odd2np1  12900  mulgz  14903  mulgdirlem  14906  mulgdir  14907  mulgass  14912  mulgdi  15441  cxpmul2z  20574  gxneg  21846  gxadd  21855  gxmul  21858  rexzrexnn0  26855  pell1234qrdich  26915  pell14qrexpcl  26921  pell14qrdich  26923  rmxnn  27007  jm2.19lem4  27054
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693  ax-resscn 9039  ax-1cn 9040  ax-icn 9041  ax-addcl 9042  ax-addrcl 9043  ax-mulcl 9044  ax-mulrcl 9045  ax-mulcom 9046  ax-addass 9047  ax-mulass 9048  ax-distr 9049  ax-i2m1 9050  ax-1ne0 9051  ax-1rid 9052  ax-rnegex 9053  ax-rrecex 9054  ax-cnre 9055  ax-pre-lttri 9056  ax-pre-lttrn 9057  ax-pre-ltadd 9058
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-nel 2601  df-ral 2702  df-rex 2703  df-reu 2704  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-op 3815  df-uni 4008  df-br 4205  df-opab 4259  df-mpt 4260  df-id 4490  df-po 4495  df-so 4496  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-riota 6541  df-er 6897  df-en 7102  df-dom 7103  df-sdom 7104  df-pnf 9114  df-mnf 9115  df-ltxr 9117  df-sub 9285  df-neg 9286  df-n0 10214  df-z 10275
  Copyright terms: Public domain W3C validator