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

Theorem nnmulcl 12140
Description: Closure of multiplication of positive integers. (Contributed by NM, 12-Jan-1997.) Remove dependency on ax-mulcom 11061 and ax-mulass 11063. (Revised by Steven Nguyen, 24-Sep-2022.)
Assertion
Ref Expression
nnmulcl ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐴 · 𝐵) ∈ ℕ)

Proof of Theorem nnmulcl
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 7348 . . . . 5 (𝑥 = 1 → (𝐴 · 𝑥) = (𝐴 · 1))
21eleq1d 2813 . . . 4 (𝑥 = 1 → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · 1) ∈ ℕ))
32imbi2d 340 . . 3 (𝑥 = 1 → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · 1) ∈ ℕ)))
4 oveq2 7348 . . . . 5 (𝑥 = 𝑦 → (𝐴 · 𝑥) = (𝐴 · 𝑦))
54eleq1d 2813 . . . 4 (𝑥 = 𝑦 → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · 𝑦) ∈ ℕ))
65imbi2d 340 . . 3 (𝑥 = 𝑦 → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · 𝑦) ∈ ℕ)))
7 oveq2 7348 . . . . 5 (𝑥 = (𝑦 + 1) → (𝐴 · 𝑥) = (𝐴 · (𝑦 + 1)))
87eleq1d 2813 . . . 4 (𝑥 = (𝑦 + 1) → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · (𝑦 + 1)) ∈ ℕ))
98imbi2d 340 . . 3 (𝑥 = (𝑦 + 1) → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ)))
10 oveq2 7348 . . . . 5 (𝑥 = 𝐵 → (𝐴 · 𝑥) = (𝐴 · 𝐵))
1110eleq1d 2813 . . . 4 (𝑥 = 𝐵 → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · 𝐵) ∈ ℕ))
1211imbi2d 340 . . 3 (𝑥 = 𝐵 → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · 𝐵) ∈ ℕ)))
13 nnre 12123 . . . 4 (𝐴 ∈ ℕ → 𝐴 ∈ ℝ)
14 ax-1rid 11067 . . . . . 6 (𝐴 ∈ ℝ → (𝐴 · 1) = 𝐴)
1514eleq1d 2813 . . . . 5 (𝐴 ∈ ℝ → ((𝐴 · 1) ∈ ℕ ↔ 𝐴 ∈ ℕ))
1615biimprd 248 . . . 4 (𝐴 ∈ ℝ → (𝐴 ∈ ℕ → (𝐴 · 1) ∈ ℕ))
1713, 16mpcom 38 . . 3 (𝐴 ∈ ℕ → (𝐴 · 1) ∈ ℕ)
18 nnaddcl 12139 . . . . . . . 8 (((𝐴 · 𝑦) ∈ ℕ ∧ 𝐴 ∈ ℕ) → ((𝐴 · 𝑦) + 𝐴) ∈ ℕ)
1918ancoms 458 . . . . . . 7 ((𝐴 ∈ ℕ ∧ (𝐴 · 𝑦) ∈ ℕ) → ((𝐴 · 𝑦) + 𝐴) ∈ ℕ)
20 nncn 12124 . . . . . . . . . 10 (𝐴 ∈ ℕ → 𝐴 ∈ ℂ)
21 nncn 12124 . . . . . . . . . 10 (𝑦 ∈ ℕ → 𝑦 ∈ ℂ)
22 ax-1cn 11055 . . . . . . . . . . 11 1 ∈ ℂ
23 adddi 11086 . . . . . . . . . . 11 ((𝐴 ∈ ℂ ∧ 𝑦 ∈ ℂ ∧ 1 ∈ ℂ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + (𝐴 · 1)))
2422, 23mp3an3 1452 . . . . . . . . . 10 ((𝐴 ∈ ℂ ∧ 𝑦 ∈ ℂ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + (𝐴 · 1)))
2520, 21, 24syl2an 596 . . . . . . . . 9 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + (𝐴 · 1)))
2613, 14syl 17 . . . . . . . . . . 11 (𝐴 ∈ ℕ → (𝐴 · 1) = 𝐴)
2726adantr 480 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝐴 · 1) = 𝐴)
2827oveq2d 7356 . . . . . . . . 9 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → ((𝐴 · 𝑦) + (𝐴 · 1)) = ((𝐴 · 𝑦) + 𝐴))
2925, 28eqtrd 2764 . . . . . . . 8 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + 𝐴))
3029eleq1d 2813 . . . . . . 7 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → ((𝐴 · (𝑦 + 1)) ∈ ℕ ↔ ((𝐴 · 𝑦) + 𝐴) ∈ ℕ))
3119, 30imbitrrid 246 . . . . . 6 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → ((𝐴 ∈ ℕ ∧ (𝐴 · 𝑦) ∈ ℕ) → (𝐴 · (𝑦 + 1)) ∈ ℕ))
3231exp4b 430 . . . . 5 (𝐴 ∈ ℕ → (𝑦 ∈ ℕ → (𝐴 ∈ ℕ → ((𝐴 · 𝑦) ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ))))
3332pm2.43b 55 . . . 4 (𝑦 ∈ ℕ → (𝐴 ∈ ℕ → ((𝐴 · 𝑦) ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ)))
3433a2d 29 . . 3 (𝑦 ∈ ℕ → ((𝐴 ∈ ℕ → (𝐴 · 𝑦) ∈ ℕ) → (𝐴 ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ)))
353, 6, 9, 12, 17, 34nnind 12134 . 2 (𝐵 ∈ ℕ → (𝐴 ∈ ℕ → (𝐴 · 𝐵) ∈ ℕ))
3635impcom 407 1 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐴 · 𝐵) ∈ ℕ)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1540  wcel 2109  (class class class)co 7340  cc 10995  cr 10996  1c1 10998   + caddc 11000   · cmul 11002  cn 12116
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5231  ax-nul 5241  ax-pr 5367  ax-un 7662  ax-1cn 11055  ax-icn 11056  ax-addcl 11057  ax-addrcl 11058  ax-mulcl 11059  ax-mulrcl 11060  ax-addass 11062  ax-distr 11064  ax-i2m1 11065  ax-1ne0 11066  ax-1rid 11067  ax-rrecex 11069  ax-cnre 11070
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-reu 3344  df-rab 3393  df-v 3435  df-sbc 3739  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4281  df-if 4473  df-pw 4549  df-sn 4574  df-pr 4576  df-op 4580  df-uni 4857  df-iun 4940  df-br 5089  df-opab 5151  df-mpt 5170  df-tr 5196  df-id 5508  df-eprel 5513  df-po 5521  df-so 5522  df-fr 5566  df-we 5568  df-xp 5619  df-rel 5620  df-cnv 5621  df-co 5622  df-dm 5623  df-rn 5624  df-res 5625  df-ima 5626  df-pred 6243  df-ord 6304  df-on 6305  df-lim 6306  df-suc 6307  df-iota 6432  df-fun 6478  df-fn 6479  df-f 6480  df-f1 6481  df-fo 6482  df-f1o 6483  df-fv 6484  df-ov 7343  df-om 7791  df-2nd 7916  df-frecs 8205  df-wrecs 8236  df-recs 8285  df-rdg 8323  df-nn 12117
This theorem is referenced by:  nnmulcli  12141  nnmtmip  12142  nndivtr  12163  nnmulcld  12169  nn0mulcl  12408  qaddcl  12854  qmulcl  12856  modmulnn  13781  nnexpcl  13969  nnsqcl  14023  expmulnbnd  14130  faccl  14178  facdiv  14182  faclbnd3  14187  faclbnd4lem3  14190  faclbnd5  14193  bcrpcl  14203  trirecip  15757  fprodnncl  15849  nnrisefaccl  15913  lcmgcdlem  16504  lcmgcdnn  16509  pcmptcl  16790  prmreclem1  16815  prmreclem6  16820  4sqlem12  16855  vdwlem3  16882  vdwlem9  16888  vdwlem10  16889  mulgnnass  18975  ovolunlem1a  25378  ovolunlem1  25379  mbfi1fseqlem3  25599  mbfi1fseqlem4  25600  elqaalem2  26209  elqaalem3  26210  log2cnv  26835  log2tlbnd  26836  log2ublem2  26838  log2ub  26840  basellem1  26972  basellem2  26973  basellem3  26974  basellem4  26975  basellem5  26976  basellem6  26977  basellem7  26978  basellem8  26979  basellem9  26980  efnnfsumcl  26994  efchtdvds  27050  mumullem1  27070  mumullem2  27071  fsumdvdscom  27076  dvdsflf1o  27078  chtublem  27103  pcbcctr  27168  bclbnd  27172  bposlem1  27176  bposlem2  27177  bposlem3  27178  bposlem4  27179  bposlem5  27180  bposlem6  27181  lgseisenlem1  27267  lgseisenlem2  27268  lgseisenlem3  27269  lgseisenlem4  27270  lgsquadlem1  27272  lgsquadlem2  27273  chebbnd1lem1  27361  chebbnd1lem3  27363  dchrisumlem1  27381  mulogsum  27424  pntrsumo1  27457  pntrsumbnd  27458  ostth2lem1  27510  subfaclim  35178  jm2.17a  42950  jm2.17b  42951  jm2.17c  42952  acongrep  42970  acongeq  42973  jm2.27a  42995  jm2.27c  42997
  Copyright terms: Public domain W3C validator