| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > elznn0 | Structured version Visualization version GIF version | ||
| Description: Integer property expressed in terms of nonnegative integers. (Contributed by NM, 9-May-2004.) |
| Ref | Expression |
|---|---|
| elznn0 | ⊢ (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | elz 12734 | . 2 ⊢ (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))) | |
| 2 | elnn0 12647 | . . . . . 6 ⊢ (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℕ ∨ 𝑁 = 0)) | |
| 3 | 2 | a1i 11 | . . . . 5 ⊢ (𝑁 ∈ ℝ → (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℕ ∨ 𝑁 = 0))) |
| 4 | elnn0 12647 | . . . . . 6 ⊢ ( -𝑁 ∈ ℕ0 ↔ ( -𝑁 ∈ ℕ ∨ -𝑁 = 0)) | |
| 5 | recn 11328 | . . . . . . . . 9 ⊢ (𝑁 ∈ ℝ → 𝑁 ∈ ℂ) | |
| 6 | 0cn 11336 | . . . . . . . . 9 ⊢ 0 ∈ ℂ | |
| 7 | negcon1 11648 | . . . . . . . . 9 ⊢ ((𝑁 ∈ ℂ ∧ 0 ∈ ℂ) → ( -𝑁 = 0 ↔ -0 = 𝑁)) | |
| 8 | 5, 6, 7 | sylancl 598 | . . . . . . . 8 ⊢ (𝑁 ∈ ℝ → ( -𝑁 = 0 ↔ -0 = 𝑁)) |
| 9 | neg0 11642 | . . . . . . . . . 10 ⊢ -0 = 0 | |
| 10 | 9 | eqeq1i 2771 | . . . . . . . . 9 ⊢ ( -0 = 𝑁 ↔ 0 = 𝑁) |
| 11 | eqcom 2773 | . . . . . . . . 9 ⊢ (0 = 𝑁 ↔ 𝑁 = 0) | |
| 12 | 10, 11 | bitri 278 | . . . . . . . 8 ⊢ ( -0 = 𝑁 ↔ 𝑁 = 0) |
| 13 | 8, 12 | bitrdi 290 | . . . . . . 7 ⊢ (𝑁 ∈ ℝ → ( -𝑁 = 0 ↔ 𝑁 = 0)) |
| 14 | 13 | orbi2d 929 | . . . . . 6 ⊢ (𝑁 ∈ ℝ → (( -𝑁 ∈ ℕ ∨ -𝑁 = 0) ↔ ( -𝑁 ∈ ℕ ∨ 𝑁 = 0))) |
| 15 | 4, 14 | bitrid 286 | . . . . 5 ⊢ (𝑁 ∈ ℝ → ( -𝑁 ∈ ℕ0 ↔ ( -𝑁 ∈ ℕ ∨ 𝑁 = 0))) |
| 16 | 3, 15 | orbi12d 932 | . . . 4 ⊢ (𝑁 ∈ ℝ → ((𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0) ↔ ((𝑁 ∈ ℕ ∨ 𝑁 = 0) ∨ ( -𝑁 ∈ ℕ ∨ 𝑁 = 0)))) |
| 17 | 3orass 1107 | . . . . 5 ⊢ ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ↔ (𝑁 = 0 ∨ (𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))) | |
| 18 | orcom 884 | . . . . 5 ⊢ ((𝑁 = 0 ∨ (𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)) ↔ ((𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ∨ 𝑁 = 0)) | |
| 19 | orordir 943 | . . . . 5 ⊢ (((𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ∨ 𝑁 = 0) ↔ ((𝑁 ∈ ℕ ∨ 𝑁 = 0) ∨ ( -𝑁 ∈ ℕ ∨ 𝑁 = 0))) | |
| 20 | 17, 18, 19 | 3bitrri 301 | . . . 4 ⊢ (((𝑁 ∈ ℕ ∨ 𝑁 = 0) ∨ ( -𝑁 ∈ ℕ ∨ 𝑁 = 0)) ↔ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)) |
| 21 | 16, 20 | bitr2di 291 | . . 3 ⊢ (𝑁 ∈ ℝ → ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ↔ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0))) |
| 22 | 21 | pm5.32i 585 | . 2 ⊢ ((𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)) ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0))) |
| 23 | 1, 22 | bitri 278 | 1 ⊢ (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ0 ∨ -𝑁 ∈ ℕ0))) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ↔ wb 209 ∧ wa 401 ∨ wo 861 ∨ w3o 1103 = wceq 1572 ∈ wcel 2150 ℂcc 11236 ℝcr 11237 0cc0 11238 -cneg 11580 ℕcn 12374 ℕ0cn0 12645 ℤcz 12732 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1830 ax-4 1844 ax-5 1947 ax-6 2004 ax-7 2045 ax-8 2152 ax-9 2160 ax-10 2183 ax-11 2200 ax-12 2219 ax-ext 2738 ax-sep 5254 ax-nul 5265 ax-pow 5333 ax-pr 5397 ax-un 7782 ax-resscn 11295 ax-1cn 11296 ax-icn 11297 ax-addcl 11298 ax-addrcl 11299 ax-mulcl 11300 ax-mulrcl 11301 ax-mulcom 11302 ax-addass 11303 ax-mulass 11304 ax-distr 11305 ax-i2m1 11306 ax-1ne0 11307 ax-1rid 11308 ax-rnegex 11309 ax-rrecex 11310 ax-cnre 11311 ax-pre-lttri 11312 ax-pre-lttrn 11313 ax-pre-ltadd 11314 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1105 df-3an 1106 df-tru 1575 df-fal 1585 df-ex 1815 df-nf 1819 df-sb 2104 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2842 df-nfc 2916 df-ne 2963 df-nel 3069 df-ral 3084 df-rex 3094 df-reu 3369 df-rab 3416 df-v 3455 df-sbc 3742 df-csb 3851 df-ss 3900 df-dif 4049 df-in 4093 df-un 4153 df-nul 4281 df-if 4485 df-pw 4561 df-sn 4588 df-pr 4590 df-op 4840 df-uni 4872 df-br 5108 df-opab 5173 df-mpt 5192 df-id 5552 df-po 5565 df-so 5566 df-xp 5663 df-rel 5664 df-cnv 5665 df-co 5666 df-dm 5667 df-rn 5668 df-res 5669 df-ima 5670 df-iota 6519 df-fun 6567 df-fn 6568 df-f 6569 df-f1 6570 df-fo 6571 df-f1o 6572 df-fv 6573 df-riota 7407 df-ov 7453 df-oprab 7454 df-mpo 7455 df-er 8754 df-en 9011 df-dom 9012 df-sdom 9013 df-pnf 11383 df-mnf 11384 df-ltxr 11386 df-sub 11581 df-neg 11582 df-n0 12646 df-z 12733 |
| This theorem is used by: elz2 12750 zmulcl 12784 expnegz 14278 expaddzlem 14287 odd2np1 16553 mulgz 19364 mulgdirlem 19367 mulgdir 19368 mulgass 19373 mulgdi 20093 cxpmul2z 27078 2sqnn0 27824 zconstr 34508 zrhcntr 34723 rexzrexnn0 44076 pell1234qrdich 44133 pell14qrexpcl 44139 pell14qrdich 44141 rmxnn 44223 jm2.19lem4 44264 zrpmulgcd 49908 |
| Copyright terms: Public domain | W3C validator |