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

Theorem unielrel 6098
 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 5644 . 2 ((Rel 𝑅𝐴𝑅) → ∃𝑥𝑦 𝐴 = ⟨𝑥, 𝑦⟩)
2 simpr 488 . 2 ((Rel 𝑅𝐴𝑅) → 𝐴𝑅)
3 vex 3474 . . . . . 6 𝑥 ∈ V
4 vex 3474 . . . . . 6 𝑦 ∈ V
53, 4uniopel 5379 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥, 𝑦⟩ ∈ 𝑅)
65a1i 11 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥, 𝑦⟩ ∈ 𝑅))
7 eleq1 2899 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
8 unieq 4822 . . . . 5 (𝐴 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝑥, 𝑦⟩)
98eleq1d 2896 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → ( 𝐴 𝑅𝑥, 𝑦⟩ ∈ 𝑅))
106, 7, 93imtr4d 297 . . 3 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 𝐴 𝑅))
1110exlimivv 1934 . 2 (∃𝑥𝑦 𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 𝐴 𝑅))
121, 2, 11sylc 65 1 ((Rel 𝑅𝐴𝑅) → 𝐴 𝑅)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 399   = wceq 1538  ∃wex 1781   ∈ wcel 2115  ⟨cop 4546  ∪ cuni 4811  Rel wrel 5533 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2178  ax-ext 2793  ax-sep 5176  ax-nul 5183  ax-pr 5303 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-clab 2800  df-cleq 2814  df-clel 2892  df-nfc 2960  df-v 3473  df-dif 3913  df-un 3915  df-in 3917  df-ss 3927  df-nul 4267  df-if 4441  df-sn 4541  df-pr 4543  df-op 4547  df-uni 4812  df-opab 5102  df-xp 5534  df-rel 5535 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator