Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > decmul2c | Structured version Visualization version GIF version |
Description: The product of a numeral with a number (with carry). (Contributed by Mario Carneiro, 18-Feb-2014.) (Revised by AV, 6-Sep-2021.) |
Ref | Expression |
---|---|
decmul1.p | ⊢ 𝑃 ∈ ℕ0 |
decmul1.a | ⊢ 𝐴 ∈ ℕ0 |
decmul1.b | ⊢ 𝐵 ∈ ℕ0 |
decmul1.n | ⊢ 𝑁 = ;𝐴𝐵 |
decmul1.0 | ⊢ 𝐷 ∈ ℕ0 |
decmul1c.e | ⊢ 𝐸 ∈ ℕ0 |
decmul2c.c | ⊢ ((𝑃 · 𝐴) + 𝐸) = 𝐶 |
decmul2c.2 | ⊢ (𝑃 · 𝐵) = ;𝐸𝐷 |
Ref | Expression |
---|---|
decmul2c | ⊢ (𝑃 · 𝑁) = ;𝐶𝐷 |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | 10nn0 12483 | . . 3 ⊢ ;10 ∈ ℕ0 | |
2 | decmul1.p | . . 3 ⊢ 𝑃 ∈ ℕ0 | |
3 | decmul1.a | . . 3 ⊢ 𝐴 ∈ ℕ0 | |
4 | decmul1.b | . . 3 ⊢ 𝐵 ∈ ℕ0 | |
5 | decmul1.n | . . . 4 ⊢ 𝑁 = ;𝐴𝐵 | |
6 | dfdec10 12468 | . . . 4 ⊢ ;𝐴𝐵 = ((;10 · 𝐴) + 𝐵) | |
7 | 5, 6 | eqtri 2761 | . . 3 ⊢ 𝑁 = ((;10 · 𝐴) + 𝐵) |
8 | decmul1.0 | . . 3 ⊢ 𝐷 ∈ ℕ0 | |
9 | decmul1c.e | . . 3 ⊢ 𝐸 ∈ ℕ0 | |
10 | decmul2c.c | . . 3 ⊢ ((𝑃 · 𝐴) + 𝐸) = 𝐶 | |
11 | decmul2c.2 | . . . 4 ⊢ (𝑃 · 𝐵) = ;𝐸𝐷 | |
12 | dfdec10 12468 | . . . 4 ⊢ ;𝐸𝐷 = ((;10 · 𝐸) + 𝐷) | |
13 | 11, 12 | eqtri 2761 | . . 3 ⊢ (𝑃 · 𝐵) = ((;10 · 𝐸) + 𝐷) |
14 | 1, 2, 3, 4, 7, 8, 9, 10, 13 | nummul2c 12515 | . 2 ⊢ (𝑃 · 𝑁) = ((;10 · 𝐶) + 𝐷) |
15 | dfdec10 12468 | . 2 ⊢ ;𝐶𝐷 = ((;10 · 𝐶) + 𝐷) | |
16 | 14, 15 | eqtr4i 2764 | 1 ⊢ (𝑃 · 𝑁) = ;𝐶𝐷 |
Colors of variables: wff setvar class |
Syntax hints: = wceq 1537 ∈ wcel 2101 (class class class)co 7295 0cc0 10899 1c1 10900 + caddc 10902 · cmul 10904 ℕ0cn0 12261 ;cdc 12465 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1793 ax-4 1807 ax-5 1909 ax-6 1967 ax-7 2007 ax-8 2103 ax-9 2111 ax-10 2132 ax-11 2149 ax-12 2166 ax-ext 2704 ax-sep 5226 ax-nul 5233 ax-pow 5291 ax-pr 5355 ax-un 7608 ax-resscn 10956 ax-1cn 10957 ax-icn 10958 ax-addcl 10959 ax-addrcl 10960 ax-mulcl 10961 ax-mulrcl 10962 ax-mulcom 10963 ax-addass 10964 ax-mulass 10965 ax-distr 10966 ax-i2m1 10967 ax-1ne0 10968 ax-1rid 10969 ax-rnegex 10970 ax-rrecex 10971 ax-cnre 10972 ax-pre-lttri 10973 ax-pre-lttrn 10974 ax-pre-ltadd 10975 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-3or 1086 df-3an 1087 df-tru 1540 df-fal 1550 df-ex 1778 df-nf 1782 df-sb 2063 df-mo 2535 df-eu 2564 df-clab 2711 df-cleq 2725 df-clel 2811 df-nfc 2884 df-ne 2939 df-nel 3045 df-ral 3060 df-rex 3069 df-reu 3223 df-rab 3224 df-v 3436 df-sbc 3719 df-csb 3835 df-dif 3892 df-un 3894 df-in 3896 df-ss 3906 df-pss 3908 df-nul 4260 df-if 4463 df-pw 4538 df-sn 4565 df-pr 4567 df-op 4571 df-uni 4842 df-iun 4929 df-br 5078 df-opab 5140 df-mpt 5161 df-tr 5195 df-id 5491 df-eprel 5497 df-po 5505 df-so 5506 df-fr 5546 df-we 5548 df-xp 5597 df-rel 5598 df-cnv 5599 df-co 5600 df-dm 5601 df-rn 5602 df-res 5603 df-ima 5604 df-pred 6206 df-ord 6273 df-on 6274 df-lim 6275 df-suc 6276 df-iota 6399 df-fun 6449 df-fn 6450 df-f 6451 df-f1 6452 df-fo 6453 df-f1o 6454 df-fv 6455 df-riota 7252 df-ov 7298 df-oprab 7299 df-mpo 7300 df-om 7733 df-2nd 7852 df-frecs 8117 df-wrecs 8148 df-recs 8222 df-rdg 8261 df-er 8518 df-en 8754 df-dom 8755 df-sdom 8756 df-pnf 11039 df-mnf 11040 df-ltxr 11042 df-sub 11235 df-nn 12002 df-2 12064 df-3 12065 df-4 12066 df-5 12067 df-6 12068 df-7 12069 df-8 12070 df-9 12071 df-n0 12262 df-dec 12466 |
This theorem is referenced by: decmulnc 12532 2exp8 16818 2exp16 16820 prmlem2 16849 37prm 16850 1259lem2 16861 1259lem3 16862 1259lem4 16863 1259prm 16865 2503lem1 16866 2503lem2 16867 2503prm 16869 4001lem1 16870 4001lem2 16871 4001lem3 16872 4001prm 16874 log2ublem3 26126 log2ub 26127 birthday 26132 dpmul 31215 420gcd8e4 40040 420lcm8e840 40045 3exp7 40087 3lexlogpow5ineq1 40088 3lexlogpow5ineq5 40094 aks4d1p1 40110 decpmulnc 40338 235t711 40342 ex-decpmul 40343 resqrtvalex 41277 imsqrtvalex 41278 257prm 45053 fmtno4prmfac 45064 fmtno4prmfac193 45065 fmtno4nprmfac193 45066 m11nprm 45093 2exp340mod341 45225 |
Copyright terms: Public domain | W3C validator |