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

Theorem dvds2lem 15906
Description: A lemma to assist theorems of with two antecedents. (Contributed by Paul Chapman, 21-Mar-2011.)
Hypotheses
Ref Expression
dvds2lem.1 (𝜑 → (𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ))
dvds2lem.2 (𝜑 → (𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ))
dvds2lem.3 (𝜑 → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ))
dvds2lem.4 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑍 ∈ ℤ)
dvds2lem.5 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → (𝑍 · 𝑀) = 𝑁))
Assertion
Ref Expression
dvds2lem (𝜑 → ((𝐼𝐽𝐾𝐿) → 𝑀𝑁))
Distinct variable groups:   𝑥,𝐼,𝑦   𝑥,𝐽,𝑦   𝑥,𝐾,𝑦   𝑥,𝐿,𝑦   𝑥,𝑀,𝑦   𝑥,𝑁,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝑍(𝑥,𝑦)

Proof of Theorem dvds2lem
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 dvds2lem.1 . . . . . 6 (𝜑 → (𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ))
2 dvds2lem.2 . . . . . 6 (𝜑 → (𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ))
3 divides 15893 . . . . . . 7 ((𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ) → (𝐼𝐽 ↔ ∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽))
4 divides 15893 . . . . . . 7 ((𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (𝐾𝐿 ↔ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿))
53, 4bi2anan9 635 . . . . . 6 (((𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ) ∧ (𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ)) → ((𝐼𝐽𝐾𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
61, 2, 5syl2anc 583 . . . . 5 (𝜑 → ((𝐼𝐽𝐾𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
76biimpd 228 . . . 4 (𝜑 → ((𝐼𝐽𝐾𝐿) → (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
8 reeanv 3292 . . . 4 (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿))
97, 8syl6ibr 251 . . 3 (𝜑 → ((𝐼𝐽𝐾𝐿) → ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿)))
10 dvds2lem.4 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑍 ∈ ℤ)
11 dvds2lem.5 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → (𝑍 · 𝑀) = 𝑁))
12 oveq1 7262 . . . . . . 7 (𝑧 = 𝑍 → (𝑧 · 𝑀) = (𝑍 · 𝑀))
1312eqeq1d 2740 . . . . . 6 (𝑧 = 𝑍 → ((𝑧 · 𝑀) = 𝑁 ↔ (𝑍 · 𝑀) = 𝑁))
1413rspcev 3552 . . . . 5 ((𝑍 ∈ ℤ ∧ (𝑍 · 𝑀) = 𝑁) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁)
1510, 11, 14syl6an 680 . . . 4 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
1615rexlimdvva 3222 . . 3 (𝜑 → (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
179, 16syld 47 . 2 (𝜑 → ((𝐼𝐽𝐾𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
18 dvds2lem.3 . . 3 (𝜑 → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ))
19 divides 15893 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁 ↔ ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
2018, 19syl 17 . 2 (𝜑 → (𝑀𝑁 ↔ ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
2117, 20sylibrd 258 1 (𝜑 → ((𝐼𝐽𝐾𝐿) → 𝑀𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wrex 3064   class class class wbr 5070  (class class class)co 7255   · cmul 10807  cz 12249  cdvds 15891
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-iota 6376  df-fv 6426  df-ov 7258  df-dvds 15892
This theorem is referenced by:  dvds2ln  15926  dvds2add  15927  dvds2sub  15928  dvdstr  15931
  Copyright terms: Public domain W3C validator