| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > numsuc | Structured version Visualization version GIF version | ||
| Description: The successor of a decimal integer (no carry). (Contributed by Mario Carneiro, 18-Feb-2014.) |
| Ref | Expression |
|---|---|
| numnncl.1 | ⊢ 𝑇 ∈ ℕ0 |
| numnncl.2 | ⊢ 𝐴 ∈ ℕ0 |
| numcl.2 | ⊢ 𝐵 ∈ ℕ0 |
| numsuc.4 | ⊢ (𝐵 + 1) = 𝐶 |
| numsuc.5 | ⊢ 𝑁 = ((𝑇 · 𝐴) + 𝐵) |
| Ref | Expression |
|---|---|
| numsuc | ⊢ (𝑁 + 1) = ((𝑇 · 𝐴) + 𝐶) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | numsuc.5 | . . 3 ⊢ 𝑁 = ((𝑇 · 𝐴) + 𝐵) | |
| 2 | 1 | oveq1i 7407 | . 2 ⊢ (𝑁 + 1) = (((𝑇 · 𝐴) + 𝐵) + 1) |
| 3 | numnncl.1 | . . . . 5 ⊢ 𝑇 ∈ ℕ0 | |
| 4 | numnncl.2 | . . . . 5 ⊢ 𝐴 ∈ ℕ0 | |
| 5 | 3, 4 | nn0mulcli 12520 | . . . 4 ⊢ (𝑇 · 𝐴) ∈ ℕ0 |
| 6 | 5 | nn0cni 12494 | . . 3 ⊢ (𝑇 · 𝐴) ∈ ℂ |
| 7 | numcl.2 | . . . 4 ⊢ 𝐵 ∈ ℕ0 | |
| 8 | 7 | nn0cni 12494 | . . 3 ⊢ 𝐵 ∈ ℂ |
| 9 | ax-1cn 11132 | . . 3 ⊢ 1 ∈ ℂ | |
| 10 | 6, 8, 9 | addassi 11193 | . 2 ⊢ (((𝑇 · 𝐴) + 𝐵) + 1) = ((𝑇 · 𝐴) + (𝐵 + 1)) |
| 11 | numsuc.4 | . . 3 ⊢ (𝐵 + 1) = 𝐶 | |
| 12 | 11 | oveq2i 7408 | . 2 ⊢ ((𝑇 · 𝐴) + (𝐵 + 1)) = ((𝑇 · 𝐴) + 𝐶) |
| 13 | 2, 10, 12 | 3eqtri 2790 | 1 ⊢ (𝑁 + 1) = ((𝑇 · 𝐴) + 𝐶) |
| Colors of variables: wff setvar class |
| Syntax hints: = wceq 1561 ∈ wcel 2143 (class class class)co 7397 1c1 11075 + caddc 11077 · cmul 11079 ℕ0cn0 12482 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1816 ax-4 1830 ax-5 1931 ax-6 1988 ax-7 2029 ax-8 2145 ax-9 2153 ax-10 2176 ax-11 2192 ax-12 2213 ax-ext 2735 ax-sep 5247 ax-nul 5257 ax-pow 5323 ax-pr 5391 ax-un 7719 ax-resscn 11131 ax-1cn 11132 ax-icn 11133 ax-addcl 11134 ax-addrcl 11135 ax-mulcl 11136 ax-mulrcl 11137 ax-mulcom 11138 ax-addass 11139 ax-mulass 11140 ax-distr 11141 ax-i2m1 11142 ax-1ne0 11143 ax-1rid 11144 ax-rnegex 11145 ax-rrecex 11146 ax-cnre 11147 ax-pre-lttri 11148 ax-pre-lttrn 11149 ax-pre-ltadd 11150 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3or 1100 df-3an 1101 df-tru 1564 df-fal 1574 df-ex 1801 df-nf 1805 df-sb 2092 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2838 df-nfc 2912 df-ne 2959 df-nel 3063 df-ral 3078 df-rex 3088 df-reu 3369 df-rab 3416 df-v 3457 df-sbc 3746 df-csb 3854 df-dif 3908 df-un 3910 df-in 3912 df-ss 3922 df-pss 3925 df-nul 4287 df-if 4482 df-pw 4558 df-sn 4584 df-pr 4586 df-op 4590 df-uni 4867 df-iun 4952 df-br 5102 df-opab 5164 df-mpt 5183 df-tr 5209 df-id 5543 df-eprel 5548 df-po 5556 df-so 5557 df-fr 5601 df-we 5603 df-xp 5654 df-rel 5655 df-cnv 5656 df-co 5657 df-dm 5658 df-rn 5659 df-res 5660 df-ima 5661 df-pred 6289 df-ord 6350 df-on 6351 df-lim 6352 df-suc 6353 df-iota 6478 df-fun 6524 df-fn 6525 df-f 6526 df-f1 6527 df-fo 6528 df-f1o 6529 df-fv 6530 df-ov 7400 df-om 7848 df-2nd 7972 df-frecs 8263 df-wrecs 8294 df-recs 8343 df-rdg 8382 df-er 8679 df-en 8929 df-dom 8930 df-sdom 8931 df-pnf 11219 df-mnf 11220 df-ltxr 11222 df-nn 12212 df-n0 12483 |
| This theorem is referenced by: decsuc 12725 numsucc 12734 decbin3 12838 |
| Copyright terms: Public domain | W3C validator |