| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > dvdsnegb | GIF version | ||
| Description: An integer divides another iff it divides its negation. (Contributed by Paul Chapman, 21-Mar-2011.) |
| Ref | Expression |
|---|---|
| dvdsnegb | ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 ↔ 𝑀 ∥ -𝑁)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | id 19 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ)) | |
| 2 | znegcl 9416 | . . . 4 ⊢ (𝑁 ∈ ℤ → -𝑁 ∈ ℤ) | |
| 3 | 2 | anim2i 342 | . . 3 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∈ ℤ ∧ -𝑁 ∈ ℤ)) |
| 4 | znegcl 9416 | . . . 4 ⊢ (𝑥 ∈ ℤ → -𝑥 ∈ ℤ) | |
| 5 | 4 | adantl 277 | . . 3 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → -𝑥 ∈ ℤ) |
| 6 | zcn 9390 | . . . . 5 ⊢ (𝑥 ∈ ℤ → 𝑥 ∈ ℂ) | |
| 7 | zcn 9390 | . . . . 5 ⊢ (𝑀 ∈ ℤ → 𝑀 ∈ ℂ) | |
| 8 | mulneg1 8480 | . . . . . 6 ⊢ ((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ) → (-𝑥 · 𝑀) = -(𝑥 · 𝑀)) | |
| 9 | negeq 8278 | . . . . . . 7 ⊢ ((𝑥 · 𝑀) = 𝑁 → -(𝑥 · 𝑀) = -𝑁) | |
| 10 | 9 | eqeq2d 2218 | . . . . . 6 ⊢ ((𝑥 · 𝑀) = 𝑁 → ((-𝑥 · 𝑀) = -(𝑥 · 𝑀) ↔ (-𝑥 · 𝑀) = -𝑁)) |
| 11 | 8, 10 | syl5ibcom 155 | . . . . 5 ⊢ ((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ) → ((𝑥 · 𝑀) = 𝑁 → (-𝑥 · 𝑀) = -𝑁)) |
| 12 | 6, 7, 11 | syl2anr 290 | . . . 4 ⊢ ((𝑀 ∈ ℤ ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝑀) = 𝑁 → (-𝑥 · 𝑀) = -𝑁)) |
| 13 | 12 | adantlr 477 | . . 3 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝑀) = 𝑁 → (-𝑥 · 𝑀) = -𝑁)) |
| 14 | 1, 3, 5, 13 | dvds1lem 12163 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 → 𝑀 ∥ -𝑁)) |
| 15 | zcn 9390 | . . . . . 6 ⊢ (𝑁 ∈ ℤ → 𝑁 ∈ ℂ) | |
| 16 | negeq 8278 | . . . . . . . . . 10 ⊢ ((𝑥 · 𝑀) = -𝑁 → -(𝑥 · 𝑀) = --𝑁) | |
| 17 | negneg 8335 | . . . . . . . . . 10 ⊢ (𝑁 ∈ ℂ → --𝑁 = 𝑁) | |
| 18 | 16, 17 | sylan9eqr 2261 | . . . . . . . . 9 ⊢ ((𝑁 ∈ ℂ ∧ (𝑥 · 𝑀) = -𝑁) → -(𝑥 · 𝑀) = 𝑁) |
| 19 | 8, 18 | sylan9eq 2259 | . . . . . . . 8 ⊢ (((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ) ∧ (𝑁 ∈ ℂ ∧ (𝑥 · 𝑀) = -𝑁)) → (-𝑥 · 𝑀) = 𝑁) |
| 20 | 19 | expr 375 | . . . . . . 7 ⊢ (((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ) ∧ 𝑁 ∈ ℂ) → ((𝑥 · 𝑀) = -𝑁 → (-𝑥 · 𝑀) = 𝑁)) |
| 21 | 20 | 3impa 1197 | . . . . . 6 ⊢ ((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ ∧ 𝑁 ∈ ℂ) → ((𝑥 · 𝑀) = -𝑁 → (-𝑥 · 𝑀) = 𝑁)) |
| 22 | 6, 7, 15, 21 | syl3an 1292 | . . . . 5 ⊢ ((𝑥 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑥 · 𝑀) = -𝑁 → (-𝑥 · 𝑀) = 𝑁)) |
| 23 | 22 | 3coml 1213 | . . . 4 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝑀) = -𝑁 → (-𝑥 · 𝑀) = 𝑁)) |
| 24 | 23 | 3expa 1206 | . . 3 ⊢ (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝑀) = -𝑁 → (-𝑥 · 𝑀) = 𝑁)) |
| 25 | 3, 1, 5, 24 | dvds1lem 12163 | . 2 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ -𝑁 → 𝑀 ∥ 𝑁)) |
| 26 | 14, 25 | impbid 129 | 1 ⊢ ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 ↔ 𝑀 ∥ -𝑁)) |
| Colors of variables: wff set class |
| Syntax hints: → wi 4 ∧ wa 104 ↔ wb 105 = wceq 1373 ∈ wcel 2177 class class class wbr 4048 (class class class)co 5954 ℂcc 7936 · cmul 7943 -cneg 8257 ℤcz 9385 ∥ cdvds 12148 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 615 ax-in2 616 ax-io 711 ax-5 1471 ax-7 1472 ax-gen 1473 ax-ie1 1517 ax-ie2 1518 ax-8 1528 ax-10 1529 ax-11 1530 ax-i12 1531 ax-bndl 1533 ax-4 1534 ax-17 1550 ax-i9 1554 ax-ial 1558 ax-i5r 1559 ax-13 2179 ax-14 2180 ax-ext 2188 ax-sep 4167 ax-pow 4223 ax-pr 4258 ax-un 4485 ax-setind 4590 ax-cnex 8029 ax-resscn 8030 ax-1cn 8031 ax-1re 8032 ax-icn 8033 ax-addcl 8034 ax-addrcl 8035 ax-mulcl 8036 ax-addcom 8038 ax-mulcom 8039 ax-addass 8040 ax-distr 8042 ax-i2m1 8043 ax-0lt1 8044 ax-0id 8046 ax-rnegex 8047 ax-cnre 8049 ax-pre-ltirr 8050 ax-pre-ltwlin 8051 ax-pre-lttrn 8052 ax-pre-ltadd 8054 |
| This theorem depends on definitions: df-bi 117 df-3or 982 df-3an 983 df-tru 1376 df-fal 1379 df-nf 1485 df-sb 1787 df-eu 2058 df-mo 2059 df-clab 2193 df-cleq 2199 df-clel 2202 df-nfc 2338 df-ne 2378 df-nel 2473 df-ral 2490 df-rex 2491 df-reu 2492 df-rab 2494 df-v 2775 df-sbc 3001 df-dif 3170 df-un 3172 df-in 3174 df-ss 3181 df-pw 3620 df-sn 3641 df-pr 3642 df-op 3644 df-uni 3854 df-int 3889 df-br 4049 df-opab 4111 df-id 4345 df-xp 4686 df-rel 4687 df-cnv 4688 df-co 4689 df-dm 4690 df-iota 5238 df-fun 5279 df-fv 5285 df-riota 5909 df-ov 5957 df-oprab 5958 df-mpo 5959 df-pnf 8122 df-mnf 8123 df-xr 8124 df-ltxr 8125 df-le 8126 df-sub 8258 df-neg 8259 df-inn 9050 df-z 9386 df-dvds 12149 |
| This theorem is referenced by: dvdsabsb 12171 dvdssub 12199 dvdsadd2b 12201 3dvds 12225 bitscmp 12319 gcdneg 12353 bezoutlemaz 12374 bezoutlembz 12375 prmdiv 12607 pcneg 12698 znunit 14471 |
| Copyright terms: Public domain | W3C validator |