ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  dvdsnegb GIF version

Theorem dvdsnegb 11358
Description: An integer divides another iff it divides its negation. (Contributed by Paul Chapman, 21-Mar-2011.)
Assertion
Ref Expression
dvdsnegb ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑀 ∥ -𝑁))

Proof of Theorem dvdsnegb
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 id 19 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ))
2 znegcl 8989 . . . 4 (𝑁 ∈ ℤ → -𝑁 ∈ ℤ)
32anim2i 337 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∈ ℤ ∧ -𝑁 ∈ ℤ))
4 znegcl 8989 . . . 4 (𝑥 ∈ ℤ → -𝑥 ∈ ℤ)
54adantl 273 . . 3 (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → -𝑥 ∈ ℤ)
6 zcn 8963 . . . . 5 (𝑥 ∈ ℤ → 𝑥 ∈ ℂ)
7 zcn 8963 . . . . 5 (𝑀 ∈ ℤ → 𝑀 ∈ ℂ)
8 mulneg1 8076 . . . . . 6 ((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ) → (-𝑥 · 𝑀) = -(𝑥 · 𝑀))
9 negeq 7878 . . . . . . 7 ((𝑥 · 𝑀) = 𝑁 → -(𝑥 · 𝑀) = -𝑁)
109eqeq2d 2126 . . . . . 6 ((𝑥 · 𝑀) = 𝑁 → ((-𝑥 · 𝑀) = -(𝑥 · 𝑀) ↔ (-𝑥 · 𝑀) = -𝑁))
118, 10syl5ibcom 154 . . . . 5 ((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ) → ((𝑥 · 𝑀) = 𝑁 → (-𝑥 · 𝑀) = -𝑁))
126, 7, 11syl2anr 286 . . . 4 ((𝑀 ∈ ℤ ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝑀) = 𝑁 → (-𝑥 · 𝑀) = -𝑁))
1312adantlr 466 . . 3 (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝑀) = 𝑁 → (-𝑥 · 𝑀) = -𝑁))
141, 3, 5, 13dvds1lem 11352 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑀 ∥ -𝑁))
15 zcn 8963 . . . . . 6 (𝑁 ∈ ℤ → 𝑁 ∈ ℂ)
16 negeq 7878 . . . . . . . . . 10 ((𝑥 · 𝑀) = -𝑁 → -(𝑥 · 𝑀) = --𝑁)
17 negneg 7935 . . . . . . . . . 10 (𝑁 ∈ ℂ → --𝑁 = 𝑁)
1816, 17sylan9eqr 2169 . . . . . . . . 9 ((𝑁 ∈ ℂ ∧ (𝑥 · 𝑀) = -𝑁) → -(𝑥 · 𝑀) = 𝑁)
198, 18sylan9eq 2167 . . . . . . . 8 (((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ) ∧ (𝑁 ∈ ℂ ∧ (𝑥 · 𝑀) = -𝑁)) → (-𝑥 · 𝑀) = 𝑁)
2019expr 370 . . . . . . 7 (((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ) ∧ 𝑁 ∈ ℂ) → ((𝑥 · 𝑀) = -𝑁 → (-𝑥 · 𝑀) = 𝑁))
21203impa 1159 . . . . . 6 ((𝑥 ∈ ℂ ∧ 𝑀 ∈ ℂ ∧ 𝑁 ∈ ℂ) → ((𝑥 · 𝑀) = -𝑁 → (-𝑥 · 𝑀) = 𝑁))
226, 7, 15, 21syl3an 1241 . . . . 5 ((𝑥 ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → ((𝑥 · 𝑀) = -𝑁 → (-𝑥 · 𝑀) = 𝑁))
23223coml 1171 . . . 4 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝑀) = -𝑁 → (-𝑥 · 𝑀) = 𝑁))
24233expa 1164 . . 3 (((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝑀) = -𝑁 → (-𝑥 · 𝑀) = 𝑁))
253, 1, 5, 24dvds1lem 11352 . 2 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ -𝑁𝑀𝑁))
2614, 25impbid 128 1 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁𝑀 ∥ -𝑁))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1314  wcel 1463   class class class wbr 3895  (class class class)co 5728  cc 7545   · cmul 7552  -cneg 7857  cz 8958  cdvds 11341
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 586  ax-in2 587  ax-io 681  ax-5 1406  ax-7 1407  ax-gen 1408  ax-ie1 1452  ax-ie2 1453  ax-8 1465  ax-10 1466  ax-11 1467  ax-i12 1468  ax-bndl 1469  ax-4 1470  ax-13 1474  ax-14 1475  ax-17 1489  ax-i9 1493  ax-ial 1497  ax-i5r 1498  ax-ext 2097  ax-sep 4006  ax-pow 4058  ax-pr 4091  ax-un 4315  ax-setind 4412  ax-cnex 7636  ax-resscn 7637  ax-1cn 7638  ax-1re 7639  ax-icn 7640  ax-addcl 7641  ax-addrcl 7642  ax-mulcl 7643  ax-addcom 7645  ax-mulcom 7646  ax-addass 7647  ax-distr 7649  ax-i2m1 7650  ax-0lt1 7651  ax-0id 7653  ax-rnegex 7654  ax-cnre 7656  ax-pre-ltirr 7657  ax-pre-ltwlin 7658  ax-pre-lttrn 7659  ax-pre-ltadd 7661
This theorem depends on definitions:  df-bi 116  df-3or 946  df-3an 947  df-tru 1317  df-fal 1320  df-nf 1420  df-sb 1719  df-eu 1978  df-mo 1979  df-clab 2102  df-cleq 2108  df-clel 2111  df-nfc 2244  df-ne 2283  df-nel 2378  df-ral 2395  df-rex 2396  df-reu 2397  df-rab 2399  df-v 2659  df-sbc 2879  df-dif 3039  df-un 3041  df-in 3043  df-ss 3050  df-pw 3478  df-sn 3499  df-pr 3500  df-op 3502  df-uni 3703  df-int 3738  df-br 3896  df-opab 3950  df-id 4175  df-xp 4505  df-rel 4506  df-cnv 4507  df-co 4508  df-dm 4509  df-iota 5046  df-fun 5083  df-fv 5089  df-riota 5684  df-ov 5731  df-oprab 5732  df-mpo 5733  df-pnf 7726  df-mnf 7727  df-xr 7728  df-ltxr 7729  df-le 7730  df-sub 7858  df-neg 7859  df-inn 8631  df-z 8959  df-dvds 11342
This theorem is referenced by:  dvdsabsb  11360  dvdssub  11386  dvdsadd2b  11388  gcdneg  11518  bezoutlemaz  11537  bezoutlembz  11538
  Copyright terms: Public domain W3C validator