![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > mulmod0 | Structured version Visualization version GIF version |
Description: The product of an integer and a positive real number is 0 modulo the positive real number. (Contributed by Alexander van der Vekens, 17-May-2018.) (Revised by AV, 5-Jul-2020.) |
Ref | Expression |
---|---|
mulmod0 | ⊢ ((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℝ+) → ((𝐴 · 𝑀) mod 𝑀) = 0) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | zcn 12463 | . . . . 5 ⊢ (𝐴 ∈ ℤ → 𝐴 ∈ ℂ) | |
2 | 1 | adantr 482 | . . . 4 ⊢ ((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℝ+) → 𝐴 ∈ ℂ) |
3 | rpcn 12880 | . . . . 5 ⊢ (𝑀 ∈ ℝ+ → 𝑀 ∈ ℂ) | |
4 | 3 | adantl 483 | . . . 4 ⊢ ((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℝ+) → 𝑀 ∈ ℂ) |
5 | rpne0 12886 | . . . . 5 ⊢ (𝑀 ∈ ℝ+ → 𝑀 ≠ 0) | |
6 | 5 | adantl 483 | . . . 4 ⊢ ((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℝ+) → 𝑀 ≠ 0) |
7 | 2, 4, 6 | divcan4d 11896 | . . 3 ⊢ ((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℝ+) → ((𝐴 · 𝑀) / 𝑀) = 𝐴) |
8 | simpl 484 | . . 3 ⊢ ((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℝ+) → 𝐴 ∈ ℤ) | |
9 | 7, 8 | eqeltrd 2839 | . 2 ⊢ ((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℝ+) → ((𝐴 · 𝑀) / 𝑀) ∈ ℤ) |
10 | zre 12462 | . . . 4 ⊢ (𝐴 ∈ ℤ → 𝐴 ∈ ℝ) | |
11 | rpre 12878 | . . . 4 ⊢ (𝑀 ∈ ℝ+ → 𝑀 ∈ ℝ) | |
12 | remulcl 11095 | . . . 4 ⊢ ((𝐴 ∈ ℝ ∧ 𝑀 ∈ ℝ) → (𝐴 · 𝑀) ∈ ℝ) | |
13 | 10, 11, 12 | syl2an 597 | . . 3 ⊢ ((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℝ+) → (𝐴 · 𝑀) ∈ ℝ) |
14 | mod0 13736 | . . 3 ⊢ (((𝐴 · 𝑀) ∈ ℝ ∧ 𝑀 ∈ ℝ+) → (((𝐴 · 𝑀) mod 𝑀) = 0 ↔ ((𝐴 · 𝑀) / 𝑀) ∈ ℤ)) | |
15 | 13, 14 | sylancom 589 | . 2 ⊢ ((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℝ+) → (((𝐴 · 𝑀) mod 𝑀) = 0 ↔ ((𝐴 · 𝑀) / 𝑀) ∈ ℤ)) |
16 | 9, 15 | mpbird 257 | 1 ⊢ ((𝐴 ∈ ℤ ∧ 𝑀 ∈ ℝ+) → ((𝐴 · 𝑀) mod 𝑀) = 0) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 205 ∧ wa 397 = wceq 1542 ∈ wcel 2107 ≠ wne 2942 (class class class)co 7352 ℂcc 11008 ℝcr 11009 0cc0 11010 · cmul 11015 / cdiv 11771 ℤcz 12458 ℝ+crp 12870 mod cmo 13729 |
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 1914 ax-6 1972 ax-7 2012 ax-8 2109 ax-9 2117 ax-10 2138 ax-11 2155 ax-12 2172 ax-ext 2709 ax-sep 5255 ax-nul 5262 ax-pow 5319 ax-pr 5383 ax-un 7665 ax-cnex 11066 ax-resscn 11067 ax-1cn 11068 ax-icn 11069 ax-addcl 11070 ax-addrcl 11071 ax-mulcl 11072 ax-mulrcl 11073 ax-mulcom 11074 ax-addass 11075 ax-mulass 11076 ax-distr 11077 ax-i2m1 11078 ax-1ne0 11079 ax-1rid 11080 ax-rnegex 11081 ax-rrecex 11082 ax-cnre 11083 ax-pre-lttri 11084 ax-pre-lttrn 11085 ax-pre-ltadd 11086 ax-pre-mulgt0 11087 ax-pre-sup 11088 |
This theorem depends on definitions: df-bi 206 df-an 398 df-or 847 df-3or 1089 df-3an 1090 df-tru 1545 df-fal 1555 df-ex 1783 df-nf 1787 df-sb 2069 df-mo 2540 df-eu 2569 df-clab 2716 df-cleq 2730 df-clel 2816 df-nfc 2888 df-ne 2943 df-nel 3049 df-ral 3064 df-rex 3073 df-rmo 3352 df-reu 3353 df-rab 3407 df-v 3446 df-sbc 3739 df-csb 3855 df-dif 3912 df-un 3914 df-in 3916 df-ss 3926 df-pss 3928 df-nul 4282 df-if 4486 df-pw 4561 df-sn 4586 df-pr 4588 df-op 4592 df-uni 4865 df-iun 4955 df-br 5105 df-opab 5167 df-mpt 5188 df-tr 5222 df-id 5530 df-eprel 5536 df-po 5544 df-so 5545 df-fr 5587 df-we 5589 df-xp 5638 df-rel 5639 df-cnv 5640 df-co 5641 df-dm 5642 df-rn 5643 df-res 5644 df-ima 5645 df-pred 6252 df-ord 6319 df-on 6320 df-lim 6321 df-suc 6322 df-iota 6446 df-fun 6496 df-fn 6497 df-f 6498 df-f1 6499 df-fo 6500 df-f1o 6501 df-fv 6502 df-riota 7308 df-ov 7355 df-oprab 7356 df-mpo 7357 df-om 7796 df-2nd 7915 df-frecs 8205 df-wrecs 8236 df-recs 8310 df-rdg 8349 df-er 8607 df-en 8843 df-dom 8844 df-sdom 8845 df-sup 9337 df-inf 9338 df-pnf 11150 df-mnf 11151 df-xr 11152 df-ltxr 11153 df-le 11154 df-sub 11346 df-neg 11347 df-div 11772 df-nn 12113 df-n0 12373 df-z 12459 df-uz 12723 df-rp 12871 df-fl 13652 df-mod 13730 |
This theorem is referenced by: mulp1mod1 13772 mod2eq1n2dvds 16189 modprm0 16637 2lgslem3a1 26700 2lgslem3d1 26703 |
Copyright terms: Public domain | W3C validator |