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

Theorem dvds2lem 15830
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 15817 . . . . . . 7 ((𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ) → (𝐼𝐽 ↔ ∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽))
4 divides 15817 . . . . . . 7 ((𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (𝐾𝐿 ↔ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿))
53, 4bi2anan9 639 . . . . . 6 (((𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ) ∧ (𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ)) → ((𝐼𝐽𝐾𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
61, 2, 5syl2anc 587 . . . . 5 (𝜑 → ((𝐼𝐽𝐾𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
76biimpd 232 . . . 4 (𝜑 → ((𝐼𝐽𝐾𝐿) → (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
8 reeanv 3279 . . . 4 (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿))
97, 8syl6ibr 255 . . 3 (𝜑 → ((𝐼𝐽𝐾𝐿) → ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿)))
10 dvds2lem.4 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑍 ∈ ℤ)
11 dvds2lem.5 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → (𝑍 · 𝑀) = 𝑁))
12 oveq1 7220 . . . . . . 7 (𝑧 = 𝑍 → (𝑧 · 𝑀) = (𝑍 · 𝑀))
1312eqeq1d 2739 . . . . . 6 (𝑧 = 𝑍 → ((𝑧 · 𝑀) = 𝑁 ↔ (𝑍 · 𝑀) = 𝑁))
1413rspcev 3537 . . . . 5 ((𝑍 ∈ ℤ ∧ (𝑍 · 𝑀) = 𝑁) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁)
1510, 11, 14syl6an 684 . . . 4 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
1615rexlimdvva 3213 . . 3 (𝜑 → (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
179, 16syld 47 . 2 (𝜑 → ((𝐼𝐽𝐾𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
18 dvds2lem.3 . . 3 (𝜑 → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ))
19 divides 15817 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁 ↔ ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
2018, 19syl 17 . 2 (𝜑 → (𝑀𝑁 ↔ ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
2117, 20sylibrd 262 1 (𝜑 → ((𝐼𝐽𝐾𝐿) → 𝑀𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1543  wcel 2110  wrex 3062   class class class wbr 5053  (class class class)co 7213   · cmul 10734  cz 12176  cdvds 15815
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-op 4548  df-uni 4820  df-br 5054  df-opab 5116  df-iota 6338  df-fv 6388  df-ov 7216  df-dvds 15816
This theorem is referenced by:  dvds2ln  15850  dvds2add  15851  dvds2sub  15852  dvdstr  15855
  Copyright terms: Public domain W3C validator