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

Theorem dvds2lem 15216
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 15204 . . . . . . 7 ((𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ) → (𝐼𝐽 ↔ ∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽))
4 divides 15204 . . . . . . 7 ((𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ) → (𝐾𝐿 ↔ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿))
53, 4bi2anan9 953 . . . . . 6 (((𝐼 ∈ ℤ ∧ 𝐽 ∈ ℤ) ∧ (𝐾 ∈ ℤ ∧ 𝐿 ∈ ℤ)) → ((𝐼𝐽𝐾𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
61, 2, 5syl2anc 696 . . . . 5 (𝜑 → ((𝐼𝐽𝐾𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
76biimpd 219 . . . 4 (𝜑 → ((𝐼𝐽𝐾𝐿) → (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿)))
8 reeanv 3245 . . . 4 (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) ↔ (∃𝑥 ∈ ℤ (𝑥 · 𝐼) = 𝐽 ∧ ∃𝑦 ∈ ℤ (𝑦 · 𝐾) = 𝐿))
97, 8syl6ibr 242 . . 3 (𝜑 → ((𝐼𝐽𝐾𝐿) → ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿)))
10 dvds2lem.4 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑍 ∈ ℤ)
11 dvds2lem.5 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → (𝑍 · 𝑀) = 𝑁))
12 oveq1 6821 . . . . . . 7 (𝑧 = 𝑍 → (𝑧 · 𝑀) = (𝑍 · 𝑀))
1312eqeq1d 2762 . . . . . 6 (𝑧 = 𝑍 → ((𝑧 · 𝑀) = 𝑁 ↔ (𝑍 · 𝑀) = 𝑁))
1413rspcev 3449 . . . . 5 ((𝑍 ∈ ℤ ∧ (𝑍 · 𝑀) = 𝑁) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁)
1510, 11, 14syl6an 569 . . . 4 ((𝜑 ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
1615rexlimdvva 3176 . . 3 (𝜑 → (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℤ ((𝑥 · 𝐼) = 𝐽 ∧ (𝑦 · 𝐾) = 𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
179, 16syld 47 . 2 (𝜑 → ((𝐼𝐽𝐾𝐿) → ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
18 dvds2lem.3 . . 3 (𝜑 → (𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ))
19 divides 15204 . . 3 ((𝑀 ∈ ℤ ∧ 𝑁 ∈ ℤ) → (𝑀𝑁 ↔ ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
2018, 19syl 17 . 2 (𝜑 → (𝑀𝑁 ↔ ∃𝑧 ∈ ℤ (𝑧 · 𝑀) = 𝑁))
2117, 20sylibrd 249 1 (𝜑 → ((𝐼𝐽𝐾𝐿) → 𝑀𝑁))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1632  wcel 2139  wrex 3051   class class class wbr 4804  (class class class)co 6814   · cmul 10153  cz 11589  cdvds 15202
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-sep 4933  ax-nul 4941  ax-pr 5055
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-br 4805  df-opab 4865  df-iota 6012  df-fv 6057  df-ov 6817  df-dvds 15203
This theorem is referenced by:  dvds2ln  15236  dvds2add  15237  dvds2sub  15238  dvdstr  15240
  Copyright terms: Public domain W3C validator