![]() |
Mathbox for Steven Nguyen |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > Mathboxes > decpmul | Structured version Visualization version GIF version |
Description: Partial products algorithm for two digit multiplication. (Contributed by Steven Nguyen, 10-Dec-2022.) |
Ref | Expression |
---|---|
decpmulnc.a | โข ๐ด โ โ0 |
decpmulnc.b | โข ๐ต โ โ0 |
decpmulnc.c | โข ๐ถ โ โ0 |
decpmulnc.d | โข ๐ท โ โ0 |
decpmulnc.1 | โข (๐ด ยท ๐ถ) = ๐ธ |
decpmulnc.2 | โข ((๐ด ยท ๐ท) + (๐ต ยท ๐ถ)) = ๐น |
decpmul.3 | โข (๐ต ยท ๐ท) = ;๐บ๐ป |
decpmul.4 | โข (;๐ธ๐บ + ๐น) = ๐ผ |
decpmul.g | โข ๐บ โ โ0 |
decpmul.h | โข ๐ป โ โ0 |
Ref | Expression |
---|---|
decpmul | โข (;๐ด๐ต ยท ;๐ถ๐ท) = ;๐ผ๐ป |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | decpmulnc.a | . . 3 โข ๐ด โ โ0 | |
2 | decpmulnc.b | . . 3 โข ๐ต โ โ0 | |
3 | decpmulnc.c | . . 3 โข ๐ถ โ โ0 | |
4 | decpmulnc.d | . . 3 โข ๐ท โ โ0 | |
5 | decpmulnc.1 | . . 3 โข (๐ด ยท ๐ถ) = ๐ธ | |
6 | decpmulnc.2 | . . 3 โข ((๐ด ยท ๐ท) + (๐ต ยท ๐ถ)) = ๐น | |
7 | decpmul.3 | . . 3 โข (๐ต ยท ๐ท) = ;๐บ๐ป | |
8 | 1, 2, 3, 4, 5, 6, 7 | decpmulnc 41201 | . 2 โข (;๐ด๐ต ยท ;๐ถ๐ท) = ;;๐ธ๐น;๐บ๐ป |
9 | dfdec10 12679 | . 2 โข ;;๐ธ๐น;๐บ๐ป = ((;10 ยท ;๐ธ๐น) + ;๐บ๐ป) | |
10 | 1, 3 | nn0mulcli 12509 | . . . . 5 โข (๐ด ยท ๐ถ) โ โ0 |
11 | 5, 10 | eqeltrri 2830 | . . . 4 โข ๐ธ โ โ0 |
12 | 2, 3 | nn0mulcli 12509 | . . . . . 6 โข (๐ต ยท ๐ถ) โ โ0 |
13 | 1, 4, 12 | numcl 12689 | . . . . 5 โข ((๐ด ยท ๐ท) + (๐ต ยท ๐ถ)) โ โ0 |
14 | 6, 13 | eqeltrri 2830 | . . . 4 โข ๐น โ โ0 |
15 | 11, 14 | deccl 12691 | . . 3 โข ;๐ธ๐น โ โ0 |
16 | 0nn0 12486 | . . 3 โข 0 โ โ0 | |
17 | decpmul.g | . . 3 โข ๐บ โ โ0 | |
18 | decpmul.h | . . 3 โข ๐ป โ โ0 | |
19 | 15 | dec0u 12697 | . . 3 โข (;10 ยท ;๐ธ๐น) = ;;๐ธ๐น0 |
20 | eqid 2732 | . . 3 โข ;๐บ๐ป = ;๐บ๐ป | |
21 | 11, 14, 17 | decaddcom 41198 | . . . 4 โข (;๐ธ๐น + ๐บ) = (;๐ธ๐บ + ๐น) |
22 | decpmul.4 | . . . 4 โข (;๐ธ๐บ + ๐น) = ๐ผ | |
23 | 21, 22 | eqtri 2760 | . . 3 โข (;๐ธ๐น + ๐บ) = ๐ผ |
24 | 18 | nn0cni 12483 | . . . 4 โข ๐ป โ โ |
25 | 24 | addlidi 11401 | . . 3 โข (0 + ๐ป) = ๐ป |
26 | 15, 16, 17, 18, 19, 20, 23, 25 | decadd 12730 | . 2 โข ((;10 ยท ;๐ธ๐น) + ;๐บ๐ป) = ;๐ผ๐ป |
27 | 8, 9, 26 | 3eqtri 2764 | 1 โข (;๐ด๐ต ยท ;๐ถ๐ท) = ;๐ผ๐ป |
Colors of variables: wff setvar class |
Syntax hints: = wceq 1541 โ wcel 2106 (class class class)co 7408 0cc0 11109 1c1 11110 + caddc 11112 ยท cmul 11114 โ0cn0 12471 ;cdc 12676 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 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 2703 ax-sep 5299 ax-nul 5306 ax-pow 5363 ax-pr 5427 ax-un 7724 ax-resscn 11166 ax-1cn 11167 ax-icn 11168 ax-addcl 11169 ax-addrcl 11170 ax-mulcl 11171 ax-mulrcl 11172 ax-mulcom 11173 ax-addass 11174 ax-mulass 11175 ax-distr 11176 ax-i2m1 11177 ax-1ne0 11178 ax-1rid 11179 ax-rnegex 11180 ax-rrecex 11181 ax-cnre 11182 ax-pre-lttri 11183 ax-pre-lttrn 11184 ax-pre-ltadd 11185 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 846 df-3or 1088 df-3an 1089 df-tru 1544 df-fal 1554 df-ex 1782 df-nf 1786 df-sb 2068 df-mo 2534 df-eu 2563 df-clab 2710 df-cleq 2724 df-clel 2810 df-nfc 2885 df-ne 2941 df-nel 3047 df-ral 3062 df-rex 3071 df-reu 3377 df-rab 3433 df-v 3476 df-sbc 3778 df-csb 3894 df-dif 3951 df-un 3953 df-in 3955 df-ss 3965 df-pss 3967 df-nul 4323 df-if 4529 df-pw 4604 df-sn 4629 df-pr 4631 df-op 4635 df-uni 4909 df-iun 4999 df-br 5149 df-opab 5211 df-mpt 5232 df-tr 5266 df-id 5574 df-eprel 5580 df-po 5588 df-so 5589 df-fr 5631 df-we 5633 df-xp 5682 df-rel 5683 df-cnv 5684 df-co 5685 df-dm 5686 df-rn 5687 df-res 5688 df-ima 5689 df-pred 6300 df-ord 6367 df-on 6368 df-lim 6369 df-suc 6370 df-iota 6495 df-fun 6545 df-fn 6546 df-f 6547 df-f1 6548 df-fo 6549 df-f1o 6550 df-fv 6551 df-riota 7364 df-ov 7411 df-oprab 7412 df-mpo 7413 df-om 7855 df-2nd 7975 df-frecs 8265 df-wrecs 8296 df-recs 8370 df-rdg 8409 df-er 8702 df-en 8939 df-dom 8940 df-sdom 8941 df-pnf 11249 df-mnf 11250 df-ltxr 11252 df-sub 11445 df-nn 12212 df-2 12274 df-3 12275 df-4 12276 df-5 12277 df-6 12278 df-7 12279 df-8 12280 df-9 12281 df-n0 12472 df-dec 12677 |
This theorem is referenced by: ex-decpmul 41206 |
Copyright terms: Public domain | W3C validator |