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

Theorem elznn0 11990
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 11977 . 2 (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)))
2 elnn0 11893 . . . . . 6 (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℕ ∨ 𝑁 = 0))
32a1i 11 . . . . 5 (𝑁 ∈ ℝ → (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℕ ∨ 𝑁 = 0)))
4 elnn0 11893 . . . . . 6 (-𝑁 ∈ ℕ0 ↔ (-𝑁 ∈ ℕ ∨ -𝑁 = 0))
5 recn 10621 . . . . . . . . 9 (𝑁 ∈ ℝ → 𝑁 ∈ ℂ)
6 0cn 10627 . . . . . . . . 9 0 ∈ ℂ
7 negcon1 10932 . . . . . . . . 9 ((𝑁 ∈ ℂ ∧ 0 ∈ ℂ) → (-𝑁 = 0 ↔ -0 = 𝑁))
85, 6, 7sylancl 588 . . . . . . . 8 (𝑁 ∈ ℝ → (-𝑁 = 0 ↔ -0 = 𝑁))
9 neg0 10926 . . . . . . . . . 10 -0 = 0
109eqeq1i 2826 . . . . . . . . 9 (-0 = 𝑁 ↔ 0 = 𝑁)
11 eqcom 2828 . . . . . . . . 9 (0 = 𝑁𝑁 = 0)
1210, 11bitri 277 . . . . . . . 8 (-0 = 𝑁𝑁 = 0)
138, 12syl6bb 289 . . . . . . 7 (𝑁 ∈ ℝ → (-𝑁 = 0 ↔ 𝑁 = 0))
1413orbi2d 912 . . . . . 6 (𝑁 ∈ ℝ → ((-𝑁 ∈ ℕ ∨ -𝑁 = 0) ↔ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)))
154, 14syl5bb 285 . . . . 5 (𝑁 ∈ ℝ → (-𝑁 ∈ ℕ0 ↔ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)))
163, 15orbi12d 915 . . . 4 (𝑁 ∈ ℝ → ((𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0) ↔ ((𝑁 ∈ ℕ ∨ 𝑁 = 0) ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))))
17 3orass 1086 . . . . 5 ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ↔ (𝑁 = 0 ∨ (𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)))
18 orcom 866 . . . . 5 ((𝑁 = 0 ∨ (𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)) ↔ ((𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ∨ 𝑁 = 0))
19 orordir 926 . . . . 5 (((𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ∨ 𝑁 = 0) ↔ ((𝑁 ∈ ℕ ∨ 𝑁 = 0) ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)))
2017, 18, 193bitrri 300 . . . 4 (((𝑁 ∈ ℕ ∨ 𝑁 = 0) ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)) ↔ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))
2116, 20syl6rbb 290 . . 3 (𝑁 ∈ ℝ → ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ↔ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0)))
2221pm5.32i 577 . 2 ((𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)) ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0)))
231, 22bitri 277 1 (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0)))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398  wo 843  w3o 1082   = wceq 1533  wcel 2110  cc 10529  cr 10530  0cc0 10531  -cneg 10865  cn 11632  0cn0 11891  cz 11975
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455  ax-resscn 10588  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-addrcl 10592  ax-mulcl 10593  ax-mulrcl 10594  ax-mulcom 10595  ax-addass 10596  ax-mulass 10597  ax-distr 10598  ax-i2m1 10599  ax-1ne0 10600  ax-1rid 10601  ax-rnegex 10602  ax-rrecex 10603  ax-cnre 10604  ax-pre-lttri 10605  ax-pre-lttrn 10606  ax-pre-ltadd 10607
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3497  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5455  df-po 5469  df-so 5470  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-ima 5563  df-iota 6309  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-er 8283  df-en 8504  df-dom 8505  df-sdom 8506  df-pnf 10671  df-mnf 10672  df-ltxr 10674  df-sub 10866  df-neg 10867  df-n0 11892  df-z 11976
This theorem is referenced by:  elz2  11993  zmulcl  12025  expnegz  13457  expaddzlem  13466  odd2np1  15684  mulgz  18249  mulgdirlem  18252  mulgdir  18253  mulgass  18258  mulgdi  18941  cxpmul2z  25268  2sqnn0  26008  rexzrexnn0  39394  pell1234qrdich  39451  pell14qrexpcl  39457  pell14qrdich  39459  rmxnn  39541  jm2.19lem4  39582
  Copyright terms: Public domain W3C validator