MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  decmul1 Structured version   Visualization version   GIF version

Theorem decmul1 12658
Description: The product of a numeral with a number (no carry). (Contributed by AV, 22-Jul-2021.) (Revised by AV, 6-Sep-2021.) Remove hypothesis 𝐷 ∈ ℕ0. (Revised by Steven Nguyen, 7-Dec-2022.)
Hypotheses
Ref Expression
decmul1.p 𝑃 ∈ ℕ0
decmul1.a 𝐴 ∈ ℕ0
decmul1.b 𝐵 ∈ ℕ0
decmul1.n 𝑁 = 𝐴𝐵
decmul1.c (𝐴 · 𝑃) = 𝐶
decmul1.d (𝐵 · 𝑃) = 𝐷
Assertion
Ref Expression
decmul1 (𝑁 · 𝑃) = 𝐶𝐷

Proof of Theorem decmul1
StepHypRef Expression
1 decmul1.n . . . 4 𝑁 = 𝐴𝐵
2 decmul1.a . . . . 5 𝐴 ∈ ℕ0
3 decmul1.b . . . . 5 𝐵 ∈ ℕ0
42, 3deccl 12609 . . . 4 𝐴𝐵 ∈ ℕ0
51, 4eqeltri 2829 . . 3 𝑁 ∈ ℕ0
6 decmul1.p . . 3 𝑃 ∈ ℕ0
75, 6num0u 12605 . 2 (𝑁 · 𝑃) = ((𝑁 · 𝑃) + 0)
8 0nn0 12403 . . 3 0 ∈ ℕ0
9 decmul1.c . . 3 (𝐴 · 𝑃) = 𝐶
103, 6nn0mulcli 12426 . . . . . 6 (𝐵 · 𝑃) ∈ ℕ0
1110nn0cni 12400 . . . . 5 (𝐵 · 𝑃) ∈ ℂ
1211addridi 11307 . . . 4 ((𝐵 · 𝑃) + 0) = (𝐵 · 𝑃)
13 decmul1.d . . . 4 (𝐵 · 𝑃) = 𝐷
1412, 13eqtri 2756 . . 3 ((𝐵 · 𝑃) + 0) = 𝐷
152, 3, 8, 1, 6, 9, 14decrmanc 12651 . 2 ((𝑁 · 𝑃) + 0) = 𝐶𝐷
167, 15eqtri 2756 1 (𝑁 · 𝑃) = 𝐶𝐷
Colors of variables: wff setvar class
Syntax hints:   = wceq 1541  wcel 2113  (class class class)co 7352  0cc0 11013   + caddc 11016   · cmul 11018  0cn0 12388  cdc 12594
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2705  ax-sep 5236  ax-nul 5246  ax-pow 5305  ax-pr 5372  ax-un 7674  ax-resscn 11070  ax-1cn 11071  ax-icn 11072  ax-addcl 11073  ax-addrcl 11074  ax-mulcl 11075  ax-mulrcl 11076  ax-mulcom 11077  ax-addass 11078  ax-mulass 11079  ax-distr 11080  ax-i2m1 11081  ax-1ne0 11082  ax-1rid 11083  ax-rnegex 11084  ax-rrecex 11085  ax-cnre 11086  ax-pre-lttri 11087  ax-pre-lttrn 11088  ax-pre-ltadd 11089
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2566  df-clab 2712  df-cleq 2725  df-clel 2808  df-nfc 2882  df-ne 2930  df-nel 3034  df-ral 3049  df-rex 3058  df-reu 3348  df-rab 3397  df-v 3439  df-sbc 3738  df-csb 3847  df-dif 3901  df-un 3903  df-in 3905  df-ss 3915  df-pss 3918  df-nul 4283  df-if 4475  df-pw 4551  df-sn 4576  df-pr 4578  df-op 4582  df-uni 4859  df-iun 4943  df-br 5094  df-opab 5156  df-mpt 5175  df-tr 5201  df-id 5514  df-eprel 5519  df-po 5527  df-so 5528  df-fr 5572  df-we 5574  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-res 5631  df-ima 5632  df-pred 6253  df-ord 6314  df-on 6315  df-lim 6316  df-suc 6317  df-iota 6442  df-fun 6488  df-fn 6489  df-f 6490  df-f1 6491  df-fo 6492  df-f1o 6493  df-fv 6494  df-ov 7355  df-om 7803  df-2nd 7928  df-frecs 8217  df-wrecs 8248  df-recs 8297  df-rdg 8335  df-er 8628  df-en 8876  df-dom 8877  df-sdom 8878  df-pnf 11155  df-mnf 11156  df-ltxr 11158  df-nn 12133  df-2 12195  df-3 12196  df-4 12197  df-5 12198  df-6 12199  df-7 12200  df-8 12201  df-9 12202  df-n0 12389  df-dec 12595
This theorem is referenced by:  2exp7  17001  37prm  17034  1259lem3  17046  1259lem4  17047  2503lem1  17050  2503lem2  17051  4001lem1  17054  4001lem2  17055  4001lem3  17056  4001prm  17058  log2ublem3  26886  log2ub  26887  bpos1  27222  ex-prmo  30441  dpmul  32900  60gcd6e6  42117  decpmulnc  42405  sqdeccom12  42407  ex-decpmul  42424  fmtno5lem3  47679  fmtno4prmfac193  47697  fmtno4nprmfac193  47698  fmtno5faclem1  47703  fmtno5faclem2  47704
  Copyright terms: Public domain W3C validator