![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > negdvdsb | Structured version Visualization version GIF version |
Description: An integer divides another iff its negation does. (Contributed by Paul Chapman, 21-Mar-2011.) |
Ref | Expression |
---|---|
negdvdsb | ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 ↔ -𝑀 ∥ 𝑁)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | id 22 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) | |
2 | znegcl 11829 | . . . 4 ⊢ (𝑀 ∈ ℤ → -𝑀 ∈ ℤ) | |
3 | 2 | anim1i 606 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (-𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) |
4 | znegcl 11829 | . . . 4 ⊢ (𝑥 ∈ ℤ → -𝑥 ∈ ℤ) | |
5 | 4 | adantl 474 | . . 3 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → -𝑥 ∈ ℤ) |
6 | zcn 11797 | . . . . . . 7 ⊢ (𝑥 ∈ ℤ → 𝑥 ∈ ℂ) | |
7 | zcn 11797 | . . . . . . 7 ⊢ (𝑀 ∈ ℤ → 𝑀 ∈ ℂ) | |
8 | mul2neg 10879 | . . . . . . 7 ⊢ ((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ) → (-𝑥 · -𝑀) = (𝑥 · 𝑀)) | |
9 | 6, 7, 8 | syl2anr 588 | . . . . . 6 ⊢ ((𝑀 ∈ ℤ ∧ 𝑥 ∈ ℤ) → (-𝑥 · -𝑀) = (𝑥 · 𝑀)) |
10 | 9 | adantlr 703 | . . . . 5 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → (-𝑥 · -𝑀) = (𝑥 · 𝑀)) |
11 | 10 | eqeq1d 2775 | . . . 4 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → ((-𝑥 · -𝑀) = 𝑁 ↔ (𝑥 · 𝑀) = 𝑁)) |
12 | 11 | biimprd 240 | . . 3 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝑀) = 𝑁 → (-𝑥 · -𝑀) = 𝑁)) |
13 | 1, 3, 5, 12 | dvds1lem 15480 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 → -𝑀 ∥ 𝑁)) |
14 | mulneg12 10878 | . . . . . . 7 ⊢ ((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ) → (-𝑥 · 𝑀) = (𝑥 · -𝑀)) | |
15 | 6, 7, 14 | syl2anr 588 | . . . . . 6 ⊢ ((𝑀 ∈ ℤ ∧ 𝑥 ∈ ℤ) → (-𝑥 · 𝑀) = (𝑥 · -𝑀)) |
16 | 15 | adantlr 703 | . . . . 5 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → (-𝑥 · 𝑀) = (𝑥 · -𝑀)) |
17 | 16 | eqeq1d 2775 | . . . 4 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → ((-𝑥 · 𝑀) = 𝑁 ↔ (𝑥 · -𝑀) = 𝑁)) |
18 | 17 | biimprd 240 | . . 3 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → ((𝑥 · -𝑀) = 𝑁 → (-𝑥 · 𝑀) = 𝑁)) |
19 | 3, 1, 5, 18 | dvds1lem 15480 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (-𝑀 ∥ 𝑁 → 𝑀 ∥ 𝑁)) |
20 | 13, 19 | impbid 204 | 1 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 ↔ -𝑀 ∥ 𝑁)) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 198 ∧ wa 387 = wceq 1508 ∈ wcel 2051 class class class wbr 4926 (class class class)co 6975 ℂcc 10332 · cmul 10339 -cneg 10670 ℤcz 11792 ∥ cdvds 15466 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1759 ax-4 1773 ax-5 1870 ax-6 1929 ax-7 1966 ax-8 2053 ax-9 2060 ax-10 2080 ax-11 2094 ax-12 2107 ax-13 2302 ax-ext 2745 ax-sep 5057 ax-nul 5064 ax-pow 5116 ax-pr 5183 ax-un 7278 ax-resscn 10391 ax-1cn 10392 ax-icn 10393 ax-addcl 10394 ax-addrcl 10395 ax-mulcl 10396 ax-mulrcl 10397 ax-mulcom 10398 ax-addass 10399 ax-mulass 10400 ax-distr 10401 ax-i2m1 10402 ax-1ne0 10403 ax-1rid 10404 ax-rnegex 10405 ax-rrecex 10406 ax-cnre 10407 ax-pre-lttri 10408 ax-pre-lttrn 10409 ax-pre-ltadd 10410 |
This theorem depends on definitions: df-bi 199 df-an 388 df-or 835 df-3or 1070 df-3an 1071 df-tru 1511 df-ex 1744 df-nf 1748 df-sb 2017 df-mo 2548 df-eu 2585 df-clab 2754 df-cleq 2766 df-clel 2841 df-nfc 2913 df-ne 2963 df-nel 3069 df-ral 3088 df-rex 3089 df-reu 3090 df-rab 3092 df-v 3412 df-sbc 3677 df-csb 3782 df-dif 3827 df-un 3829 df-in 3831 df-ss 3838 df-pss 3840 df-nul 4174 df-if 4346 df-pw 4419 df-sn 4437 df-pr 4439 df-tp 4441 df-op 4443 df-uni 4710 df-iun 4791 df-br 4927 df-opab 4989 df-mpt 5006 df-tr 5028 df-id 5309 df-eprel 5314 df-po 5323 df-so 5324 df-fr 5363 df-we 5365 df-xp 5410 df-rel 5411 df-cnv 5412 df-co 5413 df-dm 5414 df-rn 5415 df-res 5416 df-ima 5417 df-pred 5984 df-ord 6030 df-on 6031 df-lim 6032 df-suc 6033 df-iota 6150 df-fun 6188 df-fn 6189 df-f 6190 df-f1 6191 df-fo 6192 df-f1o 6193 df-fv 6194 df-riota 6936 df-ov 6978 df-oprab 6979 df-mpo 6980 df-om 7396 df-wrecs 7749 df-recs 7811 df-rdg 7849 df-er 8088 df-en 8306 df-dom 8307 df-sdom 8308 df-pnf 10475 df-mnf 10476 df-ltxr 10478 df-sub 10671 df-neg 10672 df-nn 11439 df-z 11793 df-dvds 15467 |
This theorem is referenced by: absdvdsb 15487 3dvds 15539 lcmneg 15802 |
Copyright terms: Public domain | W3C validator |