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

Theorem elz 11971
Description: Membership in the set of integers. (Contributed by NM, 8-Jan-2002.)
Assertion
Ref Expression
elz (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)))

Proof of Theorem elz
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 eqeq1 2822 . . 3 (𝑥 = 𝑁 → (𝑥 = 0 ↔ 𝑁 = 0))
2 eleq1 2897 . . 3 (𝑥 = 𝑁 → (𝑥 ∈ ℕ ↔ 𝑁 ∈ ℕ))
3 negeq 10866 . . . 4 (𝑥 = 𝑁 → -𝑥 = -𝑁)
43eleq1d 2894 . . 3 (𝑥 = 𝑁 → (-𝑥 ∈ ℕ ↔ -𝑁 ∈ ℕ))
51, 2, 43orbi123d 1426 . 2 (𝑥 = 𝑁 → ((𝑥 = 0 ∨ 𝑥 ∈ ℕ ∨ -𝑥 ∈ ℕ) ↔ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)))
6 df-z 11970 . 2 ℤ = {𝑥 ∈ ℝ ∣ (𝑥 = 0 ∨ 𝑥 ∈ ℕ ∨ -𝑥 ∈ ℕ)}
75, 6elrab2 3680 1 (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)))
Colors of variables: wff setvar class
Syntax hints:  wb 207  wa 396  w3o 1078   = wceq 1528  wcel 2105  cr 10524  0cc0 10525  -cneg 10859  cn 11626  cz 11969
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3or 1080  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-rex 3141  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-iota 6307  df-fv 6356  df-ov 7148  df-neg 10861  df-z 11970
This theorem is referenced by:  nnnegz  11972  zre  11973  elnnz  11979  0z  11980  elznn0nn  11983  elznn0  11984  elznn  11985  nnssz  11990  znegcl  12005  zeo  12056  addmodlteq  13302  zabsle1  25799  ostthlem1  26130  ostth3  26141  elzdif0  31120  qqhval2lem  31121
  Copyright terms: Public domain W3C validator