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

Theorem unielrel 6227
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 5755 . 2 ((Rel 𝑅𝐴𝑅) → ∃𝑥𝑦 𝐴 = ⟨𝑥, 𝑦⟩)
2 simpr 486 . 2 ((Rel 𝑅𝐴𝑅) → 𝐴𝑅)
3 vex 3448 . . . . . 6 𝑥 ∈ V
4 vex 3448 . . . . . 6 𝑦 ∈ V
53, 4uniopel 5474 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥, 𝑦⟩ ∈ 𝑅)
65a1i 11 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (⟨𝑥, 𝑦⟩ ∈ 𝑅𝑥, 𝑦⟩ ∈ 𝑅))
7 eleq1 2822 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝑅))
8 unieq 4877 . . . . 5 (𝐴 = ⟨𝑥, 𝑦⟩ → 𝐴 = 𝑥, 𝑦⟩)
98eleq1d 2819 . . . 4 (𝐴 = ⟨𝑥, 𝑦⟩ → ( 𝐴 𝑅𝑥, 𝑦⟩ ∈ 𝑅))
106, 7, 93imtr4d 294 . . 3 (𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 𝐴 𝑅))
1110exlimivv 1936 . 2 (∃𝑥𝑦 𝐴 = ⟨𝑥, 𝑦⟩ → (𝐴𝑅 𝐴 𝑅))
121, 2, 11sylc 65 1 ((Rel 𝑅𝐴𝑅) → 𝐴 𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1542  wex 1782  wcel 2107  cop 4593   cuni 4866  Rel wrel 5639
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-ext 2704  ax-sep 5257  ax-nul 5264  ax-pr 5385
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-sb 2069  df-clab 2711  df-cleq 2725  df-clel 2811  df-v 3446  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-nul 4284  df-if 4488  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4867  df-opab 5169  df-xp 5640  df-rel 5641
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator