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

Theorem unielrel 6177
Description: The membership relation for a relation is inherited by class union. (Contributed by NM, 17-Sep-2006.)
Assertion
Ref Expression
unielrel ((Rel 𝑅𝐴𝑅) → 𝐴 𝑅)

Proof of Theorem unielrel
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elrel 5708 . 2 ((Rel 𝑅𝐴𝑅) → ∃𝑥𝑦 𝐴 = ⟨𝑥, 𝑦⟩)
2 simpr 485 . 2 ((Rel 𝑅𝐴𝑅) → 𝐴𝑅)
3 vex 3436 . . . . . 6 𝑥 ∈ V
4 vex 3436 . . . . . 6 𝑦 ∈ V
53, 4uniopel 5430 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥, 𝑦⟩ ∈ 𝑅)
65a1i 11 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥, 𝑦⟩ ∈ 𝑅))
7 eleq1 2826 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
8 unieq 4850 . . . . 5 (𝐴 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝑥, 𝑦⟩)
98eleq1d 2823 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → ( 𝐴 𝑅𝑥, 𝑦⟩ ∈ 𝑅))
106, 7, 93imtr4d 294 . . 3 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 𝐴 𝑅))
1110exlimivv 1935 . 2 (∃𝑥𝑦 𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 𝐴 𝑅))
121, 2, 11sylc 65 1 ((Rel 𝑅𝐴𝑅) → 𝐴 𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wex 1782  wcel 2106  cop 4567   cuni 4839  Rel wrel 5594
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-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-opab 5137  df-xp 5595  df-rel 5596
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator