Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > qmulz | Structured version Visualization version GIF version |
Description: If 𝐴 is rational, then some integer multiple of it is an integer. (Contributed by NM, 7-Nov-2008.) (Revised by Mario Carneiro, 22-Jul-2014.) |
Ref | Expression |
---|---|
qmulz | ⊢ (𝐴 ∈ ℚ → ∃𝑥 ∈ ℕ (𝐴 · 𝑥) ∈ ℤ) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | elq 12571 | . 2 ⊢ (𝐴 ∈ ℚ ↔ ∃𝑦 ∈ ℤ ∃𝑥 ∈ ℕ 𝐴 = (𝑦 / 𝑥)) | |
2 | rexcom 3281 | . . 3 ⊢ (∃𝑦 ∈ ℤ ∃𝑥 ∈ ℕ 𝐴 = (𝑦 / 𝑥) ↔ ∃𝑥 ∈ ℕ ∃𝑦 ∈ ℤ 𝐴 = (𝑦 / 𝑥)) | |
3 | zcn 12206 | . . . . . . . . 9 ⊢ (𝑦 ∈ ℤ → 𝑦 ∈ ℂ) | |
4 | 3 | adantl 485 | . . . . . . . 8 ⊢ ((𝑥 ∈ ℕ ∧ 𝑦 ∈ ℤ) → 𝑦 ∈ ℂ) |
5 | nncn 11863 | . . . . . . . . 9 ⊢ (𝑥 ∈ ℕ → 𝑥 ∈ ℂ) | |
6 | 5 | adantr 484 | . . . . . . . 8 ⊢ ((𝑥 ∈ ℕ ∧ 𝑦 ∈ ℤ) → 𝑥 ∈ ℂ) |
7 | nnne0 11889 | . . . . . . . . 9 ⊢ (𝑥 ∈ ℕ → 𝑥 ≠ 0) | |
8 | 7 | adantr 484 | . . . . . . . 8 ⊢ ((𝑥 ∈ ℕ ∧ 𝑦 ∈ ℤ) → 𝑥 ≠ 0) |
9 | 4, 6, 8 | divcan1d 11634 | . . . . . . 7 ⊢ ((𝑥 ∈ ℕ ∧ 𝑦 ∈ ℤ) → ((𝑦 / 𝑥) · 𝑥) = 𝑦) |
10 | simpr 488 | . . . . . . 7 ⊢ ((𝑥 ∈ ℕ ∧ 𝑦 ∈ ℤ) → 𝑦 ∈ ℤ) | |
11 | 9, 10 | eqeltrd 2839 | . . . . . 6 ⊢ ((𝑥 ∈ ℕ ∧ 𝑦 ∈ ℤ) → ((𝑦 / 𝑥) · 𝑥) ∈ ℤ) |
12 | oveq1 7239 | . . . . . . 7 ⊢ (𝐴 = (𝑦 / 𝑥) → (𝐴 · 𝑥) = ((𝑦 / 𝑥) · 𝑥)) | |
13 | 12 | eleq1d 2823 | . . . . . 6 ⊢ (𝐴 = (𝑦 / 𝑥) → ((𝐴 · 𝑥) ∈ ℤ ↔ ((𝑦 / 𝑥) · 𝑥) ∈ ℤ)) |
14 | 11, 13 | syl5ibrcom 250 | . . . . 5 ⊢ ((𝑥 ∈ ℕ ∧ 𝑦 ∈ ℤ) → (𝐴 = (𝑦 / 𝑥) → (𝐴 · 𝑥) ∈ ℤ)) |
15 | 14 | rexlimdva 3211 | . . . 4 ⊢ (𝑥 ∈ ℕ → (∃𝑦 ∈ ℤ 𝐴 = (𝑦 / 𝑥) → (𝐴 · 𝑥) ∈ ℤ)) |
16 | 15 | reximia 3171 | . . 3 ⊢ (∃𝑥 ∈ ℕ ∃𝑦 ∈ ℤ 𝐴 = (𝑦 / 𝑥) → ∃𝑥 ∈ ℕ (𝐴 · 𝑥) ∈ ℤ) |
17 | 2, 16 | sylbi 220 | . 2 ⊢ (∃𝑦 ∈ ℤ ∃𝑥 ∈ ℕ 𝐴 = (𝑦 / 𝑥) → ∃𝑥 ∈ ℕ (𝐴 · 𝑥) ∈ ℤ) |
18 | 1, 17 | sylbi 220 | 1 ⊢ (𝐴 ∈ ℚ → ∃𝑥 ∈ ℕ (𝐴 · 𝑥) ∈ ℤ) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ∧ wa 399 = wceq 1543 ∈ wcel 2111 ≠ wne 2941 ∃wrex 3063 (class class class)co 7232 ℂcc 10752 0cc0 10754 · cmul 10759 / cdiv 11514 ℕcn 11855 ℤcz 12201 ℚcq 12569 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1803 ax-4 1817 ax-5 1918 ax-6 1976 ax-7 2016 ax-8 2113 ax-9 2121 ax-10 2142 ax-11 2159 ax-12 2176 ax-ext 2709 ax-sep 5207 ax-nul 5214 ax-pow 5273 ax-pr 5337 ax-un 7542 ax-resscn 10811 ax-1cn 10812 ax-icn 10813 ax-addcl 10814 ax-addrcl 10815 ax-mulcl 10816 ax-mulrcl 10817 ax-mulcom 10818 ax-addass 10819 ax-mulass 10820 ax-distr 10821 ax-i2m1 10822 ax-1ne0 10823 ax-1rid 10824 ax-rnegex 10825 ax-rrecex 10826 ax-cnre 10827 ax-pre-lttri 10828 ax-pre-lttrn 10829 ax-pre-ltadd 10830 ax-pre-mulgt0 10831 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 848 df-3or 1090 df-3an 1091 df-tru 1546 df-fal 1556 df-ex 1788 df-nf 1792 df-sb 2072 df-mo 2540 df-eu 2569 df-clab 2716 df-cleq 2730 df-clel 2817 df-nfc 2887 df-ne 2942 df-nel 3048 df-ral 3067 df-rex 3068 df-reu 3069 df-rmo 3070 df-rab 3071 df-v 3423 df-sbc 3710 df-csb 3827 df-dif 3884 df-un 3886 df-in 3888 df-ss 3898 df-pss 3900 df-nul 4253 df-if 4455 df-pw 4530 df-sn 4557 df-pr 4559 df-tp 4561 df-op 4563 df-uni 4835 df-iun 4921 df-br 5069 df-opab 5131 df-mpt 5151 df-tr 5177 df-id 5470 df-eprel 5475 df-po 5483 df-so 5484 df-fr 5524 df-we 5526 df-xp 5572 df-rel 5573 df-cnv 5574 df-co 5575 df-dm 5576 df-rn 5577 df-res 5578 df-ima 5579 df-pred 6176 df-ord 6234 df-on 6235 df-lim 6236 df-suc 6237 df-iota 6356 df-fun 6400 df-fn 6401 df-f 6402 df-f1 6403 df-fo 6404 df-f1o 6405 df-fv 6406 df-riota 7189 df-ov 7235 df-oprab 7236 df-mpo 7237 df-om 7664 df-1st 7780 df-2nd 7781 df-wrecs 8068 df-recs 8129 df-rdg 8167 df-er 8412 df-en 8648 df-dom 8649 df-sdom 8650 df-pnf 10894 df-mnf 10895 df-xr 10896 df-ltxr 10897 df-le 10898 df-sub 11089 df-neg 11090 df-div 11515 df-nn 11856 df-z 12202 df-q 12570 |
This theorem is referenced by: elqaalem1 25239 elqaalem3 25241 |
Copyright terms: Public domain | W3C validator |