| Mathbox for Steven Nguyen |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > 235t711 | Structured version Visualization version GIF version | ||
| Description: Calculate a product by
long multiplication as a base comparison with other
multiplication algorithms.
Conveniently, 711 has two ones which greatly simplifies calculations like 235 · 1. There isn't a higher level mulcomli 11357 saving the lower level uses of mulcomli 11357 within 235 · 7 since mulcom2 doesn't exist, but if commuted versions of theorems like 7t2e14 12968 are added then this proof would benefit more than ex-decpmul 43629. For practicality, this proof doesn't have "e167085" at the end of its name like 2p2e4 12517 or 8t7e56 12979. (Contributed by Steven Nguyen, 10-Dec-2022.) (New usage is discouraged.) |
| Ref | Expression |
|---|---|
| 235t711 | ⊢ (;;235 · ;;711) = ;;;;;167085 |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 2nn0 12663 | . . . 4 ⊢ 2 ∈ ℕ0 | |
| 2 | 3nn0 12664 | . . . 4 ⊢ 3 ∈ ℕ0 | |
| 3 | 1, 2 | deccl 12869 | . . 3 ⊢ ;23 ∈ ℕ0 |
| 4 | 5nn0 12666 | . . 3 ⊢ 5 ∈ ℕ0 | |
| 5 | 3, 4 | deccl 12869 | . 2 ⊢ ;;235 ∈ ℕ0 |
| 6 | 7nn0 12668 | . . 3 ⊢ 7 ∈ ℕ0 | |
| 7 | 1nn0 12662 | . . 3 ⊢ 1 ∈ ℕ0 | |
| 8 | 6, 7 | deccl 12869 | . 2 ⊢ ;71 ∈ ℕ0 |
| 9 | eqid 2763 | . 2 ⊢ ;;711 = ;;711 | |
| 10 | eqid 2763 | . . 3 ⊢ ;71 = ;71 | |
| 11 | eqid 2763 | . . 3 ⊢ ;23 = ;23 | |
| 12 | 8nn0 12669 | . . 3 ⊢ 8 ∈ ℕ0 | |
| 13 | eqid 2763 | . . . 4 ⊢ ;;235 = ;;235 | |
| 14 | 3 | nn0cni 12658 | . . . . 5 ⊢ ;23 ∈ ℂ |
| 15 | 2cn 12458 | . . . . 5 ⊢ 2 ∈ ℂ | |
| 16 | 3p2e5 12533 | . . . . . 6 ⊢ (3 + 2) = 5 | |
| 17 | 1, 2, 1, 11, 16 | decaddi 12919 | . . . . 5 ⊢ (;23 + 2) = ;25 |
| 18 | 14, 15, 17 | addcomli 11541 | . . . 4 ⊢ (2 + ;23) = ;25 |
| 19 | 0nn0 12661 | . . . 4 ⊢ 0 ∈ ℕ0 | |
| 20 | 4nn0 12665 | . . . 4 ⊢ 4 ∈ ℕ0 | |
| 21 | 6nn0 12667 | . . . . . 6 ⊢ 6 ∈ ℕ0 | |
| 22 | 7, 21 | deccl 12869 | . . . . 5 ⊢ ;16 ∈ ℕ0 |
| 23 | 1, 20 | nn0addcli 12683 | . . . . 5 ⊢ (2 + 4) ∈ ℕ0 |
| 24 | 7cn 12477 | . . . . . . . 8 ⊢ 7 ∈ ℂ | |
| 25 | 7t2e14 12968 | . . . . . . . 8 ⊢ (7 · 2) = ;14 | |
| 26 | 24, 15, 25 | mulcomli 11357 | . . . . . . 7 ⊢ (2 · 7) = ;14 |
| 27 | 4p2e6 12535 | . . . . . . 7 ⊢ (4 + 2) = 6 | |
| 28 | 7, 20, 1, 26, 27 | decaddi 12919 | . . . . . 6 ⊢ ((2 · 7) + 2) = ;16 |
| 29 | 3cn 12464 | . . . . . . 7 ⊢ 3 ∈ ℂ | |
| 30 | 7t3e21 12969 | . . . . . . 7 ⊢ (7 · 3) = ;21 | |
| 31 | 24, 29, 30 | mulcomli 11357 | . . . . . 6 ⊢ (3 · 7) = ;21 |
| 32 | 6, 1, 2, 11, 7, 1, 28, 31 | decmul1c 12924 | . . . . 5 ⊢ (;23 · 7) = ;;161 |
| 33 | 4cn 12468 | . . . . . . 7 ⊢ 4 ∈ ℂ | |
| 34 | 15, 33 | addcli 11354 | . . . . . 6 ⊢ (2 + 4) ∈ ℂ |
| 35 | ax-1cn 11297 | . . . . . 6 ⊢ 1 ∈ ℂ | |
| 36 | 33, 15, 27 | addcomli 11541 | . . . . . . . 8 ⊢ (2 + 4) = 6 |
| 37 | 36 | oveq1i 7461 | . . . . . . 7 ⊢ ((2 + 4) + 1) = (6 + 1) |
| 38 | 6p1e7 12530 | . . . . . . 7 ⊢ (6 + 1) = 7 | |
| 39 | 37, 38 | eqtri 2786 | . . . . . 6 ⊢ ((2 + 4) + 1) = 7 |
| 40 | 34, 35, 39 | addcomli 11541 | . . . . 5 ⊢ (1 + (2 + 4)) = 7 |
| 41 | 22, 7, 23, 32, 40 | decaddi 12919 | . . . 4 ⊢ ((;23 · 7) + (2 + 4)) = ;;167 |
| 42 | 5cn 12471 | . . . . . 6 ⊢ 5 ∈ ℂ | |
| 43 | 7t5e35 12971 | . . . . . 6 ⊢ (7 · 5) = ;35 | |
| 44 | 24, 42, 43 | mulcomli 11357 | . . . . 5 ⊢ (5 · 7) = ;35 |
| 45 | 3p1e4 12527 | . . . . 5 ⊢ (3 + 1) = 4 | |
| 46 | 5p5e10 12930 | . . . . 5 ⊢ (5 + 5) = ;10 | |
| 47 | 2, 4, 4, 44, 45, 46 | decaddci2 12921 | . . . 4 ⊢ ((5 · 7) + 5) = ;40 |
| 48 | 3, 4, 1, 4, 13, 18, 6, 19, 20, 41, 47 | decmac 12911 | . . 3 ⊢ ((;;235 · 7) + (2 + ;23)) = ;;;1670 |
| 49 | 5 | nn0cni 12658 | . . . . 5 ⊢ ;;235 ∈ ℂ |
| 50 | 49 | mulridi 11352 | . . . 4 ⊢ (;;235 · 1) = ;;235 |
| 51 | 5p3e8 12539 | . . . 4 ⊢ (5 + 3) = 8 | |
| 52 | 3, 4, 2, 50, 51 | decaddi 12919 | . . 3 ⊢ ((;;235 · 1) + 3) = ;;238 |
| 53 | 6, 7, 1, 2, 10, 11, 5, 12, 3, 48, 52 | decma2c 12912 | . 2 ⊢ ((;;235 · ;71) + ;23) = ;;;;16708 |
| 54 | 5, 8, 7, 9, 4, 3, 53, 50 | decmul2c 12925 | 1 ⊢ (;;235 · ;;711) = ;;;;;167085 |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: = wceq 1570 (class class class)co 7451 0cc0 11239 1c1 11240 + caddc 11242 · cmul 11244 2c2 12437 3c3 12438 4c4 12439 5c5 12440 6c6 12441 7c7 12442 8c8 12443 ;cdc 12854 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1945 ax-6 2002 ax-7 2043 ax-8 2149 ax-9 2157 ax-10 2180 ax-11 2197 ax-12 2216 ax-ext 2735 ax-sep 5255 ax-nul 5266 ax-pow 5334 ax-pr 5398 ax-un 7783 ax-resscn 11296 ax-1cn 11297 ax-icn 11298 ax-addcl 11299 ax-addrcl 11300 ax-mulcl 11301 ax-mulrcl 11302 ax-mulcom 11303 ax-addass 11304 ax-mulass 11305 ax-distr 11306 ax-i2m1 11307 ax-1ne0 11308 ax-1rid 11309 ax-rnegex 11310 ax-rrecex 11311 ax-cnre 11312 ax-pre-lttri 11313 ax-pre-lttrn 11314 ax-pre-ltadd 11315 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2102 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2839 df-nfc 2913 df-ne 2960 df-nel 3066 df-ral 3081 df-rex 3091 df-reu 3370 df-rab 3417 df-v 3456 df-sbc 3743 df-csb 3852 df-ss 3901 df-pss 4017 df-dif 4050 df-in 4094 df-un 4154 df-nul 4282 df-if 4486 df-pw 4562 df-sn 4589 df-pr 4591 df-op 4841 df-uni 4873 df-iun 4958 df-br 5109 df-opab 5174 df-mpt 5193 df-tr 5219 df-id 5553 df-eprel 5558 df-po 5566 df-so 5567 df-fr 5611 df-we 5613 df-xp 5664 df-rel 5665 df-cnv 5666 df-co 5667 df-dm 5668 df-rn 5669 df-res 5670 df-ima 5671 df-pred 6330 df-ord 6391 df-on 6392 df-lim 6393 df-suc 6394 df-iota 6520 df-fun 6568 df-fn 6569 df-f 6570 df-f1 6571 df-fo 6572 df-f1o 6573 df-fv 6574 df-riota 7408 df-ov 7454 df-oprab 7455 df-mpo 7456 df-om 7912 df-2nd 8036 df-frecs 8337 df-wrecs 8368 df-recs 8417 df-rdg 8456 df-er 8755 df-en 9012 df-dom 9013 df-sdom 9014 df-pnf 11384 df-mnf 11385 df-ltxr 11387 df-sub 11582 df-nn 12376 df-2 12445 df-3 12446 df-4 12447 df-5 12448 df-6 12449 df-7 12450 df-8 12451 df-9 12452 df-n0 12647 df-dec 12855 |
| This theorem is used by: (None) |
| Copyright terms: Public domain | W3C validator |