ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  elnn0z GIF version

Theorem elnn0z 9400
Description: Nonnegative integer property expressed in terms of integers. (Contributed by NM, 9-May-2004.)
Assertion
Ref Expression
elnn0z (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℤ ∧ 0 ≤ 𝑁))

Proof of Theorem elnn0z
StepHypRef Expression
1 nn0re 9319 . . . 4 (𝑁 ∈ ℕ0𝑁 ∈ ℝ)
2 elnn0 9312 . . . . . . 7 (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℕ ∨ 𝑁 = 0))
32biimpi 120 . . . . . 6 (𝑁 ∈ ℕ0 → (𝑁 ∈ ℕ ∨ 𝑁 = 0))
43orcomd 731 . . . . 5 (𝑁 ∈ ℕ0 → (𝑁 = 0 ∨ 𝑁 ∈ ℕ))
5 3mix1 1169 . . . . . 6 (𝑁 = 0 → (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))
6 3mix2 1170 . . . . . 6 (𝑁 ∈ ℕ → (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))
75, 6jaoi 718 . . . . 5 ((𝑁 = 0 ∨ 𝑁 ∈ ℕ) → (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))
84, 7syl 14 . . . 4 (𝑁 ∈ ℕ0 → (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))
9 elz 9389 . . . 4 (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)))
101, 8, 9sylanbrc 417 . . 3 (𝑁 ∈ ℕ0𝑁 ∈ ℤ)
11 nn0ge0 9335 . . 3 (𝑁 ∈ ℕ0 → 0 ≤ 𝑁)
1210, 11jca 306 . 2 (𝑁 ∈ ℕ0 → (𝑁 ∈ ℤ ∧ 0 ≤ 𝑁))
139simprbi 275 . . . 4 (𝑁 ∈ ℤ → (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))
1413adantr 276 . . 3 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))
15 0nn0 9325 . . . . . 6 0 ∈ ℕ0
16 eleq1 2269 . . . . . 6 (𝑁 = 0 → (𝑁 ∈ ℕ0 ↔ 0 ∈ ℕ0))
1715, 16mpbiri 168 . . . . 5 (𝑁 = 0 → 𝑁 ∈ ℕ0)
1817a1i 9 . . . 4 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → (𝑁 = 0 → 𝑁 ∈ ℕ0))
19 nnnn0 9317 . . . . 5 (𝑁 ∈ ℕ → 𝑁 ∈ ℕ0)
2019a1i 9 . . . 4 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → (𝑁 ∈ ℕ → 𝑁 ∈ ℕ0))
21 simpr 110 . . . . . . 7 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → 0 ≤ 𝑁)
22 0red 8088 . . . . . . . 8 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → 0 ∈ ℝ)
23 zre 9391 . . . . . . . . 9 (𝑁 ∈ ℤ → 𝑁 ∈ ℝ)
2423adantr 276 . . . . . . . 8 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → 𝑁 ∈ ℝ)
2522, 24lenltd 8205 . . . . . . 7 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → (0 ≤ 𝑁 ↔ ¬ 𝑁 < 0))
2621, 25mpbid 147 . . . . . 6 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → ¬ 𝑁 < 0)
27 nngt0 9076 . . . . . . 7 (-𝑁 ∈ ℕ → 0 < -𝑁)
2824lt0neg1d 8603 . . . . . . 7 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → (𝑁 < 0 ↔ 0 < -𝑁))
2927, 28imbitrrid 156 . . . . . 6 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → (-𝑁 ∈ ℕ → 𝑁 < 0))
3026, 29mtod 665 . . . . 5 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → ¬ -𝑁 ∈ ℕ)
3130pm2.21d 620 . . . 4 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → (-𝑁 ∈ ℕ → 𝑁 ∈ ℕ0))
3218, 20, 313jaod 1317 . . 3 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) → 𝑁 ∈ ℕ0))
3314, 32mpd 13 . 2 ((𝑁 ∈ ℤ ∧ 0 ≤ 𝑁) → 𝑁 ∈ ℕ0)
3412, 33impbii 126 1 (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℤ ∧ 0 ≤ 𝑁))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 710  w3o 980   = wceq 1373  wcel 2177   class class class wbr 4050  cr 7939  0cc0 7940   < clt 8122  cle 8123  -cneg 8259  cn 9051  0cn0 9310  cz 9387
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 711  ax-5 1471  ax-7 1472  ax-gen 1473  ax-ie1 1517  ax-ie2 1518  ax-8 1528  ax-10 1529  ax-11 1530  ax-i12 1531  ax-bndl 1533  ax-4 1534  ax-17 1550  ax-i9 1554  ax-ial 1558  ax-i5r 1559  ax-13 2179  ax-14 2180  ax-ext 2188  ax-sep 4169  ax-pow 4225  ax-pr 4260  ax-un 4487  ax-setind 4592  ax-cnex 8031  ax-resscn 8032  ax-1cn 8033  ax-1re 8034  ax-icn 8035  ax-addcl 8036  ax-addrcl 8037  ax-mulcl 8038  ax-addcom 8040  ax-addass 8042  ax-distr 8044  ax-i2m1 8045  ax-0lt1 8046  ax-0id 8048  ax-rnegex 8049  ax-cnre 8051  ax-pre-ltirr 8052  ax-pre-ltwlin 8053  ax-pre-lttrn 8054  ax-pre-ltadd 8056
This theorem depends on definitions:  df-bi 117  df-3or 982  df-3an 983  df-tru 1376  df-fal 1379  df-nf 1485  df-sb 1787  df-eu 2058  df-mo 2059  df-clab 2193  df-cleq 2199  df-clel 2202  df-nfc 2338  df-ne 2378  df-nel 2473  df-ral 2490  df-rex 2491  df-reu 2492  df-rab 2494  df-v 2775  df-sbc 3003  df-dif 3172  df-un 3174  df-in 3176  df-ss 3183  df-pw 3622  df-sn 3643  df-pr 3644  df-op 3646  df-uni 3856  df-int 3891  df-br 4051  df-opab 4113  df-id 4347  df-xp 4688  df-rel 4689  df-cnv 4690  df-co 4691  df-dm 4692  df-iota 5240  df-fun 5281  df-fv 5287  df-riota 5911  df-ov 5959  df-oprab 5960  df-mpo 5961  df-pnf 8124  df-mnf 8125  df-xr 8126  df-ltxr 8127  df-le 8128  df-sub 8260  df-neg 8261  df-inn 9052  df-n0 9311  df-z 9388
This theorem is referenced by:  nn0zrab  9412  znn0sub  9453  nn0ind  9502  fnn0ind  9504  fznn0  10250  elfz0ubfz0  10262  elfz0fzfz0  10263  fz0fzelfz0  10264  elfzmlbp  10269  difelfzle  10271  difelfznle  10272  elfzo0z  10325  fzofzim  10329  ubmelm1fzo  10372  flqge0nn0  10453  zmodcl  10506  modqmuladdnn0  10530  modsumfzodifsn  10558  uzennn  10598  zsqcl2  10779  iswrdiz  11018  swrdswrdlem  11175  swrdswrd  11176  nn0abscl  11466  nn0maxcl  11606  geolim2  11893  cvgratnnlemabsle  11908  oexpneg  12258  oddnn02np1  12261  evennn02n  12263  nn0ehalf  12284  nn0oddm1d2  12290  divalgb  12306  bitsinv1lem  12342  dfgcd2  12405  uzwodc  12428  algcvga  12443  hashgcdlem  12630  pockthlem  12749  4sqlem14  12797  ennnfoneleminc  12852  gausslemma2dlem0h  15603
  Copyright terms: Public domain W3C validator