Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  235t711 Structured version   Visualization version   GIF version

Theorem 235t711 42737
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 11154 saving the lower level uses of mulcomli 11154 within 235 · 7 since mulcom2 doesn't exist, but if commuted versions of theorems like 7t2e14 12753 are added then this proof would benefit more than ex-decpmul 42738.

For practicality, this proof doesn't have "e167085" at the end of its name like 2p2e4 12311 or 8t7e56 12764. (Contributed by Steven Nguyen, 10-Dec-2022.) (New usage is discouraged.)

Assertion
Ref Expression
235t711 (235 · 711) = 167085

Proof of Theorem 235t711
StepHypRef Expression
1 2nn0 12454 . . . 4 2 ∈ ℕ0
2 3nn0 12455 . . . 4 3 ∈ ℕ0
31, 2deccl 12659 . . 3 23 ∈ ℕ0
4 5nn0 12457 . . 3 5 ∈ ℕ0
53, 4deccl 12659 . 2 235 ∈ ℕ0
6 7nn0 12459 . . 3 7 ∈ ℕ0
7 1nn0 12453 . . 3 1 ∈ ℕ0
86, 7deccl 12659 . 2 71 ∈ ℕ0
9 eqid 2736 . 2 711 = 711
10 eqid 2736 . . 3 71 = 71
11 eqid 2736 . . 3 23 = 23
12 8nn0 12460 . . 3 8 ∈ ℕ0
13 eqid 2736 . . . 4 235 = 235
143nn0cni 12449 . . . . 5 23 ∈ ℂ
15 2cn 12256 . . . . 5 2 ∈ ℂ
16 3p2e5 12327 . . . . . 6 (3 + 2) = 5
171, 2, 1, 11, 16decaddi 12704 . . . . 5 (23 + 2) = 25
1814, 15, 17addcomli 11338 . . . 4 (2 + 23) = 25
19 0nn0 12452 . . . 4 0 ∈ ℕ0
20 4nn0 12456 . . . 4 4 ∈ ℕ0
21 6nn0 12458 . . . . . 6 6 ∈ ℕ0
227, 21deccl 12659 . . . . 5 16 ∈ ℕ0
231, 20nn0addcli 12474 . . . . 5 (2 + 4) ∈ ℕ0
24 7cn 12275 . . . . . . . 8 7 ∈ ℂ
25 7t2e14 12753 . . . . . . . 8 (7 · 2) = 14
2624, 15, 25mulcomli 11154 . . . . . . 7 (2 · 7) = 14
27 4p2e6 12329 . . . . . . 7 (4 + 2) = 6
287, 20, 1, 26, 27decaddi 12704 . . . . . 6 ((2 · 7) + 2) = 16
29 3cn 12262 . . . . . . 7 3 ∈ ℂ
30 7t3e21 12754 . . . . . . 7 (7 · 3) = 21
3124, 29, 30mulcomli 11154 . . . . . 6 (3 · 7) = 21
326, 1, 2, 11, 7, 1, 28, 31decmul1c 12709 . . . . 5 (23 · 7) = 161
33 4cn 12266 . . . . . . 7 4 ∈ ℂ
3415, 33addcli 11151 . . . . . 6 (2 + 4) ∈ ℂ
35 ax-1cn 11096 . . . . . 6 1 ∈ ℂ
3633, 15, 27addcomli 11338 . . . . . . . 8 (2 + 4) = 6
3736oveq1i 7377 . . . . . . 7 ((2 + 4) + 1) = (6 + 1)
38 6p1e7 12324 . . . . . . 7 (6 + 1) = 7
3937, 38eqtri 2759 . . . . . 6 ((2 + 4) + 1) = 7
4034, 35, 39addcomli 11338 . . . . 5 (1 + (2 + 4)) = 7
4122, 7, 23, 32, 40decaddi 12704 . . . 4 ((23 · 7) + (2 + 4)) = 167
42 5cn 12269 . . . . . 6 5 ∈ ℂ
43 7t5e35 12756 . . . . . 6 (7 · 5) = 35
4424, 42, 43mulcomli 11154 . . . . 5 (5 · 7) = 35
45 3p1e4 12321 . . . . 5 (3 + 1) = 4
46 5p5e10 12715 . . . . 5 (5 + 5) = 10
472, 4, 4, 44, 45, 46decaddci2 12706 . . . 4 ((5 · 7) + 5) = 40
483, 4, 1, 4, 13, 18, 6, 19, 20, 41, 47decmac 12696 . . 3 ((235 · 7) + (2 + 23)) = 1670
495nn0cni 12449 . . . . 5 235 ∈ ℂ
5049mulridi 11149 . . . 4 (235 · 1) = 235
51 5p3e8 12333 . . . 4 (5 + 3) = 8
523, 4, 2, 50, 51decaddi 12704 . . 3 ((235 · 1) + 3) = 238
536, 7, 1, 2, 10, 11, 5, 12, 3, 48, 52decma2c 12697 . 2 ((235 · 71) + 23) = 16708
545, 8, 7, 9, 4, 3, 53, 50decmul2c 12710 1 (235 · 711) = 167085
Colors of variables: wff setvar class
Syntax hints:   = wceq 1542  (class class class)co 7367  0cc0 11038  1c1 11039   + caddc 11041   · cmul 11043  2c2 12236  3c3 12237  4c4 12238  5c5 12239  6c6 12240  7c7 12241  8c8 12242  cdc 12644
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 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2708  ax-sep 5231  ax-nul 5241  ax-pow 5307  ax-pr 5375  ax-un 7689  ax-resscn 11095  ax-1cn 11096  ax-icn 11097  ax-addcl 11098  ax-addrcl 11099  ax-mulcl 11100  ax-mulrcl 11101  ax-mulcom 11102  ax-addass 11103  ax-mulass 11104  ax-distr 11105  ax-i2m1 11106  ax-1ne0 11107  ax-1rid 11108  ax-rnegex 11109  ax-rrecex 11110  ax-cnre 11111  ax-pre-lttri 11112  ax-pre-lttrn 11113  ax-pre-ltadd 11114
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2539  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2811  df-nfc 2885  df-ne 2933  df-nel 3037  df-ral 3052  df-rex 3062  df-reu 3343  df-rab 3390  df-v 3431  df-sbc 3729  df-csb 3838  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-pss 3909  df-nul 4274  df-if 4467  df-pw 4543  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4851  df-iun 4935  df-br 5086  df-opab 5148  df-mpt 5167  df-tr 5193  df-id 5526  df-eprel 5531  df-po 5539  df-so 5540  df-fr 5584  df-we 5586  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-pred 6265  df-ord 6326  df-on 6327  df-lim 6328  df-suc 6329  df-iota 6454  df-fun 6500  df-fn 6501  df-f 6502  df-f1 6503  df-fo 6504  df-f1o 6505  df-fv 6506  df-riota 7324  df-ov 7370  df-oprab 7371  df-mpo 7372  df-om 7818  df-2nd 7943  df-frecs 8231  df-wrecs 8262  df-recs 8311  df-rdg 8349  df-er 8643  df-en 8894  df-dom 8895  df-sdom 8896  df-pnf 11181  df-mnf 11182  df-ltxr 11184  df-sub 11379  df-nn 12175  df-2 12244  df-3 12245  df-4 12246  df-5 12247  df-6 12248  df-7 12249  df-8 12250  df-9 12251  df-n0 12438  df-dec 12645
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator