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

Theorem elznn0 12585
Description: Integer property expressed in terms of nonnegative integers. (Contributed by NM, 9-May-2004.)
Assertion
Ref Expression
elznn0 (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0)))

Proof of Theorem elznn0
StepHypRef Expression
1 elz 12572 . 2 (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)))
2 elnn0 12485 . . . . . 6 (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℕ ∨ 𝑁 = 0))
32a1i 11 . . . . 5 (𝑁 ∈ ℝ → (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℕ ∨ 𝑁 = 0)))
4 elnn0 12485 . . . . . 6 (-𝑁 ∈ ℕ0 ↔ (-𝑁 ∈ ℕ ∨ -𝑁 = 0))
5 recn 11165 . . . . . . . . 9 (𝑁 ∈ ℝ → 𝑁 ∈ ℂ)
6 0cn 11173 . . . . . . . . 9 0 ∈ ℂ
7 negcon1 11485 . . . . . . . . 9 ((𝑁 ∈ ℂ ∧ 0 ∈ ℂ) → (-𝑁 = 0 ↔ -0 = 𝑁))
85, 6, 7sylancl 595 . . . . . . . 8 (𝑁 ∈ ℝ → (-𝑁 = 0 ↔ -0 = 𝑁))
9 neg0 11479 . . . . . . . . . 10 -0 = 0
109eqeq1i 2769 . . . . . . . . 9 (-0 = 𝑁 ↔ 0 = 𝑁)
11 eqcom 2771 . . . . . . . . 9 (0 = 𝑁𝑁 = 0)
1210, 11bitri 277 . . . . . . . 8 (-0 = 𝑁𝑁 = 0)
138, 12bitrdi 289 . . . . . . 7 (𝑁 ∈ ℝ → (-𝑁 = 0 ↔ 𝑁 = 0))
1413orbi2d 926 . . . . . 6 (𝑁 ∈ ℝ → ((-𝑁 ∈ ℕ ∨ -𝑁 = 0) ↔ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)))
154, 14bitrid 285 . . . . 5 (𝑁 ∈ ℝ → (-𝑁 ∈ ℕ0 ↔ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)))
163, 15orbi12d 929 . . . 4 (𝑁 ∈ ℝ → ((𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0) ↔ ((𝑁 ∈ ℕ ∨ 𝑁 = 0) ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))))
17 3orass 1102 . . . . 5 ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ↔ (𝑁 = 0 ∨ (𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)))
18 orcom 881 . . . . 5 ((𝑁 = 0 ∨ (𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)) ↔ ((𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ∨ 𝑁 = 0))
19 orordir 940 . . . . 5 (((𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ∨ 𝑁 = 0) ↔ ((𝑁 ∈ ℕ ∨ 𝑁 = 0) ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)))
2017, 18, 193bitrri 300 . . . 4 (((𝑁 ∈ ℕ ∨ 𝑁 = 0) ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)) ↔ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))
2116, 20bitr2di 290 . . 3 (𝑁 ∈ ℝ → ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ↔ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0)))
2221pm5.32i 582 . 2 ((𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)) ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0)))
231, 22bitri 277 1 (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0)))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 399  wo 858  w3o 1098   = wceq 1562  wcel 2144  cc 11073  cr 11074  0cc0 11075  -cneg 11417  cn 12212  0cn0 12483  cz 12570
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1817  ax-4 1831  ax-5 1932  ax-6 1989  ax-7 2030  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2214  ax-ext 2736  ax-sep 5248  ax-nul 5258  ax-pow 5324  ax-pr 5392  ax-un 7720  ax-resscn 11132  ax-1cn 11133  ax-icn 11134  ax-addcl 11135  ax-addrcl 11136  ax-mulcl 11137  ax-mulrcl 11138  ax-mulcom 11139  ax-addass 11140  ax-mulass 11141  ax-distr 11142  ax-i2m1 11143  ax-1ne0 11144  ax-1rid 11145  ax-rnegex 11146  ax-rrecex 11147  ax-cnre 11148  ax-pre-lttri 11149  ax-pre-lttrn 11150  ax-pre-ltadd 11151
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1100  df-3an 1101  df-tru 1565  df-fal 1575  df-ex 1802  df-nf 1806  df-sb 2093  df-mo 2568  df-eu 2598  df-clab 2743  df-cleq 2756  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3064  df-ral 3079  df-rex 3089  df-reu 3370  df-rab 3417  df-v 3458  df-sbc 3747  df-csb 3855  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4288  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5103  df-opab 5165  df-mpt 5184  df-id 5544  df-po 5557  df-so 5558  df-xp 5655  df-rel 5656  df-cnv 5657  df-co 5658  df-dm 5659  df-rn 5660  df-res 5661  df-ima 5662  df-iota 6479  df-fun 6525  df-fn 6526  df-f 6527  df-f1 6528  df-fo 6529  df-f1o 6530  df-fv 6531  df-riota 7355  df-ov 7401  df-oprab 7402  df-mpo 7403  df-er 8680  df-en 8930  df-dom 8931  df-sdom 8932  df-pnf 11220  df-mnf 11221  df-ltxr 11223  df-sub 11418  df-neg 11419  df-n0 12484  df-z 12571
This theorem is referenced by:  elz2  12588  zmulcl  12622  expnegz  14111  expaddzlem  14120  odd2np1  16377  mulgz  19146  mulgdirlem  19149  mulgdir  19150  mulgass  19155  mulgdi  19868  cxpmul2z  26758  2sqnn0  27504  zconstr  34063  zrhcntr  34278  rexzrexnn0  43386  pell1234qrdich  43443  pell14qrexpcl  43449  pell14qrdich  43451  rmxnn  43533  jm2.19lem4  43574
  Copyright terms: Public domain W3C validator