| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > decaddci | GIF version | ||
| Description: Add two numerals 𝑀 and 𝑁 (no carry). (Contributed by Mario Carneiro, 18-Feb-2014.) |
| Ref | Expression |
|---|---|
| decaddi.1 | ⊢ 𝐴 ∈ ℕ0 |
| decaddi.2 | ⊢ 𝐵 ∈ ℕ0 |
| decaddi.3 | ⊢ 𝑁 ∈ ℕ0 |
| decaddi.4 | ⊢ 𝑀 = ;𝐴𝐵 |
| decaddci.5 | ⊢ (𝐴 + 1) = 𝐷 |
| decaddci.6 | ⊢ 𝐶 ∈ ℕ0 |
| decaddci.7 | ⊢ (𝐵 + 𝑁) = ;1𝐶 |
| Ref | Expression |
|---|---|
| decaddci | ⊢ (𝑀 + 𝑁) = ;𝐷𝐶 |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | decaddi.1 | . 2 ⊢ 𝐴 ∈ ℕ0 | |
| 2 | decaddi.2 | . 2 ⊢ 𝐵 ∈ ℕ0 | |
| 3 | 0nn0 9516 | . 2 ⊢ 0 ∈ ℕ0 | |
| 4 | decaddi.3 | . 2 ⊢ 𝑁 ∈ ℕ0 | |
| 5 | decaddi.4 | . 2 ⊢ 𝑀 = ;𝐴𝐵 | |
| 6 | 4 | dec0h 9736 | . 2 ⊢ 𝑁 = ;0𝑁 |
| 7 | 1 | nn0cni 9513 | . . . . 5 ⊢ 𝐴 ∈ ℂ |
| 8 | 7 | addridi 8420 | . . . 4 ⊢ (𝐴 + 0) = 𝐴 |
| 9 | 8 | oveq1i 6062 | . . 3 ⊢ ((𝐴 + 0) + 1) = (𝐴 + 1) |
| 10 | decaddci.5 | . . 3 ⊢ (𝐴 + 1) = 𝐷 | |
| 11 | 9, 10 | eqtri 2255 | . 2 ⊢ ((𝐴 + 0) + 1) = 𝐷 |
| 12 | decaddci.6 | . 2 ⊢ 𝐶 ∈ ℕ0 | |
| 13 | decaddci.7 | . 2 ⊢ (𝐵 + 𝑁) = ;1𝐶 | |
| 14 | 1, 2, 3, 4, 5, 6, 11, 12, 13 | decaddc 9769 | 1 ⊢ (𝑀 + 𝑁) = ;𝐷𝐶 |
| Colors of variables: wff set class |
| Syntax hints: = wceq 1398 ∈ wcel 2205 (class class class)co 6052 0cc0 8132 1c1 8133 + caddc 8135 ℕ0cn0 9501 ;cdc 9715 |
| 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 619 ax-in2 620 ax-io 717 ax-5 1496 ax-7 1497 ax-gen 1498 ax-ie1 1542 ax-ie2 1543 ax-8 1553 ax-10 1554 ax-11 1555 ax-i12 1556 ax-bndl 1558 ax-4 1559 ax-17 1575 ax-i9 1579 ax-ial 1583 ax-i5r 1584 ax-14 2208 ax-ext 2216 ax-sep 4230 ax-pow 4289 ax-pr 4324 ax-setind 4661 ax-cnex 8223 ax-resscn 8224 ax-1cn 8225 ax-1re 8226 ax-icn 8227 ax-addcl 8228 ax-addrcl 8229 ax-mulcl 8230 ax-addcom 8232 ax-mulcom 8233 ax-addass 8234 ax-mulass 8235 ax-distr 8236 ax-i2m1 8237 ax-1rid 8239 ax-0id 8240 ax-rnegex 8241 ax-cnre 8243 |
| This theorem depends on definitions: df-bi 117 df-3an 1007 df-tru 1401 df-fal 1404 df-nf 1510 df-sb 1812 df-eu 2085 df-mo 2086 df-clab 2221 df-cleq 2227 df-clel 2230 df-nfc 2375 df-ne 2415 df-ral 2527 df-rex 2528 df-reu 2529 df-rab 2531 df-v 2817 df-sbc 3045 df-dif 3215 df-un 3217 df-in 3219 df-ss 3226 df-pw 3673 df-sn 3697 df-pr 3698 df-op 3700 df-uni 3917 df-int 3952 df-br 4112 df-opab 4174 df-id 4416 df-xp 4757 df-rel 4758 df-cnv 4759 df-co 4760 df-dm 4761 df-iota 5314 df-fun 5356 df-fv 5362 df-riota 6005 df-ov 6055 df-oprab 6056 df-mpo 6057 df-sub 8451 df-inn 9243 df-2 9301 df-3 9302 df-4 9303 df-5 9304 df-6 9305 df-7 9306 df-8 9307 df-9 9308 df-n0 9502 df-dec 9716 |
| This theorem is referenced by: decaddci2 9776 6t4e24 9820 7t3e21 9824 7t5e35 9826 7t6e42 9827 8t3e24 9830 8t4e32 9831 8t7e56 9834 8t8e64 9835 9t3e27 9837 9t4e36 9838 9t5e45 9839 9t6e54 9840 9t7e63 9841 9t8e72 9842 9t9e81 9843 2exp8 13141 2exp11 13142 ex-exp 16544 |
| Copyright terms: Public domain | W3C validator |