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

For practicality, this proof doesn't have "e167085" at the end of its name like 2p2e4 12537 or 8t7e56 12999. (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 12683 . . . 4 2 ∈ ℕ0
2 3nn0 12684 . . . 4 3 ∈ ℕ0
31, 2deccl 12889 . . 3 23 ∈ ℕ0
4 5nn0 12686 . . 3 5 ∈ ℕ0
53, 4deccl 12889 . 2 235 ∈ ℕ0
6 7nn0 12688 . . 3 7 ∈ ℕ0
7 1nn0 12682 . . 3 1 ∈ ℕ0
86, 7deccl 12889 . 2 71 ∈ ℕ0
9 eqid 2774 . 2 711 = 711
10 eqid 2774 . . 3 71 = 71
11 eqid 2774 . . 3 23 = 23
12 8nn0 12689 . . 3 8 ∈ ℕ0
13 eqid 2774 . . . 4 235 = 235
143nn0cni 12678 . . . . 5 23 ∈ ℂ
15 2cn 12478 . . . . 5 2 ∈ ℂ
16 3p2e5 12553 . . . . . 6 (3 + 2) = 5
171, 2, 1, 11, 16decaddi 12939 . . . . 5 (23 + 2) = 25
1814, 15, 17addcomli 11561 . . . 4 (2 + 23) = 25
19 0nn0 12681 . . . 4 0 ∈ ℕ0
20 4nn0 12685 . . . 4 4 ∈ ℕ0
21 6nn0 12687 . . . . . 6 6 ∈ ℕ0
227, 21deccl 12889 . . . . 5 16 ∈ ℕ0
231, 20nn0addcli 12703 . . . . 5 (2 + 4) ∈ ℕ0
24 7cn 12497 . . . . . . . 8 7 ∈ ℂ
25 7t2e14 12988 . . . . . . . 8 (7 · 2) = 14
2624, 15, 25mulcomli 11376 . . . . . . 7 (2 · 7) = 14
27 4p2e6 12555 . . . . . . 7 (4 + 2) = 6
287, 20, 1, 26, 27decaddi 12939 . . . . . 6 ((2 · 7) + 2) = 16
29 3cn 12484 . . . . . . 7 3 ∈ ℂ
30 7t3e21 12989 . . . . . . 7 (7 · 3) = 21
3124, 29, 30mulcomli 11376 . . . . . 6 (3 · 7) = 21
326, 1, 2, 11, 7, 1, 28, 31decmul1c 12944 . . . . 5 (23 · 7) = 161
33 4cn 12488 . . . . . . 7 4 ∈ ℂ
3415, 33addcli 11373 . . . . . 6 (2 + 4) ∈ ℂ
35 ax-1cn 11316 . . . . . 6 1 ∈ ℂ
3633, 15, 27addcomli 11561 . . . . . . . 8 (2 + 4) = 6
3736oveq1i 7480 . . . . . . 7 ((2 + 4) + 1) = (6 + 1)
38 6p1e7 12550 . . . . . . 7 (6 + 1) = 7
3937, 38eqtri 2797 . . . . . 6 ((2 + 4) + 1) = 7
4034, 35, 39addcomli 11561 . . . . 5 (1 + (2 + 4)) = 7
4122, 7, 23, 32, 40decaddi 12939 . . . 4 ((23 · 7) + (2 + 4)) = 167
42 5cn 12491 . . . . . 6 5 ∈ ℂ
43 7t5e35 12991 . . . . . 6 (7 · 5) = 35
4424, 42, 43mulcomli 11376 . . . . 5 (5 · 7) = 35
45 3p1e4 12547 . . . . 5 (3 + 1) = 4
46 5p5e10 12950 . . . . 5 (5 + 5) = 10
472, 4, 4, 44, 45, 46decaddci2 12941 . . . 4 ((5 · 7) + 5) = 40
483, 4, 1, 4, 13, 18, 6, 19, 20, 41, 47decmac 12931 . . 3 ((235 · 7) + (2 + 23)) = 1670
495nn0cni 12678 . . . . 5 235 ∈ ℂ
5049mulridi 11371 . . . 4 (235 · 1) = 235
51 5p3e8 12559 . . . 4 (5 + 3) = 8
523, 4, 2, 50, 51decaddi 12939 . . 3 ((235 · 1) + 3) = 238
536, 7, 1, 2, 10, 11, 5, 12, 3, 48, 52decma2c 12932 . 2 ((235 · 71) + 23) = 16708
545, 8, 7, 9, 4, 3, 53, 50decmul2c 12945 1 (235 · 711) = 167085
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572  (class class class)co 7470  0cc0 11258  1c1 11259   + caddc 11261   · cmul 11263  2c2 12457  3c3 12458  4c4 12459  5c5 12460  6c6 12461  7c7 12462  8c8 12463  cdc 12874
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-resscn 11315  ax-1cn 11316  ax-icn 11317  ax-addcl 11318  ax-addrcl 11319  ax-mulcl 11320  ax-mulrcl 11321  ax-mulcom 11322  ax-addass 11323  ax-mulass 11324  ax-distr 11325  ax-i2m1 11326  ax-1ne0 11327  ax-1rid 11328  ax-rnegex 11329  ax-rrecex 11330  ax-cnre 11331  ax-pre-lttri 11332  ax-pre-lttrn 11333  ax-pre-ltadd 11334
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-er 8774  df-en 9031  df-dom 9032  df-sdom 9033  df-pnf 11403  df-mnf 11404  df-ltxr 11406  df-sub 11602  df-nn 12396  df-2 12465  df-3 12466  df-4 12467  df-5 12468  df-6 12469  df-7 12470  df-8 12471  df-9 12472  df-n0 12667  df-dec 12875
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator