![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > divides | Structured version Visualization version GIF version |
Description: Define the divides relation. 𝑀 ∥ 𝑁 means 𝑀 divides into 𝑁 with no remainder. For example, 3 ∥ 6 (ex-dvds 29991). As proven in dvdsval3 16208, 𝑀 ∥ 𝑁 ↔ (𝑁 mod 𝑀) = 0. See divides 16206 and dvdsval2 16207 for other equivalent expressions. (Contributed by Paul Chapman, 21-Mar-2011.) |
Ref | Expression |
---|---|
divides | ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 ↔ ∃𝑛 ∈ ℤ (𝑛 · 𝑀) = 𝑁)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-br 5149 | . . 3 ⊢ (𝑀 ∥ 𝑁 ↔ 〈𝑀, 𝑁〉 ∈ ∥ ) | |
2 | df-dvds 16205 | . . . 4 ⊢ ∥ = {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) ∧ ∃𝑛 ∈ ℤ (𝑛 · 𝑥) = 𝑦)} | |
3 | 2 | eleq2i 2824 | . . 3 ⊢ (〈𝑀, 𝑁〉 ∈ ∥ ↔ 〈𝑀, 𝑁〉 ∈ {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) ∧ ∃𝑛 ∈ ℤ (𝑛 · 𝑥) = 𝑦)}) |
4 | 1, 3 | bitri 275 | . 2 ⊢ (𝑀 ∥ 𝑁 ↔ 〈𝑀, 𝑁〉 ∈ {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) ∧ ∃𝑛 ∈ ℤ (𝑛 · 𝑥) = 𝑦)}) |
5 | oveq2 7420 | . . . . 5 ⊢ (𝑥 = 𝑀 → (𝑛 · 𝑥) = (𝑛 · 𝑀)) | |
6 | 5 | eqeq1d 2733 | . . . 4 ⊢ (𝑥 = 𝑀 → ((𝑛 · 𝑥) = 𝑦 ↔ (𝑛 · 𝑀) = 𝑦)) |
7 | 6 | rexbidv 3177 | . . 3 ⊢ (𝑥 = 𝑀 → (∃𝑛 ∈ ℤ (𝑛 · 𝑥) = 𝑦 ↔ ∃𝑛 ∈ ℤ (𝑛 · 𝑀) = 𝑦)) |
8 | eqeq2 2743 | . . . 4 ⊢ (𝑦 = 𝑁 → ((𝑛 · 𝑀) = 𝑦 ↔ (𝑛 · 𝑀) = 𝑁)) | |
9 | 8 | rexbidv 3177 | . . 3 ⊢ (𝑦 = 𝑁 → (∃𝑛 ∈ ℤ (𝑛 · 𝑀) = 𝑦 ↔ ∃𝑛 ∈ ℤ (𝑛 · 𝑀) = 𝑁)) |
10 | 7, 9 | opelopab2 5541 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (〈𝑀, 𝑁〉 ∈ {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ) ∧ ∃𝑛 ∈ ℤ (𝑛 · 𝑥) = 𝑦)} ↔ ∃𝑛 ∈ ℤ (𝑛 · 𝑀) = 𝑁)) |
11 | 4, 10 | bitrid 283 | 1 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 ↔ ∃𝑛 ∈ ℤ (𝑛 · 𝑀) = 𝑁)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 205 ∧ wa 395 = wceq 1540 ∈ wcel 2105 ∃wrex 3069 〈cop 4634 class class class wbr 5148 {copab 5210 (class class class)co 7412 · cmul 11121 ℤcz 12565 ∥ cdvds 16204 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1912 ax-6 1970 ax-7 2010 ax-8 2107 ax-9 2115 ax-ext 2702 ax-sep 5299 ax-nul 5306 ax-pr 5427 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 845 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1781 df-sb 2067 df-clab 2709 df-cleq 2723 df-clel 2809 df-rex 3070 df-rab 3432 df-v 3475 df-dif 3951 df-un 3953 df-in 3955 df-ss 3965 df-nul 4323 df-if 4529 df-sn 4629 df-pr 4631 df-op 4635 df-uni 4909 df-br 5149 df-opab 5211 df-iota 6495 df-fv 6551 df-ov 7415 df-dvds 16205 |
This theorem is referenced by: dvdsval2 16207 dvds0lem 16217 dvds1lem 16218 dvds2lem 16219 0dvds 16227 dvdsle 16260 divconjdvds 16265 dvdsexp2im 16277 odd2np1 16291 even2n 16292 oddm1even 16293 opeo 16315 omeo 16316 m1exp1 16326 divalglem4 16346 divalglem9 16351 divalgb 16354 modremain 16358 zeqzmulgcd 16458 bezoutlem4 16491 gcddiv 16500 dvdssqim 16503 coprmdvds2 16598 congr 16608 divgcdcoprm0 16609 cncongr2 16612 dvdsnprmd 16634 prmpwdvds 16844 odmulg 19469 gexdvdsi 19496 lgsquadlem2 27135 dvdsexpim 41534 dvdsrabdioph 41863 jm2.26a 42054 coskpi2 44893 cosknegpi 44896 fourierswlem 45257 dfeven2 46628 |
Copyright terms: Public domain | W3C validator |