Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > elnnz | Structured version Visualization version GIF version |
Description: Positive integer property expressed in terms of integers. (Contributed by NM, 8-Jan-2002.) |
Ref | Expression |
---|---|
elnnz | ⊢ (𝑁 ∈ ℕ ↔ (𝑁 ∈ ℤ ∧ 0 < 𝑁)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | nnre 11910 | . . . 4 ⊢ (𝑁 ∈ ℕ → 𝑁 ∈ ℝ) | |
2 | orc 863 | . . . 4 ⊢ (𝑁 ∈ ℕ → (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) | |
3 | nngt0 11934 | . . . 4 ⊢ (𝑁 ∈ ℕ → 0 < 𝑁) | |
4 | 1, 2, 3 | jca31 514 | . . 3 ⊢ (𝑁 ∈ ℕ → ((𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) ∧ 0 < 𝑁)) |
5 | idd 24 | . . . . . . 7 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → (𝑁 ∈ ℕ → 𝑁 ∈ ℕ)) | |
6 | lt0neg2 11412 | . . . . . . . . . . . 12 ⊢ (𝑁 ∈ ℝ → (0 < 𝑁 ↔ -𝑁 < 0)) | |
7 | renegcl 11214 | . . . . . . . . . . . . 13 ⊢ (𝑁 ∈ ℝ → -𝑁 ∈ ℝ) | |
8 | 0re 10908 | . . . . . . . . . . . . 13 ⊢ 0 ∈ ℝ | |
9 | ltnsym 11003 | . . . . . . . . . . . . 13 ⊢ ((-𝑁 ∈ ℝ ∧ 0 ∈ ℝ) → (-𝑁 < 0 → ¬ 0 < -𝑁)) | |
10 | 7, 8, 9 | sylancl 585 | . . . . . . . . . . . 12 ⊢ (𝑁 ∈ ℝ → (-𝑁 < 0 → ¬ 0 < -𝑁)) |
11 | 6, 10 | sylbid 239 | . . . . . . . . . . 11 ⊢ (𝑁 ∈ ℝ → (0 < 𝑁 → ¬ 0 < -𝑁)) |
12 | 11 | imp 406 | . . . . . . . . . 10 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ¬ 0 < -𝑁) |
13 | nngt0 11934 | . . . . . . . . . 10 ⊢ (-𝑁 ∈ ℕ → 0 < -𝑁) | |
14 | 12, 13 | nsyl 140 | . . . . . . . . 9 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ¬ -𝑁 ∈ ℕ) |
15 | gt0ne0 11370 | . . . . . . . . . 10 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → 𝑁 ≠ 0) | |
16 | 15 | neneqd 2947 | . . . . . . . . 9 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ¬ 𝑁 = 0) |
17 | ioran 980 | . . . . . . . . 9 ⊢ (¬ (-𝑁 ∈ ℕ ∨ 𝑁 = 0) ↔ (¬ -𝑁 ∈ ℕ ∧ ¬ 𝑁 = 0)) | |
18 | 14, 16, 17 | sylanbrc 582 | . . . . . . . 8 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ¬ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)) |
19 | 18 | pm2.21d 121 | . . . . . . 7 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ((-𝑁 ∈ ℕ ∨ 𝑁 = 0) → 𝑁 ∈ ℕ)) |
20 | 5, 19 | jaod 855 | . . . . . 6 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ((𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)) → 𝑁 ∈ ℕ)) |
21 | 20 | ex 412 | . . . . 5 ⊢ (𝑁 ∈ ℝ → (0 < 𝑁 → ((𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)) → 𝑁 ∈ ℕ))) |
22 | 21 | com23 86 | . . . 4 ⊢ (𝑁 ∈ ℝ → ((𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)) → (0 < 𝑁 → 𝑁 ∈ ℕ))) |
23 | 22 | imp31 417 | . . 3 ⊢ (((𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) ∧ 0 < 𝑁) → 𝑁 ∈ ℕ) |
24 | 4, 23 | impbii 208 | . 2 ⊢ (𝑁 ∈ ℕ ↔ ((𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) ∧ 0 < 𝑁)) |
25 | elz 12251 | . . . 4 ⊢ (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))) | |
26 | 3orrot 1090 | . . . . . 6 ⊢ ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ↔ (𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ ∨ 𝑁 = 0)) | |
27 | 3orass 1088 | . . . . . 6 ⊢ ((𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ ∨ 𝑁 = 0) ↔ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) | |
28 | 26, 27 | bitri 274 | . . . . 5 ⊢ ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ↔ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) |
29 | 28 | anbi2i 622 | . . . 4 ⊢ ((𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)) ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)))) |
30 | 25, 29 | bitri 274 | . . 3 ⊢ (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)))) |
31 | 30 | anbi1i 623 | . 2 ⊢ ((𝑁 ∈ ℤ ∧ 0 < 𝑁) ↔ ((𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) ∧ 0 < 𝑁)) |
32 | 24, 31 | bitr4i 277 | 1 ⊢ (𝑁 ∈ ℕ ↔ (𝑁 ∈ ℤ ∧ 0 < 𝑁)) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 ↔ wb 205 ∧ wa 395 ∨ wo 843 ∨ w3o 1084 = wceq 1539 ∈ wcel 2108 class class class wbr 5070 ℝcr 10801 0cc0 10802 < clt 10940 -cneg 11136 ℕcn 11903 ℤcz 12249 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1799 ax-4 1813 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2110 ax-9 2118 ax-10 2139 ax-11 2156 ax-12 2173 ax-ext 2709 ax-sep 5218 ax-nul 5225 ax-pow 5283 ax-pr 5347 ax-un 7566 ax-resscn 10859 ax-1cn 10860 ax-icn 10861 ax-addcl 10862 ax-addrcl 10863 ax-mulcl 10864 ax-mulrcl 10865 ax-mulcom 10866 ax-addass 10867 ax-mulass 10868 ax-distr 10869 ax-i2m1 10870 ax-1ne0 10871 ax-1rid 10872 ax-rnegex 10873 ax-rrecex 10874 ax-cnre 10875 ax-pre-lttri 10876 ax-pre-lttrn 10877 ax-pre-ltadd 10878 ax-pre-mulgt0 10879 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-3or 1086 df-3an 1087 df-tru 1542 df-fal 1552 df-ex 1784 df-nf 1788 df-sb 2069 df-mo 2540 df-eu 2569 df-clab 2716 df-cleq 2730 df-clel 2817 df-nfc 2888 df-ne 2943 df-nel 3049 df-ral 3068 df-rex 3069 df-reu 3070 df-rab 3072 df-v 3424 df-sbc 3712 df-csb 3829 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-pss 3902 df-nul 4254 df-if 4457 df-pw 4532 df-sn 4559 df-pr 4561 df-tp 4563 df-op 4565 df-uni 4837 df-iun 4923 df-br 5071 df-opab 5133 df-mpt 5154 df-tr 5188 df-id 5480 df-eprel 5486 df-po 5494 df-so 5495 df-fr 5535 df-we 5537 df-xp 5586 df-rel 5587 df-cnv 5588 df-co 5589 df-dm 5590 df-rn 5591 df-res 5592 df-ima 5593 df-pred 6191 df-ord 6254 df-on 6255 df-lim 6256 df-suc 6257 df-iota 6376 df-fun 6420 df-fn 6421 df-f 6422 df-f1 6423 df-fo 6424 df-f1o 6425 df-fv 6426 df-riota 7212 df-ov 7258 df-oprab 7259 df-mpo 7260 df-om 7688 df-2nd 7805 df-frecs 8068 df-wrecs 8099 df-recs 8173 df-rdg 8212 df-er 8456 df-en 8692 df-dom 8693 df-sdom 8694 df-pnf 10942 df-mnf 10943 df-xr 10944 df-ltxr 10945 df-le 10946 df-sub 11137 df-neg 11138 df-nn 11904 df-z 12250 |
This theorem is referenced by: elnn0z 12262 elnnz1 12276 znnsub 12296 nn0ge0div 12319 msqznn 12332 elpq 12644 lbfzo0 13355 elfzo0z 13357 fzofzim 13362 fzo1fzo0n0 13366 elfzodifsumelfzo 13381 elfznelfzo 13420 nnesq 13870 swrdlsw 14308 pfxccatin12lem3 14373 repswswrd 14425 cshwcsh2id 14469 swrd2lsw 14593 2swrd2eqwrdeq 14594 nnabscl 14965 iseralt 15324 sqrt2irrlem 15885 p1modz1 15898 nndivdvds 15900 oddge22np1 15986 evennn2n 15988 nno 16019 nnoddm1d2 16023 ndvdsadd 16047 bitsfzolem 16069 sqgcd 16198 qredeu 16291 prmind2 16318 qgt0numnn 16383 oddprm 16439 pythagtriplem6 16450 pythagtriplem11 16454 pythagtriplem13 16456 pythagtriplem19 16462 pc2dvds 16508 pcadd 16518 prmreclem3 16547 4sqlem11 16584 4sqlem12 16585 prmgaplem7 16686 cshwshashlem2 16726 subgmulg 18684 znidomb 20681 sgmnncl 26201 muinv 26247 mersenne 26280 bposlem6 26342 gausslemma2dlem1a 26418 lgseisenlem1 26428 lgsquadlem1 26433 lgsquadlem2 26434 2sqlem8 26479 2sqnn0 26491 dchrisum0flblem2 26562 clwlkclwwlklem2a2 28258 clwlkclwwlklem2a4 28262 clwlkclwwlklem2a 28263 eucrct2eupth1 28509 nn0prpwlem 34438 poimirlem7 35711 poimirlem29 35733 mblfinlem2 35742 lcmineqlem15 39979 lcmineqlem23 39987 aks4d1lem1 39998 aks4d1p1p2 40006 aks4d1p1 40012 aks4d1p2 40013 aks4d1p3 40014 aks4d1p5 40016 aks4d1p6 40017 aks4d1p7d1 40018 aks4d1p8 40023 2ap1caineq 40029 posqsqznn 40264 rtprmirr 40268 dffltz 40387 irrapxlem4 40563 rmspecnonsq 40645 rmynn 40694 jm2.24 40701 jm2.23 40734 jm2.20nn 40735 jm2.27a 40743 jm2.27c 40745 rmydioph 40752 jm3.1lem3 40757 sumnnodd 43061 dvnxpaek 43373 dirkertrigeqlem3 43531 fourierdlem47 43584 fouriersw 43662 etransclem15 43680 etransclem24 43689 etransclem25 43690 etransclem35 43700 etransclem48 43713 zm1nn 44682 iccpartigtl 44763 nnoALTV 45035 nneven 45038 ztprmneprm 45571 blennngt2o2 45826 |
Copyright terms: Public domain | W3C validator |