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

Theorem nnmulcl 12186
Description: Closure of multiplication of positive integers. (Contributed by NM, 12-Jan-1997.) Remove dependency on ax-mulcom 11124 and ax-mulass 11126. (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 7370 . . . . 5 (𝑥 = 1 → (𝐴 · 𝑥) = (𝐴 · 1))
21eleq1d 2817 . . . 4 (𝑥 = 1 → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · 1) ∈ ℕ))
32imbi2d 340 . . 3 (𝑥 = 1 → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · 1) ∈ ℕ)))
4 oveq2 7370 . . . . 5 (𝑥 = 𝑦 → (𝐴 · 𝑥) = (𝐴 · 𝑦))
54eleq1d 2817 . . . 4 (𝑥 = 𝑦 → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · 𝑦) ∈ ℕ))
65imbi2d 340 . . 3 (𝑥 = 𝑦 → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · 𝑦) ∈ ℕ)))
7 oveq2 7370 . . . . 5 (𝑥 = (𝑦 + 1) → (𝐴 · 𝑥) = (𝐴 · (𝑦 + 1)))
87eleq1d 2817 . . . 4 (𝑥 = (𝑦 + 1) → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · (𝑦 + 1)) ∈ ℕ))
98imbi2d 340 . . 3 (𝑥 = (𝑦 + 1) → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ)))
10 oveq2 7370 . . . . 5 (𝑥 = 𝐵 → (𝐴 · 𝑥) = (𝐴 · 𝐵))
1110eleq1d 2817 . . . 4 (𝑥 = 𝐵 → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · 𝐵) ∈ ℕ))
1211imbi2d 340 . . 3 (𝑥 = 𝐵 → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · 𝐵) ∈ ℕ)))
13 nnre 12169 . . . 4 (𝐴 ∈ ℕ → 𝐴 ∈ ℝ)
14 ax-1rid 11130 . . . . . 6 (𝐴 ∈ ℝ → (𝐴 · 1) = 𝐴)
1514eleq1d 2817 . . . . 5 (𝐴 ∈ ℝ → ((𝐴 · 1) ∈ ℕ ↔ 𝐴 ∈ ℕ))
1615biimprd 247 . . . 4 (𝐴 ∈ ℝ → (𝐴 ∈ ℕ → (𝐴 · 1) ∈ ℕ))
1713, 16mpcom 38 . . 3 (𝐴 ∈ ℕ → (𝐴 · 1) ∈ ℕ)
18 nnaddcl 12185 . . . . . . . 8 (((𝐴 · 𝑦) ∈ ℕ ∧ 𝐴 ∈ ℕ) → ((𝐴 · 𝑦) + 𝐴) ∈ ℕ)
1918ancoms 459 . . . . . . 7 ((𝐴 ∈ ℕ ∧ (𝐴 · 𝑦) ∈ ℕ) → ((𝐴 · 𝑦) + 𝐴) ∈ ℕ)
20 nncn 12170 . . . . . . . . . 10 (𝐴 ∈ ℕ → 𝐴 ∈ ℂ)
21 nncn 12170 . . . . . . . . . 10 (𝑦 ∈ ℕ → 𝑦 ∈ ℂ)
22 ax-1cn 11118 . . . . . . . . . . 11 1 ∈ ℂ
23 adddi 11149 . . . . . . . . . . 11 ((𝐴 ∈ ℂ ∧ 𝑦 ∈ ℂ ∧ 1 ∈ ℂ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + (𝐴 · 1)))
2422, 23mp3an3 1450 . . . . . . . . . 10 ((𝐴 ∈ ℂ ∧ 𝑦 ∈ ℂ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + (𝐴 · 1)))
2520, 21, 24syl2an 596 . . . . . . . . 9 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + (𝐴 · 1)))
2613, 14syl 17 . . . . . . . . . . 11 (𝐴 ∈ ℕ → (𝐴 · 1) = 𝐴)
2726adantr 481 . . . . . . . . . 10 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝐴 · 1) = 𝐴)
2827oveq2d 7378 . . . . . . . . 9 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → ((𝐴 · 𝑦) + (𝐴 · 1)) = ((𝐴 · 𝑦) + 𝐴))
2925, 28eqtrd 2771 . . . . . . . 8 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + 𝐴))
3029eleq1d 2817 . . . . . . 7 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → ((𝐴 · (𝑦 + 1)) ∈ ℕ ↔ ((𝐴 · 𝑦) + 𝐴) ∈ ℕ))
3119, 30imbitrrid 245 . . . . . 6 ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → ((𝐴 ∈ ℕ ∧ (𝐴 · 𝑦) ∈ ℕ) → (𝐴 · (𝑦 + 1)) ∈ ℕ))
3231exp4b 431 . . . . 5 (𝐴 ∈ ℕ → (𝑦 ∈ ℕ → (𝐴 ∈ ℕ → ((𝐴 · 𝑦) ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ))))
3332pm2.43b 55 . . . 4 (𝑦 ∈ ℕ → (𝐴 ∈ ℕ → ((𝐴 · 𝑦) ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ)))
3433a2d 29 . . 3 (𝑦 ∈ ℕ → ((𝐴 ∈ ℕ → (𝐴 · 𝑦) ∈ ℕ) → (𝐴 ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ)))
353, 6, 9, 12, 17, 34nnind 12180 . 2 (𝐵 ∈ ℕ → (𝐴 ∈ ℕ → (𝐴 · 𝐵) ∈ ℕ))
3635impcom 408 1 ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐴 · 𝐵) ∈ ℕ)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1541  wcel 2106  (class class class)co 7362  cc 11058  cr 11059  1c1 11061   + caddc 11063   · cmul 11065  cn 12162
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2702  ax-sep 5261  ax-nul 5268  ax-pr 5389  ax-un 7677  ax-1cn 11118  ax-icn 11119  ax-addcl 11120  ax-addrcl 11121  ax-mulcl 11122  ax-mulrcl 11123  ax-addass 11125  ax-distr 11127  ax-i2m1 11128  ax-1ne0 11129  ax-1rid 11130  ax-rrecex 11132  ax-cnre 11133
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-reu 3352  df-rab 3406  df-v 3448  df-sbc 3743  df-csb 3859  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-pss 3932  df-nul 4288  df-if 4492  df-pw 4567  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4871  df-iun 4961  df-br 5111  df-opab 5173  df-mpt 5194  df-tr 5228  df-id 5536  df-eprel 5542  df-po 5550  df-so 5551  df-fr 5593  df-we 5595  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-pred 6258  df-ord 6325  df-on 6326  df-lim 6327  df-suc 6328  df-iota 6453  df-fun 6503  df-fn 6504  df-f 6505  df-f1 6506  df-fo 6507  df-f1o 6508  df-fv 6509  df-ov 7365  df-om 7808  df-2nd 7927  df-frecs 8217  df-wrecs 8248  df-recs 8322  df-rdg 8361  df-nn 12163
This theorem is referenced by:  nnmulcli  12187  nnmtmip  12188  nndivtr  12209  nnmulcld  12215  nn0mulcl  12458  qaddcl  12899  qmulcl  12901  modmulnn  13804  nnexpcl  13990  nnsqcl  14043  expmulnbnd  14148  faccl  14193  facdiv  14197  faclbnd3  14202  faclbnd4lem3  14205  faclbnd5  14208  bcrpcl  14218  trirecip  15759  fprodnncl  15849  nnrisefaccl  15913  lcmgcdlem  16493  lcmgcdnn  16498  pcmptcl  16774  prmreclem1  16799  prmreclem6  16804  4sqlem12  16839  vdwlem3  16866  vdwlem9  16872  vdwlem10  16873  mulgnnass  18925  ovolunlem1a  24897  ovolunlem1  24898  mbfi1fseqlem3  25119  mbfi1fseqlem4  25120  elqaalem2  25717  elqaalem3  25718  log2cnv  26331  log2tlbnd  26332  log2ublem2  26334  log2ub  26336  basellem1  26467  basellem2  26468  basellem3  26469  basellem4  26470  basellem5  26471  basellem6  26472  basellem7  26473  basellem8  26474  basellem9  26475  efnnfsumcl  26489  efchtdvds  26545  mumullem1  26565  mumullem2  26566  fsumdvdscom  26571  dvdsflf1o  26573  chtublem  26596  pcbcctr  26661  bclbnd  26665  bposlem1  26669  bposlem2  26670  bposlem3  26671  bposlem4  26672  bposlem5  26673  bposlem6  26674  lgseisenlem1  26760  lgseisenlem2  26761  lgseisenlem3  26762  lgseisenlem4  26763  lgsquadlem1  26765  lgsquadlem2  26766  chebbnd1lem1  26854  chebbnd1lem3  26856  dchrisumlem1  26874  mulogsum  26917  pntrsumo1  26950  pntrsumbnd  26951  ostth2lem1  27003  subfaclim  33869  jm2.17a  41342  jm2.17b  41343  jm2.17c  41344  acongrep  41362  acongeq  41365  jm2.27a  41387  jm2.27c  41389
  Copyright terms: Public domain W3C validator