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 11980 | . . . 4 ⊢ (𝑁 ∈ ℕ → 𝑁 ∈ ℝ) | |
2 | orc 864 | . . . 4 ⊢ (𝑁 ∈ ℕ → (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) | |
3 | nngt0 12004 | . . . 4 ⊢ (𝑁 ∈ ℕ → 0 < 𝑁) | |
4 | 1, 2, 3 | jca31 515 | . . 3 ⊢ (𝑁 ∈ ℕ → ((𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) ∧ 0 < 𝑁)) |
5 | idd 24 | . . . . . . 7 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → (𝑁 ∈ ℕ → 𝑁 ∈ ℕ)) | |
6 | lt0neg2 11482 | . . . . . . . . . . . 12 ⊢ (𝑁 ∈ ℝ → (0 < 𝑁 ↔ -𝑁 < 0)) | |
7 | renegcl 11284 | . . . . . . . . . . . . 13 ⊢ (𝑁 ∈ ℝ → -𝑁 ∈ ℝ) | |
8 | 0re 10977 | . . . . . . . . . . . . 13 ⊢ 0 ∈ ℝ | |
9 | ltnsym 11073 | . . . . . . . . . . . . 13 ⊢ ((-𝑁 ∈ ℝ ∧ 0 ∈ ℝ) → (-𝑁 < 0 → ¬ 0 < -𝑁)) | |
10 | 7, 8, 9 | sylancl 586 | . . . . . . . . . . . 12 ⊢ (𝑁 ∈ ℝ → (-𝑁 < 0 → ¬ 0 < -𝑁)) |
11 | 6, 10 | sylbid 239 | . . . . . . . . . . 11 ⊢ (𝑁 ∈ ℝ → (0 < 𝑁 → ¬ 0 < -𝑁)) |
12 | 11 | imp 407 | . . . . . . . . . 10 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ¬ 0 < -𝑁) |
13 | nngt0 12004 | . . . . . . . . . 10 ⊢ (-𝑁 ∈ ℕ → 0 < -𝑁) | |
14 | 12, 13 | nsyl 140 | . . . . . . . . 9 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ¬ -𝑁 ∈ ℕ) |
15 | gt0ne0 11440 | . . . . . . . . . 10 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → 𝑁 ≠ 0) | |
16 | 15 | neneqd 2948 | . . . . . . . . 9 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ¬ 𝑁 = 0) |
17 | ioran 981 | . . . . . . . . 9 ⊢ (¬ (-𝑁 ∈ ℕ ∨ 𝑁 = 0) ↔ (¬ -𝑁 ∈ ℕ ∧ ¬ 𝑁 = 0)) | |
18 | 14, 16, 17 | sylanbrc 583 | . . . . . . . 8 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ¬ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)) |
19 | 18 | pm2.21d 121 | . . . . . . 7 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ((-𝑁 ∈ ℕ ∨ 𝑁 = 0) → 𝑁 ∈ ℕ)) |
20 | 5, 19 | jaod 856 | . . . . . 6 ⊢ ((𝑁 ∈ ℝ ∧ 0 < 𝑁) → ((𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)) → 𝑁 ∈ ℕ)) |
21 | 20 | ex 413 | . . . . 5 ⊢ (𝑁 ∈ ℝ → (0 < 𝑁 → ((𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)) → 𝑁 ∈ ℕ))) |
22 | 21 | com23 86 | . . . 4 ⊢ (𝑁 ∈ ℝ → ((𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)) → (0 < 𝑁 → 𝑁 ∈ ℕ))) |
23 | 22 | imp31 418 | . . 3 ⊢ (((𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) ∧ 0 < 𝑁) → 𝑁 ∈ ℕ) |
24 | 4, 23 | impbii 208 | . 2 ⊢ (𝑁 ∈ ℕ ↔ ((𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) ∧ 0 < 𝑁)) |
25 | elz 12321 | . . . 4 ⊢ (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ))) | |
26 | 3orrot 1091 | . . . . . 6 ⊢ ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ↔ (𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ ∨ 𝑁 = 0)) | |
27 | 3orass 1089 | . . . . . 6 ⊢ ((𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ ∨ 𝑁 = 0) ↔ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) | |
28 | 26, 27 | bitri 274 | . . . . 5 ⊢ ((𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ) ↔ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0))) |
29 | 28 | anbi2i 623 | . . . 4 ⊢ ((𝑁 ∈ ℝ ∧ (𝑁 = 0 ∨ 𝑁 ∈ ℕ ∨ -𝑁 ∈ ℕ)) ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)))) |
30 | 25, 29 | bitri 274 | . . 3 ⊢ (𝑁 ∈ ℤ ↔ (𝑁 ∈ ℝ ∧ (𝑁 ∈ ℕ ∨ (-𝑁 ∈ ℕ ∨ 𝑁 = 0)))) |
31 | 30 | anbi1i 624 | . 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 396 ∨ wo 844 ∨ w3o 1085 = wceq 1539 ∈ wcel 2106 class class class wbr 5074 ℝcr 10870 0cc0 10871 < clt 11009 -cneg 11206 ℕcn 11973 ℤcz 12319 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-10 2137 ax-11 2154 ax-12 2171 ax-ext 2709 ax-sep 5223 ax-nul 5230 ax-pow 5288 ax-pr 5352 ax-un 7588 ax-resscn 10928 ax-1cn 10929 ax-icn 10930 ax-addcl 10931 ax-addrcl 10932 ax-mulcl 10933 ax-mulrcl 10934 ax-mulcom 10935 ax-addass 10936 ax-mulass 10937 ax-distr 10938 ax-i2m1 10939 ax-1ne0 10940 ax-1rid 10941 ax-rnegex 10942 ax-rrecex 10943 ax-cnre 10944 ax-pre-lttri 10945 ax-pre-lttrn 10946 ax-pre-ltadd 10947 ax-pre-mulgt0 10948 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3or 1087 df-3an 1088 df-tru 1542 df-fal 1552 df-ex 1783 df-nf 1787 df-sb 2068 df-mo 2540 df-eu 2569 df-clab 2716 df-cleq 2730 df-clel 2816 df-nfc 2889 df-ne 2944 df-nel 3050 df-ral 3069 df-rex 3070 df-reu 3072 df-rab 3073 df-v 3434 df-sbc 3717 df-csb 3833 df-dif 3890 df-un 3892 df-in 3894 df-ss 3904 df-pss 3906 df-nul 4257 df-if 4460 df-pw 4535 df-sn 4562 df-pr 4564 df-op 4568 df-uni 4840 df-iun 4926 df-br 5075 df-opab 5137 df-mpt 5158 df-tr 5192 df-id 5489 df-eprel 5495 df-po 5503 df-so 5504 df-fr 5544 df-we 5546 df-xp 5595 df-rel 5596 df-cnv 5597 df-co 5598 df-dm 5599 df-rn 5600 df-res 5601 df-ima 5602 df-pred 6202 df-ord 6269 df-on 6270 df-lim 6271 df-suc 6272 df-iota 6391 df-fun 6435 df-fn 6436 df-f 6437 df-f1 6438 df-fo 6439 df-f1o 6440 df-fv 6441 df-riota 7232 df-ov 7278 df-oprab 7279 df-mpo 7280 df-om 7713 df-2nd 7832 df-frecs 8097 df-wrecs 8128 df-recs 8202 df-rdg 8241 df-er 8498 df-en 8734 df-dom 8735 df-sdom 8736 df-pnf 11011 df-mnf 11012 df-xr 11013 df-ltxr 11014 df-le 11015 df-sub 11207 df-neg 11208 df-nn 11974 df-z 12320 |
This theorem is referenced by: elnn0z 12332 elnnz1 12346 znnsub 12366 nn0ge0div 12389 msqznn 12402 elpq 12715 lbfzo0 13427 elfzo0z 13429 fzofzim 13434 fzo1fzo0n0 13438 elfzodifsumelfzo 13453 elfznelfzo 13492 nnesq 13942 swrdlsw 14380 pfxccatin12lem3 14445 repswswrd 14497 cshwcsh2id 14541 swrd2lsw 14665 2swrd2eqwrdeq 14666 nnabscl 15037 iseralt 15396 sqrt2irrlem 15957 p1modz1 15970 nndivdvds 15972 oddge22np1 16058 evennn2n 16060 nno 16091 nnoddm1d2 16095 ndvdsadd 16119 bitsfzolem 16141 sqgcd 16270 qredeu 16363 prmind2 16390 qgt0numnn 16455 oddprm 16511 pythagtriplem6 16522 pythagtriplem11 16526 pythagtriplem13 16528 pythagtriplem19 16534 pc2dvds 16580 pcadd 16590 prmreclem3 16619 4sqlem11 16656 4sqlem12 16657 prmgaplem7 16758 cshwshashlem2 16798 subgmulg 18769 znidomb 20769 sgmnncl 26296 muinv 26342 mersenne 26375 bposlem6 26437 gausslemma2dlem1a 26513 lgseisenlem1 26523 lgsquadlem1 26528 lgsquadlem2 26529 2sqlem8 26574 2sqnn0 26586 dchrisum0flblem2 26657 clwlkclwwlklem2a2 28357 clwlkclwwlklem2a4 28361 clwlkclwwlklem2a 28362 eucrct2eupth1 28608 nn0prpwlem 34511 poimirlem7 35784 poimirlem29 35806 mblfinlem2 35815 lcmineqlem15 40051 lcmineqlem23 40059 aks4d1lem1 40070 aks4d1p1p2 40078 aks4d1p1 40084 aks4d1p2 40085 aks4d1p3 40086 aks4d1p5 40088 aks4d1p6 40089 aks4d1p7d1 40090 aks4d1p8 40095 2ap1caineq 40101 posqsqznn 40343 rtprmirr 40347 dffltz 40471 irrapxlem4 40647 rmspecnonsq 40729 rmynn 40778 jm2.24 40785 jm2.23 40818 jm2.20nn 40819 jm2.27a 40827 jm2.27c 40829 rmydioph 40836 jm3.1lem3 40841 sumnnodd 43171 dvnxpaek 43483 dirkertrigeqlem3 43641 fourierdlem47 43694 fouriersw 43772 etransclem15 43790 etransclem24 43799 etransclem25 43800 etransclem35 43810 etransclem48 43823 zm1nn 44794 iccpartigtl 44875 nnoALTV 45147 nneven 45150 ztprmneprm 45683 blennngt2o2 45938 |
Copyright terms: Public domain | W3C validator |