Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > nnmulcl | Structured version Visualization version GIF version |
Description: Closure of multiplication of positive integers. (Contributed by NM, 12-Jan-1997.) Remove dependency on ax-mulcom 10923 and ax-mulass 10925. (Revised by Steven Nguyen, 24-Sep-2022.) |
Ref | Expression |
---|---|
nnmulcl | ⊢ ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐴 · 𝐵) ∈ ℕ) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | oveq2 7276 | . . . . 5 ⊢ (𝑥 = 1 → (𝐴 · 𝑥) = (𝐴 · 1)) | |
2 | 1 | eleq1d 2823 | . . . 4 ⊢ (𝑥 = 1 → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · 1) ∈ ℕ)) |
3 | 2 | imbi2d 341 | . . 3 ⊢ (𝑥 = 1 → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · 1) ∈ ℕ))) |
4 | oveq2 7276 | . . . . 5 ⊢ (𝑥 = 𝑦 → (𝐴 · 𝑥) = (𝐴 · 𝑦)) | |
5 | 4 | eleq1d 2823 | . . . 4 ⊢ (𝑥 = 𝑦 → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · 𝑦) ∈ ℕ)) |
6 | 5 | imbi2d 341 | . . 3 ⊢ (𝑥 = 𝑦 → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · 𝑦) ∈ ℕ))) |
7 | oveq2 7276 | . . . . 5 ⊢ (𝑥 = (𝑦 + 1) → (𝐴 · 𝑥) = (𝐴 · (𝑦 + 1))) | |
8 | 7 | eleq1d 2823 | . . . 4 ⊢ (𝑥 = (𝑦 + 1) → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · (𝑦 + 1)) ∈ ℕ)) |
9 | 8 | imbi2d 341 | . . 3 ⊢ (𝑥 = (𝑦 + 1) → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ))) |
10 | oveq2 7276 | . . . . 5 ⊢ (𝑥 = 𝐵 → (𝐴 · 𝑥) = (𝐴 · 𝐵)) | |
11 | 10 | eleq1d 2823 | . . . 4 ⊢ (𝑥 = 𝐵 → ((𝐴 · 𝑥) ∈ ℕ ↔ (𝐴 · 𝐵) ∈ ℕ)) |
12 | 11 | imbi2d 341 | . . 3 ⊢ (𝑥 = 𝐵 → ((𝐴 ∈ ℕ → (𝐴 · 𝑥) ∈ ℕ) ↔ (𝐴 ∈ ℕ → (𝐴 · 𝐵) ∈ ℕ))) |
13 | nnre 11968 | . . . 4 ⊢ (𝐴 ∈ ℕ → 𝐴 ∈ ℝ) | |
14 | ax-1rid 10929 | . . . . . 6 ⊢ (𝐴 ∈ ℝ → (𝐴 · 1) = 𝐴) | |
15 | 14 | eleq1d 2823 | . . . . 5 ⊢ (𝐴 ∈ ℝ → ((𝐴 · 1) ∈ ℕ ↔ 𝐴 ∈ ℕ)) |
16 | 15 | biimprd 247 | . . . 4 ⊢ (𝐴 ∈ ℝ → (𝐴 ∈ ℕ → (𝐴 · 1) ∈ ℕ)) |
17 | 13, 16 | mpcom 38 | . . 3 ⊢ (𝐴 ∈ ℕ → (𝐴 · 1) ∈ ℕ) |
18 | nnaddcl 11984 | . . . . . . . 8 ⊢ (((𝐴 · 𝑦) ∈ ℕ ∧ 𝐴 ∈ ℕ) → ((𝐴 · 𝑦) + 𝐴) ∈ ℕ) | |
19 | 18 | ancoms 459 | . . . . . . 7 ⊢ ((𝐴 ∈ ℕ ∧ (𝐴 · 𝑦) ∈ ℕ) → ((𝐴 · 𝑦) + 𝐴) ∈ ℕ) |
20 | nncn 11969 | . . . . . . . . . 10 ⊢ (𝐴 ∈ ℕ → 𝐴 ∈ ℂ) | |
21 | nncn 11969 | . . . . . . . . . 10 ⊢ (𝑦 ∈ ℕ → 𝑦 ∈ ℂ) | |
22 | ax-1cn 10917 | . . . . . . . . . . 11 ⊢ 1 ∈ ℂ | |
23 | adddi 10948 | . . . . . . . . . . 11 ⊢ ((𝐴 ∈ ℂ ∧ 𝑦 ∈ ℂ ∧ 1 ∈ ℂ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + (𝐴 · 1))) | |
24 | 22, 23 | mp3an3 1449 | . . . . . . . . . 10 ⊢ ((𝐴 ∈ ℂ ∧ 𝑦 ∈ ℂ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + (𝐴 · 1))) |
25 | 20, 21, 24 | syl2an 596 | . . . . . . . . 9 ⊢ ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + (𝐴 · 1))) |
26 | 13, 14 | syl 17 | . . . . . . . . . . 11 ⊢ (𝐴 ∈ ℕ → (𝐴 · 1) = 𝐴) |
27 | 26 | adantr 481 | . . . . . . . . . 10 ⊢ ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝐴 · 1) = 𝐴) |
28 | 27 | oveq2d 7284 | . . . . . . . . 9 ⊢ ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → ((𝐴 · 𝑦) + (𝐴 · 1)) = ((𝐴 · 𝑦) + 𝐴)) |
29 | 25, 28 | eqtrd 2778 | . . . . . . . 8 ⊢ ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝐴 · (𝑦 + 1)) = ((𝐴 · 𝑦) + 𝐴)) |
30 | 29 | eleq1d 2823 | . . . . . . 7 ⊢ ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → ((𝐴 · (𝑦 + 1)) ∈ ℕ ↔ ((𝐴 · 𝑦) + 𝐴) ∈ ℕ)) |
31 | 19, 30 | syl5ibr 245 | . . . . . 6 ⊢ ((𝐴 ∈ ℕ ∧ 𝑦 ∈ ℕ) → ((𝐴 ∈ ℕ ∧ (𝐴 · 𝑦) ∈ ℕ) → (𝐴 · (𝑦 + 1)) ∈ ℕ)) |
32 | 31 | exp4b 431 | . . . . 5 ⊢ (𝐴 ∈ ℕ → (𝑦 ∈ ℕ → (𝐴 ∈ ℕ → ((𝐴 · 𝑦) ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ)))) |
33 | 32 | pm2.43b 55 | . . . 4 ⊢ (𝑦 ∈ ℕ → (𝐴 ∈ ℕ → ((𝐴 · 𝑦) ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ))) |
34 | 33 | a2d 29 | . . 3 ⊢ (𝑦 ∈ ℕ → ((𝐴 ∈ ℕ → (𝐴 · 𝑦) ∈ ℕ) → (𝐴 ∈ ℕ → (𝐴 · (𝑦 + 1)) ∈ ℕ))) |
35 | 3, 6, 9, 12, 17, 34 | nnind 11979 | . 2 ⊢ (𝐵 ∈ ℕ → (𝐴 ∈ ℕ → (𝐴 · 𝐵) ∈ ℕ)) |
36 | 35 | impcom 408 | 1 ⊢ ((𝐴 ∈ ℕ ∧ 𝐵 ∈ ℕ) → (𝐴 · 𝐵) ∈ ℕ) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 396 = wceq 1539 ∈ wcel 2106 (class class class)co 7268 ℂcc 10857 ℝcr 10858 1c1 10860 + caddc 10862 · cmul 10864 ℕcn 11961 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 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 2709 ax-sep 5222 ax-nul 5229 ax-pr 5351 ax-un 7579 ax-1cn 10917 ax-icn 10918 ax-addcl 10919 ax-addrcl 10920 ax-mulcl 10921 ax-mulrcl 10922 ax-addass 10924 ax-distr 10926 ax-i2m1 10927 ax-1ne0 10928 ax-1rid 10929 ax-rrecex 10931 ax-cnre 10932 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 845 df-3or 1087 df-3an 1088 df-tru 1542 df-fal 1552 df-ex 1783 df-nf 1787 df-sb 2068 df-mo 2540 df-eu 2569 df-clab 2716 df-cleq 2730 df-clel 2816 df-nfc 2889 df-ne 2944 df-ral 3069 df-rex 3070 df-reu 3071 df-rab 3073 df-v 3432 df-sbc 3717 df-csb 3833 df-dif 3890 df-un 3892 df-in 3894 df-ss 3904 df-pss 3906 df-nul 4258 df-if 4461 df-pw 4536 df-sn 4563 df-pr 4565 df-op 4569 df-uni 4841 df-iun 4927 df-br 5075 df-opab 5137 df-mpt 5158 df-tr 5192 df-id 5485 df-eprel 5491 df-po 5499 df-so 5500 df-fr 5540 df-we 5542 df-xp 5591 df-rel 5592 df-cnv 5593 df-co 5594 df-dm 5595 df-rn 5596 df-res 5597 df-ima 5598 df-pred 6196 df-ord 6263 df-on 6264 df-lim 6265 df-suc 6266 df-iota 6385 df-fun 6429 df-fn 6430 df-f 6431 df-f1 6432 df-fo 6433 df-f1o 6434 df-fv 6435 df-ov 7271 df-om 7704 df-2nd 7822 df-frecs 8085 df-wrecs 8116 df-recs 8190 df-rdg 8229 df-nn 11962 |
This theorem is referenced by: nnmulcli 11986 nnmtmip 11987 nndivtr 12008 nnmulcld 12014 nn0mulcl 12257 qaddcl 12693 qmulcl 12695 modmulnn 13597 nnexpcl 13783 nnsqcl 13835 expmulnbnd 13938 faccl 13985 facdiv 13989 faclbnd3 13994 faclbnd4lem3 13997 faclbnd5 14000 bcrpcl 14010 trirecip 15563 fprodnncl 15653 nnrisefaccl 15717 lcmgcdlem 16299 lcmgcdnn 16304 pcmptcl 16580 prmreclem1 16605 prmreclem6 16610 4sqlem12 16645 vdwlem3 16672 vdwlem9 16678 vdwlem10 16679 mulgnnass 18726 ovolunlem1a 24648 ovolunlem1 24649 mbfi1fseqlem3 24870 mbfi1fseqlem4 24871 elqaalem2 25468 elqaalem3 25469 log2cnv 26082 log2tlbnd 26083 log2ublem2 26085 log2ub 26087 basellem1 26218 basellem2 26219 basellem3 26220 basellem4 26221 basellem5 26222 basellem6 26223 basellem7 26224 basellem8 26225 basellem9 26226 efnnfsumcl 26240 efchtdvds 26296 mumullem1 26316 mumullem2 26317 fsumdvdscom 26322 dvdsflf1o 26324 chtublem 26347 pcbcctr 26412 bclbnd 26416 bposlem1 26420 bposlem2 26421 bposlem3 26422 bposlem4 26423 bposlem5 26424 bposlem6 26425 lgseisenlem1 26511 lgseisenlem2 26512 lgseisenlem3 26513 lgseisenlem4 26514 lgsquadlem1 26516 lgsquadlem2 26517 chebbnd1lem1 26605 chebbnd1lem3 26607 dchrisumlem1 26625 mulogsum 26668 pntrsumo1 26701 pntrsumbnd 26702 ostth2lem1 26754 subfaclim 33136 jm2.17a 40768 jm2.17b 40769 jm2.17c 40770 acongrep 40788 acongeq 40791 jm2.27a 40813 jm2.27c 40815 |
Copyright terms: Public domain | W3C validator |