MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  dvds1lem Structured version   Visualization version   GIF version

Theorem dvds1lem 16417
Description: A lemma to assist theorems of ∥ with one antecedent. (Contributed by Paul Chapman, 21-Mar-2011.)
Hypotheses
Ref Expression
dvds1lem.1 (𝜑 → (𝐽 ∈ ℤ ∧ 𝐾 ∈ ℤ))
dvds1lem.2 (𝜑 → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ))
dvds1lem.3 ((𝜑 ∧ 𝑥 ∈ ℤ) → 𝑍 ∈ ℤ)
dvds1lem.4 ((𝜑 ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝐽) = 𝐾 → (𝑍 · 𝑀) = 𝑁))
Assertion
Ref Expression
dvds1lem (𝜑 → (𝐽 ∥ 𝐾 → 𝑀 ∥ 𝑁))
Distinct variable groups:   𝑥,𝐽   𝑥,𝐾   𝑥,𝑀   𝑥,𝑁   𝜑,𝑥
Allowed substitution hint:   𝑍(𝑥)

Proof of Theorem dvds1lem
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 dvds1lem.3 . . . 4 ((𝜑 ∧ 𝑥 ∈ ℤ) → 𝑍 ∈ ℤ)
2 dvds1lem.4 . . . 4 ((𝜑 ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝐽) = 𝐾 → (𝑍 · 𝑀) = 𝑁))
3 oveq1 7419 . . . . . 6 (𝑧 = 𝑍 → (𝑧 · 𝑀) = (𝑍 · 𝑀))
43eqeq1d 2763 . . . . 5 (𝑧 = 𝑍 → ((𝑧 · 𝑀) = 𝑁 ↔ (𝑍 · 𝑀) = 𝑁))
54rspcev 3577 . . . 4 ((𝑍 ∈ ℤ ∧ (𝑍 · 𝑀) = 𝑁) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁)
61, 2, 5syl6an 697 . . 3 ((𝜑 ∧ 𝑥 ∈ ℤ) → ((𝑥 · 𝐽) = 𝐾 → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
76rexlimdva 3164 . 2 (𝜑 → (∃𝑥 ∈ ℤ (𝑥 · 𝐽) = 𝐾 → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
8 dvds1lem.1 . . 3 (𝜑 → (𝐽 ∈ ℤ ∧ 𝐾 ∈ ℤ))
9 divides 16404 . . 3 ((𝐽 ∈ ℤ ∧ 𝐾 ∈ ℤ) → (𝐽 ∥ 𝐾 ↔ ∃𝑥 ∈ ℤ (𝑥 · 𝐽) = 𝐾))
108, 9syl 18 . 2 (𝜑 → (𝐽 ∥ 𝐾 ↔ ∃𝑥 ∈ ℤ (𝑥 · 𝐽) = 𝐾))
11 dvds1lem.2 . . 3 (𝜑 → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ))
12 divides 16404 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀 ∥ 𝑁 ↔ ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
1311, 12syl 18 . 2 (𝜑 → (𝑀 ∥ 𝑁 ↔ ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
147, 10, 133imtr4d 297 1 (𝜑 → (𝐽 ∥ 𝐾 → 𝑀 ∥ 𝑁))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∃wrex 3087   class class class wbr 5103  (class class class)co 7412   · cmul 11186  ℤcz 12674   ∥ cdvds 16402
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-iota 6487  df-fv 6539  df-ov 7415  df-dvds 16403
This theorem is used by:  negdvdsb  16422  dvdsnegb  16423  muldvds1  16430  muldvds2  16431  dvdscmul  16432  dvdsmulc  16433  dvdscmulr  16434  dvdsmulcr  16435
  Copyright terms: Public domain W3C validator