| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > nnnn0addcl | GIF version | ||
| Description: A positive integer plus a nonnegative integer is a positive integer. (Contributed by NM, 20-Apr-2005.) (Proof shortened by Mario Carneiro, 16-May-2014.) |
| Ref | Expression |
|---|---|
| nnnn0addcl | ⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ0) → (𝑀 + 𝑁) ∈ ℕ) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | elnn0 9279 | . 2 ⊢ (𝑁 ∈ ℕ0 ↔ (𝑁 ∈ ℕ ∨ 𝑁 = 0)) | |
| 2 | nnaddcl 9038 | . . 3 ⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ) → (𝑀 + 𝑁) ∈ ℕ) | |
| 3 | oveq2 5942 | . . . . 5 ⊢ (𝑁 = 0 → (𝑀 + 𝑁) = (𝑀 + 0)) | |
| 4 | nncn 9026 | . . . . . 6 ⊢ (𝑀 ∈ ℕ → 𝑀 ∈ ℂ) | |
| 5 | 4 | addridd 8203 | . . . . 5 ⊢ (𝑀 ∈ ℕ → (𝑀 + 0) = 𝑀) |
| 6 | 3, 5 | sylan9eqr 2259 | . . . 4 ⊢ ((𝑀 ∈ ℕ ∧ 𝑁 = 0) → (𝑀 + 𝑁) = 𝑀) |
| 7 | simpl 109 | . . . 4 ⊢ ((𝑀 ∈ ℕ ∧ 𝑁 = 0) → 𝑀 ∈ ℕ) | |
| 8 | 6, 7 | eqeltrd 2281 | . . 3 ⊢ ((𝑀 ∈ ℕ ∧ 𝑁 = 0) → (𝑀 + 𝑁) ∈ ℕ) |
| 9 | 2, 8 | jaodan 798 | . 2 ⊢ ((𝑀 ∈ ℕ ∧ (𝑁 ∈ ℕ ∨ 𝑁 = 0)) → (𝑀 + 𝑁) ∈ ℕ) |
| 10 | 1, 9 | sylan2b 287 | 1 ⊢ ((𝑀 ∈ ℕ ∧ 𝑁 ∈ ℕ0) → (𝑀 + 𝑁) ∈ ℕ) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 ∧ wa 104 ∨ wo 709 = wceq 1372 ∈ wcel 2175 (class class class)co 5934 0cc0 7907 + caddc 7910 ℕcn 9018 ℕ0cn0 9277 |
| 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-io 710 ax-5 1469 ax-7 1470 ax-gen 1471 ax-ie1 1515 ax-ie2 1516 ax-8 1526 ax-10 1527 ax-11 1528 ax-i12 1529 ax-bndl 1531 ax-4 1532 ax-17 1548 ax-i9 1552 ax-ial 1556 ax-i5r 1557 ax-ext 2186 ax-sep 4161 ax-cnex 7998 ax-resscn 7999 ax-1cn 8000 ax-1re 8001 ax-icn 8002 ax-addcl 8003 ax-addrcl 8004 ax-mulcl 8005 ax-addass 8009 ax-i2m1 8012 ax-0id 8015 |
| This theorem depends on definitions: df-bi 117 df-3an 982 df-tru 1375 df-nf 1483 df-sb 1785 df-clab 2191 df-cleq 2197 df-clel 2200 df-nfc 2336 df-ral 2488 df-rex 2489 df-rab 2492 df-v 2773 df-un 3169 df-in 3171 df-ss 3178 df-sn 3638 df-pr 3639 df-op 3641 df-uni 3850 df-int 3885 df-br 4044 df-iota 5229 df-fv 5276 df-ov 5937 df-inn 9019 df-n0 9278 |
| This theorem is referenced by: nn0nnaddcl 9308 elz2 9426 bcxmas 11719 dec2nprm 12657 |
| Copyright terms: Public domain | W3C validator |