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

Theorem dvds2lem 15978
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 15965 . . . . . . 7 ((𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ) → (𝐼𝐽 ↔ ∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽))
4 divides 15965 . . . . . . 7 ((𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (𝐾𝐿 ↔ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿))
53, 4bi2anan9 636 . . . . . 6 (((𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ) ∧ (𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ)) → ((𝐼𝐽𝐾𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
61, 2, 5syl2anc 584 . . . . 5 (𝜑 → ((𝐼𝐽𝐾𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
76biimpd 228 . . . 4 (𝜑 → ((𝐼𝐽𝐾𝐿) → (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
8 reeanv 3294 . . . 4 (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿))
97, 8syl6ibr 251 . . 3 (𝜑 → ((𝐼𝐽𝐾𝐿) → ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿)))
10 dvds2lem.4 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑍 ∈ ℤ)
11 dvds2lem.5 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → (𝑍 · 𝑀) = 𝑁))
12 oveq1 7282 . . . . . . 7 (𝑧 = 𝑍 → (𝑧 · 𝑀) = (𝑍 · 𝑀))
1312eqeq1d 2740 . . . . . 6 (𝑧 = 𝑍 → ((𝑧 · 𝑀) = 𝑁 ↔ (𝑍 · 𝑀) = 𝑁))
1413rspcev 3561 . . . . 5 ((𝑍 ∈ ℤ ∧ (𝑍 · 𝑀) = 𝑁) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁)
1510, 11, 14syl6an 681 . . . 4 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
1615rexlimdvva 3223 . . 3 (𝜑 → (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
179, 16syld 47 . 2 (𝜑 → ((𝐼𝐽𝐾𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
18 dvds2lem.3 . . 3 (𝜑 → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ))
19 divides 15965 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁 ↔ ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
2018, 19syl 17 . 2 (𝜑 → (𝑀𝑁 ↔ ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
2117, 20sylibrd 258 1 (𝜑 → ((𝐼𝐽𝐾𝐿) → 𝑀𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wrex 3065   class class class wbr 5074  (class class class)co 7275   · cmul 10876  cz 12319  cdvds 15963
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-iota 6391  df-fv 6441  df-ov 7278  df-dvds 15964
This theorem is referenced by:  dvds2ln  15998  dvds2add  15999  dvds2sub  16000  dvdstr  16003
  Copyright terms: Public domain W3C validator